@@ -46,7 +46,7 @@ class ContainerServiceClient(MultiApiClientMixin, SDKClient):
4646 :type profile: azure.profiles.KnownProfiles
4747 """
4848
49- DEFAULT_API_VERSION = '2020-11 -01'
49+ DEFAULT_API_VERSION = '2021-02 -01'
5050 _PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
5151 LATEST_PROFILE = ProfileDefinition ({
5252 _PROFILE_TAG : {
@@ -95,6 +95,8 @@ def models(cls, api_version=DEFAULT_API_VERSION):
9595 * 2020-07-01: :mod:`v2020_07_01.models<azure.mgmt.containerservice.v2020_07_01.models>`
9696 * 2020-09-01: :mod:`v2020_09_01.models<azure.mgmt.containerservice.v2020_09_01.models>`
9797 * 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>`
98100 """
99101 if api_version == '2017-07-01' :
100102 from .v2017_07_01 import models
@@ -159,6 +161,12 @@ def models(cls, api_version=DEFAULT_API_VERSION):
159161 elif api_version == '2020-11-01' :
160162 from .v2020_11_01 import models
161163 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
162170 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
163171
164172 @property
@@ -179,6 +187,8 @@ def agent_pools(self):
179187 * 2020-07-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_07_01.operations.AgentPoolsOperations>`
180188 * 2020-09-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_09_01.operations.AgentPoolsOperations>`
181189 * 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>`
182192 """
183193 api_version = self ._get_api_version ('agent_pools' )
184194 if api_version == '2019-02-01' :
@@ -209,6 +219,10 @@ def agent_pools(self):
209219 from .v2020_09_01 .operations import AgentPoolsOperations as OperationClass
210220 elif api_version == '2020-11-01' :
211221 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
212226 else :
213227 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
214228 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):
226240 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
227241 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
228242
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+
229259 @property
230260 def managed_clusters (self ):
231261 """Instance depends on the API version:
@@ -246,6 +276,8 @@ def managed_clusters(self):
246276 * 2020-07-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_07_01.operations.ManagedClustersOperations>`
247277 * 2020-09-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_09_01.operations.ManagedClustersOperations>`
248278 * 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>`
249281 """
250282 api_version = self ._get_api_version ('managed_clusters' )
251283 if api_version == '2018-03-31' :
@@ -280,6 +312,10 @@ def managed_clusters(self):
280312 from .v2020_09_01 .operations import ManagedClustersOperations as OperationClass
281313 elif api_version == '2020-11-01' :
282314 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
283319 else :
284320 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
285321 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):
326362 * 2020-07-01: :class:`Operations<azure.mgmt.containerservice.v2020_07_01.operations.Operations>`
327363 * 2020-09-01: :class:`Operations<azure.mgmt.containerservice.v2020_09_01.operations.Operations>`
328364 * 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>`
329367 """
330368 api_version = self ._get_api_version ('operations' )
331369 if api_version == '2018-03-31' :
@@ -360,6 +398,10 @@ def operations(self):
360398 from .v2020_09_01 .operations import Operations as OperationClass
361399 elif api_version == '2020-11-01' :
362400 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
363405 else :
364406 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
365407 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):
372414 * 2020-07-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_07_01.operations.PrivateEndpointConnectionsOperations>`
373415 * 2020-09-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_09_01.operations.PrivateEndpointConnectionsOperations>`
374416 * 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>`
375419 """
376420 api_version = self ._get_api_version ('private_endpoint_connections' )
377421 if api_version == '2020-06-01' :
@@ -382,6 +426,10 @@ def private_endpoint_connections(self):
382426 from .v2020_09_01 .operations import PrivateEndpointConnectionsOperations as OperationClass
383427 elif api_version == '2020-11-01' :
384428 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
385433 else :
386434 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
387435 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):
392440
393441 * 2020-09-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_09_01.operations.PrivateLinkResourcesOperations>`
394442 * 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>`
395445 """
396446 api_version = self ._get_api_version ('private_link_resources' )
397447 if api_version == '2020-09-01' :
398448 from .v2020_09_01 .operations import PrivateLinkResourcesOperations as OperationClass
399449 elif api_version == '2020-11-01' :
400450 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
401455 else :
402456 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
403457 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):
408462
409463 * 2020-09-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_09_01.operations.ResolvePrivateLinkServiceIdOperations>`
410464 * 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>`
411467 """
412468 api_version = self ._get_api_version ('resolve_private_link_service_id' )
413469 if api_version == '2020-09-01' :
414470 from .v2020_09_01 .operations import ResolvePrivateLinkServiceIdOperations as OperationClass
415471 elif api_version == '2020-11-01' :
416472 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
417477 else :
418478 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
419479 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
0 commit comments