Skip to content

Commit acfb309

Browse files
Azure CLI BotSDKAutolevimmLi Macharlili1234
authored
[AutoRelease] t2-containerservice-2021-09-09-17236 (Azure#20614)
* CodeGen from PR 15954 in Azure/azure-rest-api-specs Merge Dev-containerservice-microsoft.containerservice-2021-08-01 branch to main (Azure#15954) * Adds base for updating Microsoft.ContainerService from version stable/2021-07-01 to version 2021-08-01 * Updates readme * Updates API version in new specs and examples * add publicNetworkAccess property per network platform's request (Azure#15489) * add publicNetworkAccess per network platform's request * fix quota Co-authored-by: Li Ma <[email protected]> * update readme for 2021-08-01 sdk generation (Azure#15476) * update readme for sdk generation * update readme for sdk generation Co-authored-by: Charlie Li <[email protected]> * allow disabling of runcommand (Azure#15481) * allow disabling of runcommand * rename file * another rename * fix prittier check * fix stupid prettier check * change publicNetworkAccess to enum (Azure#15564) Co-authored-by: Li Ma <[email protected]> * Add CreationData property to Agentpool level in 2021-08-01 API (Azure#15563) * Add CreationData property to Agentpool level in 2021-08-01 API * fix json format * fix swagger spell check Co-authored-by: Charlie Li <[email protected]> * chore: add enableMultipleStandardLoadBalancers to loadBalancerProfile (Azure#15579) * Add snapshot related new APIs and properties to AKS 2021-08-01 swagger (Azure#15586) * Add CreationData property to Agentpool level in 2021-08-01 API * Add snapshot related APIs and properties to AKS 2021-08-01 swagger * fix lint and spell checks * fix lint and spell checks * fix PrettierCheck * Change some Nodepool to NodePool * some changes according to ARM team's review comments Co-authored-by: Charlie Li <[email protected]> * fix tag typo to match tag convention (Azure#15683) * add workload runtime to agent pool api (Azure#15726) * add workload runtime to agent pool api * reference example * add custom words * fix: workload runtime description (Azure#15782) * fix: workload runtime description * add wasmtime to custom words * clarify single workload type per node Co-authored-by: Matthew Christopher <[email protected]> Co-authored-by: Matthew Christopher <[email protected]> * fix typo in readme.python.md (Azure#15903) * Add CreationData property to Agentpool level in 2021-08-01 API * fix typos in readme.python.md Co-authored-by: Charlie Li <[email protected]> * merge recent custom-words.txt changes from main branch to resolve conflicts (Azure#15938) * Add CreationData property to Agentpool level in 2021-08-01 API * merge recent custom-words.txt changes from main branch to resolve conflicts Co-authored-by: Charlie Li <[email protected]> * pull custom-words.txt from main * add a new word - NodePool * add two more words Co-authored-by: Super <[email protected]> Co-authored-by: Li Ma <[email protected]> Co-authored-by: Charlie Li <[email protected]> Co-authored-by: Haitao Chen <[email protected]> Co-authored-by: Qi Ni <[email protected]> Co-authored-by: Ariel Silverman <[email protected]> Co-authored-by: Ace Eldeib <[email protected]> Co-authored-by: Matthew Christopher <[email protected]> * version,CHANGELOG Co-authored-by: SDKAuto <[email protected]> Co-authored-by: Super <[email protected]> Co-authored-by: Li Ma <[email protected]> Co-authored-by: Charlie Li <[email protected]> Co-authored-by: Haitao Chen <[email protected]> Co-authored-by: Qi Ni <[email protected]> Co-authored-by: Ariel Silverman <[email protected]> Co-authored-by: Ace Eldeib <[email protected]> Co-authored-by: Matthew Christopher <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
1 parent 05aec3d commit acfb309

36 files changed

+17707
-5
lines changed

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

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

3+
## 16.2.0 (2021-09-09)
4+
5+
**Features**
6+
7+
- Model ManagedClusterAgentPoolProfileProperties has a new parameter creation_data
8+
- Model ManagedClusterAgentPoolProfileProperties has a new parameter workload_runtime
9+
- Model ManagedClusterLoadBalancerProfile has a new parameter enable_multiple_standard_load_balancers
10+
- Model ManagedClusterAgentPoolProfile has a new parameter creation_data
11+
- Model ManagedClusterAgentPoolProfile has a new parameter workload_runtime
12+
- Model ManagedCluster has a new parameter public_network_access
13+
- Model ManagedClusterAPIServerAccessProfile has a new parameter disable_run_command
14+
- Model AgentPool has a new parameter creation_data
15+
- Model AgentPool has a new parameter workload_runtime
16+
- Added operation group SnapshotsOperations
17+
318
## 16.1.0 (2021-08-06)
419

520
**Features**

sdk/containerservice/azure-mgmt-containerservice/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "f528ab6315c8d4dd4c36f363851d491798a78146",
7+
"commit": "c800afa8bcc12ee1c3df0ec26fb012d48b93ce0c",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
99
"autorest_command": "autorest specification/containerservice/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.4.5",
1010
"readme": "specification/containerservice/resource-manager/readme.md"

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

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

59-
DEFAULT_API_VERSION = '2021-07-01'
59+
DEFAULT_API_VERSION = '2021-08-01'
6060
_PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
6161
LATEST_PROFILE = ProfileDefinition({
6262
_PROFILE_TAG: {
@@ -119,6 +119,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
119119
* 2021-03-01: :mod:`v2021_03_01.models<azure.mgmt.containerservice.v2021_03_01.models>`
120120
* 2021-05-01: :mod:`v2021_05_01.models<azure.mgmt.containerservice.v2021_05_01.models>`
121121
* 2021-07-01: :mod:`v2021_07_01.models<azure.mgmt.containerservice.v2021_07_01.models>`
122+
* 2021-08-01: :mod:`v2021_08_01.models<azure.mgmt.containerservice.v2021_08_01.models>`
122123
"""
123124
if api_version == '2017-07-01':
124125
from .v2017_07_01 import models
@@ -198,6 +199,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
198199
elif api_version == '2021-07-01':
199200
from .v2021_07_01 import models
200201
return models
202+
elif api_version == '2021-08-01':
203+
from .v2021_08_01 import models
204+
return models
201205
raise ValueError("API version {} is not available".format(api_version))
202206

203207
@property
@@ -223,6 +227,7 @@ def agent_pools(self):
223227
* 2021-03-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_03_01.operations.AgentPoolsOperations>`
224228
* 2021-05-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_05_01.operations.AgentPoolsOperations>`
225229
* 2021-07-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_07_01.operations.AgentPoolsOperations>`
230+
* 2021-08-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_08_01.operations.AgentPoolsOperations>`
226231
"""
227232
api_version = self._get_api_version('agent_pools')
228233
if api_version == '2019-02-01':
@@ -263,6 +268,8 @@ def agent_pools(self):
263268
from .v2021_05_01.operations import AgentPoolsOperations as OperationClass
264269
elif api_version == '2021-07-01':
265270
from .v2021_07_01.operations import AgentPoolsOperations as OperationClass
271+
elif api_version == '2021-08-01':
272+
from .v2021_08_01.operations import AgentPoolsOperations as OperationClass
266273
else:
267274
raise ValueError("API version {} does not have operation group 'agent_pools'".format(api_version))
268275
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -289,6 +296,7 @@ def maintenance_configurations(self):
289296
* 2021-03-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_03_01.operations.MaintenanceConfigurationsOperations>`
290297
* 2021-05-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_05_01.operations.MaintenanceConfigurationsOperations>`
291298
* 2021-07-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_07_01.operations.MaintenanceConfigurationsOperations>`
299+
* 2021-08-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_08_01.operations.MaintenanceConfigurationsOperations>`
292300
"""
293301
api_version = self._get_api_version('maintenance_configurations')
294302
if api_version == '2020-12-01':
@@ -301,6 +309,8 @@ def maintenance_configurations(self):
301309
from .v2021_05_01.operations import MaintenanceConfigurationsOperations as OperationClass
302310
elif api_version == '2021-07-01':
303311
from .v2021_07_01.operations import MaintenanceConfigurationsOperations as OperationClass
312+
elif api_version == '2021-08-01':
313+
from .v2021_08_01.operations import MaintenanceConfigurationsOperations as OperationClass
304314
else:
305315
raise ValueError("API version {} does not have operation group 'maintenance_configurations'".format(api_version))
306316
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -330,6 +340,7 @@ def managed_clusters(self):
330340
* 2021-03-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_03_01.operations.ManagedClustersOperations>`
331341
* 2021-05-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_05_01.operations.ManagedClustersOperations>`
332342
* 2021-07-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_07_01.operations.ManagedClustersOperations>`
343+
* 2021-08-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_08_01.operations.ManagedClustersOperations>`
333344
"""
334345
api_version = self._get_api_version('managed_clusters')
335346
if api_version == '2018-03-31':
@@ -374,6 +385,8 @@ def managed_clusters(self):
374385
from .v2021_05_01.operations import ManagedClustersOperations as OperationClass
375386
elif api_version == '2021-07-01':
376387
from .v2021_07_01.operations import ManagedClustersOperations as OperationClass
388+
elif api_version == '2021-08-01':
389+
from .v2021_08_01.operations import ManagedClustersOperations as OperationClass
377390
else:
378391
raise ValueError("API version {} does not have operation group 'managed_clusters'".format(api_version))
379392
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -425,6 +438,7 @@ def operations(self):
425438
* 2021-03-01: :class:`Operations<azure.mgmt.containerservice.v2021_03_01.operations.Operations>`
426439
* 2021-05-01: :class:`Operations<azure.mgmt.containerservice.v2021_05_01.operations.Operations>`
427440
* 2021-07-01: :class:`Operations<azure.mgmt.containerservice.v2021_07_01.operations.Operations>`
441+
* 2021-08-01: :class:`Operations<azure.mgmt.containerservice.v2021_08_01.operations.Operations>`
428442
"""
429443
api_version = self._get_api_version('operations')
430444
if api_version == '2018-03-31':
@@ -469,6 +483,8 @@ def operations(self):
469483
from .v2021_05_01.operations import Operations as OperationClass
470484
elif api_version == '2021-07-01':
471485
from .v2021_07_01.operations import Operations as OperationClass
486+
elif api_version == '2021-08-01':
487+
from .v2021_08_01.operations import Operations as OperationClass
472488
else:
473489
raise ValueError("API version {} does not have operation group 'operations'".format(api_version))
474490
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -486,6 +502,7 @@ def private_endpoint_connections(self):
486502
* 2021-03-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_03_01.operations.PrivateEndpointConnectionsOperations>`
487503
* 2021-05-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_05_01.operations.PrivateEndpointConnectionsOperations>`
488504
* 2021-07-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_07_01.operations.PrivateEndpointConnectionsOperations>`
505+
* 2021-08-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_08_01.operations.PrivateEndpointConnectionsOperations>`
489506
"""
490507
api_version = self._get_api_version('private_endpoint_connections')
491508
if api_version == '2020-06-01':
@@ -506,6 +523,8 @@ def private_endpoint_connections(self):
506523
from .v2021_05_01.operations import PrivateEndpointConnectionsOperations as OperationClass
507524
elif api_version == '2021-07-01':
508525
from .v2021_07_01.operations import PrivateEndpointConnectionsOperations as OperationClass
526+
elif api_version == '2021-08-01':
527+
from .v2021_08_01.operations import PrivateEndpointConnectionsOperations as OperationClass
509528
else:
510529
raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version))
511530
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -521,6 +540,7 @@ def private_link_resources(self):
521540
* 2021-03-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_03_01.operations.PrivateLinkResourcesOperations>`
522541
* 2021-05-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_05_01.operations.PrivateLinkResourcesOperations>`
523542
* 2021-07-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_07_01.operations.PrivateLinkResourcesOperations>`
543+
* 2021-08-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_08_01.operations.PrivateLinkResourcesOperations>`
524544
"""
525545
api_version = self._get_api_version('private_link_resources')
526546
if api_version == '2020-09-01':
@@ -537,6 +557,8 @@ def private_link_resources(self):
537557
from .v2021_05_01.operations import PrivateLinkResourcesOperations as OperationClass
538558
elif api_version == '2021-07-01':
539559
from .v2021_07_01.operations import PrivateLinkResourcesOperations as OperationClass
560+
elif api_version == '2021-08-01':
561+
from .v2021_08_01.operations import PrivateLinkResourcesOperations as OperationClass
540562
else:
541563
raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version))
542564
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -552,6 +574,7 @@ def resolve_private_link_service_id(self):
552574
* 2021-03-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_03_01.operations.ResolvePrivateLinkServiceIdOperations>`
553575
* 2021-05-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_05_01.operations.ResolvePrivateLinkServiceIdOperations>`
554576
* 2021-07-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_07_01.operations.ResolvePrivateLinkServiceIdOperations>`
577+
* 2021-08-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_08_01.operations.ResolvePrivateLinkServiceIdOperations>`
555578
"""
556579
api_version = self._get_api_version('resolve_private_link_service_id')
557580
if api_version == '2020-09-01':
@@ -568,10 +591,25 @@ def resolve_private_link_service_id(self):
568591
from .v2021_05_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
569592
elif api_version == '2021-07-01':
570593
from .v2021_07_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
594+
elif api_version == '2021-08-01':
595+
from .v2021_08_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
571596
else:
572597
raise ValueError("API version {} does not have operation group 'resolve_private_link_service_id'".format(api_version))
573598
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
574599

600+
@property
601+
def snapshots(self):
602+
"""Instance depends on the API version:
603+
604+
* 2021-08-01: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2021_08_01.operations.SnapshotsOperations>`
605+
"""
606+
api_version = self._get_api_version('snapshots')
607+
if api_version == '2021-08-01':
608+
from .v2021_08_01.operations import SnapshotsOperations as OperationClass
609+
else:
610+
raise ValueError("API version {} does not have operation group 'snapshots'".format(api_version))
611+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
612+
575613
def close(self):
576614
self._client.close()
577615
def __enter__(self):

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 = "16.1.0"
12+
VERSION = "16.2.0"

0 commit comments

Comments
 (0)