Skip to content

Commit 98c340b

Browse files
[AutoRelease] t2-containerservice-2025-10-29-34483(can only be merged by SDK owner) (#43674)
* code and test * update changelog --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 76401f7 commit 98c340b

File tree

224 files changed

+1860
-18470
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+1860
-18470
lines changed

sdk/containerservice/azure-mgmt-containerservice/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Release History
22

3+
## 40.1.0 (2025-10-31)
4+
5+
### Features Added
6+
7+
- Client `ContainerServiceClient` added operation group `managed_namespaces`
8+
- Model `AgentPool` added property `local_dns_profile`
9+
- Model `IstioEgressGateway` added property `name`
10+
- Model `IstioEgressGateway` added property `namespace`
11+
- Model `IstioEgressGateway` added property `gateway_configuration_name`
12+
- Model `ManagedClusterAgentPoolProfile` added property `local_dns_profile`
13+
- Model `ManagedClusterAgentPoolProfileProperties` added property `local_dns_profile`
14+
- Enum `WorkloadRuntime` added member `KATA_VM_ISOLATION`
15+
- Added enum `AdoptionPolicy`
16+
- Added enum `DeletePolicy`
17+
- Added enum `LocalDNSForwardDestination`
18+
- Added enum `LocalDNSForwardPolicy`
19+
- Added enum `LocalDNSMode`
20+
- Added model `LocalDNSOverride`
21+
- Added model `LocalDNSProfile`
22+
- Added enum `LocalDNSProtocol`
23+
- Added enum `LocalDNSQueryLogging`
24+
- Added enum `LocalDNSServeStale`
25+
- Added enum `LocalDNSState`
26+
- Added model `ManagedNamespace`
27+
- Added model `ManagedNamespaceListResult`
28+
- Added model `NamespaceProperties`
29+
- Added enum `NamespaceProvisioningState`
30+
- Added model `NetworkPolicies`
31+
- Added enum `PolicyRule`
32+
- Added model `ResourceQuota`
33+
- Added operation group `ManagedNamespacesOperations`
34+
335
## 41.0.0b1 (2025-10-24)
436

537
### Features Added
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "4c5ec9b4e0b961799cc11f6051f240d18f093c38",
2+
"commit": "157af0c8f1660085b8150c2a9f0cf1b1dc232ab6",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-preview-2025-08 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md"
1111
}

sdk/containerservice/azure-mgmt-containerservice/apiview-properties.json

