@@ -46,7 +46,7 @@ class ContainerServiceClient(MultiApiClientMixin, SDKClient):
46
46
:type profile: azure.profiles.KnownProfiles
47
47
"""
48
48
49
- DEFAULT_API_VERSION = '2020-11 -01'
49
+ DEFAULT_API_VERSION = '2021-02 -01'
50
50
_PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
51
51
LATEST_PROFILE = ProfileDefinition ({
52
52
_PROFILE_TAG : {
@@ -95,6 +95,8 @@ def models(cls, api_version=DEFAULT_API_VERSION):
95
95
* 2020-07-01: :mod:`v2020_07_01.models<azure.mgmt.containerservice.v2020_07_01.models>`
96
96
* 2020-09-01: :mod:`v2020_09_01.models<azure.mgmt.containerservice.v2020_09_01.models>`
97
97
* 2020-11-01: :mod:`v2020_11_01.models<azure.mgmt.containerservice.v2020_11_01.models>`
98
+ * 2020-12-01: :mod:`v2020_12_01.models<azure.mgmt.containerservice.v2020_12_01.models>`
99
+ * 2021-02-01: :mod:`v2021_02_01.models<azure.mgmt.containerservice.v2021_02_01.models>`
98
100
"""
99
101
if api_version == '2017-07-01' :
100
102
from .v2017_07_01 import models
@@ -159,6 +161,12 @@ def models(cls, api_version=DEFAULT_API_VERSION):
159
161
elif api_version == '2020-11-01' :
160
162
from .v2020_11_01 import models
161
163
return models
164
+ elif api_version == '2020-12-01' :
165
+ from .v2020_12_01 import models
166
+ return models
167
+ elif api_version == '2021-02-01' :
168
+ from .v2021_02_01 import models
169
+ return models
162
170
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
163
171
164
172
@property
@@ -179,6 +187,8 @@ def agent_pools(self):
179
187
* 2020-07-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_07_01.operations.AgentPoolsOperations>`
180
188
* 2020-09-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_09_01.operations.AgentPoolsOperations>`
181
189
* 2020-11-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_11_01.operations.AgentPoolsOperations>`
190
+ * 2020-12-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_12_01.operations.AgentPoolsOperations>`
191
+ * 2021-02-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_02_01.operations.AgentPoolsOperations>`
182
192
"""
183
193
api_version = self ._get_api_version ('agent_pools' )
184
194
if api_version == '2019-02-01' :
@@ -209,6 +219,10 @@ def agent_pools(self):
209
219
from .v2020_09_01 .operations import AgentPoolsOperations as OperationClass
210
220
elif api_version == '2020-11-01' :
211
221
from .v2020_11_01 .operations import AgentPoolsOperations as OperationClass
222
+ elif api_version == '2020-12-01' :
223
+ from .v2020_12_01 .operations import AgentPoolsOperations as OperationClass
224
+ elif api_version == '2021-02-01' :
225
+ from .v2021_02_01 .operations import AgentPoolsOperations as OperationClass
212
226
else :
213
227
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
214
228
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -226,6 +240,22 @@ def container_services(self):
226
240
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
227
241
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
228
242
243
+ @property
244
+ def maintenance_configurations (self ):
245
+ """Instance depends on the API version:
246
+
247
+ * 2020-12-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2020_12_01.operations.MaintenanceConfigurationsOperations>`
248
+ * 2021-02-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_02_01.operations.MaintenanceConfigurationsOperations>`
249
+ """
250
+ api_version = self ._get_api_version ('maintenance_configurations' )
251
+ if api_version == '2020-12-01' :
252
+ from .v2020_12_01 .operations import MaintenanceConfigurationsOperations as OperationClass
253
+ elif api_version == '2021-02-01' :
254
+ from .v2021_02_01 .operations import MaintenanceConfigurationsOperations as OperationClass
255
+ else :
256
+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
257
+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
258
+
229
259
@property
230
260
def managed_clusters (self ):
231
261
"""Instance depends on the API version:
@@ -246,6 +276,8 @@ def managed_clusters(self):
246
276
* 2020-07-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_07_01.operations.ManagedClustersOperations>`
247
277
* 2020-09-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_09_01.operations.ManagedClustersOperations>`
248
278
* 2020-11-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_11_01.operations.ManagedClustersOperations>`
279
+ * 2020-12-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_12_01.operations.ManagedClustersOperations>`
280
+ * 2021-02-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_02_01.operations.ManagedClustersOperations>`
249
281
"""
250
282
api_version = self ._get_api_version ('managed_clusters' )
251
283
if api_version == '2018-03-31' :
@@ -280,6 +312,10 @@ def managed_clusters(self):
280
312
from .v2020_09_01 .operations import ManagedClustersOperations as OperationClass
281
313
elif api_version == '2020-11-01' :
282
314
from .v2020_11_01 .operations import ManagedClustersOperations as OperationClass
315
+ elif api_version == '2020-12-01' :
316
+ from .v2020_12_01 .operations import ManagedClustersOperations as OperationClass
317
+ elif api_version == '2021-02-01' :
318
+ from .v2021_02_01 .operations import ManagedClustersOperations as OperationClass
283
319
else :
284
320
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
285
321
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -326,6 +362,8 @@ def operations(self):
326
362
* 2020-07-01: :class:`Operations<azure.mgmt.containerservice.v2020_07_01.operations.Operations>`
327
363
* 2020-09-01: :class:`Operations<azure.mgmt.containerservice.v2020_09_01.operations.Operations>`
328
364
* 2020-11-01: :class:`Operations<azure.mgmt.containerservice.v2020_11_01.operations.Operations>`
365
+ * 2020-12-01: :class:`Operations<azure.mgmt.containerservice.v2020_12_01.operations.Operations>`
366
+ * 2021-02-01: :class:`Operations<azure.mgmt.containerservice.v2021_02_01.operations.Operations>`
329
367
"""
330
368
api_version = self ._get_api_version ('operations' )
331
369
if api_version == '2018-03-31' :
@@ -360,6 +398,10 @@ def operations(self):
360
398
from .v2020_09_01 .operations import Operations as OperationClass
361
399
elif api_version == '2020-11-01' :
362
400
from .v2020_11_01 .operations import Operations as OperationClass
401
+ elif api_version == '2020-12-01' :
402
+ from .v2020_12_01 .operations import Operations as OperationClass
403
+ elif api_version == '2021-02-01' :
404
+ from .v2021_02_01 .operations import Operations as OperationClass
363
405
else :
364
406
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
365
407
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -372,6 +414,8 @@ def private_endpoint_connections(self):
372
414
* 2020-07-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_07_01.operations.PrivateEndpointConnectionsOperations>`
373
415
* 2020-09-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_09_01.operations.PrivateEndpointConnectionsOperations>`
374
416
* 2020-11-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_11_01.operations.PrivateEndpointConnectionsOperations>`
417
+ * 2020-12-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_12_01.operations.PrivateEndpointConnectionsOperations>`
418
+ * 2021-02-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_02_01.operations.PrivateEndpointConnectionsOperations>`
375
419
"""
376
420
api_version = self ._get_api_version ('private_endpoint_connections' )
377
421
if api_version == '2020-06-01' :
@@ -382,6 +426,10 @@ def private_endpoint_connections(self):
382
426
from .v2020_09_01 .operations import PrivateEndpointConnectionsOperations as OperationClass
383
427
elif api_version == '2020-11-01' :
384
428
from .v2020_11_01 .operations import PrivateEndpointConnectionsOperations as OperationClass
429
+ elif api_version == '2020-12-01' :
430
+ from .v2020_12_01 .operations import PrivateEndpointConnectionsOperations as OperationClass
431
+ elif api_version == '2021-02-01' :
432
+ from .v2021_02_01 .operations import PrivateEndpointConnectionsOperations as OperationClass
385
433
else :
386
434
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
387
435
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -392,12 +440,18 @@ def private_link_resources(self):
392
440
393
441
* 2020-09-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_09_01.operations.PrivateLinkResourcesOperations>`
394
442
* 2020-11-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_11_01.operations.PrivateLinkResourcesOperations>`
443
+ * 2020-12-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_12_01.operations.PrivateLinkResourcesOperations>`
444
+ * 2021-02-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_02_01.operations.PrivateLinkResourcesOperations>`
395
445
"""
396
446
api_version = self ._get_api_version ('private_link_resources' )
397
447
if api_version == '2020-09-01' :
398
448
from .v2020_09_01 .operations import PrivateLinkResourcesOperations as OperationClass
399
449
elif api_version == '2020-11-01' :
400
450
from .v2020_11_01 .operations import PrivateLinkResourcesOperations as OperationClass
451
+ elif api_version == '2020-12-01' :
452
+ from .v2020_12_01 .operations import PrivateLinkResourcesOperations as OperationClass
453
+ elif api_version == '2021-02-01' :
454
+ from .v2021_02_01 .operations import PrivateLinkResourcesOperations as OperationClass
401
455
else :
402
456
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
403
457
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -408,12 +462,18 @@ def resolve_private_link_service_id(self):
408
462
409
463
* 2020-09-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_09_01.operations.ResolvePrivateLinkServiceIdOperations>`
410
464
* 2020-11-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_11_01.operations.ResolvePrivateLinkServiceIdOperations>`
465
+ * 2020-12-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_12_01.operations.ResolvePrivateLinkServiceIdOperations>`
466
+ * 2021-02-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_02_01.operations.ResolvePrivateLinkServiceIdOperations>`
411
467
"""
412
468
api_version = self ._get_api_version ('resolve_private_link_service_id' )
413
469
if api_version == '2020-09-01' :
414
470
from .v2020_09_01 .operations import ResolvePrivateLinkServiceIdOperations as OperationClass
415
471
elif api_version == '2020-11-01' :
416
472
from .v2020_11_01 .operations import ResolvePrivateLinkServiceIdOperations as OperationClass
473
+ elif api_version == '2020-12-01' :
474
+ from .v2020_12_01 .operations import ResolvePrivateLinkServiceIdOperations as OperationClass
475
+ elif api_version == '2021-02-01' :
476
+ from .v2021_02_01 .operations import ResolvePrivateLinkServiceIdOperations as OperationClass
417
477
else :
418
478
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
419
479
return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
0 commit comments