@@ -46,7 +46,7 @@ class ContainerServiceClient(MultiApiClientMixin, SDKClient):
4646 :type profile: azure.profiles.KnownProfiles
4747 """
4848
49- DEFAULT_API_VERSION = '2020-04 -01'
49+ DEFAULT_API_VERSION = '2020-06 -01'
5050 _PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
5151 LATEST_PROFILE = ProfileDefinition ({
5252 _PROFILE_TAG : {
@@ -91,6 +91,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
9191 * 2020-02-01: :mod:`v2020_02_01.models<azure.mgmt.containerservice.v2020_02_01.models>`
9292 * 2020-03-01: :mod:`v2020_03_01.models<azure.mgmt.containerservice.v2020_03_01.models>`
9393 * 2020-04-01: :mod:`v2020_04_01.models<azure.mgmt.containerservice.v2020_04_01.models>`
94+ * 2020-06-01: :mod:`v2020_06_01.models<azure.mgmt.containerservice.v2020_06_01.models>`
9495 """
9596 if api_version == '2017-07-01' :
9697 from .v2017_07_01 import models
@@ -143,6 +144,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
143144 elif api_version == '2020-04-01' :
144145 from .v2020_04_01 import models
145146 return models
147+ elif api_version == '2020-06-01' :
148+ from .v2020_06_01 import models
149+ return models
146150 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
147151
148152 @property
@@ -159,6 +163,7 @@ def agent_pools(self):
159163 * 2020-02-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_02_01.operations.AgentPoolsOperations>`
160164 * 2020-03-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_03_01.operations.AgentPoolsOperations>`
161165 * 2020-04-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_04_01.operations.AgentPoolsOperations>`
166+ * 2020-06-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_06_01.operations.AgentPoolsOperations>`
162167 """
163168 api_version = self ._get_api_version ('agent_pools' )
164169 if api_version == '2019-02-01' :
@@ -181,6 +186,8 @@ def agent_pools(self):
181186 from .v2020_03_01 .operations import AgentPoolsOperations as OperationClass
182187 elif api_version == '2020-04-01' :
183188 from .v2020_04_01 .operations import AgentPoolsOperations as OperationClass
189+ elif api_version == '2020-06-01' :
190+ from .v2020_06_01 .operations import AgentPoolsOperations as OperationClass
184191 else :
185192 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
186193 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -214,6 +221,7 @@ def managed_clusters(self):
214221 * 2020-02-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_02_01.operations.ManagedClustersOperations>`
215222 * 2020-03-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_03_01.operations.ManagedClustersOperations>`
216223 * 2020-04-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_04_01.operations.ManagedClustersOperations>`
224+ * 2020-06-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_06_01.operations.ManagedClustersOperations>`
217225 """
218226 api_version = self ._get_api_version ('managed_clusters' )
219227 if api_version == '2018-03-31' :
@@ -240,6 +248,8 @@ def managed_clusters(self):
240248 from .v2020_03_01 .operations import ManagedClustersOperations as OperationClass
241249 elif api_version == '2020-04-01' :
242250 from .v2020_04_01 .operations import ManagedClustersOperations as OperationClass
251+ elif api_version == '2020-06-01' :
252+ from .v2020_06_01 .operations import ManagedClustersOperations as OperationClass
243253 else :
244254 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
245255 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -282,6 +292,7 @@ def operations(self):
282292 * 2020-02-01: :class:`Operations<azure.mgmt.containerservice.v2020_02_01.operations.Operations>`
283293 * 2020-03-01: :class:`Operations<azure.mgmt.containerservice.v2020_03_01.operations.Operations>`
284294 * 2020-04-01: :class:`Operations<azure.mgmt.containerservice.v2020_04_01.operations.Operations>`
295+ * 2020-06-01: :class:`Operations<azure.mgmt.containerservice.v2020_06_01.operations.Operations>`
285296 """
286297 api_version = self ._get_api_version ('operations' )
287298 if api_version == '2018-03-31' :
@@ -308,6 +319,21 @@ def operations(self):
308319 from .v2020_03_01 .operations import Operations as OperationClass
309320 elif api_version == '2020-04-01' :
310321 from .v2020_04_01 .operations import Operations as OperationClass
322+ elif api_version == '2020-06-01' :
323+ from .v2020_06_01 .operations import Operations as OperationClass
324+ else :
325+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
326+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
327+
328+ @property
329+ def private_endpoint_connections (self ):
330+ """Instance depends on the API version:
331+
332+ * 2020-06-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_06_01.operations.PrivateEndpointConnectionsOperations>`
333+ """
334+ api_version = self ._get_api_version ('private_endpoint_connections' )
335+ if api_version == '2020-06-01' :
336+ from .v2020_06_01 .operations import PrivateEndpointConnectionsOperations as OperationClass
311337 else :
312338 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
313339 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
0 commit comments