Lines changed: 12 additions & 166 deletions
Large diffs are not rendered by default.

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class ContainerServiceClientConfiguration: # pylint: disable=too-many-instance-
3131
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
3232
None.
3333
:type cloud_setting: ~azure.core.AzureClouds
34-
:keyword api_version: Api Version. Default value is "2025-08-02-preview". Note that overriding
35-
this default value may result in unsupported behavior.
34+
:keyword api_version: Api Version. Default value is "2025-09-01". Note that overriding this
35+
default value may result in unsupported behavior.
3636
:paramtype api_version: str
3737
"""
3838

@@ -43,7 +43,7 @@ def __init__(
4343
cloud_setting: Optional["AzureClouds"] = None,
4444
**kwargs: Any
4545
) -> None:
46-
api_version: str = kwargs.pop("api_version", "2025-08-02-preview")
46+
api_version: str = kwargs.pop("api_version", "2025-09-01")
4747

4848
if credential is None:
4949
raise ValueError("Parameter 'credential' must not be None.")

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_container_service_client.py

Lines changed: 9 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,10 @@
2222
from ._utils.serialization import Deserializer, Serializer
2323
from .operations import (
2424
AgentPoolsOperations,
25-
ContainerServiceOperations,
26-
IdentityBindingsOperations,
27-
JWTAuthenticatorsOperations,
28-
LoadBalancersOperations,
2925
MachinesOperations,
3026
MaintenanceConfigurationsOperations,
31-
ManagedClusterSnapshotsOperations,
3227
ManagedClustersOperations,
3328
ManagedNamespacesOperations,
34-
MeshMembershipsOperations,
35-
OperationStatusResultOperations,
3629
Operations,
3730
PrivateEndpointConnectionsOperations,
3831
PrivateLinkResourcesOperations,
@@ -54,17 +47,13 @@ class ContainerServiceClient: # pylint: disable=too-many-instance-attributes
5447
:vartype operations: azure.mgmt.containerservice.operations.Operations
5548
:ivar managed_clusters: ManagedClustersOperations operations
5649
:vartype managed_clusters: azure.mgmt.containerservice.operations.ManagedClustersOperations
57-
:ivar container_service: ContainerServiceOperations operations
58-
:vartype container_service: azure.mgmt.containerservice.operations.ContainerServiceOperations
5950
:ivar maintenance_configurations: MaintenanceConfigurationsOperations operations
6051
:vartype maintenance_configurations:
6152
azure.mgmt.containerservice.operations.MaintenanceConfigurationsOperations
6253
:ivar managed_namespaces: ManagedNamespacesOperations operations
6354
:vartype managed_namespaces: azure.mgmt.containerservice.operations.ManagedNamespacesOperations
6455
:ivar agent_pools: AgentPoolsOperations operations
6556
:vartype agent_pools: azure.mgmt.containerservice.operations.AgentPoolsOperations
66-
:ivar machines: MachinesOperations operations
67-
:vartype machines: azure.mgmt.containerservice.operations.MachinesOperations
6857
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
6958
:vartype private_endpoint_connections:
7059
azure.mgmt.containerservice.operations.PrivateEndpointConnectionsOperations
@@ -74,28 +63,16 @@ class ContainerServiceClient: # pylint: disable=too-many-instance-attributes
7463
:ivar resolve_private_link_service_id: ResolvePrivateLinkServiceIdOperations operations
7564
:vartype resolve_private_link_service_id:
7665
azure.mgmt.containerservice.operations.ResolvePrivateLinkServiceIdOperations
77-
:ivar operation_status_result: OperationStatusResultOperations operations
78-
:vartype operation_status_result:
79-
azure.mgmt.containerservice.operations.OperationStatusResultOperations
8066
:ivar snapshots: SnapshotsOperations operations
8167
:vartype snapshots: azure.mgmt.containerservice.operations.SnapshotsOperations
82-
:ivar managed_cluster_snapshots: ManagedClusterSnapshotsOperations operations
83-
:vartype managed_cluster_snapshots:
84-
azure.mgmt.containerservice.operations.ManagedClusterSnapshotsOperations
85-
:ivar trusted_access_roles: TrustedAccessRolesOperations operations
86-
:vartype trusted_access_roles:
87-
azure.mgmt.containerservice.operations.TrustedAccessRolesOperations
8868
:ivar trusted_access_role_bindings: TrustedAccessRoleBindingsOperations operations
8969
:vartype trusted_access_role_bindings:
9070
azure.mgmt.containerservice.operations.TrustedAccessRoleBindingsOperations
91-
:ivar load_balancers: LoadBalancersOperations operations
92-
:vartype load_balancers: azure.mgmt.containerservice.operations.LoadBalancersOperations
93-
:ivar identity_bindings: IdentityBindingsOperations operations
94-
:vartype identity_bindings: azure.mgmt.containerservice.operations.IdentityBindingsOperations
95-
:ivar jwt_authenticators: JWTAuthenticatorsOperations operations
96-
:vartype jwt_authenticators: azure.mgmt.containerservice.operations.JWTAuthenticatorsOperations
97-
:ivar mesh_memberships: MeshMembershipsOperations operations
98-
:vartype mesh_memberships: azure.mgmt.containerservice.operations.MeshMembershipsOperations
71+
:ivar trusted_access_roles: TrustedAccessRolesOperations operations
72+
:vartype trusted_access_roles:
73+
azure.mgmt.containerservice.operations.TrustedAccessRolesOperations
74+
:ivar machines: MachinesOperations operations
75+
:vartype machines: azure.mgmt.containerservice.operations.MachinesOperations
9976
:param credential: Credential needed for the client to connect to Azure. Required.
10077
:type credential: ~azure.core.credentials.TokenCredential
10178
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
@@ -105,8 +82,8 @@ class ContainerServiceClient: # pylint: disable=too-many-instance-attributes
10582
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
10683
None.
10784
:paramtype cloud_setting: ~azure.core.AzureClouds
108-
:keyword api_version: Api Version. Default value is "2025-08-02-preview". Note that overriding
109-
this default value may result in unsupported behavior.
85+
:keyword api_version: Api Version. Default value is "2025-09-01". Note that overriding this
86+
default value may result in unsupported behavior.
11087
:paramtype api_version: str
11188
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
11289
Retry-After header is present.
@@ -162,17 +139,13 @@ def __init__(
162139
self.managed_clusters = ManagedClustersOperations(
163140
self._client, self._config, self._serialize, self._deserialize
164141
)
165-
self.container_service = ContainerServiceOperations(
166-
self._client, self._config, self._serialize, self._deserialize
167-
)
168142
self.maintenance_configurations = MaintenanceConfigurationsOperations(
169143
self._client, self._config, self._serialize, self._deserialize
170144
)
171145
self.managed_namespaces = ManagedNamespacesOperations(
172146
self._client, self._config, self._serialize, self._deserialize
173147
)
174148
self.agent_pools = AgentPoolsOperations(self._client, self._config, self._serialize, self._deserialize)
175-
self.machines = MachinesOperations(self._client, self._config, self._serialize, self._deserialize)
176149
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
177150
self._client, self._config, self._serialize, self._deserialize
178151
)
@@ -182,29 +155,14 @@ def __init__(
182155
self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations(
183156
self._client, self._config, self._serialize, self._deserialize
184157
)
185-
self.operation_status_result = OperationStatusResultOperations(
186-
self._client, self._config, self._serialize, self._deserialize
187-
)
188158
self.snapshots = SnapshotsOperations(self._client, self._config, self._serialize, self._deserialize)
189-
self.managed_cluster_snapshots = ManagedClusterSnapshotsOperations(
190-
self._client, self._config, self._serialize, self._deserialize
191-
)
192-
self.trusted_access_roles = TrustedAccessRolesOperations(
193-
self._client, self._config, self._serialize, self._deserialize
194-
)
195159
self.trusted_access_role_bindings = TrustedAccessRoleBindingsOperations(
196160
self._client, self._config, self._serialize, self._deserialize
197161
)
198-
self.load_balancers = LoadBalancersOperations(self._client, self._config, self._serialize, self._deserialize)
199-
self.identity_bindings = IdentityBindingsOperations(
200-
self._client, self._config, self._serialize, self._deserialize
201-
)
202-
self.jwt_authenticators = JWTAuthenticatorsOperations(
203-
self._client, self._config, self._serialize, self._deserialize
204-
)
205-
self.mesh_memberships = MeshMembershipsOperations(
162+
self.trusted_access_roles = TrustedAccessRolesOperations(
206163
self._client, self._config, self._serialize, self._deserialize
207164
)
165+
self.machines = MachinesOperations(self._client, self._config, self._serialize, self._deserialize)
208166

209167
def _send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse:
210168
"""Runs the network request through the client's chained policies.

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# license information.
66
# --------------------------------------------------------------------------
77

8-
VERSION = "41.0.0b1"
8+
VERSION = "40.1.0"

sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/aio/_configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class ContainerServiceClientConfiguration: # pylint: disable=too-many-instance-
3131
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
3232
None.
3333
:type cloud_setting: ~azure.core.AzureClouds
34-
:keyword api_version: Api Version. Default value is "2025-08-02-preview". Note that overriding
35-
this default value may result in unsupported behavior.
34+
:keyword api_version: Api Version. Default value is "2025-09-01". Note that overriding this
35+
default value may result in unsupported behavior.
3636
:paramtype api_version: str
3737
"""
3838

@@ -43,7 +43,7 @@ def __init__(
4343
cloud_setting: Optional["AzureClouds"] = None,
4444
**kwargs: Any
4545
) -> None:
46-
api_version: str = kwargs.pop("api_version", "2025-08-02-preview")
46+
api_version: str = kwargs.pop("api_version", "2025-09-01")
4747

4848
if credential is None:
4949
raise ValueError("Parameter 'credential' must not be None.")

0 commit comments

Comments
 (0)