Skip to content

Commit 2fe9119

Browse files
authored
GA track2 containerservice (Azure#15499)
1 parent 62f8959 commit 2fe9119

File tree

185 files changed

+18060
-2947
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+18060
-2947
lines changed

sdk/containerservice/azure-mgmt-containerservice/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Release History
22

3+
## 14.0.0 (2020-11-23)
4+
5+
**Features**
6+
7+
- Model ManagedCluster has a new parameter pod_identity_profile
8+
- Model ManagedCluster has a new parameter auto_upgrade_profile
9+
- Model ManagedClusterAgentPoolProfile has a new parameter linux_os_config
10+
- Model ManagedClusterAgentPoolProfile has a new parameter kubelet_config
11+
- Model ManagedClusterAgentPoolProfile has a new parameter pod_subnet_id
12+
- Model ManagedClusterAgentPoolProfileProperties has a new parameter linux_os_config
13+
- Model ManagedClusterAgentPoolProfileProperties has a new parameter kubelet_config
14+
- Model ManagedClusterAgentPoolProfileProperties has a new parameter pod_subnet_id
15+
- Model ManagedClusterAPIServerAccessProfile has a new parameter private_dns_zone
16+
- Model AgentPool has a new parameter linux_os_config
17+
- Model AgentPool has a new parameter kubelet_config
18+
- Model AgentPool has a new parameter pod_subnet_id
19+
320
## 14.0.0b1 (2020-10-23)
421

522
This is beta preview version.

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_container_service_client.py

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class ContainerServiceClient(MultiApiClientMixin, _SDKClient):
4646
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
4747
"""
4848

49-
DEFAULT_API_VERSION = '2020-09-01'
49+
DEFAULT_API_VERSION = '2020-11-01'
5050
_PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
5151
LATEST_PROFILE = ProfileDefinition({
5252
_PROFILE_TAG: {
@@ -103,6 +103,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
103103
* 2020-06-01: :mod:`v2020_06_01.models<azure.mgmt.containerservice.v2020_06_01.models>`
104104
* 2020-07-01: :mod:`v2020_07_01.models<azure.mgmt.containerservice.v2020_07_01.models>`
105105
* 2020-09-01: :mod:`v2020_09_01.models<azure.mgmt.containerservice.v2020_09_01.models>`
106+
* 2020-11-01: :mod:`v2020_11_01.models<azure.mgmt.containerservice.v2020_11_01.models>`
106107
"""
107108
if api_version == '2017-07-01':
108109
from .v2017_07_01 import models
@@ -164,6 +165,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
164165
elif api_version == '2020-09-01':
165166
from .v2020_09_01 import models
166167
return models
168+
elif api_version == '2020-11-01':
169+
from .v2020_11_01 import models
170+
return models
167171
raise ValueError("API version {} is not available".format(api_version))
168172

169173
@property
@@ -183,6 +187,7 @@ def agent_pools(self):
183187
* 2020-06-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_06_01.operations.AgentPoolsOperations>`
184188
* 2020-07-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_07_01.operations.AgentPoolsOperations>`
185189
* 2020-09-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_09_01.operations.AgentPoolsOperations>`
190+
* 2020-11-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_11_01.operations.AgentPoolsOperations>`
186191
"""
187192
api_version = self._get_api_version('agent_pools')
188193
if api_version == '2019-02-01':
@@ -211,6 +216,8 @@ def agent_pools(self):
211216
from .v2020_07_01.operations import AgentPoolsOperations as OperationClass
212217
elif api_version == '2020-09-01':
213218
from .v2020_09_01.operations import AgentPoolsOperations as OperationClass
219+
elif api_version == '2020-11-01':
220+
from .v2020_11_01.operations import AgentPoolsOperations as OperationClass
214221
else:
215222
raise ValueError("API version {} does not have operation group 'agent_pools'".format(api_version))
216223
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -247,6 +254,7 @@ def managed_clusters(self):
247254
* 2020-06-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_06_01.operations.ManagedClustersOperations>`
248255
* 2020-07-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_07_01.operations.ManagedClustersOperations>`
249256
* 2020-09-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_09_01.operations.ManagedClustersOperations>`
257+
* 2020-11-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_11_01.operations.ManagedClustersOperations>`
250258
"""
251259
api_version = self._get_api_version('managed_clusters')
252260
if api_version == '2018-03-31':
@@ -279,6 +287,8 @@ def managed_clusters(self):
279287
from .v2020_07_01.operations import ManagedClustersOperations as OperationClass
280288
elif api_version == '2020-09-01':
281289
from .v2020_09_01.operations import ManagedClustersOperations as OperationClass
290+
elif api_version == '2020-11-01':
291+
from .v2020_11_01.operations import ManagedClustersOperations as OperationClass
282292
else:
283293
raise ValueError("API version {} does not have operation group 'managed_clusters'".format(api_version))
284294
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -324,6 +334,7 @@ def operations(self):
324334
* 2020-06-01: :class:`Operations<azure.mgmt.containerservice.v2020_06_01.operations.Operations>`
325335
* 2020-07-01: :class:`Operations<azure.mgmt.containerservice.v2020_07_01.operations.Operations>`
326336
* 2020-09-01: :class:`Operations<azure.mgmt.containerservice.v2020_09_01.operations.Operations>`
337+
* 2020-11-01: :class:`Operations<azure.mgmt.containerservice.v2020_11_01.operations.Operations>`
327338
"""
328339
api_version = self._get_api_version('operations')
329340
if api_version == '2018-03-31':
@@ -356,6 +367,8 @@ def operations(self):
356367
from .v2020_07_01.operations import Operations as OperationClass
357368
elif api_version == '2020-09-01':
358369
from .v2020_09_01.operations import Operations as OperationClass
370+
elif api_version == '2020-11-01':
371+
from .v2020_11_01.operations import Operations as OperationClass
359372
else:
360373
raise ValueError("API version {} does not have operation group 'operations'".format(api_version))
361374
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -367,6 +380,7 @@ def private_endpoint_connections(self):
367380
* 2020-06-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_06_01.operations.PrivateEndpointConnectionsOperations>`
368381
* 2020-07-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_07_01.operations.PrivateEndpointConnectionsOperations>`
369382
* 2020-09-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_09_01.operations.PrivateEndpointConnectionsOperations>`
383+
* 2020-11-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_11_01.operations.PrivateEndpointConnectionsOperations>`
370384
"""
371385
api_version = self._get_api_version('private_endpoint_connections')
372386
if api_version == '2020-06-01':
@@ -375,6 +389,8 @@ def private_endpoint_connections(self):
375389
from .v2020_07_01.operations import PrivateEndpointConnectionsOperations as OperationClass
376390
elif api_version == '2020-09-01':
377391
from .v2020_09_01.operations import PrivateEndpointConnectionsOperations as OperationClass
392+
elif api_version == '2020-11-01':
393+
from .v2020_11_01.operations import PrivateEndpointConnectionsOperations as OperationClass
378394
else:
379395
raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version))
380396
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -384,10 +400,13 @@ def private_link_resources(self):
384400
"""Instance depends on the API version:
385401
386402
* 2020-09-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_09_01.operations.PrivateLinkResourcesOperations>`
403+
* 2020-11-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_11_01.operations.PrivateLinkResourcesOperations>`
387404
"""
388405
api_version = self._get_api_version('private_link_resources')
389406
if api_version == '2020-09-01':
390407
from .v2020_09_01.operations import PrivateLinkResourcesOperations as OperationClass
408+
elif api_version == '2020-11-01':
409+
from .v2020_11_01.operations import PrivateLinkResourcesOperations as OperationClass
391410
else:
392411
raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version))
393412
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -397,10 +416,13 @@ def resolve_private_link_service_id(self):
397416
"""Instance depends on the API version:
398417
399418
* 2020-09-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_09_01.operations.ResolvePrivateLinkServiceIdOperations>`
419+
* 2020-11-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_11_01.operations.ResolvePrivateLinkServiceIdOperations>`
400420
"""
401421
api_version = self._get_api_version('resolve_private_link_service_id')
402422
if api_version == '2020-09-01':
403423
from .v2020_09_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
424+
elif api_version == '2020-11-01':
425+
from .v2020_11_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
404426
else:
405427
raise ValueError("API version {} does not have operation group 'resolve_private_link_service_id'".format(api_version))
406428
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "14.0.0b1"
12+
VERSION = "14.0.0"

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/aio/_container_service_client.py

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class ContainerServiceClient(MultiApiClientMixin, _SDKClient):
4646
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
4747
"""
4848

49-
DEFAULT_API_VERSION = '2020-09-01'
49+
DEFAULT_API_VERSION = '2020-11-01'
5050
_PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
5151
LATEST_PROFILE = ProfileDefinition({
5252
_PROFILE_TAG: {
@@ -103,6 +103,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
103103
* 2020-06-01: :mod:`v2020_06_01.models<azure.mgmt.containerservice.v2020_06_01.models>`
104104
* 2020-07-01: :mod:`v2020_07_01.models<azure.mgmt.containerservice.v2020_07_01.models>`
105105
* 2020-09-01: :mod:`v2020_09_01.models<azure.mgmt.containerservice.v2020_09_01.models>`
106+
* 2020-11-01: :mod:`v2020_11_01.models<azure.mgmt.containerservice.v2020_11_01.models>`
106107
"""
107108
if api_version == '2017-07-01':
108109
from ..v2017_07_01 import models
@@ -164,6 +165,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
164165
elif api_version == '2020-09-01':
165166
from ..v2020_09_01 import models
166167
return models
168+
elif api_version == '2020-11-01':
169+
from ..v2020_11_01 import models
170+
return models
167171
raise ValueError("API version {} is not available".format(api_version))
168172

