Skip to content

Commit

Permalink
[AutoRelease] t2-containerservice-2021-11-25-33508 (#21891)
Browse files Browse the repository at this point in the history
* CodeGen from PR 16857 in Azure/azure-rest-api-specs
add 2021-10-01-only tag (#16857)

* add 2021-10-01-only tag

* updating go java python readmes

* version,CHANGELOG

Co-authored-by: SDKAuto <[email protected]>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
  • Loading branch information
Azure CLI Bot and SDKAuto authored Nov 29, 2021
1 parent a479ea8 commit a57425e
Show file tree
Hide file tree
Showing 36 changed files with 17,910 additions and 5 deletions.
9 changes: 9 additions & 0 deletions sdk/containerservice/azure-mgmt-containerservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Release History

## 16.4.0 (2021-11-25)

**Features**

- Model ContainerServiceNetworkProfile has a new parameter service_cidrs
- Model ContainerServiceNetworkProfile has a new parameter pod_cidrs
- Model ContainerServiceNetworkProfile has a new parameter ip_families
- Model ManagedClusterLoadBalancerProfileManagedOutboundIPs has a new parameter count_ipv6

## 16.3.0 (2021-10-18)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "287a3b54c9167c810455b7ed4afa295e162a0f18",
"commit": "b6b834584cb58a3c2cbe887570fa0942b397dfc7",
"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/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.4.5",
"readme": "specification/containerservice/resource-manager/readme.md"
Expand Down
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 = '2021-09-01'
DEFAULT_API_VERSION = '2021-10-01'
_PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient"
LATEST_PROFILE = ProfileDefinition({
_PROFILE_TAG: {
Expand Down Expand Up @@ -121,6 +121,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
* 2021-07-01: :mod:`v2021_07_01.models<azure.mgmt.containerservice.v2021_07_01.models>`
* 2021-08-01: :mod:`v2021_08_01.models<azure.mgmt.containerservice.v2021_08_01.models>`
* 2021-09-01: :mod:`v2021_09_01.models<azure.mgmt.containerservice.v2021_09_01.models>`
* 2021-10-01: :mod:`v2021_10_01.models<azure.mgmt.containerservice.v2021_10_01.models>`
"""
if api_version == '2017-07-01':
from .v2017_07_01 import models
Expand Down Expand Up @@ -206,6 +207,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
elif api_version == '2021-09-01':
from .v2021_09_01 import models
return models
elif api_version == '2021-10-01':
from .v2021_10_01 import models
return models
raise ValueError("API version {} is not available".format(api_version))

@property
Expand Down Expand Up @@ -233,6 +237,7 @@ def agent_pools(self):
* 2021-07-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_07_01.operations.AgentPoolsOperations>`
* 2021-08-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_08_01.operations.AgentPoolsOperations>`
* 2021-09-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_09_01.operations.AgentPoolsOperations>`
* 2021-10-01: :class:`AgentPoolsOperations<azure.mgmt.containerservice.v2021_10_01.operations.AgentPoolsOperations>`
"""
api_version = self._get_api_version('agent_pools')
if api_version == '2019-02-01':
Expand Down Expand Up @@ -277,6 +282,8 @@ def agent_pools(self):
from .v2021_08_01.operations import AgentPoolsOperations as OperationClass
elif api_version == '2021-09-01':
from .v2021_09_01.operations import AgentPoolsOperations as OperationClass
elif api_version == '2021-10-01':
from .v2021_10_01.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 @@ -305,6 +312,7 @@ def maintenance_configurations(self):
* 2021-07-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_07_01.operations.MaintenanceConfigurationsOperations>`
* 2021-08-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_08_01.operations.MaintenanceConfigurationsOperations>`
* 2021-09-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_09_01.operations.MaintenanceConfigurationsOperations>`
* 2021-10-01: :class:`MaintenanceConfigurationsOperations<azure.mgmt.containerservice.v2021_10_01.operations.MaintenanceConfigurationsOperations>`
"""
api_version = self._get_api_version('maintenance_configurations')
if api_version == '2020-12-01':
Expand All @@ -321,6 +329,8 @@ def maintenance_configurations(self):
from .v2021_08_01.operations import MaintenanceConfigurationsOperations as OperationClass
elif api_version == '2021-09-01':
from .v2021_09_01.operations import MaintenanceConfigurationsOperations as OperationClass
elif api_version == '2021-10-01':
from .v2021_10_01.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 Down Expand Up @@ -352,6 +362,7 @@ def managed_clusters(self):
* 2021-07-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_07_01.operations.ManagedClustersOperations>`
* 2021-08-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_08_01.operations.ManagedClustersOperations>`
* 2021-09-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_09_01.operations.ManagedClustersOperations>`
* 2021-10-01: :class:`ManagedClustersOperations<azure.mgmt.containerservice.v2021_10_01.operations.ManagedClustersOperations>`
"""
api_version = self._get_api_version('managed_clusters')
if api_version == '2018-03-31':
Expand Down Expand Up @@ -400,6 +411,8 @@ def managed_clusters(self):
from .v2021_08_01.operations import ManagedClustersOperations as OperationClass
elif api_version == '2021-09-01':
from .v2021_09_01.operations import ManagedClustersOperations as OperationClass
elif api_version == '2021-10-01':
from .v2021_10_01.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 @@ -453,6 +466,7 @@ def operations(self):
* 2021-07-01: :class:`Operations<azure.mgmt.containerservice.v2021_07_01.operations.Operations>`
* 2021-08-01: :class:`Operations<azure.mgmt.containerservice.v2021_08_01.operations.Operations>`
* 2021-09-01: :class:`Operations<azure.mgmt.containerservice.v2021_09_01.operations.Operations>`
* 2021-10-01: :class:`Operations<azure.mgmt.containerservice.v2021_10_01.operations.Operations>`
"""
api_version = self._get_api_version('operations')
if api_version == '2018-03-31':
Expand Down Expand Up @@ -501,6 +515,8 @@ def operations(self):
from .v2021_08_01.operations import Operations as OperationClass
elif api_version == '2021-09-01':
from .v2021_09_01.operations import Operations as OperationClass
elif api_version == '2021-10-01':
from .v2021_10_01.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 @@ -520,6 +536,7 @@ def private_endpoint_connections(self):
* 2021-07-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_07_01.operations.PrivateEndpointConnectionsOperations>`
* 2021-08-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_08_01.operations.PrivateEndpointConnectionsOperations>`
* 2021-09-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_09_01.operations.PrivateEndpointConnectionsOperations>`
* 2021-10-01: :class:`PrivateEndpointConnectionsOperations<azure.mgmt.containerservice.v2021_10_01.operations.PrivateEndpointConnectionsOperations>`
"""
api_version = self._get_api_version('private_endpoint_connections')
if api_version == '2020-06-01':
Expand All @@ -544,6 +561,8 @@ def private_endpoint_connections(self):
from .v2021_08_01.operations import PrivateEndpointConnectionsOperations as OperationClass
elif api_version == '2021-09-01':
from .v2021_09_01.operations import PrivateEndpointConnectionsOperations as OperationClass
elif api_version == '2021-10-01':
from .v2021_10_01.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 @@ -561,6 +580,7 @@ def private_link_resources(self):
* 2021-07-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_07_01.operations.PrivateLinkResourcesOperations>`
* 2021-08-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_08_01.operations.PrivateLinkResourcesOperations>`
* 2021-09-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_09_01.operations.PrivateLinkResourcesOperations>`
* 2021-10-01: :class:`PrivateLinkResourcesOperations<azure.mgmt.containerservice.v2021_10_01.operations.PrivateLinkResourcesOperations>`
"""
api_version = self._get_api_version('private_link_resources')
if api_version == '2020-09-01':
Expand All @@ -581,6 +601,8 @@ def private_link_resources(self):
from .v2021_08_01.operations import PrivateLinkResourcesOperations as OperationClass
elif api_version == '2021-09-01':
from .v2021_09_01.operations import PrivateLinkResourcesOperations as OperationClass
elif api_version == '2021-10-01':
from .v2021_10_01.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 @@ -598,6 +620,7 @@ def resolve_private_link_service_id(self):
* 2021-07-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_07_01.operations.ResolvePrivateLinkServiceIdOperations>`
* 2021-08-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_08_01.operations.ResolvePrivateLinkServiceIdOperations>`
* 2021-09-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_09_01.operations.ResolvePrivateLinkServiceIdOperations>`
* 2021-10-01: :class:`ResolvePrivateLinkServiceIdOperations<azure.mgmt.containerservice.v2021_10_01.operations.ResolvePrivateLinkServiceIdOperations>`
"""
api_version = self._get_api_version('resolve_private_link_service_id')
if api_version == '2020-09-01':
Expand All @@ -618,6 +641,8 @@ def resolve_private_link_service_id(self):
from .v2021_08_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
elif api_version == '2021-09-01':
from .v2021_09_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass
elif api_version == '2021-10-01':
from .v2021_10_01.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 @@ -628,12 +653,15 @@ def snapshots(self):
* 2021-08-01: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2021_08_01.operations.SnapshotsOperations>`
* 2021-09-01: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2021_09_01.operations.SnapshotsOperations>`
* 2021-10-01: :class:`SnapshotsOperations<azure.mgmt.containerservice.v2021_10_01.operations.SnapshotsOperations>`
"""
api_version = self._get_api_version('snapshots')
if api_version == '2021-08-01':
from .v2021_08_01.operations import SnapshotsOperations as OperationClass
elif api_version == '2021-09-01':
from .v2021_09_01.operations import SnapshotsOperations as OperationClass
elif api_version == '2021-10-01':
from .v2021_10_01.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
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "16.3.0"
VERSION = "16.4.0"
Loading

0 comments on commit a57425e

Please sign in to comment.