Skip to content

Commit fae3605

Browse files
Azure CLI BotSDKAutoRAY-316
authored
[AutoRelease] t2-containerservice-2021-06-17-11581 (#19292)
* CodeGen from PR 14709 in Azure/azure-rest-api-specs java mgmt, aks, add needed json (#14709) * version,CHANGELOG * test * test config Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Zed <[email protected]>
1 parent 2a373a4 commit fae3605

File tree

271 files changed

+18597
-5303
lines changed

Some content is hidden

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

271 files changed

+18597
-5303
lines changed

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

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

3+
## 16.0.0 (2021-06-17)
4+
5+
**Features**
6+
7+
- Model ManagedClusterAgentPoolProfile has a new parameter enable_ultra_ssd
8+
- Model ManagedClusterAPIServerAccessProfile has a new parameter enable_private_cluster_public_fqdn
9+
- Model AgentPool has a new parameter enable_ultra_ssd
10+
- Model ManagedClusterAgentPoolProfileProperties has a new parameter enable_ultra_ssd
11+
- Added operation ManagedClustersOperations.list_outbound_network_dependencies_endpoints
12+
13+
**Breaking changes**
14+
15+
- Operation ManagedClustersOperations.list_cluster_admin_credentials has a new signature
16+
- Operation ManagedClustersOperations.list_cluster_monitoring_user_credentials has a new signature
17+
- Operation ManagedClustersOperations.list_cluster_user_credentials has a new signature
18+
319
## 15.1.0 (2021-04-07)
420

521
**Features**
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"autorest": "3.0.6369",
3-
"use": "@autorest/[email protected]",
4-
"commit": "8c3c899722a412e9e61264459d6426e64925cd68",
2+
"autorest": "3.4.2",
3+
"use": [
4+
"@autorest/[email protected]",
5+
"@autorest/[email protected]"
6+
],
7+
"commit": "1f0bb3f63b1664ace42cfdf646d8b2382d7b7b22",
58
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
6-
"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.6.2 --version=3.0.6369",
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/[email protected].2 --version=3.4.2",
710
"readme": "specification/containerservice/resource-manager/readme.md"
811
}

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

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from typing import Any, Optional
2424

2525
from azure.core.credentials import TokenCredential
26+
from azure.core.pipeline.transport import HttpRequest, HttpResponse
2627

2728
class _SDKClient(object):
2829
def __init__(self, *args, **kwargs):
@@ -55,7 +56,7 @@ class ContainerServiceClient(MultiApiClientMixin, _SDKClient):
5556
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
5657
"""
5758

58-
DEFAULT_API_VERSION = '2021-03-01'
59+
DEFAULT_API_VERSION = '2021-05-01'
5960
_PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
6061
LATEST_PROFILE = ProfileDefinition({
6162
_PROFILE_TAG: {
@@ -116,6 +117,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
116117
* 2020-12-01: :mod:`v2020_12_01.models<azure.mgmt.containerservice.v2020_12_01.models>`
117118
* 2021-02-01: :mod:`v2021_02_01.models<azure.mgmt.containerservice.v2021_02_01.models>`
118119
* 2021-03-01: :mod:`v2021_03_01.models<azure.mgmt.containerservice.v2021_03_01.models>`
120+
* 2021-05-01: :mod:`v2021_05_01.models<azure.mgmt.containerservice.v2021_05_01.models>`
119121
"""
120122
if api_version == '2017-07-01':
121123
from .v2017_07_01 import models
@@ -189,6 +191,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
189191
elif api_version == '2021-03-01':
190192
from .v2021_03_01 import models
191193
return models
194+
elif api_version == '2021-05-01':
195+
from .v2021_05_01 import models
196+
return models
192197
raise ValueError("API version {} is not available".format(api_version))
193198

194199
@property
@@ -212,6 +217,7 @@ def agent_pools(self):
212217
* 2020-12-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2020_12_01.operations.AgentPoolsOperations>`
213218
* 2021-02-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_02_01.operations.AgentPoolsOperations>`
214219
* 2021-03-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_03_01.operations.AgentPoolsOperations>`
220+
* 2021-05-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_05_01.operations.AgentPoolsOperations>`
215221
"""
216222
api_version = self._get_api_version('agent_pools')
217223
if api_version == '2019-02-01':
@@ -248,6 +254,8 @@ def agent_pools(self):
248254
from .v2021_02_01.operations import AgentPoolsOperations as OperationClass
249255
elif api_version == '2021-03-01':
250256
from .v2021_03_01.operations import AgentPoolsOperations as OperationClass
257+
elif api_version == '2021-05-01':
258+
from .v2021_05_01.operations import AgentPoolsOperations as OperationClass
251259
else:
252260
raise ValueError("API version {} does not have operation group 'agent_pools'".format(api_version))
253261
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -272,6 +280,7 @@ def maintenance_configurations(self):
272280
* 2020-12-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2020_12_01.operations.MaintenanceConfigurationsOperations>`
273281
* 2021-02-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_02_01.operations.MaintenanceConfigurationsOperations>`
274282
* 2021-03-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_03_01.operations.MaintenanceConfigurationsOperations>`
283+
* 2021-05-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_05_01.operations.MaintenanceConfigurationsOperations>`
275284
"""
276285
api_version = self._get_api_version('maintenance_configurations')
277286
if api_version == '2020-12-01':
@@ -280,6 +289,8 @@ def maintenance_configurations(self):
280289
from .v2021_02_01.operations import MaintenanceConfigurationsOperations as OperationClass
281290
elif api_version == '2021-03-01':
282291
from .v2021_03_01.operations import MaintenanceConfigurationsOperations as OperationClass
292+
elif api_version == '2021-05-01':
293+
from .v2021_05_01.operations import MaintenanceConfigurationsOperations as OperationClass
283294
else:
284295
raise ValueError("API version {} does not have operation group 'maintenance_configurations'".format(api_version))
285296
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -307,6 +318,7 @@ def managed_clusters(self):
307318
* 2020-12-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2020_12_01.operations.ManagedClustersOperations>`
308319
* 2021-02-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_02_01.operations.ManagedClustersOperations>`
309320
* 2021-03-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_03_01.operations.ManagedClustersOperations>`
321+
* 2021-05-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_05_01.operations.ManagedClustersOperations>`
310322
"""
311323
api_version = self._get_api_version('managed_clusters')
312324
if api_version == '2018-03-31':
@@ -347,6 +359,8 @@ def managed_clusters(self):
347359
from .v2021_02_01.operations import ManagedClustersOperations as OperationClass
348360
elif api_version == '2021-03-01':
349361
from .v2021_03_01.operations import ManagedClustersOperations as OperationClass
362+
elif api_version == '2021-05-01':
363+
from .v2021_05_01.operations import ManagedClustersOperations as OperationClass
350364
else:
351365
raise ValueError("API version {} does not have operation group 'managed_clusters'".format(api_version))
352366
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -396,6 +410,7 @@ def operations(self):
396410
* 2020-12-01: :class:`Operations<azure.mgmt.containerservice.v2020_12_01.operations.Operations>`
397411
* 2021-02-01: :class:`Operations<azure.mgmt.containerservice.v2021_02_01.operations.Operations>`
398412
* 2021-03-01: :class:`Operations<azure.mgmt.containerservice.v2021_03_01.operations.Operations>`
413+
* 2021-05-01: :class:`Operations<azure.mgmt.containerservice.v2021_05_01.operations.Operations>`
399414
"""
400415
api_version = self._get_api_version('operations')
401416
if api_version == '2018-03-31':
@@ -436,6 +451,8 @@ def operations(self):
436451
from .v2021_02_01.operations import Operations as OperationClass
437452
elif api_version == '2021-03-01':
438453
from .v2021_03_01.operations import Operations as OperationClass
454+
elif api_version == '2021-05-01':
455+
from .v2021_05_01.operations import Operations as OperationClass
439456
else:
440457
raise ValueError("API version {} does not have operation group 'operations'".format(api_version))
441458
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -451,6 +468,7 @@ def private_endpoint_connections(self):
451468
* 2020-12-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2020_12_01.operations.PrivateEndpointConnectionsOperations>`
452469
* 2021-02-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_02_01.operations.PrivateEndpointConnectionsOperations>`
453470
* 2021-03-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_03_01.operations.PrivateEndpointConnectionsOperations>`
471+
* 2021-05-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_05_01.operations.PrivateEndpointConnectionsOperations>`
454472
"""
455473
api_version = self._get_api_version('private_endpoint_connections')
456474
if api_version == '2020-06-01':
@@ -467,6 +485,8 @@ def private_endpoint_connections(self):
467485
from .v2021_02_01.operations import PrivateEndpointConnectionsOperations as OperationClass
468486
elif api_version == '2021-03-01':
469487
from .v2021_03_01.operations import PrivateEndpointConnectionsOperations as OperationClass
488+
elif api_version == '2021-05-01':
489+
from .v2021_05_01.operations import PrivateEndpointConnectionsOperations as OperationClass
470490
else:
471491
raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version))
472492
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -480,6 +500,7 @@ def private_link_resources(self):
480500
* 2020-12-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2020_12_01.operations.PrivateLinkResourcesOperations>`
481501
* 2021-02-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_02_01.operations.PrivateLinkResourcesOperations>`
482502
* 2021-03-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_03_01.operations.PrivateLinkResourcesOperations>`
503+
* 2021-05-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_05_01.operations.PrivateLinkResourcesOperations>`
483504
"""
484505
api_version = self._get_api_version('private_link_resources')
485506
if api_version == '2020-09-01':
@@ -492,6 +513,8 @@ def private_link_resources(self):
492513
from .v2021_02_01.operations import PrivateLinkResourcesOperations as OperationClass
493514
elif api_version == '2021-03-01':
494515
from .v2021_03_01.operations import PrivateLinkResourcesOperations as OperationClass
516+
elif api_version == '2021-05-01':
517+
from .v2021_05_01.operations import PrivateLinkResourcesOperations as OperationClass
495518
else:
496519
raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version))
497520
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -505,6 +528,7 @@ def resolve_private_link_service_id(self):
505528
* 2020-12-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2020_12_01.operations.ResolvePrivateLinkServiceIdOperations>`
506529
* 2021-02-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_02_01.operations.ResolvePrivateLinkServiceIdOperations>`
507530
* 2021-03-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_03_01.operations.ResolvePrivateLinkServiceIdOperations>`
531+
* 2021-05-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_05_01.operations.ResolvePrivateLinkServiceIdOperations>`
508532
"""
509533
api_version = self._get_api_version('resolve_private_link_service_id')
510534
if api_version == '2020-09-01':
@@ -517,6 +541,8 @@ def resolve_private_link_service_id(self):
517541
from .v2021_02_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
518542
elif api_version == '2021-03-01':
519543
from .v2021_03_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
544+
elif api_version == '2021-05-01':
545+
from .v2021_05_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
520546
else:
521547
raise ValueError("API version {} does not have operation group 'resolve_private_link_service_id'".format(api_version))
522548
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 = "15.1.0"
12+
VERSION = "16.0.0"

0 commit comments

Comments
 (0)