Skip to content

Commit

Permalink
CodeGen from PR 19873 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 16684927f7bafe6e26ddbdbffb382bcaed959a41 into 657a1085075554acd8c66501e323691bdb632b22
  • Loading branch information
SDKAuto committed Jul 21, 2022
1 parent 0e8cf20 commit 2f72cdb
Show file tree
Hide file tree
Showing 39 changed files with 18,371 additions and 5 deletions.
4 changes: 2 additions & 2 deletions sdk/containerservice/azure-mgmt-containerservice/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"@autorest/python@5.16.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "ca5d9600e4950afdae3c23c71d9407b6aa3fce63",
"commit": "d2803fe05f49414e5f640c1d229a87d261b762fa",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/containerservice/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/containerservice/resource-manager/readme.md --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/containerservice/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ContainerServiceClient(MultiApiClientMixin, _SDKClient):
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
"""

DEFAULT_API_VERSION = '2022-04-01'
DEFAULT_API_VERSION = '2022-06-01'
_PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
LATEST_PROFILE = ProfileDefinition({
_PROFILE_TAG: {
Expand Down Expand Up @@ -130,6 +130,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
* 2022-04-01: :mod:`v2022_04_01.models<azure.mgmt.containerservice.v2022_04_01.models>`
* 2022-04-02-preview: :mod:`v2022_04_02_preview.models<azure.mgmt.containerservice.v2022_04_02_preview.models>`
* 2022-05-02-preview: :mod:`v2022_05_02_preview.models<azure.mgmt.containerservice.v2022_05_02_preview.models>`
* 2022-06-01: :mod:`v2022_06_01.models<azure.mgmt.containerservice.v2022_06_01.models>`
* 2022-06-02-preview: :mod:`v2022_06_02_preview.models<azure.mgmt.containerservice.v2022_06_02_preview.models>`
"""
if api_version == '2017-07-01':
Expand Down Expand Up @@ -249,6 +250,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
elif api_version == '2022-05-02-preview':
from .v2022_05_02_preview import models
return models
elif api_version == '2022-06-01':
from .v2022_06_01 import models
return models
elif api_version == '2022-06-02-preview':
from .v2022_06_02_preview import models
return models
Expand Down Expand Up @@ -290,6 +294,7 @@ def agent_pools(self):
* 2022-04-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2022_04_01.operations.AgentPoolsOperations>`
* 2022-04-02-preview: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2022_04_02_preview.operations.AgentPoolsOperations>`
* 2022-05-02-preview: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2022_05_02_preview.operations.AgentPoolsOperations>`
* 2022-06-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2022_06_01.operations.AgentPoolsOperations>`
* 2022-06-02-preview: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2022_06_02_preview.operations.AgentPoolsOperations>`
"""
api_version = self._get_api_version('agent_pools')
Expand Down Expand Up @@ -357,6 +362,8 @@ def agent_pools(self):
from .v2022_04_02_preview.operations import AgentPoolsOperations as OperationClass
elif api_version == '2022-05-02-preview':
from .v2022_05_02_preview.operations import AgentPoolsOperations as OperationClass
elif api_version == '2022-06-01':
from .v2022_06_01.operations import AgentPoolsOperations as OperationClass
elif api_version == '2022-06-02-preview':
from .v2022_06_02_preview.operations import AgentPoolsOperations as OperationClass
else:
Expand Down Expand Up @@ -424,6 +431,7 @@ def maintenance_configurations(self):
* 2022-04-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2022_04_01.operations.MaintenanceConfigurationsOperations>`
* 2022-04-02-preview: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2022_04_02_preview.operations.MaintenanceConfigurationsOperations>`
* 2022-05-02-preview: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2022_05_02_preview.operations.MaintenanceConfigurationsOperations>`
* 2022-06-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2022_06_01.operations.MaintenanceConfigurationsOperations>`
* 2022-06-02-preview: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2022_06_02_preview.operations.MaintenanceConfigurationsOperations>`
"""
api_version = self._get_api_version('maintenance_configurations')
Expand Down Expand Up @@ -463,6 +471,8 @@ def maintenance_configurations(self):
from .v2022_04_02_preview.operations import MaintenanceConfigurationsOperations as OperationClass
elif api_version == '2022-05-02-preview':
from .v2022_05_02_preview.operations import MaintenanceConfigurationsOperations as OperationClass
elif api_version == '2022-06-01':
from .v2022_06_01.operations import MaintenanceConfigurationsOperations as OperationClass
elif api_version == '2022-06-02-preview':
from .v2022_06_02_preview.operations import MaintenanceConfigurationsOperations as OperationClass
else:
Expand Down Expand Up @@ -532,6 +542,7 @@ def managed_clusters(self):
* 2022-04-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2022_04_01.operations.ManagedClustersOperations>`
* 2022-04-02-preview: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2022_04_02_preview.operations.ManagedClustersOperations>`
* 2022-05-02-preview: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2022_05_02_preview.operations.ManagedClustersOperations>`
* 2022-06-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2022_06_01.operations.ManagedClustersOperations>`
* 2022-06-02-preview: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2022_06_02_preview.operations.ManagedClustersOperations>`
"""
api_version = self._get_api_version('managed_clusters')
Expand Down Expand Up @@ -603,6 +614,8 @@ def managed_clusters(self):
from .v2022_04_02_preview.operations import ManagedClustersOperations as OperationClass
elif api_version == '2022-05-02-preview':
from .v2022_05_02_preview.operations import ManagedClustersOperations as OperationClass
elif api_version == '2022-06-01':
from .v2022_06_01.operations import ManagedClustersOperations as OperationClass
elif api_version == '2022-06-02-preview':
from .v2022_06_02_preview.operations import ManagedClustersOperations as OperationClass
else:
Expand Down Expand Up @@ -669,6 +682,7 @@ def operations(self):
* 2022-04-01: :class:`Operations<azure.mgmt.containerservice.v2022_04_01.operations.Operations>`
* 2022-04-02-preview: :class:`Operations<azure.mgmt.containerservice.v2022_04_02_preview.operations.Operations>`
* 2022-05-02-preview: :class:`Operations<azure.mgmt.containerservice.v2022_05_02_preview.operations.Operations>`
* 2022-06-01: :class:`Operations<azure.mgmt.containerservice.v2022_06_01.operations.Operations>`
* 2022-06-02-preview: :class:`Operations<azure.mgmt.containerservice.v2022_06_02_preview.operations.Operations>`
"""
api_version = self._get_api_version('operations')
Expand Down Expand Up @@ -740,6 +754,8 @@ def operations(self):
from .v2022_04_02_preview.operations import Operations as OperationClass
elif api_version == '2022-05-02-preview':
from .v2022_05_02_preview.operations import Operations as OperationClass
elif api_version == '2022-06-01':
from .v2022_06_01.operations import Operations as OperationClass
elif api_version == '2022-06-02-preview':
from .v2022_06_02_preview.operations import Operations as OperationClass
else:
Expand Down Expand Up @@ -772,6 +788,7 @@ def private_endpoint_connections(self):
* 2022-04-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2022_04_01.operations.PrivateEndpointConnectionsOperations>`
* 2022-04-02-preview: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2022_04_02_preview.operations.PrivateEndpointConnectionsOperations>`
* 2022-05-02-preview: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2022_05_02_preview.operations.PrivateEndpointConnectionsOperations>`
* 2022-06-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2022_06_01.operations.PrivateEndpointConnectionsOperations>`
* 2022-06-02-preview: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2022_06_02_preview.operations.PrivateEndpointConnectionsOperations>`
"""
api_version = self._get_api_version('private_endpoint_connections')
Expand Down Expand Up @@ -819,6 +836,8 @@ def private_endpoint_connections(self):
from .v2022_04_02_preview.operations import PrivateEndpointConnectionsOperations as OperationClass
elif api_version == '2022-05-02-preview':
from .v2022_05_02_preview.operations import PrivateEndpointConnectionsOperations as OperationClass
elif api_version == '2022-06-01':
from .v2022_06_01.operations import PrivateEndpointConnectionsOperations as OperationClass
elif api_version == '2022-06-02-preview':
from .v2022_06_02_preview.operations import PrivateEndpointConnectionsOperations as OperationClass
else:
Expand Down Expand Up @@ -849,6 +868,7 @@ def private_link_resources(self):
* 2022-04-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2022_04_01.operations.PrivateLinkResourcesOperations>`
* 2022-04-02-preview: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2022_04_02_preview.operations.PrivateLinkResourcesOperations>`
* 2022-05-02-preview: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2022_05_02_preview.operations.PrivateLinkResourcesOperations>`
* 2022-06-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2022_06_01.operations.PrivateLinkResourcesOperations>`
* 2022-06-02-preview: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2022_06_02_preview.operations.PrivateLinkResourcesOperations>`
"""
api_version = self._get_api_version('private_link_resources')
Expand Down Expand Up @@ -892,6 +912,8 @@ def private_link_resources(self):
from .v2022_04_02_preview.operations import PrivateLinkResourcesOperations as OperationClass
elif api_version == '2022-05-02-preview':
from .v2022_05_02_preview.operations import PrivateLinkResourcesOperations as OperationClass
elif api_version == '2022-06-01':
from .v2022_06_01.operations import PrivateLinkResourcesOperations as OperationClass
elif api_version == '2022-06-02-preview':
from .v2022_06_02_preview.operations import PrivateLinkResourcesOperations as OperationClass
else:
Expand Down Expand Up @@ -922,6 +944,7 @@ def resolve_private_link_service_id(self):
* 2022-04-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2022_04_01.operations.ResolvePrivateLinkServiceIdOperations>`
* 2022-04-02-preview: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2022_04_02_preview.operations.ResolvePrivateLinkServiceIdOperations>`
* 2022-05-02-preview: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2022_05_02_preview.operations.ResolvePrivateLinkServiceIdOperations>`
* 2022-06-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2022_06_01.operations.ResolvePrivateLinkServiceIdOperations>`
* 2022-06-02-preview: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2022_06_02_preview.operations.ResolvePrivateLinkServiceIdOperations>`
"""
api_version = self._get_api_version('resolve_private_link_service_id')
Expand Down Expand Up @@ -965,6 +988,8 @@ def resolve_private_link_service_id(self):
from .v2022_04_02_preview.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
elif api_version == '2022-05-02-preview':
from .v2022_05_02_preview.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
elif api_version == '2022-06-01':
from .v2022_06_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
elif api_version == '2022-06-02-preview':
from .v2022_06_02_preview.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
else:
Expand All @@ -988,6 +1013,7 @@ def snapshots(self):
* 2022-04-01: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2022_04_01.operations.SnapshotsOperations>`
* 2022-04-02-preview: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2022_04_02_preview.operations.SnapshotsOperations>`
* 2022-05-02-preview: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2022_05_02_preview.operations.SnapshotsOperations>`
* 2022-06-01: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2022_06_01.operations.SnapshotsOperations>`
* 2022-06-02-preview: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2022_06_02_preview.operations.SnapshotsOperations>`
"""
api_version = self._get_api_version('snapshots')
Expand Down Expand Up @@ -1017,6 +1043,8 @@ def snapshots(self):
from .v2022_04_02_preview.operations import SnapshotsOperations as OperationClass
elif api_version == '2022-05-02-preview':
from .v2022_05_02_preview.operations import SnapshotsOperations as OperationClass
elif api_version == '2022-06-01':
from .v2022_06_01.operations import SnapshotsOperations as OperationClass
elif api_version == '2022-06-02-preview':
from .v2022_06_02_preview.operations import SnapshotsOperations as OperationClass
else:
Expand Down
Loading

0 comments on commit 2f72cdb

Please sign in to comment.