Skip to content

Commit

Permalink
CodeGen from PR 19592 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge c0f7fc07e91044e96d1e6544e67a6045fe1f63ef into f4e7a1c99eff175286c3313ec875f79e4142ac1a
  • Loading branch information
SDKAuto committed Jul 22, 2022
1 parent 4649826 commit 560e4d1
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/[email protected]",
"@autorest/[email protected]"
],
"commit": "ca5d9600e4950afdae3c23c71d9407b6aa3fce63",
"commit": "6c9be87b5510ae70fd78719b950f5dfe33c3ddf3",
"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/[email protected] --use=@autorest/[email protected] --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/[email protected] --use=@autorest/[email protected] --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 560e4d1

Please sign in to comment.