Skip to content

Commit b2fb0e2

Browse files
author
SDKAuto
committed
CodeGen from PR 15976 in Azure/azure-rest-api-specs
Merge 172fa749c5975986282d65218dcc2527b0df832d into 53d0d453079fe532fecc6cbed1b7815df6ccc508
1 parent 3eb0af9 commit b2fb0e2

34 files changed

+17749
-4
lines changed

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": "c800afa8bcc12ee1c3df0ec26fb012d48b93ce0c",
7+
"commit": "b0b59f1d3145f2eb21547a7731876f277de4850c",
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: 29 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-08-01'
59+
DEFAULT_API_VERSION = '2021-09-01'
6060
_PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
6161
LATEST_PROFILE = ProfileDefinition({
6262
_PROFILE_TAG: {
@@ -120,6 +120,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
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>`
122122
* 2021-08-01: :mod:`v2021_08_01.models<azure.mgmt.containerservice.v2021_08_01.models>`
123+
* 2021-09-01: :mod:`v2021_09_01.models<azure.mgmt.containerservice.v2021_09_01.models>`
123124
"""
124125
if api_version == '2017-07-01':
125126
from .v2017_07_01 import models
@@ -202,6 +203,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
202203
elif api_version == '2021-08-01':
203204
from .v2021_08_01 import models
204205
return models
206+
elif api_version == '2021-09-01':
207+
from .v2021_09_01 import models
208+
return models
205209
raise ValueError("API version {} is not available".format(api_version))
206210

207211
@property
@@ -228,6 +232,7 @@ def agent_pools(self):
228232
* 2021-05-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_05_01.operations.AgentPoolsOperations>`
229233
* 2021-07-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_07_01.operations.AgentPoolsOperations>`
230234
* 2021-08-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_08_01.operations.AgentPoolsOperations>`
235+
* 2021-09-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_09_01.operations.AgentPoolsOperations>`
231236
"""
232237
api_version = self._get_api_version('agent_pools')
233238
if api_version == '2019-02-01':
@@ -270,6 +275,8 @@ def agent_pools(self):
270275
from .v2021_07_01.operations import AgentPoolsOperations as OperationClass
271276
elif api_version == '2021-08-01':
272277
from .v2021_08_01.operations import AgentPoolsOperations as OperationClass
278+
elif api_version == '2021-09-01':
279+
from .v2021_09_01.operations import AgentPoolsOperations as OperationClass
273280
else:
274281
raise ValueError("API version {} does not have operation group 'agent_pools'".format(api_version))
275282
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -297,6 +304,7 @@ def maintenance_configurations(self):
297304
* 2021-05-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_05_01.operations.MaintenanceConfigurationsOperations>`
298305
* 2021-07-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_07_01.operations.MaintenanceConfigurationsOperations>`
299306
* 2021-08-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_08_01.operations.MaintenanceConfigurationsOperations>`
307+
* 2021-09-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_09_01.operations.MaintenanceConfigurationsOperations>`
300308
"""
301309
api_version = self._get_api_version('maintenance_configurations')
302310
if api_version == '2020-12-01':
@@ -311,6 +319,8 @@ def maintenance_configurations(self):
311319
from .v2021_07_01.operations import MaintenanceConfigurationsOperations as OperationClass
312320
elif api_version == '2021-08-01':
313321
from .v2021_08_01.operations import MaintenanceConfigurationsOperations as OperationClass
322+
elif api_version == '2021-09-01':
323+
from .v2021_09_01.operations import MaintenanceConfigurationsOperations as OperationClass
314324
else:
315325
raise ValueError("API version {} does not have operation group 'maintenance_configurations'".format(api_version))
316326
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -341,6 +351,7 @@ def managed_clusters(self):
341351
* 2021-05-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_05_01.operations.ManagedClustersOperations>`
342352
* 2021-07-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_07_01.operations.ManagedClustersOperations>`
343353
* 2021-08-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_08_01.operations.ManagedClustersOperations>`
354+
* 2021-09-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_09_01.operations.ManagedClustersOperations>`
344355
"""
345356
api_version = self._get_api_version('managed_clusters')
346357
if api_version == '2018-03-31':
@@ -387,6 +398,8 @@ def managed_clusters(self):
387398
from .v2021_07_01.operations import ManagedClustersOperations as OperationClass
388399
elif api_version == '2021-08-01':
389400
from .v2021_08_01.operations import ManagedClustersOperations as OperationClass
401+
elif api_version == '2021-09-01':
402+
from .v2021_09_01.operations import ManagedClustersOperations as OperationClass
390403
else:
391404
raise ValueError("API version {} does not have operation group 'managed_clusters'".format(api_version))
392405
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -439,6 +452,7 @@ def operations(self):
439452
* 2021-05-01: :class:`Operations<azure.mgmt.containerservice.v2021_05_01.operations.Operations>`
440453
* 2021-07-01: :class:`Operations<azure.mgmt.containerservice.v2021_07_01.operations.Operations>`
441454
* 2021-08-01: :class:`Operations<azure.mgmt.containerservice.v2021_08_01.operations.Operations>`
455+
* 2021-09-01: :class:`Operations<azure.mgmt.containerservice.v2021_09_01.operations.Operations>`
442456
"""
443457
api_version = self._get_api_version('operations')
444458
if api_version == '2018-03-31':
@@ -485,6 +499,8 @@ def operations(self):
485499
from .v2021_07_01.operations import Operations as OperationClass
486500
elif api_version == '2021-08-01':
487501
from .v2021_08_01.operations import Operations as OperationClass
502+
elif api_version == '2021-09-01':
503+
from .v2021_09_01.operations import Operations as OperationClass
488504
else:
489505
raise ValueError("API version {} does not have operation group 'operations'".format(api_version))
490506
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -503,6 +519,7 @@ def private_endpoint_connections(self):
503519
* 2021-05-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_05_01.operations.PrivateEndpointConnectionsOperations>`
504520
* 2021-07-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_07_01.operations.PrivateEndpointConnectionsOperations>`
505521
* 2021-08-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_08_01.operations.PrivateEndpointConnectionsOperations>`
522+
* 2021-09-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_09_01.operations.PrivateEndpointConnectionsOperations>`
506523
"""
507524
api_version = self._get_api_version('private_endpoint_connections')
508525
if api_version == '2020-06-01':
@@ -525,6 +542,8 @@ def private_endpoint_connections(self):
525542
from .v2021_07_01.operations import PrivateEndpointConnectionsOperations as OperationClass
526543
elif api_version == '2021-08-01':
527544
from .v2021_08_01.operations import PrivateEndpointConnectionsOperations as OperationClass
545+
elif api_version == '2021-09-01':
546+
from .v2021_09_01.operations import PrivateEndpointConnectionsOperations as OperationClass
528547
else:
529548
raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version))
530549
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -541,6 +560,7 @@ def private_link_resources(self):
541560
* 2021-05-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_05_01.operations.PrivateLinkResourcesOperations>`
542561
* 2021-07-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_07_01.operations.PrivateLinkResourcesOperations>`
543562
* 2021-08-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_08_01.operations.PrivateLinkResourcesOperations>`
563+
* 2021-09-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_09_01.operations.PrivateLinkResourcesOperations>`
544564
"""
545565
api_version = self._get_api_version('private_link_resources')
546566
if api_version == '2020-09-01':
@@ -559,6 +579,8 @@ def private_link_resources(self):
559579
from .v2021_07_01.operations import PrivateLinkResourcesOperations as OperationClass
560580
elif api_version == '2021-08-01':
561581
from .v2021_08_01.operations import PrivateLinkResourcesOperations as OperationClass
582+
elif api_version == '2021-09-01':
583+
from .v2021_09_01.operations import PrivateLinkResourcesOperations as OperationClass
562584
else:
563585
raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version))
564586
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -575,6 +597,7 @@ def resolve_private_link_service_id(self):
575597
* 2021-05-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_05_01.operations.ResolvePrivateLinkServiceIdOperations>`
576598
* 2021-07-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_07_01.operations.ResolvePrivateLinkServiceIdOperations>`
577599
* 2021-08-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_08_01.operations.ResolvePrivateLinkServiceIdOperations>`
600+
* 2021-09-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_09_01.operations.ResolvePrivateLinkServiceIdOperations>`
578601
"""
579602
api_version = self._get_api_version('resolve_private_link_service_id')
580603
if api_version == '2020-09-01':
@@ -593,6 +616,8 @@ def resolve_private_link_service_id(self):
593616
from .v2021_07_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
594617
elif api_version == '2021-08-01':
595618
from .v2021_08_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
619+
elif api_version == '2021-09-01':
620+
from .v2021_09_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
596621
else:
597622
raise ValueError("API version {} does not have operation group 'resolve_private_link_service_id'".format(api_version))
598623
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
@@ -602,10 +627,13 @@ def snapshots(self):
602627
"""Instance depends on the API version:
603628
604629
* 2021-08-01: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2021_08_01.operations.SnapshotsOperations>`
630+
* 2021-09-01: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2021_09_01.operations.SnapshotsOperations>`
605631
"""
606632
api_version = self._get_api_version('snapshots')
607633
if api_version == '2021-08-01':
608634
from .v2021_08_01.operations import SnapshotsOperations as OperationClass
635+
elif api_version == '2021-09-01':
636+
from .v2021_09_01.operations import SnapshotsOperations as OperationClass
609637
else:
610638
raise ValueError("API version {} does not have operation group 'snapshots'".format(api_version))
611639
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

0 commit comments

Comments
 (0)