Skip to content

Commit

Permalink
CodeGen from PR 18073 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Microsoft.Resources] Added missing error property to deployment properties (Azure#18073)

* updated all api-versions

* added error property to api 2015-11-01
  • Loading branch information
SDKAuto committed Apr 1, 2022
1 parent 0d22cc2 commit f7d8ae3
Show file tree
Hide file tree
Showing 54 changed files with 100 additions and 45 deletions.
4 changes: 2 additions & 2 deletions sdk/resources/azure-mgmt-resource/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"@autorest/python@5.12.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "8b95273ab48c9cce6f1497674ed5f878bdede04e",
"commit": "d55f30f41f04e712de101fc9c17a591ca410bfed",
"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/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/resources/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/resources/resource-manager/readme.md"
}
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
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 = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,8 @@ def __init__(
class DeploymentPropertiesExtended(msrest.serialization.Model):
"""Deployment properties with additional details.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar provisioning_state: The state of the provisioning.
:vartype provisioning_state: str
:ivar correlation_id: The correlation ID of the deployment.
Expand All @@ -589,8 +591,14 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
:vartype mode: str or ~azure.mgmt.resource.resources.v2016_02_01.models.DeploymentMode
:ivar debug_setting: The debug setting of the deployment.
:vartype debug_setting: ~azure.mgmt.resource.resources.v2016_02_01.models.DebugSetting
:ivar error: The deployment error.
:vartype error: ~azure.mgmt.resource.resources.v2016_02_01.models.ErrorResponse
"""

_validation = {
'error': {'readonly': True},
}

_attribute_map = {
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'correlation_id': {'key': 'correlationId', 'type': 'str'},
Expand All @@ -604,6 +612,7 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
'parameters_link': {'key': 'parametersLink', 'type': 'ParametersLink'},
'mode': {'key': 'mode', 'type': 'str'},
'debug_setting': {'key': 'debugSetting', 'type': 'DebugSetting'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
}

def __init__(
Expand Down Expand Up @@ -664,6 +673,7 @@ def __init__(
self.parameters_link = parameters_link
self.mode = mode
self.debug_setting = debug_setting
self.error = None


class DeploymentValidateResult(msrest.serialization.Model):
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 = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -625,12 +625,15 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
:vartype mode: str or ~azure.mgmt.resource.resources.v2016_09_01.models.DeploymentMode
:ivar debug_setting: The debug setting of the deployment.
:vartype debug_setting: ~azure.mgmt.resource.resources.v2016_09_01.models.DebugSetting
:ivar error: The deployment error.
:vartype error: ~azure.mgmt.resource.resources.v2016_09_01.models.ErrorResponse
"""

_validation = {
'provisioning_state': {'readonly': True},
'correlation_id': {'readonly': True},
'timestamp': {'readonly': True},
'error': {'readonly': True},
}

_attribute_map = {
Expand All @@ -646,6 +649,7 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
'parameters_link': {'key': 'parametersLink', 'type': 'ParametersLink'},
'mode': {'key': 'mode', 'type': 'str'},
'debug_setting': {'key': 'debugSetting', 'type': 'DebugSetting'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
}

def __init__(
Expand Down Expand Up @@ -698,6 +702,7 @@ def __init__(
self.parameters_link = parameters_link
self.mode = mode
self.debug_setting = debug_setting
self.error = None


class DeploymentValidateResult(msrest.serialization.Model):
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 = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -625,12 +625,15 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
:vartype mode: str or ~azure.mgmt.resource.resources.v2017_05_10.models.DeploymentMode
:ivar debug_setting: The debug setting of the deployment.
:vartype debug_setting: ~azure.mgmt.resource.resources.v2017_05_10.models.DebugSetting
:ivar error: The deployment error.
:vartype error: ~azure.mgmt.resource.resources.v2017_05_10.models.ErrorResponse
"""

_validation = {
'provisioning_state': {'readonly': True},
'correlation_id': {'readonly': True},
'timestamp': {'readonly': True},
'error': {'readonly': True},
}

_attribute_map = {
Expand All @@ -646,6 +649,7 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
'parameters_link': {'key': 'parametersLink', 'type': 'ParametersLink'},
'mode': {'key': 'mode', 'type': 'str'},
'debug_setting': {'key': 'debugSetting', 'type': 'DebugSetting'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
}

def __init__(
Expand Down Expand Up @@ -698,6 +702,7 @@ def __init__(
self.parameters_link = parameters_link
self.mode = mode
self.debug_setting = debug_setting
self.error = None


class DeploymentValidateResult(msrest.serialization.Model):
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 = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -637,12 +637,15 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
:ivar on_error_deployment: The deployment on error behavior.
:vartype on_error_deployment:
~azure.mgmt.resource.resources.v2018_02_01.models.OnErrorDeploymentExtended
:ivar error: The deployment error.
:vartype error: ~azure.mgmt.resource.resources.v2018_02_01.models.ErrorResponse
"""

_validation = {
'provisioning_state': {'readonly': True},
'correlation_id': {'readonly': True},
'timestamp': {'readonly': True},
'error': {'readonly': True},
}

_attribute_map = {
Expand All @@ -659,6 +662,7 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
'mode': {'key': 'mode', 'type': 'str'},
'debug_setting': {'key': 'debugSetting', 'type': 'DebugSetting'},
'on_error_deployment': {'key': 'onErrorDeployment', 'type': 'OnErrorDeploymentExtended'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
}

def __init__(
Expand Down Expand Up @@ -716,6 +720,7 @@ def __init__(
self.mode = mode
self.debug_setting = debug_setting
self.on_error_deployment = on_error_deployment
self.error = None


class DeploymentValidateResult(msrest.serialization.Model):
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 = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -683,12 +683,15 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
:ivar on_error_deployment: The deployment on error behavior.
:vartype on_error_deployment:
~azure.mgmt.resource.resources.v2018_05_01.models.OnErrorDeploymentExtended
:ivar error: The deployment error.
:vartype error: ~azure.mgmt.resource.resources.v2018_05_01.models.ErrorResponse
"""

_validation = {
'provisioning_state': {'readonly': True},
'correlation_id': {'readonly': True},
'timestamp': {'readonly': True},
'error': {'readonly': True},
}

_attribute_map = {
Expand All @@ -705,6 +708,7 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
'mode': {'key': 'mode', 'type': 'str'},
'debug_setting': {'key': 'debugSetting', 'type': 'DebugSetting'},
'on_error_deployment': {'key': 'onErrorDeployment', 'type': 'OnErrorDeploymentExtended'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
}

def __init__(
Expand Down Expand Up @@ -762,6 +766,7 @@ def __init__(
self.mode = mode
self.debug_setting = debug_setting
self.on_error_deployment = on_error_deployment
self.error = None


class DeploymentValidateResult(msrest.serialization.Model):
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 = "21.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -683,12 +683,15 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
:ivar on_error_deployment: The deployment on error behavior.
:vartype on_error_deployment:
~azure.mgmt.resource.resources.v2019_03_01.models.OnErrorDeploymentExtended
:ivar error: The deployment error.
:vartype error: ~azure.mgmt.resource.resources.v2019_03_01.models.ErrorResponse
"""

_validation = {
'provisioning_state': {'readonly': True},
'correlation_id': {'readonly': True},
'timestamp': {'readonly': True},
'error': {'readonly': True},
}

_attribute_map = {
Expand All @@ -705,6 +708,7 @@ class DeploymentPropertiesExtended(msrest.serialization.Model):
'mode': {'key': 'mode', 'type': 'str'},
'debug_setting': {'key': 'debugSetting', 'type': 'DebugSetting'},
'on_error_deployment': {'key': 'onErrorDeployment', 'type': 'OnErrorDeploymentExtended'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
}

def __init__(
Expand Down Expand Up @@ -762,6 +766,7 @@ def __init__(
self.mode = mode
self.debug_setting = debug_setting
self.on_error_deployment = on_error_deployment
self.error = None


class DeploymentValidateResult(msrest.serialization.Model):
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 = "21.0.0"
VERSION = "1.0.0b1"
Loading

0 comments on commit f7d8ae3

Please sign in to comment.