@@ -46,7 +46,7 @@ class ContainerServiceClient(MultiApiClientMixin, SDKClient):
46
46
:type profile: azure.profiles.KnownProfiles
47
47
"""
48
48
49
- DEFAULT_API_VERSION = '2021-03 -01'
49
+ DEFAULT_API_VERSION = '2021-05 -01'
50
50
_PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
51
51
LATEST_PROFILE = ProfileDefinition ({
52
52
_PROFILE_TAG : {
@@ -98,6 +98,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
98
98
* 2020-12-01: :mod:`v2020_12_01.models<azure.mgmt.containerservice.v2020_12_01.models>`
99
99
* 2021-02-01: :mod:`v2021_02_01.models<azure.mgmt.containerservice.v2021_02_01.models>`
100
100
* 2021-03-01: :mod:`v2021_03_01.models<azure.mgmt.containerservice.v2021_03_01.models>`
101
+ * 2021-05-01: :mod:`v2021_05_01.models<azure.mgmt.containerservice.v2021_05_01.models>`
101
102
"""
102
103
if api_version == '2017-07-01' :
103
104
from .v2017_07_01 import models
@@ -171,6 +172,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
171
172
elif api_version == '2021-03-01' :
172
173
from .v2021_03_01 import models
173
174
return models
175
+ elif api_version == '2021-05-01' :
176
+ from .v2021_05_01 import models
177
+ return models
174
178
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
175
179
176
180
@property
@@ -194,6 +198,7 @@ def agent_pools(self):
194
198
* 2020-12-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_12_01.operations.AgentPoolsOperations>`
195
199
* 2021-02-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_02_01.operations.AgentPoolsOperations>`
196
200
* 2021-03-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_03_01.operations.AgentPoolsOperations>`
201
+ * 2021-05-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_05_01.operations.AgentPoolsOperations>`
197
202
"""
198
203
api_version = self ._get_api_version ('agent_pools' )
199
204
if api_version == '2019-02-01' :
@@ -230,6 +235,8 @@ def agent_pools(self):
230
235
from .v2021_02_01 .operations import AgentPoolsOperations as OperationClass
231
236
elif api_version == '2021-03-01' :
232
237
from .v2021_03_01 .operations import AgentPoolsOperations as OperationClass
238
+ elif api_version == '2021-05-01' :
239
+ from .v2021_05_01 .operations import AgentPoolsOperations as OperationClass
233
240
else :
234
241
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
235
242
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -254,6 +261,7 @@ def maintenance_configurations(self):
254
261
* 2020-12-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2020_12_01.operations.MaintenanceConfigurationsOperations>`
255
262
* 2021-02-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_02_01.operations.MaintenanceConfigurationsOperations>`
256
263
* 2021-03-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_03_01.operations.MaintenanceConfigurationsOperations>`
264
+ * 2021-05-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_05_01.operations.MaintenanceConfigurationsOperations>`
257
265
"""
258
266
api_version = self ._get_api_version ('maintenance_configurations' )
259
267
if api_version == '2020-12-01' :
@@ -262,6 +270,8 @@ def maintenance_configurations(self):
262
270
from .v2021_02_01 .operations import MaintenanceConfigurationsOperations as OperationClass
263
271
elif api_version == '2021-03-01' :
264
272
from .v2021_03_01 .operations import MaintenanceConfigurationsOperations as OperationClass
273
+ elif api_version == '2021-05-01' :
274
+ from .v2021_05_01 .operations import MaintenanceConfigurationsOperations as OperationClass
265
275
else :
266
276
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
267
277
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -289,6 +299,7 @@ def managed_clusters(self):
289
299
* 2020-12-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_12_01.operations.ManagedClustersOperations>`
290
300
* 2021-02-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_02_01.operations.ManagedClustersOperations>`
291
301
* 2021-03-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_03_01.operations.ManagedClustersOperations>`
302
+ * 2021-05-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_05_01.operations.ManagedClustersOperations>`
292
303
"""
293
304
api_version = self ._get_api_version ('managed_clusters' )
294
305
if api_version == '2018-03-31' :
@@ -329,6 +340,8 @@ def managed_clusters(self):
329
340
from .v2021_02_01 .operations import ManagedClustersOperations as OperationClass
330
341
elif api_version == '2021-03-01' :
331
342
from .v2021_03_01 .operations import ManagedClustersOperations as OperationClass
343
+ elif api_version == '2021-05-01' :
344
+ from .v2021_05_01 .operations import ManagedClustersOperations as OperationClass
332
345
else :
333
346
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
334
347
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -378,6 +391,7 @@ def operations(self):
378
391
* 2020-12-01: :class:`Operations<azure.mgmt.containerservice.v2020_12_01.operations.Operations>`
379
392
* 2021-02-01: :class:`Operations<azure.mgmt.containerservice.v2021_02_01.operations.Operations>`
380
393
* 2021-03-01: :class:`Operations<azure.mgmt.containerservice.v2021_03_01.operations.Operations>`
394
+ * 2021-05-01: :class:`Operations<azure.mgmt.containerservice.v2021_05_01.operations.Operations>`
381
395
"""
382
396
api_version = self ._get_api_version ('operations' )
383
397
if api_version == '2018-03-31' :
@@ -418,6 +432,8 @@ def operations(self):
418
432
from .v2021_02_01 .operations import Operations as OperationClass
419
433
elif api_version == '2021-03-01' :
420
434
from .v2021_03_01 .operations import Operations as OperationClass
435
+ elif api_version == '2021-05-01' :
436
+ from .v2021_05_01 .operations import Operations as OperationClass
421
437
else :
422
438
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
423
439
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -433,6 +449,7 @@ def private_endpoint_connections(self):
433
449
* 2020-12-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_12_01.operations.PrivateEndpointConnectionsOperations>`
434
450
* 2021-02-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_02_01.operations.PrivateEndpointConnectionsOperations>`
435
451
* 2021-03-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_03_01.operations.PrivateEndpointConnectionsOperations>`
452
+ * 2021-05-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_05_01.operations.PrivateEndpointConnectionsOperations>`
436
453
"""
437
454
api_version = self ._get_api_version ('private_endpoint_connections' )
438
455
if api_version == '2020-06-01' :
@@ -449,6 +466,8 @@ def private_endpoint_connections(self):
449
466
from .v2021_02_01 .operations import PrivateEndpointConnectionsOperations as OperationClass
450
467
elif api_version == '2021-03-01' :
451
468
from .v2021_03_01 .operations import PrivateEndpointConnectionsOperations as OperationClass
469
+ elif api_version == '2021-05-01' :
470
+ from .v2021_05_01 .operations import PrivateEndpointConnectionsOperations as OperationClass
452
471
else :
453
472
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
454
473
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -462,6 +481,7 @@ def private_link_resources(self):
462
481
* 2020-12-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_12_01.operations.PrivateLinkResourcesOperations>`
463
482
* 2021-02-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_02_01.operations.PrivateLinkResourcesOperations>`
464
483
* 2021-03-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_03_01.operations.PrivateLinkResourcesOperations>`
484
+ * 2021-05-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_05_01.operations.PrivateLinkResourcesOperations>`
465
485
"""
466
486
api_version = self ._get_api_version ('private_link_resources' )
467
487
if api_version == '2020-09-01' :
@@ -474,6 +494,8 @@ def private_link_resources(self):
474
494
from .v2021_02_01 .operations import PrivateLinkResourcesOperations as OperationClass
475
495
elif api_version == '2021-03-01' :
476
496
from .v2021_03_01 .operations import PrivateLinkResourcesOperations as OperationClass
497
+ elif api_version == '2021-05-01' :
498
+ from .v2021_05_01 .operations import PrivateLinkResourcesOperations as OperationClass
477
499
else :
478
500
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
479
501
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -487,6 +509,7 @@ def resolve_private_link_service_id(self):
487
509
* 2020-12-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_12_01.operations.ResolvePrivateLinkServiceIdOperations>`
488
510
* 2021-02-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_02_01.operations.ResolvePrivateLinkServiceIdOperations>`
489
511
* 2021-03-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_03_01.operations.ResolvePrivateLinkServiceIdOperations>`
512
+ * 2021-05-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_05_01.operations.ResolvePrivateLinkServiceIdOperations>`
490
513
"""
491
514
api_version = self ._get_api_version ('resolve_private_link_service_id' )
492
515
if api_version == '2020-09-01' :
@@ -499,6 +522,8 @@ def resolve_private_link_service_id(self):
499
522
from .v2021_02_01 .operations import ResolvePrivateLinkServiceIdOperations as OperationClass
500
523
elif api_version == '2021-03-01' :
501
524
from .v2021_03_01 .operations import ResolvePrivateLinkServiceIdOperations as OperationClass
525
+ elif api_version == '2021-05-01' :
526
+ from .v2021_05_01 .operations import ResolvePrivateLinkServiceIdOperations as OperationClass
502
527
else :
503
528
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
504
529
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
0 commit comments