Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoRelease] t2-resource-2021-05-19-78417 #18807

Merged
merged 3 commits into from
May 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions sdk/resources/azure-mgmt-resource/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 18.0.0 (2021-05-19)

**Breaking changes**

- Operation ResourceGroupsOperations.begin_delete has a new signature

## 17.0.0 (2021-05-13)

**Features**
Expand Down
11 changes: 7 additions & 4 deletions sdk/resources/azure-mgmt-resource/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/python@5.6.6",
"commit": "14d2ddf809ea5c8ce9d6017b5ab1aca96df05643",
"autorest": "3.4.2",
"use": [
"@autorest/python@5.8.0",
"@autorest/modelerfour@4.19.1"
],
"commit": "6816683ce2d163a8ba62f426202fdcfbe7b68e35",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/resources/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.3.0",
"autorest_command": "autorest specification/resources/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.1 --version=3.4.2",
"readme": "specification/resources/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "17.0.0"
VERSION = "18.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "17.0.0"
VERSION = "18.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "17.0.0"
VERSION = "18.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def _create_initial(
resource_group_name: str,
script_name: str,
deployment_script: "_models.DeploymentScript",
**kwargs
**kwargs: Any
) -> "_models.DeploymentScript":
cls = kwargs.pop('cls', None) # type: ClsType["_models.DeploymentScript"]
error_map = {
Expand Down Expand Up @@ -106,7 +106,7 @@ async def begin_create(
resource_group_name: str,
script_name: str,
deployment_script: "_models.DeploymentScript",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.DeploymentScript"]:
"""Creates a deployment script.

Expand All @@ -118,8 +118,8 @@ async def begin_create(
:type deployment_script: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.DeploymentScript
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either DeploymentScript or the result of cls(response)
Expand Down Expand Up @@ -177,7 +177,7 @@ async def update(
resource_group_name: str,
script_name: str,
deployment_script: Optional["_models.DeploymentScriptUpdateParameter"] = None,
**kwargs
**kwargs: Any
) -> "_models.DeploymentScript":
"""Updates deployment script tags with specified values.

Expand Down Expand Up @@ -246,7 +246,7 @@ async def get(
self,
resource_group_name: str,
script_name: str,
**kwargs
**kwargs: Any
) -> "_models.DeploymentScript":
"""Gets a deployment script with a given name.

Expand Down Expand Up @@ -305,7 +305,7 @@ async def delete(
self,
resource_group_name: str,
script_name: str,
**kwargs
**kwargs: Any
) -> None:
"""Deletes a deployment script. When operation completes, status code 200 returned without
content.
Expand Down Expand Up @@ -360,7 +360,7 @@ async def delete(

def list_by_subscription(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.DeploymentScriptListResult"]:
"""Lists all deployment scripts for a given subscription.

Expand Down Expand Up @@ -429,7 +429,7 @@ async def get_logs(
self,
resource_group_name: str,
script_name: str,
**kwargs
**kwargs: Any
) -> "_models.ScriptLogsList":
"""Gets deployment script logs for a given deployment script name.

Expand Down Expand Up @@ -489,7 +489,7 @@ async def get_logs_default(
resource_group_name: str,
script_name: str,
tail: Optional[int] = None,
**kwargs
**kwargs: Any
) -> "_models.ScriptLog":
"""Gets deployment script logs for a given deployment script name.

Expand Down Expand Up @@ -553,7 +553,7 @@ async def get_logs_default(
def list_by_resource_group(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.DeploymentScriptListResult"]:
"""Lists deployments scripts.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class AzureCliScript(DeploymentScript):
:ivar status: Contains the results of script execution.
:vartype status: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.ScriptStatus
:ivar outputs: List of script outputs.
:vartype outputs: dict[str, str]
:vartype outputs: dict[str, any]
:param primary_script_uri: Uri for the script. This is the entry point for the external script.
:type primary_script_uri: str
:param supporting_script_uris: Supporting files for the external script.
Expand Down Expand Up @@ -219,7 +219,7 @@ class AzureCliScript(DeploymentScript):
'cleanup_preference': {'key': 'properties.cleanupPreference', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'ScriptStatus'},
'outputs': {'key': 'properties.outputs', 'type': '{str}'},
'outputs': {'key': 'properties.outputs', 'type': '{object}'},
'primary_script_uri': {'key': 'properties.primaryScriptUri', 'type': 'str'},
'supporting_script_uris': {'key': 'properties.supportingScriptUris', 'type': '[str]'},
'script_content': {'key': 'properties.scriptContent', 'type': 'str'},
Expand Down Expand Up @@ -338,7 +338,7 @@ class DeploymentScriptPropertiesBase(msrest.serialization.Model):
:ivar status: Contains the results of script execution.
:vartype status: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.ScriptStatus
:ivar outputs: List of script outputs.
:vartype outputs: dict[str, str]
:vartype outputs: dict[str, any]
"""

_validation = {
Expand All @@ -353,7 +353,7 @@ class DeploymentScriptPropertiesBase(msrest.serialization.Model):
'cleanup_preference': {'key': 'cleanupPreference', 'type': 'str'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'status': {'key': 'status', 'type': 'ScriptStatus'},
'outputs': {'key': 'outputs', 'type': '{str}'},
'outputs': {'key': 'outputs', 'type': '{object}'},
}

def __init__(
Expand Down Expand Up @@ -417,7 +417,7 @@ class AzureCliScriptProperties(DeploymentScriptPropertiesBase, ScriptConfigurati
:ivar status: Contains the results of script execution.
:vartype status: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.ScriptStatus
:ivar outputs: List of script outputs.
:vartype outputs: dict[str, str]
:vartype outputs: dict[str, any]
:param az_cli_version: Required. Azure CLI module version to be used.
:type az_cli_version: str
"""
Expand Down Expand Up @@ -445,7 +445,7 @@ class AzureCliScriptProperties(DeploymentScriptPropertiesBase, ScriptConfigurati
'cleanup_preference': {'key': 'cleanupPreference', 'type': 'str'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'status': {'key': 'status', 'type': 'ScriptStatus'},
'outputs': {'key': 'outputs', 'type': '{str}'},
'outputs': {'key': 'outputs', 'type': '{object}'},
'az_cli_version': {'key': 'azCliVersion', 'type': 'str'},
}

Expand Down Expand Up @@ -519,7 +519,7 @@ class AzurePowerShellScript(DeploymentScript):
:ivar status: Contains the results of script execution.
:vartype status: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.ScriptStatus
:ivar outputs: List of script outputs.
:vartype outputs: dict[str, str]
:vartype outputs: dict[str, any]
:param primary_script_uri: Uri for the script. This is the entry point for the external script.
:type primary_script_uri: str
:param supporting_script_uris: Supporting files for the external script.
Expand Down Expand Up @@ -576,7 +576,7 @@ class AzurePowerShellScript(DeploymentScript):
'cleanup_preference': {'key': 'properties.cleanupPreference', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'ScriptStatus'},
'outputs': {'key': 'properties.outputs', 'type': '{str}'},
'outputs': {'key': 'properties.outputs', 'type': '{object}'},
'primary_script_uri': {'key': 'properties.primaryScriptUri', 'type': 'str'},
'supporting_script_uris': {'key': 'properties.supportingScriptUris', 'type': '[str]'},
'script_content': {'key': 'properties.scriptContent', 'type': 'str'},
Expand Down Expand Up @@ -659,7 +659,7 @@ class AzurePowerShellScriptProperties(DeploymentScriptPropertiesBase, ScriptConf
:ivar status: Contains the results of script execution.
:vartype status: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.ScriptStatus
:ivar outputs: List of script outputs.
:vartype outputs: dict[str, str]
:vartype outputs: dict[str, any]
:param az_power_shell_version: Required. Azure PowerShell module version to be used.
:type az_power_shell_version: str
"""
Expand Down Expand Up @@ -687,7 +687,7 @@ class AzurePowerShellScriptProperties(DeploymentScriptPropertiesBase, ScriptConf
'cleanup_preference': {'key': 'cleanupPreference', 'type': 'str'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'status': {'key': 'status', 'type': 'ScriptStatus'},
'outputs': {'key': 'outputs', 'type': '{str}'},
'outputs': {'key': 'outputs', 'type': '{object}'},
'az_power_shell_version': {'key': 'azPowerShellVersion', 'type': 'str'},
}

Expand Down Expand Up @@ -873,7 +873,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model):
:ivar type: The additional info type.
:vartype type: str
:ivar info: The additional info.
:vartype info: str
:vartype info: any
"""

_validation = {
Expand All @@ -883,7 +883,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model):

_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'info': {'key': 'info', 'type': 'str'},
'info': {'key': 'info', 'type': 'object'},
}

def __init__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class AzureCliScript(DeploymentScript):
:ivar status: Contains the results of script execution.
:vartype status: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.ScriptStatus
:ivar outputs: List of script outputs.
:vartype outputs: dict[str, str]
:vartype outputs: dict[str, any]
:param primary_script_uri: Uri for the script. This is the entry point for the external script.
:type primary_script_uri: str
:param supporting_script_uris: Supporting files for the external script.
Expand Down Expand Up @@ -228,7 +228,7 @@ class AzureCliScript(DeploymentScript):
'cleanup_preference': {'key': 'properties.cleanupPreference', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'ScriptStatus'},
'outputs': {'key': 'properties.outputs', 'type': '{str}'},
'outputs': {'key': 'properties.outputs', 'type': '{object}'},
'primary_script_uri': {'key': 'properties.primaryScriptUri', 'type': 'str'},
'supporting_script_uris': {'key': 'properties.supportingScriptUris', 'type': '[str]'},
'script_content': {'key': 'properties.scriptContent', 'type': 'str'},
Expand Down Expand Up @@ -372,7 +372,7 @@ class DeploymentScriptPropertiesBase(msrest.serialization.Model):
:ivar status: Contains the results of script execution.
:vartype status: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.ScriptStatus
:ivar outputs: List of script outputs.
:vartype outputs: dict[str, str]
:vartype outputs: dict[str, any]
"""

_validation = {
Expand All @@ -387,7 +387,7 @@ class DeploymentScriptPropertiesBase(msrest.serialization.Model):
'cleanup_preference': {'key': 'cleanupPreference', 'type': 'str'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'status': {'key': 'status', 'type': 'ScriptStatus'},
'outputs': {'key': 'outputs', 'type': '{str}'},
'outputs': {'key': 'outputs', 'type': '{object}'},
}

def __init__(
Expand Down Expand Up @@ -455,7 +455,7 @@ class AzureCliScriptProperties(DeploymentScriptPropertiesBase, ScriptConfigurati
:ivar status: Contains the results of script execution.
:vartype status: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.ScriptStatus
:ivar outputs: List of script outputs.
:vartype outputs: dict[str, str]
:vartype outputs: dict[str, any]
:param az_cli_version: Required. Azure CLI module version to be used.
:type az_cli_version: str
"""
Expand Down Expand Up @@ -483,7 +483,7 @@ class AzureCliScriptProperties(DeploymentScriptPropertiesBase, ScriptConfigurati
'cleanup_preference': {'key': 'cleanupPreference', 'type': 'str'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'status': {'key': 'status', 'type': 'ScriptStatus'},
'outputs': {'key': 'outputs', 'type': '{str}'},
'outputs': {'key': 'outputs', 'type': '{object}'},
'az_cli_version': {'key': 'azCliVersion', 'type': 'str'},
}

Expand Down Expand Up @@ -570,7 +570,7 @@ class AzurePowerShellScript(DeploymentScript):
:ivar status: Contains the results of script execution.
:vartype status: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.ScriptStatus
:ivar outputs: List of script outputs.
:vartype outputs: dict[str, str]
:vartype outputs: dict[str, any]
:param primary_script_uri: Uri for the script. This is the entry point for the external script.
:type primary_script_uri: str
:param supporting_script_uris: Supporting files for the external script.
Expand Down Expand Up @@ -627,7 +627,7 @@ class AzurePowerShellScript(DeploymentScript):
'cleanup_preference': {'key': 'properties.cleanupPreference', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'ScriptStatus'},
'outputs': {'key': 'properties.outputs', 'type': '{str}'},
'outputs': {'key': 'properties.outputs', 'type': '{object}'},
'primary_script_uri': {'key': 'properties.primaryScriptUri', 'type': 'str'},
'supporting_script_uris': {'key': 'properties.supportingScriptUris', 'type': '[str]'},
'script_content': {'key': 'properties.scriptContent', 'type': 'str'},
Expand Down Expand Up @@ -726,7 +726,7 @@ class AzurePowerShellScriptProperties(DeploymentScriptPropertiesBase, ScriptConf
:ivar status: Contains the results of script execution.
:vartype status: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.ScriptStatus
:ivar outputs: List of script outputs.
:vartype outputs: dict[str, str]
:vartype outputs: dict[str, any]
:param az_power_shell_version: Required. Azure PowerShell module version to be used.
:type az_power_shell_version: str
"""
Expand Down Expand Up @@ -754,7 +754,7 @@ class AzurePowerShellScriptProperties(DeploymentScriptPropertiesBase, ScriptConf
'cleanup_preference': {'key': 'cleanupPreference', 'type': 'str'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'status': {'key': 'status', 'type': 'ScriptStatus'},
'outputs': {'key': 'outputs', 'type': '{str}'},
'outputs': {'key': 'outputs', 'type': '{object}'},
'az_power_shell_version': {'key': 'azPowerShellVersion', 'type': 'str'},
}

Expand Down Expand Up @@ -965,7 +965,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model):
:ivar type: The additional info type.
:vartype type: str
:ivar info: The additional info.
:vartype info: str
:vartype info: any
"""

_validation = {
Expand All @@ -975,7 +975,7 @@ class ErrorAdditionalInfo(msrest.serialization.Model):

_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'info': {'key': 'info', 'type': 'str'},
'info': {'key': 'info', 'type': 'object'},
}

def __init__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def begin_create(
:type deployment_script: ~azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.models.DeploymentScript
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either DeploymentScript or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "17.0.0"
VERSION = "18.0.0"
Loading