Skip to content

Commit

Permalink
Generated from 621a104fcefa006dfdef9a4bb62a49f5d5280eeb (#5537)
Browse files Browse the repository at this point in the history
Add descriptions.
  • Loading branch information
AutorestCI authored May 30, 2019
1 parent fc2efcc commit 97bcb3d
Show file tree
Hide file tree
Showing 109 changed files with 9,301 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
* 2017-05-10: :mod:`v2017_05_10.models<azure.mgmt.resource.resources.v2017_05_10.models>`
* 2018-02-01: :mod:`v2018_02_01.models<azure.mgmt.resource.resources.v2018_02_01.models>`
* 2018-05-01: :mod:`v2018_05_01.models<azure.mgmt.resource.resources.v2018_05_01.models>`
* 2019-05-01: :mod:`v2019_05_01.models<azure.mgmt.resource.resources.v2019_05_01.models>`
"""
if api_version == '2016-02-01':
from .v2016_02_01 import models
Expand All @@ -117,6 +118,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
elif api_version == '2018-05-01':
from .v2018_05_01 import models
return models
elif api_version == '2019-05-01':
from .v2019_05_01 import models
return models
raise NotImplementedError("APIVersion {} is not available".format(api_version))

@property
Expand All @@ -128,6 +132,7 @@ def deployment_operations(self):
* 2017-05-10: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2017_05_10.operations.DeploymentOperations>`
* 2018-02-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2018_02_01.operations.DeploymentOperations>`
* 2018-05-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2018_05_01.operations.DeploymentOperations>`
* 2019-05-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2019_05_01.operations.DeploymentOperations>`
"""
api_version = self._get_api_version('deployment_operations')
if api_version == '2016-02-01':
Expand All @@ -140,6 +145,8 @@ def deployment_operations(self):
from .v2018_02_01.operations import DeploymentOperations as OperationClass
elif api_version == '2018-05-01':
from .v2018_05_01.operations import DeploymentOperations as OperationClass
elif api_version == '2019-05-01':
from .v2019_05_01.operations import DeploymentOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand All @@ -153,6 +160,7 @@ def deployments(self):
* 2017-05-10: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2017_05_10.operations.DeploymentsOperations>`
* 2018-02-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2018_02_01.operations.DeploymentsOperations>`
* 2018-05-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2018_05_01.operations.DeploymentsOperations>`
* 2019-05-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2019_05_01.operations.DeploymentsOperations>`
"""
api_version = self._get_api_version('deployments')
if api_version == '2016-02-01':
Expand All @@ -165,6 +173,8 @@ def deployments(self):
from .v2018_02_01.operations import DeploymentsOperations as OperationClass
elif api_version == '2018-05-01':
from .v2018_05_01.operations import DeploymentsOperations as OperationClass
elif api_version == '2019-05-01':
from .v2019_05_01.operations import DeploymentsOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand All @@ -174,10 +184,13 @@ def operations(self):
"""Instance depends on the API version:
* 2018-05-01: :class:`Operations<azure.mgmt.resource.resources.v2018_05_01.operations.Operations>`
* 2019-05-01: :class:`Operations<azure.mgmt.resource.resources.v2019_05_01.operations.Operations>`
"""
api_version = self._get_api_version('operations')
if api_version == '2018-05-01':
from .v2018_05_01.operations import Operations as OperationClass
elif api_version == '2019-05-01':
from .v2019_05_01.operations import Operations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand All @@ -191,6 +204,7 @@ def providers(self):
* 2017-05-10: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2017_05_10.operations.ProvidersOperations>`
* 2018-02-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2018_02_01.operations.ProvidersOperations>`
* 2018-05-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2018_05_01.operations.ProvidersOperations>`
* 2019-05-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2019_05_01.operations.ProvidersOperations>`
"""
api_version = self._get_api_version('providers')
if api_version == '2016-02-01':
Expand All @@ -203,6 +217,8 @@ def providers(self):
from .v2018_02_01.operations import ProvidersOperations as OperationClass
elif api_version == '2018-05-01':
from .v2018_05_01.operations import ProvidersOperations as OperationClass
elif api_version == '2019-05-01':
from .v2019_05_01.operations import ProvidersOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand All @@ -216,6 +232,7 @@ def resource_groups(self):
* 2017-05-10: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2017_05_10.operations.ResourceGroupsOperations>`
* 2018-02-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2018_02_01.operations.ResourceGroupsOperations>`
* 2018-05-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2018_05_01.operations.ResourceGroupsOperations>`
* 2019-05-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2019_05_01.operations.ResourceGroupsOperations>`
"""
api_version = self._get_api_version('resource_groups')
if api_version == '2016-02-01':
Expand All @@ -228,6 +245,8 @@ def resource_groups(self):
from .v2018_02_01.operations import ResourceGroupsOperations as OperationClass
elif api_version == '2018-05-01':
from .v2018_05_01.operations import ResourceGroupsOperations as OperationClass
elif api_version == '2019-05-01':
from .v2019_05_01.operations import ResourceGroupsOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand All @@ -241,6 +260,7 @@ def resources(self):
* 2017-05-10: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2017_05_10.operations.ResourcesOperations>`
* 2018-02-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2018_02_01.operations.ResourcesOperations>`
* 2018-05-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2018_05_01.operations.ResourcesOperations>`
* 2019-05-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2019_05_01.operations.ResourcesOperations>`
"""
api_version = self._get_api_version('resources')
if api_version == '2016-02-01':
Expand All @@ -253,6 +273,8 @@ def resources(self):
from .v2018_02_01.operations import ResourcesOperations as OperationClass
elif api_version == '2018-05-01':
from .v2018_05_01.operations import ResourcesOperations as OperationClass
elif api_version == '2019-05-01':
from .v2019_05_01.operations import ResourcesOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand All @@ -266,6 +288,7 @@ def tags(self):
* 2017-05-10: :class:`TagsOperations<azure.mgmt.resource.resources.v2017_05_10.operations.TagsOperations>`
* 2018-02-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2018_02_01.operations.TagsOperations>`
* 2018-05-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2018_05_01.operations.TagsOperations>`
* 2019-05-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2019_05_01.operations.TagsOperations>`
"""
api_version = self._get_api_version('tags')
if api_version == '2016-02-01':
Expand All @@ -278,6 +301,8 @@ def tags(self):
from .v2018_02_01.operations import TagsOperations as OperationClass
elif api_version == '2018-05-01':
from .v2018_05_01.operations import TagsOperations as OperationClass
elif api_version == '2019-05-01':
from .v2019_05_01.operations import TagsOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
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

Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
# 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.
# --------------------------------------------------------------------------

try:
from .deployment_extended_filter_py3 import DeploymentExtendedFilter
from .generic_resource_filter_py3 import GenericResourceFilter
from .resource_group_filter_py3 import ResourceGroupFilter
from .template_link_py3 import TemplateLink
from .parameters_link_py3 import ParametersLink
from .debug_setting_py3 import DebugSetting
from .on_error_deployment_py3 import OnErrorDeployment
from .deployment_properties_py3 import DeploymentProperties
from .deployment_py3 import Deployment
from .deployment_export_result_py3 import DeploymentExportResult
from .resource_management_error_with_details_py3 import ResourceManagementErrorWithDetails
from .alias_path_type_py3 import AliasPathType
from .alias_type_py3 import AliasType
from .provider_resource_type_py3 import ProviderResourceType
from .provider_py3 import Provider
from .basic_dependency_py3 import BasicDependency
from .dependency_py3 import Dependency
from .on_error_deployment_extended_py3 import OnErrorDeploymentExtended
from .deployment_properties_extended_py3 import DeploymentPropertiesExtended
from .deployment_validate_result_py3 import DeploymentValidateResult
from .deployment_extended_py3 import DeploymentExtended
from .plan_py3 import Plan
from .sku_py3 import Sku
from .identity_user_assigned_identities_value_py3 import IdentityUserAssignedIdentitiesValue
from .identity_py3 import Identity
from .generic_resource_py3 import GenericResource
from .resource_group_properties_py3 import ResourceGroupProperties
from .resource_group_py3 import ResourceGroup
from .resource_group_patchable_py3 import ResourceGroupPatchable
from .resources_move_info_py3 import ResourcesMoveInfo
from .export_template_request_py3 import ExportTemplateRequest
from .tag_count_py3 import TagCount
from .tag_value_py3 import TagValue
from .tag_details_py3 import TagDetails
from .target_resource_py3 import TargetResource
from .http_message_py3 import HttpMessage
from .deployment_operation_properties_py3 import DeploymentOperationProperties
from .deployment_operation_py3 import DeploymentOperation
from .resource_provider_operation_display_properties_py3 import ResourceProviderOperationDisplayProperties
from .resource_py3 import Resource
from .sub_resource_py3 import SubResource
from .resource_group_export_result_py3 import ResourceGroupExportResult
from .operation_display_py3 import OperationDisplay
from .operation_py3 import Operation
except (SyntaxError, ImportError):
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_user_assigned_identities_value import IdentityUserAssignedIdentitiesValue
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 .operation_display import OperationDisplay
from .operation import Operation
from .operation_paged import OperationPaged
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',
'IdentityUserAssignedIdentitiesValue',
'Identity',
'GenericResource',
'ResourceGroupProperties',
'ResourceGroup',
'ResourceGroupPatchable',
'ResourcesMoveInfo',
'ExportTemplateRequest',
'TagCount',
'TagValue',
'TagDetails',
'TargetResource',
'HttpMessage',
'DeploymentOperationProperties',
'DeploymentOperation',
'ResourceProviderOperationDisplayProperties',
'Resource',
'SubResource',
'ResourceGroupExportResult',
'OperationDisplay',
'Operation',
'OperationPaged',
'DeploymentExtendedPaged',
'ProviderPaged',
'GenericResourcePaged',
'ResourceGroupPaged',
'TagDetailsPaged',
'DeploymentOperationPaged',
'DeploymentMode',
'OnErrorDeploymentType',
'ResourceIdentityType',
]
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, **kwargs):
super(AliasPathType, self).__init__(**kwargs)
self.path = kwargs.get('path', None)
self.api_versions = kwargs.get('api_versions', None)
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: str=None, api_versions=None, **kwargs) -> None:
super(AliasPathType, self).__init__(**kwargs)
self.path = path
self.api_versions = api_versions
Loading

0 comments on commit 97bcb3d

Please sign in to comment.