@@ -46,7 +46,7 @@ class ResourceManagementClient(MultiApiClientMixin, SDKClient):
46
46
:type profile: azure.profiles.KnownProfiles
47
47
"""
48
48
49
- DEFAULT_API_VERSION = '2019-10 -01'
49
+ DEFAULT_API_VERSION = '2020-06 -01'
50
50
_PROFILE_TAG = "azure.mgmt.resource.resources.ResourceManagementClient"
51
51
LATEST_PROFILE = ProfileDefinition ({
52
52
_PROFILE_TAG : {
@@ -82,6 +82,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
82
82
* 2019-07-01: :mod:`v2019_07_01.models<azure.mgmt.resource.resources.v2019_07_01.models>`
83
83
* 2019-08-01: :mod:`v2019_08_01.models<azure.mgmt.resource.resources.v2019_08_01.models>`
84
84
* 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>`
85
86
"""
86
87
if api_version == '2016-02-01' :
87
88
from .v2016_02_01 import models
@@ -113,6 +114,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
113
114
elif api_version == '2019-10-01' :
114
115
from .v2019_10_01 import models
115
116
return models
117
+ elif api_version == '2020-06-01' :
118
+ from .v2020_06_01 import models
119
+ return models
116
120
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
117
121
118
122
@property
@@ -129,6 +133,7 @@ def deployment_operations(self):
129
133
* 2019-07-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2019_07_01.operations.DeploymentOperations>`
130
134
* 2019-08-01: :class:`DeploymentOperations<azure.mgmt.resource.resources.v2019_08_01.operations.DeploymentOperations>`
131
135
* 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>`
132
137
"""
133
138
api_version = self ._get_api_version ('deployment_operations' )
134
139
if api_version == '2016-02-01' :
@@ -151,6 +156,8 @@ def deployment_operations(self):
151
156
from .v2019_08_01 .operations import DeploymentOperations as OperationClass
152
157
elif api_version == '2019-10-01' :
153
158
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
154
161
else :
155
162
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
156
163
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):
169
176
* 2019-07-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2019_07_01.operations.DeploymentsOperations>`
170
177
* 2019-08-01: :class:`DeploymentsOperations<azure.mgmt.resource.resources.v2019_08_01.operations.DeploymentsOperations>`
171
178
* 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>`
172
180
"""
173
181
api_version = self ._get_api_version ('deployments' )
174
182
if api_version == '2016-02-01' :
@@ -191,6 +199,8 @@ def deployments(self):
191
199
from .v2019_08_01 .operations import DeploymentsOperations as OperationClass
192
200
elif api_version == '2019-10-01' :
193
201
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
194
204
else :
195
205
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
196
206
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):
205
215
* 2019-07-01: :class:`Operations<azure.mgmt.resource.resources.v2019_07_01.operations.Operations>`
206
216
* 2019-08-01: :class:`Operations<azure.mgmt.resource.resources.v2019_08_01.operations.Operations>`
207
217
* 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>`
208
219
"""
209
220
api_version = self ._get_api_version ('operations' )
210
221
if api_version == '2018-05-01' :
@@ -219,6 +230,8 @@ def operations(self):
219
230
from .v2019_08_01 .operations import Operations as OperationClass
220
231
elif api_version == '2019-10-01' :
221
232
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
222
235
else :
223
236
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
224
237
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):
237
250
* 2019-07-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2019_07_01.operations.ProvidersOperations>`
238
251
* 2019-08-01: :class:`ProvidersOperations<azure.mgmt.resource.resources.v2019_08_01.operations.ProvidersOperations>`
239
252
* 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>`
240
254
"""
241
255
api_version = self ._get_api_version ('providers' )
242
256
if api_version == '2016-02-01' :
@@ -259,6 +273,8 @@ def providers(self):
259
273
from .v2019_08_01 .operations import ProvidersOperations as OperationClass
260
274
elif api_version == '2019-10-01' :
261
275
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
262
278
else :
263
279
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
264
280
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):
277
293
* 2019-07-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2019_07_01.operations.ResourceGroupsOperations>`
278
294
* 2019-08-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2019_08_01.operations.ResourceGroupsOperations>`
279
295
* 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>`
280
297
"""
281
298
api_version = self ._get_api_version ('resource_groups' )
282
299
if api_version == '2016-02-01' :
@@ -299,6 +316,8 @@ def resource_groups(self):
299
316
from .v2019_08_01 .operations import ResourceGroupsOperations as OperationClass
300
317
elif api_version == '2019-10-01' :
301
318
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
302
321
else :
303
322
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
304
323
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):
317
336
* 2019-07-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2019_07_01.operations.ResourcesOperations>`
318
337
* 2019-08-01: :class:`ResourcesOperations<azure.mgmt.resource.resources.v2019_08_01.operations.ResourcesOperations>`
319
338
* 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>`
320
340
"""
321
341
api_version = self ._get_api_version ('resources' )
322
342
if api_version == '2016-02-01' :
@@ -339,6 +359,8 @@ def resources(self):
339
359
from .v2019_08_01 .operations import ResourcesOperations as OperationClass
340
360
elif api_version == '2019-10-01' :
341
361
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
342
364
else :
343
365
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
344
366
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):
357
379
* 2019-07-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2019_07_01.operations.TagsOperations>`
358
380
* 2019-08-01: :class:`TagsOperations<azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations>`
359
381
* 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>`
360
383
"""
361
384
api_version = self ._get_api_version ('tags' )
362
385
if api_version == '2016-02-01' :
@@ -379,6 +402,8 @@ def tags(self):
379
402
from .v2019_08_01 .operations import TagsOperations as OperationClass
380
403
elif api_version == '2019-10-01' :
381
404
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
382
407
else :
383
408
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
384
409
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
0 commit comments