Skip to content

Commit 66c78c2

Browse files
zhangyan133SDKAutolevimmLi Maalexeldeib
authored
T2 containerservice 2021 03 03 (#17050)
* CodeGen from PR 12771 in Azure/azure-rest-api-specs Dev containerservice microsoft.container service 2021 02 01 (#12771) * Adds base for updating Microsoft.ContainerService from version stable/2020-12-01 to version 2021-02-01 * Updates readme * Updates API version in new specs and examples * aks: generate 2021-02-01 sdk (#12311) * aks: add `allowNetworkPluginKubenet` field to `ManagedClusterPodIdentityProfile` (#12309) * aks: add `allowNetworkPluginKubenet` field to `ManagedClusterPodIdentityProfile` * aks: add pod identity example * AKS: add fqdnSubdomain for private cluster with custom private dns zone (#12361) * add fqdnSubdomain for private cluster with custom private dns zone * add example ref * fix example Co-authored-by: Li Ma <[email protected]> * add new disk choice (#12682) * AKS: Add Node Public IP Prefix support. (#12673) * Add azure portal fqdn (#12725) * add azure portal fqdn * add azure portal fqdn * fix prettier Co-authored-by: Super <[email protected]> Co-authored-by: Li Ma <[email protected]> Co-authored-by: Ace Eldeib <[email protected]> Co-authored-by: Jun Sun <[email protected]> Co-authored-by: tilnl <[email protected]> * test,version,CHANGELOG * delete usage * delete a row Co-authored-by: SDKAuto <[email protected]> Co-authored-by: Super <[email protected]> Co-authored-by: Li Ma <[email protected]> Co-authored-by: Ace Eldeib <[email protected]> Co-authored-by: Jun Sun <[email protected]> Co-authored-by: tilnl <[email protected]> Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <[email protected]>
1 parent ba5fce0 commit 66c78c2

File tree

129 files changed

+29720
-803
lines changed

Some content is hidden

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

129 files changed

+29720
-803
lines changed

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

+31
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Release History
22

3+
## 15.0.0 (2021-03-03)
4+
5+
**Features**
6+
7+
- Model ManagedClusterPropertiesAutoScalerProfile has a new parameter max_node_provision_time
8+
- Model ManagedClusterPodIdentityProfile has a new parameter allow_network_plugin_kubenet
9+
- Model KubeletConfig has a new parameter container_log_max_size_mb
10+
- Model KubeletConfig has a new parameter pod_max_pids
11+
- Model KubeletConfig has a new parameter container_log_max_files
12+
- Model SysctlConfig has a new parameter net_core_rmem_default
13+
- Model SysctlConfig has a new parameter net_core_wmem_default
14+
- Model Components1Q1Og48SchemasManagedclusterAllof1 has a new parameter azure_portal_fqdn
15+
- Model Components1Q1Og48SchemasManagedclusterAllof1 has a new parameter fqdn_subdomain
16+
- Model ManagedCluster has a new parameter azure_portal_fqdn
17+
- Model ManagedCluster has a new parameter fqdn_subdomain
18+
- Model ManagedClusterAgentPoolProfile has a new parameter kubelet_disk_type
19+
- Model ManagedClusterAgentPoolProfile has a new parameter enable_encryption_at_host
20+
- Model ManagedClusterAgentPoolProfile has a new parameter node_public_ip_prefix_id
21+
- Model ManagedClusterAgentPoolProfileProperties has a new parameter kubelet_disk_type
22+
- Model ManagedClusterAgentPoolProfileProperties has a new parameter enable_encryption_at_host
23+
- Model ManagedClusterAgentPoolProfileProperties has a new parameter node_public_ip_prefix_id
24+
- Model AgentPool has a new parameter kubelet_disk_type
25+
- Model AgentPool has a new parameter enable_encryption_at_host
26+
- Model AgentPool has a new parameter node_public_ip_prefix_id
27+
- Added operation group MaintenanceConfigurationsOperations
28+
29+
**Breaking changes**
30+
31+
- Model SysctlConfig no longer has parameter net_ipv4_tcp_rmem
32+
- Model SysctlConfig no longer has parameter net_ipv4_tcp_wmem
33+
334
## 14.0.0 (2020-11-23)
435

536
**Features**

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ If you encounter any bugs or have suggestions, please file an issue in the
2424
section of the project.
2525

2626

27-
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-containerservice%2FREADME.png)
27+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-containerservice%2FREADME.png)

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