169173
@property
@@ -183,6 +187,7 @@ def agent_pools(self):
183187
* 2020-06-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_06_01.aio.operations.AgentPoolsOperations>`
184188
* 2020-07-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_07_01.aio.operations.AgentPoolsOperations>`
185189
* 2020-09-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_09_01.aio.operations.AgentPoolsOperations>`
190+
* 2020-11-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_11_01.aio.operations.AgentPoolsOperations>`
186191
"""
187192
api_version = self._get_api_version('agent_pools')
188193
if api_version == '2019-02-01':
@@ -211,6 +216,8 @@ def agent_pools(self):
211216
from ..v2020_07_01.aio.operations import AgentPoolsOperations as OperationClass
212217
elif api_version == '2020-09-01':
213218
from ..v2020_09_01.aio.operations import AgentPoolsOperations as OperationClass
219+
elif api_version == '2020-11-01':
220+
from ..v2020_11_01.aio.operations import AgentPoolsOperations as OperationClass
214221
else:
215222
raise ValueError("API version {} does not have operation group 'agent_pools'".format(api_version))
216223
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -247,6 +254,7 @@ def managed_clusters(self):
247254
* 2020-06-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_06_01.aio.operations.ManagedClustersOperations>`
248255
* 2020-07-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_07_01.aio.operations.ManagedClustersOperations>`
249256
* 2020-09-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_09_01.aio.operations.ManagedClustersOperations>`
257+
* 2020-11-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_11_01.aio.operations.ManagedClustersOperations>`
250258
"""
251259
api_version = self._get_api_version('managed_clusters')
252260
if api_version == '2018-03-31':
@@ -279,6 +287,8 @@ def managed_clusters(self):
279287
from ..v2020_07_01.aio.operations import ManagedClustersOperations as OperationClass
280288
elif api_version == '2020-09-01':
281289
from ..v2020_09_01.aio.operations import ManagedClustersOperations as OperationClass
290+
elif api_version == '2020-11-01':
291+
from ..v2020_11_01.aio.operations import ManagedClustersOperations as OperationClass
282292
else:
283293
raise ValueError("API version {} does not have operation group 'managed_clusters'".format(api_version))
284294
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -324,6 +334,7 @@ def operations(self):
324334
* 2020-06-01: :class:`Operations<azure.mgmt.containerservice.v2020_06_01.aio.operations.Operations>`
325335
* 2020-07-01: :class:`Operations<azure.mgmt.containerservice.v2020_07_01.aio.operations.Operations>`
326336
* 2020-09-01: :class:`Operations<azure.mgmt.containerservice.v2020_09_01.aio.operations.Operations>`
337+
* 2020-11-01: :class:`Operations<azure.mgmt.containerservice.v2020_11_01.aio.operations.Operations>`
327338
"""
328339
api_version = self._get_api_version('operations')
329340
if api_version == '2018-03-31':
@@ -356,6 +367,8 @@ def operations(self):
356367
from ..v2020_07_01.aio.operations import Operations as OperationClass
357368
elif api_version == '2020-09-01':
358369
from ..v2020_09_01.aio.operations import Operations as OperationClass
370+
elif api_version == '2020-11-01':
371+
from ..v2020_11_01.aio.operations import Operations as OperationClass
359372
else:
360373
raise ValueError("API version {} does not have operation group 'operations'".format(api_version))
361374
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -367,6 +380,7 @@ def private_endpoint_connections(self):
367380
* 2020-06-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_06_01.aio.operations.PrivateEndpointConnectionsOperations>`
368381
* 2020-07-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_07_01.aio.operations.PrivateEndpointConnectionsOperations>`
369382
* 2020-09-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_09_01.aio.operations.PrivateEndpointConnectionsOperations>`
383+
* 2020-11-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_11_01.aio.operations.PrivateEndpointConnectionsOperations>`
370384
"""
371385
api_version = self._get_api_version('private_endpoint_connections')
372386
if api_version == '2020-06-01':
@@ -375,6 +389,8 @@ def private_endpoint_connections(self):
375389
from ..v2020_07_01.aio.operations import PrivateEndpointConnectionsOperations as OperationClass
376390
elif api_version == '2020-09-01':
377391
from ..v2020_09_01.aio.operations import PrivateEndpointConnectionsOperations as OperationClass
392+
elif api_version == '2020-11-01':
393+
from ..v2020_11_01.aio.operations import PrivateEndpointConnectionsOperations as OperationClass
378394
else:
379395
raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version))
380396
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -384,10 +400,13 @@ def private_link_resources(self):
384400
"""Instance depends on the API version:
385401
386402
* 2020-09-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_09_01.aio.operations.PrivateLinkResourcesOperations>`
403+
* 2020-11-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_11_01.aio.operations.PrivateLinkResourcesOperations>`
387404
"""
388405
api_version = self._get_api_version('private_link_resources')
389406
if api_version == '2020-09-01':
390407
from ..v2020_09_01.aio.operations import PrivateLinkResourcesOperations as OperationClass
408+
elif api_version == '2020-11-01':
409+
from ..v2020_11_01.aio.operations import PrivateLinkResourcesOperations as OperationClass
391410
else:
392411
raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version))
393412
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -397,10 +416,13 @@ def resolve_private_link_service_id(self):
397416
"""Instance depends on the API version:
398417
399418
* 2020-09-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_09_01.aio.operations.ResolvePrivateLinkServiceIdOperations>`
419+
* 2020-11-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_11_01.aio.operations.ResolvePrivateLinkServiceIdOperations>`
400420
"""
401421
api_version = self._get_api_version('resolve_private_link_service_id')
402422
if api_version == '2020-09-01':
403423
from ..v2020_09_01.aio.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
424+
elif api_version == '2020-11-01':
425+
from ..v2020_11_01.aio.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
404426
else:
405427
raise ValueError("API version {} does not have operation group 'resolve_private_link_service_id'".format(api_version))
406428
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# --------------------------------------------------------------------------
77
from .v2017_07_01.models import *
88
from .v2019_04_30.models import *
9-
from .v2020_09_01.models import *
9+
from .v2020_11_01.models import *

0 commit comments

Comments
 (0)