-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR resources/resource-manager] Add on error deployment ARM (#2084)
* Generated from fb5bfbc0054cc881ceccb498444bf2201fa2b8a4 Update readme.md file * Generated from 14856524df1f832625ce8f5626a11bd866896301 Add provisioning state for the on error deployment
- Loading branch information
1 parent
241e7c7
commit da9b2df
Showing
60 changed files
with
5,723 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
azure-mgmt-resource/azure/mgmt/resource/resources/v2018_02_01/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from .resource_management_client import ResourceManagementClient | ||
from .version import VERSION | ||
|
||
__all__ = ['ResourceManagementClient'] | ||
|
||
__version__ = VERSION | ||
|
116 changes: 116 additions & 0 deletions
116
azure-mgmt-resource/azure/mgmt/resource/resources/v2018_02_01/models/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from .deployment_extended_filter import DeploymentExtendedFilter | ||
from .generic_resource_filter import GenericResourceFilter | ||
from .resource_group_filter import ResourceGroupFilter | ||
from .template_link import TemplateLink | ||
from .parameters_link import ParametersLink | ||
from .debug_setting import DebugSetting | ||
from .on_error_deployment import OnErrorDeployment | ||
from .deployment_properties import DeploymentProperties | ||
from .deployment import Deployment | ||
from .deployment_export_result import DeploymentExportResult | ||
from .resource_management_error_with_details import ResourceManagementErrorWithDetails | ||
from .alias_path_type import AliasPathType | ||
from .alias_type import AliasType | ||
from .provider_resource_type import ProviderResourceType | ||
from .provider import Provider | ||
from .basic_dependency import BasicDependency | ||
from .dependency import Dependency | ||
from .on_error_deployment_extended import OnErrorDeploymentExtended | ||
from .deployment_properties_extended import DeploymentPropertiesExtended | ||
from .deployment_validate_result import DeploymentValidateResult | ||
from .deployment_extended import DeploymentExtended | ||
from .plan import Plan | ||
from .sku import Sku | ||
from .identity import Identity | ||
from .generic_resource import GenericResource | ||
from .resource_group_properties import ResourceGroupProperties | ||
from .resource_group import ResourceGroup | ||
from .resource_group_patchable import ResourceGroupPatchable | ||
from .resources_move_info import ResourcesMoveInfo | ||
from .export_template_request import ExportTemplateRequest | ||
from .tag_count import TagCount | ||
from .tag_value import TagValue | ||
from .tag_details import TagDetails | ||
from .target_resource import TargetResource | ||
from .http_message import HttpMessage | ||
from .deployment_operation_properties import DeploymentOperationProperties | ||
from .deployment_operation import DeploymentOperation | ||
from .resource_provider_operation_display_properties import ResourceProviderOperationDisplayProperties | ||
from .resource import Resource | ||
from .sub_resource import SubResource | ||
from .resource_group_export_result import ResourceGroupExportResult | ||
from .deployment_extended_paged import DeploymentExtendedPaged | ||
from .provider_paged import ProviderPaged | ||
from .generic_resource_paged import GenericResourcePaged | ||
from .resource_group_paged import ResourceGroupPaged | ||
from .tag_details_paged import TagDetailsPaged | ||
from .deployment_operation_paged import DeploymentOperationPaged | ||
from .resource_management_client_enums import ( | ||
DeploymentMode, | ||
OnErrorDeploymentType, | ||
ResourceIdentityType, | ||
) | ||
|
||
__all__ = [ | ||
'DeploymentExtendedFilter', | ||
'GenericResourceFilter', | ||
'ResourceGroupFilter', | ||
'TemplateLink', | ||
'ParametersLink', | ||
'DebugSetting', | ||
'OnErrorDeployment', | ||
'DeploymentProperties', | ||
'Deployment', | ||
'DeploymentExportResult', | ||
'ResourceManagementErrorWithDetails', | ||
'AliasPathType', | ||
'AliasType', | ||
'ProviderResourceType', | ||
'Provider', | ||
'BasicDependency', | ||
'Dependency', | ||
'OnErrorDeploymentExtended', | ||
'DeploymentPropertiesExtended', | ||
'DeploymentValidateResult', | ||
'DeploymentExtended', | ||
'Plan', | ||
'Sku', | ||
'Identity', | ||
'GenericResource', | ||
'ResourceGroupProperties', | ||
'ResourceGroup', | ||
'ResourceGroupPatchable', | ||
'ResourcesMoveInfo', | ||
'ExportTemplateRequest', | ||
'TagCount', | ||
'TagValue', | ||
'TagDetails', | ||
'TargetResource', | ||
'HttpMessage', | ||
'DeploymentOperationProperties', | ||
'DeploymentOperation', | ||
'ResourceProviderOperationDisplayProperties', | ||
'Resource', | ||
'SubResource', | ||
'ResourceGroupExportResult', | ||
'DeploymentExtendedPaged', | ||
'ProviderPaged', | ||
'GenericResourcePaged', | ||
'ResourceGroupPaged', | ||
'TagDetailsPaged', | ||
'DeploymentOperationPaged', | ||
'DeploymentMode', | ||
'OnErrorDeploymentType', | ||
'ResourceIdentityType', | ||
] |
32 changes: 32 additions & 0 deletions
32
azure-mgmt-resource/azure/mgmt/resource/resources/v2018_02_01/models/alias_path_type.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AliasPathType(Model): | ||
"""The type of the paths for alias. . | ||
:param path: The path of an alias. | ||
:type path: str | ||
:param api_versions: The API versions. | ||
:type api_versions: list[str] | ||
""" | ||
|
||
_attribute_map = { | ||
'path': {'key': 'path', 'type': 'str'}, | ||
'api_versions': {'key': 'apiVersions', 'type': '[str]'}, | ||
} | ||
|
||
def __init__(self, path=None, api_versions=None): | ||
super(AliasPathType, self).__init__() | ||
self.path = path | ||
self.api_versions = api_versions |
33 changes: 33 additions & 0 deletions
33
azure-mgmt-resource/azure/mgmt/resource/resources/v2018_02_01/models/alias_type.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AliasType(Model): | ||
"""The alias type. . | ||
:param name: The alias name. | ||
:type name: str | ||
:param paths: The paths for an alias. | ||
:type paths: | ||
list[~azure.mgmt.resource.resources.v2018_02_01.models.AliasPathType] | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'paths': {'key': 'paths', 'type': '[AliasPathType]'}, | ||
} | ||
|
||
def __init__(self, name=None, paths=None): | ||
super(AliasType, self).__init__() | ||
self.name = name | ||
self.paths = paths |
36 changes: 36 additions & 0 deletions
36
azure-mgmt-resource/azure/mgmt/resource/resources/v2018_02_01/models/basic_dependency.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class BasicDependency(Model): | ||
"""Deployment dependency information. | ||
:param id: The ID of the dependency. | ||
:type id: str | ||
:param resource_type: The dependency resource type. | ||
:type resource_type: str | ||
:param resource_name: The dependency resource name. | ||
:type resource_name: str | ||
""" | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'resource_type': {'key': 'resourceType', 'type': 'str'}, | ||
'resource_name': {'key': 'resourceName', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, id=None, resource_type=None, resource_name=None): | ||
super(BasicDependency, self).__init__() | ||
self.id = id | ||
self.resource_type = resource_type | ||
self.resource_name = resource_name |
34 changes: 34 additions & 0 deletions
34
azure-mgmt-resource/azure/mgmt/resource/resources/v2018_02_01/models/debug_setting.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class DebugSetting(Model): | ||
"""DebugSetting. | ||
:param detail_level: Specifies the type of information to log for | ||
debugging. The permitted values are none, requestContent, responseContent, | ||
or both requestContent and responseContent separated by a comma. The | ||
default is none. When setting this value, carefully consider the type of | ||
information you are passing in during deployment. By logging information | ||
about the request or response, you could potentially expose sensitive data | ||
that is retrieved through the deployment operations. | ||
:type detail_level: str | ||
""" | ||
|
||
_attribute_map = { | ||
'detail_level': {'key': 'detailLevel', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, detail_level=None): | ||
super(DebugSetting, self).__init__() | ||
self.detail_level = detail_level |
Oops, something went wrong.