@@ -46,7 +46,7 @@ class ContainerServiceClient(MultiApiClientMixin, SDKClient):
4646 :type profile: azure.profiles.KnownProfiles
4747 """
4848
49- DEFAULT_API_VERSION = '2020-02 -01'
49+ DEFAULT_API_VERSION = '2020-03 -01'
5050 _PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
5151 LATEST_PROFILE = ProfileDefinition ({
5252 _PROFILE_TAG : {
@@ -85,9 +85,11 @@ def models(cls, api_version=DEFAULT_API_VERSION):
8585 * 2019-08-01: :mod:`v2019_08_01.models<azure.mgmt.containerservice.v2019_08_01.models>`
8686 * 2019-09-30-preview: :mod:`v2019_09_30_preview.models<azure.mgmt.containerservice.v2019_09_30_preview.models>`
8787 * 2019-10-01: :mod:`v2019_10_01.models<azure.mgmt.containerservice.v2019_10_01.models>`
88+ * 2019-10-27-preview: :mod:`v2019_10_27_preview.models<azure.mgmt.containerservice.v2019_10_27_preview.models>`
8889 * 2019-11-01: :mod:`v2019_11_01.models<azure.mgmt.containerservice.v2019_11_01.models>`
8990 * 2020-01-01: :mod:`v2020_01_01.models<azure.mgmt.containerservice.v2020_01_01.models>`
9091 * 2020-02-01: :mod:`v2020_02_01.models<azure.mgmt.containerservice.v2020_02_01.models>`
92+ * 2020-03-01: :mod:`v2020_03_01.models<azure.mgmt.containerservice.v2020_03_01.models>`
9193 """
9294 if api_version == '2017-07-01' :
9395 from .v2017_07_01 import models
@@ -122,6 +124,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
122124 elif api_version == '2019-10-01' :
123125 from .v2019_10_01 import models
124126 return models
127+ elif api_version == '2019-10-27-preview' :
128+ from .v2019_10_27_preview import models
129+ return models
125130 elif api_version == '2019-11-01' :
126131 from .v2019_11_01 import models
127132 return models
@@ -131,6 +136,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
131136 elif api_version == '2020-02-01' :
132137 from .v2020_02_01 import models
133138 return models
139+ elif api_version == '2020-03-01' :
140+ from .v2020_03_01 import models
141+ return models
134142 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
135143
136144 @property
@@ -145,6 +153,7 @@ def agent_pools(self):
145153 * 2019-11-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2019_11_01.operations.AgentPoolsOperations>`
146154 * 2020-01-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_01_01.operations.AgentPoolsOperations>`
147155 * 2020-02-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_02_01.operations.AgentPoolsOperations>`
156+ * 2020-03-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_03_01.operations.AgentPoolsOperations>`
148157 """
149158 api_version = self ._get_api_version ('agent_pools' )
150159 if api_version == '2019-02-01' :
@@ -163,6 +172,8 @@ def agent_pools(self):
163172 from .v2020_01_01 .operations import AgentPoolsOperations as OperationClass
164173 elif api_version == '2020-02-01' :
165174 from .v2020_02_01 .operations import AgentPoolsOperations as OperationClass
175+ elif api_version == '2020-03-01' :
176+ from .v2020_03_01 .operations import AgentPoolsOperations as OperationClass
166177 else :
167178 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
168179 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -194,6 +205,7 @@ def managed_clusters(self):
194205 * 2019-11-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2019_11_01.operations.ManagedClustersOperations>`
195206 * 2020-01-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_01_01.operations.ManagedClustersOperations>`
196207 * 2020-02-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_02_01.operations.ManagedClustersOperations>`
208+ * 2020-03-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_03_01.operations.ManagedClustersOperations>`
197209 """
198210 api_version = self ._get_api_version ('managed_clusters' )
199211 if api_version == '2018-03-31' :
@@ -216,6 +228,8 @@ def managed_clusters(self):
216228 from .v2020_01_01 .operations import ManagedClustersOperations as OperationClass
217229 elif api_version == '2020-02-01' :
218230 from .v2020_02_01 .operations import ManagedClustersOperations as OperationClass
231+ elif api_version == '2020-03-01' :
232+ from .v2020_03_01 .operations import ManagedClustersOperations as OperationClass
219233 else :
220234 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
221235 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -227,6 +241,7 @@ def open_shift_managed_clusters(self):
227241 * 2018-09-30-preview: :class:`OpenShiftManagedClustersOperations<azure.mgmt.containerservice.v2018_09_30_preview.operations.OpenShiftManagedClustersOperations>`
228242 * 2019-04-30: :class:`OpenShiftManagedClustersOperations<azure.mgmt.containerservice.v2019_04_30.operations.OpenShiftManagedClustersOperations>`
229243 * 2019-09-30-preview: :class:`OpenShiftManagedClustersOperations<azure.mgmt.containerservice.v2019_09_30_preview.operations.OpenShiftManagedClustersOperations>`
244+ * 2019-10-27-preview: :class:`OpenShiftManagedClustersOperations<azure.mgmt.containerservice.v2019_10_27_preview.operations.OpenShiftManagedClustersOperations>`
230245 """
231246 api_version = self ._get_api_version ('open_shift_managed_clusters' )
232247 if api_version == '2018-09-30-preview' :
@@ -235,6 +250,8 @@ def open_shift_managed_clusters(self):
235250 from .v2019_04_30 .operations import OpenShiftManagedClustersOperations as OperationClass
236251 elif api_version == '2019-09-30-preview' :
237252 from .v2019_09_30_preview .operations import OpenShiftManagedClustersOperations as OperationClass
253+ elif api_version == '2019-10-27-preview' :
254+ from .v2019_10_27_preview .operations import OpenShiftManagedClustersOperations as OperationClass
238255 else :
239256 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
240257 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
@@ -253,6 +270,7 @@ def operations(self):
253270 * 2019-11-01: :class:`Operations<azure.mgmt.containerservice.v2019_11_01.operations.Operations>`
254271 * 2020-01-01: :class:`Operations<azure.mgmt.containerservice.v2020_01_01.operations.Operations>`
255272 * 2020-02-01: :class:`Operations<azure.mgmt.containerservice.v2020_02_01.operations.Operations>`
273+ * 2020-03-01: :class:`Operations<azure.mgmt.containerservice.v2020_03_01.operations.Operations>`
256274 """
257275 api_version = self ._get_api_version ('operations' )
258276 if api_version == '2018-03-31' :
@@ -275,6 +293,8 @@ def operations(self):
275293 from .v2020_01_01 .operations import Operations as OperationClass
276294 elif api_version == '2020-02-01' :
277295 from .v2020_02_01 .operations import Operations as OperationClass
296+ elif api_version == '2020-03-01' :
297+ from .v2020_03_01 .operations import Operations as OperationClass
278298 else :
279299 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
280300 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
0 commit comments