Skip to content

Commit 7f483db

Browse files
Azure CLI BotSDKAutoFumingZhangmatthchrbcho
authored
[AutoRelease] t2-containerservice-2021-08-06-13548 (Azure#20117)
* CodeGen from PR 15370 in Azure/azure-rest-api-specs [AKS] Merge dev-containerservice-Microsoft.ContainerService-2021-07-01 to master (Azure#15370) * Adds base for updating Microsoft.ContainerService from version stable/2021-05-01 to version 2021-07-01 * Updates readme * Updates API version in new specs and examples * Modify Swagger to fix the problem of automatically generating ugly names in track 2 (Azure#14758) * update swagger to fix track 2 autogenerated naming issue * fix * update readme for sdk generation * fix lint error * Trigger Build * update readme * Improve AKS Swagger documentation (Azure#14957) * Improve AKS Swagger documentation - This change has already been merged in master for the 2021-05-01 API version. * Fix up custom words * aks: replace CloudError with ManagedClusterPodIdentityProvisioningError for AAD pod identity provisioning spec (Azure#15033) * fix: decouple pod identity provisioning error from cloud error * drop extra external mark * fix linting issue * fix reference * Dev containerservice microsoft.container service 2021 07 01: add SecurityProfile (Azure#15035) * Add SecurityProfile to ManagedClusters * spaces * Space * spaces * json formatting * move from params to defs * :) * just another * now with npm * Descriptions update for AKS July API (Azure#15074) * allow disabling of runcommand (Azure#15092) * allow disabling of runcommand * format error * format with example * change enable to disable * Revert "allow disabling of runcommand (Azure#15092)" (Azure#15147) This reverts commit ec3e241a564d21f5ec914f4aa0b59a96ac7ec0d9. * [AKS] Add NATGatewayProfile to 2021-07-01 API (Azure#15154) * [AKS] Add NATGatewayProfile to 2021-07-01 API * Fix linter errors Co-authored-by: Kaiqi Zhang <kaiqzhan@microsoft.com> * Add scaleDownMode to agent pool properties (Azure#15124) * add scale down mode * address comments * fix markdown link * update proper api version * Resolve python markdown conflict & fix typo (Azure#15402) * resolve python conflict & fix typo * resolve conflict Co-authored-by: FumingZhang <81607949+FumingZhang@users.noreply.github.com> Co-authored-by: Matthew Christopher <matthchr@microsoft.com> Co-authored-by: hbc <bcxxxxxx@gmail.com> Co-authored-by: Or Parnes <orparnes@gmail.com> Co-authored-by: Haitao Chen <haitch@users.noreply.github.com> Co-authored-by: Kaiqi Zhang <kaiqzhan@microsoft.com> Co-authored-by: Marwan Ahmed <marwanad@microsoft.com> Co-authored-by: Arthur Ning <57385816+akning-ms@users.noreply.github.com> * version,CHANGELOG Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: FumingZhang <81607949+FumingZhang@users.noreply.github.com> Co-authored-by: Matthew Christopher <matthchr@microsoft.com> Co-authored-by: hbc <bcxxxxxx@gmail.com> Co-authored-by: Or Parnes <orparnes@gmail.com> Co-authored-by: Haitao Chen <haitch@users.noreply.github.com> Co-authored-by: Kaiqi Zhang <kaiqzhan@microsoft.com> Co-authored-by: Marwan Ahmed <marwanad@microsoft.com> Co-authored-by: Arthur Ning <57385816+akning-ms@users.noreply.github.com> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
1 parent de74032 commit 7f483db

File tree

52 files changed

+17790
-977
lines changed

Some content is hidden

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

52 files changed

+17790
-977
lines changed

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

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

3+
## 16.1.0 (2021-08-06)
4+
5+
**Features**
6+
7+
- Model ManagedClusterAgentPoolProfile has a new parameter scale_down_mode
8+
- Model ContainerServiceNetworkProfile has a new parameter nat_gateway_profile
9+
- Model ManagedClusterAgentPoolProfileProperties has a new parameter scale_down_mode
10+
- Model ManagedCluster has a new parameter security_profile
11+
- Model AgentPool has a new parameter scale_down_mode
12+
313
## 16.0.0 (2021-06-17)
414

515
**Features**
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"autorest": "3.4.2",
2+
"autorest": "3.4.5",
33
"use": [
4-
"@autorest/python@5.8.0",
4+
"@autorest/python@5.8.4",
55
"@autorest/modelerfour@4.19.2"
66
],
7-
"commit": "1f0bb3f63b1664ace42cfdf646d8b2382d7b7b22",
7+
"commit": "f528ab6315c8d4dd4c36f363851d491798a78146",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"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/python@5.8.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
9+
"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/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
1010
"readme": "specification/containerservice/resource-manager/readme.md"
1111
}

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

Lines changed: 26 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-05-01'
59+
DEFAULT_API_VERSION = '2021-07-01'
6060
_PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
6161
LATEST_PROFILE = ProfileDefinition({
6262
_PROFILE_TAG: {
@@ -118,6 +118,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
118118
* 2021-02-01: :mod:`v2021_02_01.models<azure.mgmt.containerservice.v2021_02_01.models>`
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>`
121+
* 2021-07-01: :mod:`v2021_07_01.models<azure.mgmt.containerservice.v2021_07_01.models>`
121122
"""
122123
if api_version == '2017-07-01':
123124
from .v2017_07_01 import models
@@ -194,6 +195,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
194195
elif api_version == '2021-05-01':
195196
from .v2021_05_01 import models
196197
return models
198+
elif api_version == '2021-07-01':
199+
from .v2021_07_01 import models
200+
return models
197201
raise ValueError("API version {} is not available".format(api_version))
198202

199203
@property
@@ -218,6 +222,7 @@ def agent_pools(self):
218222
* 2021-02-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_02_01.operations.AgentPoolsOperations>`
219223
* 2021-03-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_03_01.operations.AgentPoolsOperations>`
220224
* 2021-05-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_05_01.operations.AgentPoolsOperations>`
225+
* 2021-07-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_07_01.operations.AgentPoolsOperations>`
221226
"""
222227
api_version = self._get_api_version('agent_pools')
223228
if api_version == '2019-02-01':
@@ -256,6 +261,8 @@ def agent_pools(self):
256261
from .v2021_03_01.operations import AgentPoolsOperations as OperationClass
257262
elif api_version == '2021-05-01':
258263
from .v2021_05_01.operations import AgentPoolsOperations as OperationClass
264+
elif api_version == '2021-07-01':
265+
from .v2021_07_01.operations import AgentPoolsOperations as OperationClass
259266
else:
260267
raise ValueError("API version {} does not have operation group 'agent_pools'".format(api_version))
261268
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -281,6 +288,7 @@ def maintenance_configurations(self):
281288
* 2021-02-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_02_01.operations.MaintenanceConfigurationsOperations>`
282289
* 2021-03-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_03_01.operations.MaintenanceConfigurationsOperations>`
283290
* 2021-05-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_05_01.operations.MaintenanceConfigurationsOperations>`
291+
* 2021-07-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_07_01.operations.MaintenanceConfigurationsOperations>`
284292
"""
285293
api_version = self._get_api_version('maintenance_configurations')
286294
if api_version == '2020-12-01':
@@ -291,6 +299,8 @@ def maintenance_configurations(self):
291299
from .v2021_03_01.operations import MaintenanceConfigurationsOperations as OperationClass
292300
elif api_version == '2021-05-01':
293301
from .v2021_05_01.operations import MaintenanceConfigurationsOperations as OperationClass
302+
elif api_version == '2021-07-01':
303+
from .v2021_07_01.operations import MaintenanceConfigurationsOperations as OperationClass
294304
else:
295305
raise ValueError("API version {} does not have operation group 'maintenance_configurations'".format(api_version))
296306
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -319,6 +329,7 @@ def managed_clusters(self):
319329
* 2021-02-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_02_01.operations.ManagedClustersOperations>`
320330
* 2021-03-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_03_01.operations.ManagedClustersOperations>`
321331
* 2021-05-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_05_01.operations.ManagedClustersOperations>`
332+
* 2021-07-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_07_01.operations.ManagedClustersOperations>`
322333
"""
323334
api_version = self._get_api_version('managed_clusters')
324335
if api_version == '2018-03-31':
@@ -361,6 +372,8 @@ def managed_clusters(self):
361372
from .v2021_03_01.operations import ManagedClustersOperations as OperationClass
362373
elif api_version == '2021-05-01':
363374
from .v2021_05_01.operations import ManagedClustersOperations as OperationClass
375+
elif api_version == '2021-07-01':
376+
from .v2021_07_01.operations import ManagedClustersOperations as OperationClass
364377
else:
365378
raise ValueError("API version {} does not have operation group 'managed_clusters'".format(api_version))
366379
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -411,6 +424,7 @@ def operations(self):
411424
* 2021-02-01: :class:`Operations<azure.mgmt.containerservice.v2021_02_01.operations.Operations>`
412425
* 2021-03-01: :class:`Operations<azure.mgmt.containerservice.v2021_03_01.operations.Operations>`
413426
* 2021-05-01: :class:`Operations<azure.mgmt.containerservice.v2021_05_01.operations.Operations>`
427+
* 2021-07-01: :class:`Operations<azure.mgmt.containerservice.v2021_07_01.operations.Operations>`
414428
"""
415429
api_version = self._get_api_version('operations')
416430
if api_version == '2018-03-31':
@@ -453,6 +467,8 @@ def operations(self):
453467
from .v2021_03_01.operations import Operations as OperationClass
454468
elif api_version == '2021-05-01':
455469
from .v2021_05_01.operations import Operations as OperationClass
470+
elif api_version == '2021-07-01':
471+
from .v2021_07_01.operations import Operations as OperationClass
456472
else:
457473
raise ValueError("API version {} does not have operation group 'operations'".format(api_version))
458474
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -469,6 +485,7 @@ def private_endpoint_connections(self):
469485
* 2021-02-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_02_01.operations.PrivateEndpointConnectionsOperations>`
470486
* 2021-03-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_03_01.operations.PrivateEndpointConnectionsOperations>`
471487
* 2021-05-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_05_01.operations.PrivateEndpointConnectionsOperations>`
488+
* 2021-07-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_07_01.operations.PrivateEndpointConnectionsOperations>`
472489
"""
473490
api_version = self._get_api_version('private_endpoint_connections')
474491
if api_version == '2020-06-01':
@@ -487,6 +504,8 @@ def private_endpoint_connections(self):
487504
from .v2021_03_01.operations import PrivateEndpointConnectionsOperations as OperationClass
488505
elif api_version == '2021-05-01':
489506
from .v2021_05_01.operations import PrivateEndpointConnectionsOperations as OperationClass
507+
elif api_version == '2021-07-01':
508+
from .v2021_07_01.operations import PrivateEndpointConnectionsOperations as OperationClass
490509
else:
491510
raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version))
492511
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -501,6 +520,7 @@ def private_link_resources(self):
501520
* 2021-02-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_02_01.operations.PrivateLinkResourcesOperations>`
502521
* 2021-03-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_03_01.operations.PrivateLinkResourcesOperations>`
503522
* 2021-05-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_05_01.operations.PrivateLinkResourcesOperations>`
523+
* 2021-07-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_07_01.operations.PrivateLinkResourcesOperations>`
504524
"""
505525
api_version = self._get_api_version('private_link_resources')
506526
if api_version == '2020-09-01':
@@ -515,6 +535,8 @@ def private_link_resources(self):
515535
from .v2021_03_01.operations import PrivateLinkResourcesOperations as OperationClass
516536
elif api_version == '2021-05-01':
517537
from .v2021_05_01.operations import PrivateLinkResourcesOperations as OperationClass
538+
elif api_version == '2021-07-01':
539+
from .v2021_07_01.operations import PrivateLinkResourcesOperations as OperationClass
518540
else:
519541
raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version))
520542
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -529,6 +551,7 @@ def resolve_private_link_service_id(self):
529551
* 2021-02-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_02_01.operations.ResolvePrivateLinkServiceIdOperations>`
530552
* 2021-03-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_03_01.operations.ResolvePrivateLinkServiceIdOperations>`
531553
* 2021-05-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_05_01.operations.ResolvePrivateLinkServiceIdOperations>`
554+
* 2021-07-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_07_01.operations.ResolvePrivateLinkServiceIdOperations>`
532555
"""
533556
api_version = self._get_api_version('resolve_private_link_service_id')
534557
if api_version == '2020-09-01':
@@ -543,6 +566,8 @@ def resolve_private_link_service_id(self):
543566
from .v2021_03_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
544567
elif api_version == '2021-05-01':
545568
from .v2021_05_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
569+
elif api_version == '2021-07-01':
570+
from .v2021_07_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
546571
else:
547572
raise ValueError("API version {} does not have operation group 'resolve_private_link_service_id'".format(api_version))
548573
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 = "16.0.0"
12+
VERSION = "16.1.0"

0 commit comments

Comments
 (0)