@@ -46,7 +46,7 @@ class ResourceManagementClient(MultiApiClientMixin, SDKClient):
4646 :type profile: azure.profiles.KnownProfiles
4747 """
4848
49- DEFAULT_API_VERSION = '2019-10 -01'
49+ DEFAULT_API_VERSION = '2020-06 -01'
5050 _PROFILE_TAG = "azure.mgmt.resource.resources.ResourceManagementClient"
5151 LATEST_PROFILE = ProfileDefinition ({
5252 _PROFILE_TAG : {
@@ -82,6 +82,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
8282 * 2019-07-01: :mod:`v2019_07_01.models<azure.mgmt.resource.resources.v2019_07_01.models>`
8383 * 2019-08-01: :mod:`v2019_08_01.models<azure.mgmt.resource.resources.v2019_08_01.models>`
8484 * 2019-10-01: :mod:`v2019_10_01.models<azure.mgmt.resource.resources.v2019_10_01.models>`
85+ * 2020-06-01: :mod:`v2020_06_01.models<azure.mgmt.resource.resources.v2020_06_01.models>`
8586 """
8687 if api_version == '2016-02-01' :
8788 from .v2016_02_01 import models
@@ -113,6 +114,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
113114 elif api_version == '2019-10-01' :
114115 from .v2019_10_01 import models
115116 return models
117+ elif api_version == '2020-06-01' :
118+ from .v2020_06_01 import models
119+ return models
116120 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
117121
118122 @property
@@ -129,6 +133,7 @@ def deployment_operations(self):
129133 * 2019-07-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2019_07_01.operations.DeploymentOperations>`
130134 * 2019-08-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2019_08_01.operations.DeploymentOperations>`
131135 * 2019-10-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2019_10_01.operations.DeploymentOperations>`
136+ * 2020-06-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2020_06_01.operations.DeploymentOperations>`
132137 """
133138 api_version = self ._get_api_version ('deployment_operations' )
134139 if api_version == '2016-02-01' :
@@ -151,6 +156,8 @@ def deployment_operations(self):
151156 from .v2019_08_01 .operations import DeploymentOperations as OperationClass
152157 elif api_version == '2019-10-01' :
153158 from .v2019_10_01 .operations import DeploymentOperations as OperationClass
159+ elif api_version == '2020-06-01' :
160+ from .v2020_06_01 .operations import DeploymentOperations as OperationClass
154161 else :
155162 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
156163 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -169,6 +176,7 @@ def deployments(self):
169176 * 2019-07-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2019_07_01.operations.DeploymentsOperations>`
170177 * 2019-08-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2019_08_01.operations.DeploymentsOperations>`
171178 * 2019-10-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2019_10_01.operations.DeploymentsOperations>`
179+ * 2020-06-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2020_06_01.operations.DeploymentsOperations>`
172180 """
173181 api_version = self ._get_api_version ('deployments' )
174182 if api_version == '2016-02-01' :
@@ -191,6 +199,8 @@ def deployments(self):
191199 from .v2019_08_01 .operations import DeploymentsOperations as OperationClass
192200 elif api_version == '2019-10-01' :
193201 from .v2019_10_01 .operations import DeploymentsOperations as OperationClass
202+ elif api_version == '2020-06-01' :
203+ from .v2020_06_01 .operations import DeploymentsOperations as OperationClass
194204 else :
195205 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
196206 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -205,6 +215,7 @@ def operations(self):
205215 * 2019-07-01: :class:`Operations<azure.mgmt.resource.resources.v2019_07_01.operations.Operations>`
206216 * 2019-08-01: :class:`Operations<azure.mgmt.resource.resources.v2019_08_01.operations.Operations>`
207217 * 2019-10-01: :class:`Operations<azure.mgmt.resource.resources.v2019_10_01.operations.Operations>`
218+ * 2020-06-01: :class:`Operations<azure.mgmt.resource.resources.v2020_06_01.operations.Operations>`
208219 """
209220 api_version = self ._get_api_version ('operations' )
210221 if api_version == '2018-05-01' :
@@ -219,6 +230,8 @@ def operations(self):
219230 from .v2019_08_01 .operations import Operations as OperationClass
220231 elif api_version == '2019-10-01' :
221232 from .v2019_10_01 .operations import Operations as OperationClass
233+ elif api_version == '2020-06-01' :
234+ from .v2020_06_01 .operations import Operations as OperationClass
222235 else :
223236 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
224237 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -237,6 +250,7 @@ def providers(self):
237250 * 2019-07-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2019_07_01.operations.ProvidersOperations>`
238251 * 2019-08-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2019_08_01.operations.ProvidersOperations>`
239252 * 2019-10-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2019_10_01.operations.ProvidersOperations>`
253+ * 2020-06-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2020_06_01.operations.ProvidersOperations>`
240254 """
241255 api_version = self ._get_api_version ('providers' )
242256 if api_version == '2016-02-01' :
@@ -259,6 +273,8 @@ def providers(self):
259273 from .v2019_08_01 .operations import ProvidersOperations as OperationClass
260274 elif api_version == '2019-10-01' :
261275 from .v2019_10_01 .operations import ProvidersOperations as OperationClass
276+ elif api_version == '2020-06-01' :
277+ from .v2020_06_01 .operations import ProvidersOperations as OperationClass
262278 else :
263279 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
264280 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -277,6 +293,7 @@ def resource_groups(self):
277293 * 2019-07-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2019_07_01.operations.ResourceGroupsOperations>`
278294 * 2019-08-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2019_08_01.operations.ResourceGroupsOperations>`
279295 * 2019-10-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2019_10_01.operations.ResourceGroupsOperations>`
296+ * 2020-06-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2020_06_01.operations.ResourceGroupsOperations>`
280297 """
281298 api_version = self ._get_api_version ('resource_groups' )
282299 if api_version == '2016-02-01' :
@@ -299,6 +316,8 @@ def resource_groups(self):
299316 from .v2019_08_01 .operations import ResourceGroupsOperations as OperationClass
300317 elif api_version == '2019-10-01' :
301318 from .v2019_10_01 .operations import ResourceGroupsOperations as OperationClass
319+ elif api_version == '2020-06-01' :
320+ from .v2020_06_01 .operations import ResourceGroupsOperations as OperationClass
302321 else :
303322 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
304323 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -317,6 +336,7 @@ def resources(self):
317336 * 2019-07-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2019_07_01.operations.ResourcesOperations>`
318337 * 2019-08-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2019_08_01.operations.ResourcesOperations>`
319338 * 2019-10-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2019_10_01.operations.ResourcesOperations>`
339+ * 2020-06-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2020_06_01.operations.ResourcesOperations>`
320340 """
321341 api_version = self ._get_api_version ('resources' )
322342 if api_version == '2016-02-01' :
@@ -339,6 +359,8 @@ def resources(self):
339359 from .v2019_08_01 .operations import ResourcesOperations as OperationClass
340360 elif api_version == '2019-10-01' :
341361 from .v2019_10_01 .operations import ResourcesOperations as OperationClass
362+ elif api_version == '2020-06-01' :
363+ from .v2020_06_01 .operations import ResourcesOperations as OperationClass
342364 else :
343365 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
344366 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -357,6 +379,7 @@ def tags(self):
357379 * 2019-07-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2019_07_01.operations.TagsOperations>`
358380 * 2019-08-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations>`
359381 * 2019-10-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2019_10_01.operations.TagsOperations>`
382+ * 2020-06-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2020_06_01.operations.TagsOperations>`
360383 """
361384 api_version = self ._get_api_version ('tags' )
362385 if api_version == '2016-02-01' :
@@ -379,6 +402,8 @@ def tags(self):
379402 from .v2019_08_01 .operations import TagsOperations as OperationClass
380403 elif api_version == '2019-10-01' :
381404 from .v2019_10_01 .operations import TagsOperations as OperationClass
405+ elif api_version == '2020-06-01' :
406+ from .v2020_06_01 .operations import TagsOperations as OperationClass
382407 else :
383408 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
384409 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
0 commit comments