Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR track2_azure-mgmt-containerservice] [Hub Generated] Review request for Microsoft.ContainerService/aks to add version preview/2023-10-02-preview #23994

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions sdk/containerservice/azure-mgmt-containerservice/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.7.2",
"use": [
"@autorest/python@5.12.0",
"@autorest/python@5.13.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "a70086b6711c1058aaf3c5906744a665a492a504",
"commit": "ba65174ad2569e80fdb5838a1dddc26b8c0d6f3d",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/containerservice/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/containerservice/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.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 @@ -11,10 +11,11 @@

from typing import TYPE_CHECKING

from msrest import Deserializer, Serializer

from azure.mgmt.core import ARMPipelineClient
from azure.profiles import KnownProfiles, ProfileDefinition
from azure.profiles.multiapiclient import MultiApiClientMixin
from msrest import Deserializer, Serializer

from ._configuration import ContainerServiceClientConfiguration

Expand Down Expand Up @@ -124,6 +125,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
* 2022-01-02-preview: :mod:`v2022_01_02_preview.models<azure.mgmt.containerservice.v2022_01_02_preview.models>`
* 2022-02-01: :mod:`v2022_02_01.models<azure.mgmt.containerservice.v2022_02_01.models>`
* 2022-02-02-preview: :mod:`v2022_02_02_preview.models<azure.mgmt.containerservice.v2022_02_02_preview.models>`
* 2022-03-02-preview: :mod:`v2022_03_02_preview.models<azure.mgmt.containerservice.v2022_03_02_preview.models>`
"""
if api_version == '2017-07-01':
from .v2017_07_01 import models
Expand Down Expand Up @@ -227,6 +229,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
elif api_version == '2022-02-02-preview':
from .v2022_02_02_preview import models
return models
elif api_version == '2022-03-02-preview':
from .v2022_03_02_preview import models
return models
raise ValueError("API version {} is not available".format(api_version))

@property
Expand Down Expand Up @@ -260,6 +265,7 @@ def agent_pools(self):
* 2022-01-02-preview: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2022_01_02_preview.operations.AgentPoolsOperations>`
* 2022-02-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2022_02_01.operations.AgentPoolsOperations>`
* 2022-02-02-preview: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2022_02_02_preview.operations.AgentPoolsOperations>`
* 2022-03-02-preview: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2022_03_02_preview.operations.AgentPoolsOperations>`
"""
api_version = self._get_api_version('agent_pools')
if api_version == '2019-02-01':
Expand Down Expand Up @@ -316,6 +322,8 @@ def agent_pools(self):
from .v2022_02_01.operations import AgentPoolsOperations as OperationClass
elif api_version == '2022-02-02-preview':
from .v2022_02_02_preview.operations import AgentPoolsOperations as OperationClass
elif api_version == '2022-03-02-preview':
from .v2022_03_02_preview.operations import AgentPoolsOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'agent_pools'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand Down Expand Up @@ -350,6 +358,7 @@ def maintenance_configurations(self):
* 2022-01-02-preview: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2022_01_02_preview.operations.MaintenanceConfigurationsOperations>`
* 2022-02-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2022_02_01.operations.MaintenanceConfigurationsOperations>`
* 2022-02-02-preview: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2022_02_02_preview.operations.MaintenanceConfigurationsOperations>`
* 2022-03-02-preview: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2022_03_02_preview.operations.MaintenanceConfigurationsOperations>`
"""
api_version = self._get_api_version('maintenance_configurations')
if api_version == '2020-12-01':
Expand Down Expand Up @@ -378,6 +387,8 @@ def maintenance_configurations(self):
from .v2022_02_01.operations import MaintenanceConfigurationsOperations as OperationClass
elif api_version == '2022-02-02-preview':
from .v2022_02_02_preview.operations import MaintenanceConfigurationsOperations as OperationClass
elif api_version == '2022-03-02-preview':
from .v2022_03_02_preview.operations import MaintenanceConfigurationsOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'maintenance_configurations'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand All @@ -387,10 +398,13 @@ def managed_cluster_snapshots(self):
"""Instance depends on the API version:

* 2022-02-02-preview: :class:`ManagedClusterSnapshotsOperations<azure.mgmt.containerservice.v2022_02_02_preview.operations.ManagedClusterSnapshotsOperations>`
* 2022-03-02-preview: :class:`ManagedClusterSnapshotsOperations<azure.mgmt.containerservice.v2022_03_02_preview.operations.ManagedClusterSnapshotsOperations>`
"""
api_version = self._get_api_version('managed_cluster_snapshots')
if api_version == '2022-02-02-preview':
from .v2022_02_02_preview.operations import ManagedClusterSnapshotsOperations as OperationClass
elif api_version == '2022-03-02-preview':
from .v2022_03_02_preview.operations import ManagedClusterSnapshotsOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'managed_cluster_snapshots'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand Down Expand Up @@ -428,6 +442,7 @@ def managed_clusters(self):
* 2022-01-02-preview: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2022_01_02_preview.operations.ManagedClustersOperations>`
* 2022-02-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2022_02_01.operations.ManagedClustersOperations>`
* 2022-02-02-preview: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2022_02_02_preview.operations.ManagedClustersOperations>`
* 2022-03-02-preview: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2022_03_02_preview.operations.ManagedClustersOperations>`
"""
api_version = self._get_api_version('managed_clusters')
if api_version == '2018-03-31':
Expand Down Expand Up @@ -488,6 +503,8 @@ def managed_clusters(self):
from .v2022_02_01.operations import ManagedClustersOperations as OperationClass
elif api_version == '2022-02-02-preview':
from .v2022_02_02_preview.operations import ManagedClustersOperations as OperationClass
elif api_version == '2022-03-02-preview':
from .v2022_03_02_preview.operations import ManagedClustersOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'managed_clusters'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand Down Expand Up @@ -547,6 +564,7 @@ def operations(self):
* 2022-01-02-preview: :class:`Operations<azure.mgmt.containerservice.v2022_01_02_preview.operations.Operations>`
* 2022-02-01: :class:`Operations<azure.mgmt.containerservice.v2022_02_01.operations.Operations>`
* 2022-02-02-preview: :class:`Operations<azure.mgmt.containerservice.v2022_02_02_preview.operations.Operations>`
* 2022-03-02-preview: :class:`Operations<azure.mgmt.containerservice.v2022_03_02_preview.operations.Operations>`
"""
api_version = self._get_api_version('operations')
if api_version == '2018-03-31':
Expand Down Expand Up @@ -607,6 +625,8 @@ def operations(self):
from .v2022_02_01.operations import Operations as OperationClass
elif api_version == '2022-02-02-preview':
from .v2022_02_02_preview.operations import Operations as OperationClass
elif api_version == '2022-03-02-preview':
from .v2022_03_02_preview.operations import Operations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'operations'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand All @@ -632,6 +652,7 @@ def private_endpoint_connections(self):
* 2022-01-02-preview: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2022_01_02_preview.operations.PrivateEndpointConnectionsOperations>`
* 2022-02-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2022_02_01.operations.PrivateEndpointConnectionsOperations>`
* 2022-02-02-preview: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2022_02_02_preview.operations.PrivateEndpointConnectionsOperations>`
* 2022-03-02-preview: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2022_03_02_preview.operations.PrivateEndpointConnectionsOperations>`
"""
api_version = self._get_api_version('private_endpoint_connections')
if api_version == '2020-06-01':
Expand Down Expand Up @@ -668,6 +689,8 @@ def private_endpoint_connections(self):
from .v2022_02_01.operations import PrivateEndpointConnectionsOperations as OperationClass
elif api_version == '2022-02-02-preview':
from .v2022_02_02_preview.operations import PrivateEndpointConnectionsOperations as OperationClass
elif api_version == '2022-03-02-preview':
from .v2022_03_02_preview.operations import PrivateEndpointConnectionsOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand All @@ -691,6 +714,7 @@ def private_link_resources(self):
* 2022-01-02-preview: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2022_01_02_preview.operations.PrivateLinkResourcesOperations>`
* 2022-02-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2022_02_01.operations.PrivateLinkResourcesOperations>`
* 2022-02-02-preview: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2022_02_02_preview.operations.PrivateLinkResourcesOperations>`
* 2022-03-02-preview: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2022_03_02_preview.operations.PrivateLinkResourcesOperations>`
"""
api_version = self._get_api_version('private_link_resources')
if api_version == '2020-09-01':
Expand Down Expand Up @@ -723,6 +747,8 @@ def private_link_resources(self):
from .v2022_02_01.operations import PrivateLinkResourcesOperations as OperationClass
elif api_version == '2022-02-02-preview':
from .v2022_02_02_preview.operations import PrivateLinkResourcesOperations as OperationClass
elif api_version == '2022-03-02-preview':
from .v2022_03_02_preview.operations import PrivateLinkResourcesOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand All @@ -746,6 +772,7 @@ def resolve_private_link_service_id(self):
* 2022-01-02-preview: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2022_01_02_preview.operations.ResolvePrivateLinkServiceIdOperations>`
* 2022-02-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2022_02_01.operations.ResolvePrivateLinkServiceIdOperations>`
* 2022-02-02-preview: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2022_02_02_preview.operations.ResolvePrivateLinkServiceIdOperations>`
* 2022-03-02-preview: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2022_03_02_preview.operations.ResolvePrivateLinkServiceIdOperations>`
"""
api_version = self._get_api_version('resolve_private_link_service_id')
if api_version == '2020-09-01':
Expand Down Expand Up @@ -778,6 +805,8 @@ def resolve_private_link_service_id(self):
from .v2022_02_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
elif api_version == '2022-02-02-preview':
from .v2022_02_02_preview.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
elif api_version == '2022-03-02-preview':
from .v2022_03_02_preview.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'resolve_private_link_service_id'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand All @@ -794,6 +823,7 @@ def snapshots(self):
* 2022-01-02-preview: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2022_01_02_preview.operations.SnapshotsOperations>`
* 2022-02-01: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2022_02_01.operations.SnapshotsOperations>`
* 2022-02-02-preview: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2022_02_02_preview.operations.SnapshotsOperations>`
* 2022-03-02-preview: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2022_03_02_preview.operations.SnapshotsOperations>`
"""
api_version = self._get_api_version('snapshots')
if api_version == '2021-08-01':
Expand All @@ -812,6 +842,8 @@ def snapshots(self):
from .v2022_02_01.operations import SnapshotsOperations as OperationClass
elif api_version == '2022-02-02-preview':
from .v2022_02_02_preview.operations import SnapshotsOperations as OperationClass
elif api_version == '2022-03-02-preview':
from .v2022_03_02_preview.operations import SnapshotsOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'snapshots'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
Expand Down
Loading