@@ -46,7 +46,7 @@ class ResourceManagementClient(MultiApiClientMixin, SDKClient):
4646 :type profile: azure.profiles.KnownProfiles
4747 """
4848
49- DEFAULT_API_VERSION = '2020-06 -01'
49+ DEFAULT_API_VERSION = '2020-10 -01'
5050 _PROFILE_TAG = "azure.mgmt.resource.resources.ResourceManagementClient"
5151 LATEST_PROFILE = ProfileDefinition ({
5252 _PROFILE_TAG : {
@@ -84,6 +84,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
8484 * 2019-08-01: :mod:`v2019_08_01.models<azure.mgmt.resource.resources.v2019_08_01.models>`
8585 * 2019-10-01: :mod:`v2019_10_01.models<azure.mgmt.resource.resources.v2019_10_01.models>`
8686 * 2020-06-01: :mod:`v2020_06_01.models<azure.mgmt.resource.resources.v2020_06_01.models>`
87+ * 2020-10-01: :mod:`v2020_10_01.models<azure.mgmt.resource.resources.v2020_10_01.models>`
8788 """
8889 if api_version == '2016-02-01' :
8990 from .v2016_02_01 import models
@@ -121,6 +122,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
121122 elif api_version == '2020-06-01' :
122123 from .v2020_06_01 import models
123124 return models
125+ elif api_version == '2020-10-01' :
126+ from .v2020_10_01 import models
127+ return models
124128 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
125129
126130 @property
@@ -139,6 +143,7 @@ def deployment_operations(self):
139143 * 2019-08-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2019_08_01.operations.DeploymentOperations>`
140144 * 2019-10-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2019_10_01.operations.DeploymentOperations>`
141145 * 2020-06-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2020_06_01.operations.DeploymentOperations>`
146+ * 2020-10-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2020_10_01.operations.DeploymentOperations>`
142147 """
143148 api_version = self ._get_api_version ('deployment_operations' )
144149 if api_version == '2016-02-01' :
@@ -165,6 +170,8 @@ def deployment_operations(self):
165170 from .v2019_10_01 .operations import DeploymentOperations as OperationClass
166171 elif api_version == '2020-06-01' :
167172 from .v2020_06_01 .operations import DeploymentOperations as OperationClass
173+ elif api_version == '2020-10-01' :
174+ from .v2020_10_01 .operations import DeploymentOperations as OperationClass
168175 else :
169176 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
170177 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -185,6 +192,7 @@ def deployments(self):
185192 * 2019-08-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2019_08_01.operations.DeploymentsOperations>`
186193 * 2019-10-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2019_10_01.operations.DeploymentsOperations>`
187194 * 2020-06-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2020_06_01.operations.DeploymentsOperations>`
195+ * 2020-10-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2020_10_01.operations.DeploymentsOperations>`
188196 """
189197 api_version = self ._get_api_version ('deployments' )
190198 if api_version == '2016-02-01' :
@@ -211,6 +219,8 @@ def deployments(self):
211219 from .v2019_10_01 .operations import DeploymentsOperations as OperationClass
212220 elif api_version == '2020-06-01' :
213221 from .v2020_06_01 .operations import DeploymentsOperations as OperationClass
222+ elif api_version == '2020-10-01' :
223+ from .v2020_10_01 .operations import DeploymentsOperations as OperationClass
214224 else :
215225 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
216226 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -227,6 +237,7 @@ def operations(self):
227237 * 2019-08-01: :class:`Operations<azure.mgmt.resource.resources.v2019_08_01.operations.Operations>`
228238 * 2019-10-01: :class:`Operations<azure.mgmt.resource.resources.v2019_10_01.operations.Operations>`
229239 * 2020-06-01: :class:`Operations<azure.mgmt.resource.resources.v2020_06_01.operations.Operations>`
240+ * 2020-10-01: :class:`Operations<azure.mgmt.resource.resources.v2020_10_01.operations.Operations>`
230241 """
231242 api_version = self ._get_api_version ('operations' )
232243 if api_version == '2018-05-01' :
@@ -245,6 +256,21 @@ def operations(self):
245256 from .v2019_10_01 .operations import Operations as OperationClass
246257 elif api_version == '2020-06-01' :
247258 from .v2020_06_01 .operations import Operations as OperationClass
259+ elif api_version == '2020-10-01' :
260+ from .v2020_10_01 .operations import Operations as OperationClass
261+ else :
262+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
263+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
264+
265+ @property
266+ def provider_resource_types (self ):
267+ """Instance depends on the API version:
268+
269+ * 2020-10-01: :class:`ProviderResourceTypesOperations<azure.mgmt.resource.resources.v2020_10_01.operations.ProviderResourceTypesOperations>`
270+ """
271+ api_version = self ._get_api_version ('provider_resource_types' )
272+ if api_version == '2020-10-01' :
273+ from .v2020_10_01 .operations import ProviderResourceTypesOperations as OperationClass
248274 else :
249275 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
250276 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -265,6 +291,7 @@ def providers(self):
265291 * 2019-08-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2019_08_01.operations.ProvidersOperations>`
266292 * 2019-10-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2019_10_01.operations.ProvidersOperations>`
267293 * 2020-06-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2020_06_01.operations.ProvidersOperations>`
294+ * 2020-10-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2020_10_01.operations.ProvidersOperations>`
268295 """
269296 api_version = self ._get_api_version ('providers' )
270297 if api_version == '2016-02-01' :
@@ -291,6 +318,8 @@ def providers(self):
291318 from .v2019_10_01 .operations import ProvidersOperations as OperationClass
292319 elif api_version == '2020-06-01' :
293320 from .v2020_06_01 .operations import ProvidersOperations as OperationClass
321+ elif api_version == '2020-10-01' :
322+ from .v2020_10_01 .operations import ProvidersOperations as OperationClass
294323 else :
295324 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
296325 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -311,6 +340,7 @@ def resource_groups(self):
311340 * 2019-08-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2019_08_01.operations.ResourceGroupsOperations>`
312341 * 2019-10-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2019_10_01.operations.ResourceGroupsOperations>`
313342 * 2020-06-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2020_06_01.operations.ResourceGroupsOperations>`
343+ * 2020-10-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2020_10_01.operations.ResourceGroupsOperations>`
314344 """
315345 api_version = self ._get_api_version ('resource_groups' )
316346 if api_version == '2016-02-01' :
@@ -337,6 +367,8 @@ def resource_groups(self):
337367 from .v2019_10_01 .operations import ResourceGroupsOperations as OperationClass
338368 elif api_version == '2020-06-01' :
339369 from .v2020_06_01 .operations import ResourceGroupsOperations as OperationClass
370+ elif api_version == '2020-10-01' :
371+ from .v2020_10_01 .operations import ResourceGroupsOperations as OperationClass
340372 else :
341373 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
342374 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -357,6 +389,7 @@ def resources(self):
357389 * 2019-08-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2019_08_01.operations.ResourcesOperations>`
358390 * 2019-10-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2019_10_01.operations.ResourcesOperations>`
359391 * 2020-06-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2020_06_01.operations.ResourcesOperations>`
392+ * 2020-10-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2020_10_01.operations.ResourcesOperations>`
360393 """
361394 api_version = self ._get_api_version ('resources' )
362395 if api_version == '2016-02-01' :
@@ -383,6 +416,8 @@ def resources(self):
383416 from .v2019_10_01 .operations import ResourcesOperations as OperationClass
384417 elif api_version == '2020-06-01' :
385418 from .v2020_06_01 .operations import ResourcesOperations as OperationClass
419+ elif api_version == '2020-10-01' :
420+ from .v2020_10_01 .operations import ResourcesOperations as OperationClass
386421 else :
387422 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
388423 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -403,6 +438,7 @@ def tags(self):
403438 * 2019-08-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations>`
404439 * 2019-10-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2019_10_01.operations.TagsOperations>`
405440 * 2020-06-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2020_06_01.operations.TagsOperations>`
441+ * 2020-10-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2020_10_01.operations.TagsOperations>`
406442 """
407443 api_version = self ._get_api_version ('tags' )
408444 if api_version == '2016-02-01' :
@@ -429,6 +465,8 @@ def tags(self):
429465 from .v2019_10_01 .operations import TagsOperations as OperationClass
430466 elif api_version == '2020-06-01' :
431467 from .v2020_06_01 .operations import TagsOperations as OperationClass
468+ elif api_version == '2020-10-01' :
469+ from .v2020_10_01 .operations import TagsOperations as OperationClass
432470 else :
433471 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
434472 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
0 commit comments