+61-1
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-11-01'
49+
DEFAULT_API_VERSION = '2021-02-01'
5050
_PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
5151
LATEST_PROFILE = ProfileDefinition({
5252
_PROFILE_TAG: {
@@ -104,6 +104,8 @@ def models(cls, api_version=DEFAULT_API_VERSION):
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>`
106106
* 2020-11-01: :mod:`v2020_11_01.models<azure.mgmt.containerservice.v2020_11_01.models>`
107+
* 2020-12-01: :mod:`v2020_12_01.models<azure.mgmt.containerservice.v2020_12_01.models>`
108+
* 2021-02-01: :mod:`v2021_02_01.models<azure.mgmt.containerservice.v2021_02_01.models>`
107109
"""
108110
if api_version == '2017-07-01':
109111
from .v2017_07_01 import models
@@ -168,6 +170,12 @@ def models(cls, api_version=DEFAULT_API_VERSION):
168170
elif api_version == '2020-11-01':
169171
from .v2020_11_01 import models
170172
return models
173+
elif api_version == '2020-12-01':
174+
from .v2020_12_01 import models
175+
return models
176+
elif api_version == '2021-02-01':
177+
from .v2021_02_01 import models
178+
return models
171179
raise ValueError("API version {} is not available".format(api_version))
172180

173181
@property
@@ -188,6 +196,8 @@ def agent_pools(self):
188196
* 2020-07-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_07_01.operations.AgentPoolsOperations>`
189197
* 2020-09-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_09_01.operations.AgentPoolsOperations>`
190198
* 2020-11-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_11_01.operations.AgentPoolsOperations>`
199+
* 2020-12-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_12_01.operations.AgentPoolsOperations>`
200+
* 2021-02-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_02_01.operations.AgentPoolsOperations>`
191201
"""
192202
api_version = self._get_api_version('agent_pools')
193203
if api_version == '2019-02-01':
@@ -218,6 +228,10 @@ def agent_pools(self):
218228
from .v2020_09_01.operations import AgentPoolsOperations as OperationClass
219229
elif api_version == '2020-11-01':
220230
from .v2020_11_01.operations import AgentPoolsOperations as OperationClass
231+
elif api_version == '2020-12-01':
232+
from .v2020_12_01.operations import AgentPoolsOperations as OperationClass
233+
elif api_version == '2021-02-01':
234+
from .v2021_02_01.operations import AgentPoolsOperations as OperationClass
221235
else:
222236
raise ValueError("API version {} does not have operation group 'agent_pools'".format(api_version))
223237
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -235,6 +249,22 @@ def container_services(self):
235249
raise ValueError("API version {} does not have operation group 'container_services'".format(api_version))
236250
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
237251

252+
@property
253+
def maintenance_configurations(self):
254+
"""Instance depends on the API version:
255+
256+
* 2020-12-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2020_12_01.operations.MaintenanceConfigurationsOperations>`
257+
* 2021-02-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_02_01.operations.MaintenanceConfigurationsOperations>`
258+
"""
259+
api_version = self._get_api_version('maintenance_configurations')
260+
if api_version == '2020-12-01':
261+
from .v2020_12_01.operations import MaintenanceConfigurationsOperations as OperationClass
262+
elif api_version == '2021-02-01':
263+
from .v2021_02_01.operations import MaintenanceConfigurationsOperations as OperationClass
264+
else:
265+
raise ValueError("API version {} does not have operation group 'maintenance_configurations'".format(api_version))
266+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
267+
238268
@property
239269
def managed_clusters(self):
240270
"""Instance depends on the API version:
@@ -255,6 +285,8 @@ def managed_clusters(self):
255285
* 2020-07-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_07_01.operations.ManagedClustersOperations>`
256286
* 2020-09-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_09_01.operations.ManagedClustersOperations>`
257287
* 2020-11-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_11_01.operations.ManagedClustersOperations>`
288+
* 2020-12-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_12_01.operations.ManagedClustersOperations>`
289+
* 2021-02-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_02_01.operations.ManagedClustersOperations>`
258290
"""
259291
api_version = self._get_api_version('managed_clusters')
260292
if api_version == '2018-03-31':
@@ -289,6 +321,10 @@ def managed_clusters(self):
289321
from .v2020_09_01.operations import ManagedClustersOperations as OperationClass
290322
elif api_version == '2020-11-01':
291323
from .v2020_11_01.operations import ManagedClustersOperations as OperationClass
324+
elif api_version == '2020-12-01':
325+
from .v2020_12_01.operations import ManagedClustersOperations as OperationClass
326+
elif api_version == '2021-02-01':
327+
from .v2021_02_01.operations import ManagedClustersOperations as OperationClass
292328
else:
293329
raise ValueError("API version {} does not have operation group 'managed_clusters'".format(api_version))
294330
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -335,6 +371,8 @@ def operations(self):
335371
* 2020-07-01: :class:`Operations<azure.mgmt.containerservice.v2020_07_01.operations.Operations>`
336372
* 2020-09-01: :class:`Operations<azure.mgmt.containerservice.v2020_09_01.operations.Operations>`
337373
* 2020-11-01: :class:`Operations<azure.mgmt.containerservice.v2020_11_01.operations.Operations>`
374+
* 2020-12-01: :class:`Operations<azure.mgmt.containerservice.v2020_12_01.operations.Operations>`
375+
* 2021-02-01: :class:`Operations<azure.mgmt.containerservice.v2021_02_01.operations.Operations>`
338376
"""
339377
api_version = self._get_api_version('operations')
340378
if api_version == '2018-03-31':
@@ -369,6 +407,10 @@ def operations(self):
369407
from .v2020_09_01.operations import Operations as OperationClass
370408
elif api_version == '2020-11-01':
371409
from .v2020_11_01.operations import Operations as OperationClass
410+
elif api_version == '2020-12-01':
411+
from .v2020_12_01.operations import Operations as OperationClass
412+
elif api_version == '2021-02-01':
413+
from .v2021_02_01.operations import Operations as OperationClass
372414
else:
373415
raise ValueError("API version {} does not have operation group 'operations'".format(api_version))
374416
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -381,6 +423,8 @@ def private_endpoint_connections(self):
381423
* 2020-07-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_07_01.operations.PrivateEndpointConnectionsOperations>`
382424
* 2020-09-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_09_01.operations.PrivateEndpointConnectionsOperations>`
383425
* 2020-11-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_11_01.operations.PrivateEndpointConnectionsOperations>`
426+
* 2020-12-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_12_01.operations.PrivateEndpointConnectionsOperations>`
427+
* 2021-02-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_02_01.operations.PrivateEndpointConnectionsOperations>`
384428
"""
385429
api_version = self._get_api_version('private_endpoint_connections')
386430
if api_version == '2020-06-01':
@@ -391,6 +435,10 @@ def private_endpoint_connections(self):
391435
from .v2020_09_01.operations import PrivateEndpointConnectionsOperations as OperationClass
392436
elif api_version == '2020-11-01':
393437
from .v2020_11_01.operations import PrivateEndpointConnectionsOperations as OperationClass
438+
elif api_version == '2020-12-01':
439+
from .v2020_12_01.operations import PrivateEndpointConnectionsOperations as OperationClass
440+
elif api_version == '2021-02-01':
441+
from .v2021_02_01.operations import PrivateEndpointConnectionsOperations as OperationClass
394442
else:
395443
raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version))
396444
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -401,12 +449,18 @@ def private_link_resources(self):
401449
402450
* 2020-09-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_09_01.operations.PrivateLinkResourcesOperations>`
403451
* 2020-11-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_11_01.operations.PrivateLinkResourcesOperations>`
452+
* 2020-12-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_12_01.operations.PrivateLinkResourcesOperations>`
453+
* 2021-02-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_02_01.operations.PrivateLinkResourcesOperations>`
404454
"""
405455
api_version = self._get_api_version('private_link_resources')
406456
if api_version == '2020-09-01':
407457
from .v2020_09_01.operations import PrivateLinkResourcesOperations as OperationClass
408458
elif api_version == '2020-11-01':
409459
from .v2020_11_01.operations import PrivateLinkResourcesOperations as OperationClass
460+
elif api_version == '2020-12-01':
461+
from .v2020_12_01.operations import PrivateLinkResourcesOperations as OperationClass
462+
elif api_version == '2021-02-01':
463+
from .v2021_02_01.operations import PrivateLinkResourcesOperations as OperationClass
410464
else:
411465
raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version))
412466
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -417,12 +471,18 @@ def resolve_private_link_service_id(self):
417471
418472
* 2020-09-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_09_01.operations.ResolvePrivateLinkServiceIdOperations>`
419473
* 2020-11-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_11_01.operations.ResolvePrivateLinkServiceIdOperations>`
474+
* 2020-12-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_12_01.operations.ResolvePrivateLinkServiceIdOperations>`
475+
* 2021-02-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_02_01.operations.ResolvePrivateLinkServiceIdOperations>`
420476
"""
421477
api_version = self._get_api_version('resolve_private_link_service_id')
422478
if api_version == '2020-09-01':
423479
from .v2020_09_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
424480
elif api_version == '2020-11-01':
425481
from .v2020_11_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
482+
elif api_version == '2020-12-01':
483+
from .v2020_12_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
484+
elif api_version == '2021-02-01':
485+
from .v2021_02_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
426486
else:
427487
raise ValueError("API version {} does not have operation group 'resolve_private_link_service_id'".format(api_version))
428488
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "14.0.0"
12+
VERSION = "15.0.0"

0 commit comments

Comments
 (0)