Skip to content

Commit 9c5473b

Browse files
authored
mgmt containerservice, update api-version to 2025-10-01 (#47558)
* build(sdk): update containerservice API spec tag to package-2025-10 - Changed the API specification tag from package-preview-2025-09 to package-2025-10 - Maintained existing modelerfour and rename-model configurations - Preserved ContainerServiceVMSizeTypes model settings - Kept sync stack disabled in generation args * gulp codegen * release(containerservice): update api-version to 2025-10-01 - Updated `api-version` to `2025-10-01` in containerservice changelog - Marked version 2.57.0 as released on 2025-12-15 - Removed beta status and unreleased tag for 2.57.0 - Moved dependency updates under Other Changes section - Updated azure-resourcemanager changelog to reflect containerservice changes * release(containerservice): promote azure-resourcemanager-containerservice to stable release - Updated version from 2.57.0-beta.2 to 2.57.0 in version client file - Removed beta designation from unreleased dependencies list - Updated POM version to stable release 2.57.0 - Updated dependency reference in azure-resourcemanager POM to use stable version * chore(deps): update azure-resourcemanager-containerservice version - Update dependency version from 2.56.0 to 2.57.0 in README.md * fix(containerservice): remove preview API fields from agent pool implementation - Removed nodeImageVersion field from agent pool inner model - Removed upgradeStrategy field from agent pool inner model - Cleaned up preview API version specific code - Ensured compatibility with stable API versions * test(aks): update Kubernetes version in integration tests - Upgrade initial cluster version from 1.31.8 to 1.32.4 - Add version upgrade test from 1.32.4 to 1.33.1 - Verify version assertions after cluster refresh operations - Ensure version update functionality works as expected * test(containerservice): update OS disk type to managed in Kubernetes cluster tests - Changed OS disk type from ephemeral to managed in agent pool configuration - Updated assertion to verify managed OS disk type - Added documentation reference for default OS disk sizing in AKS * chore(assets): update asset tag for containerservice sdk - Updated asset tag from c3a165c41a to 8849c3960f - Maintains consistency with latest azure-sdk-assets changes - No functional code modifications included * test(containerservice): update OS disk type to ephemeral in Kubernetes cluster tests - Changed OS disk type from MANAGED to EPHEMERAL in cluster configuration - Updated corresponding assertion to verify ephemeral disk type - Removed comment reference to Azure documentation for default OS disk sizing * chore(assets): update asset tag for container service - Updated asset tag from previous commit hash to new commit hash - Maintains consistency with latest changes in azure-sdk-assets repository
1 parent 8af6274 commit 9c5473b

File tree

252 files changed

+1270
-25259
lines changed

Some content is hidden

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

252 files changed

+1270
-25259
lines changed

eng/versioning/version_client.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ com.azure.resourcemanager:azure-resourcemanager-cdn;2.53.5;2.54.0-beta.1
278278
com.azure.resourcemanager:azure-resourcemanager-compute;2.55.1;2.56.0-beta.1
279279
com.azure.resourcemanager:azure-resourcemanager-containerinstance;2.53.6;2.54.0-beta.1
280280
com.azure.resourcemanager:azure-resourcemanager-containerregistry;2.54.1;2.55.0-beta.2
281-
com.azure.resourcemanager:azure-resourcemanager-containerservice;2.56.1;2.57.0-beta.2
281+
com.azure.resourcemanager:azure-resourcemanager-containerservice;2.56.1;2.57.0
282282
com.azure.resourcemanager:azure-resourcemanager-cosmos;2.54.0;2.55.0-beta.1
283283
com.azure.resourcemanager:azure-resourcemanager-dns;2.53.5;2.54.0-beta.1
284284
com.azure.resourcemanager:azure-resourcemanager-eventhubs;2.53.5;2.54.0-beta.1
@@ -551,6 +551,7 @@ unreleased_com.azure:azure-core-test;1.27.0-beta.14
551551
unreleased_com.azure.v2:azure-identity;2.0.0-beta.1
552552
unreleased_com.azure.v2:azure-data-appconfiguration;2.0.0-beta.1
553553
unreleased_io.clientcore:http-netty4;1.0.0-beta.1
554+
unreleased_com.azure.resourcemanager:azure-resourcemanager-containerservice;2.57.0
554555

555556
# Released Beta dependencies: Copy the entry from above, prepend "beta_", remove the current
556557
# version and set the version to the released beta. Released beta dependencies are only valid

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
# Release History
22

3-
## 2.57.0-beta.2 (Unreleased)
3+
## 2.57.0 (2025-12-15)
44

5-
### Features Added
6-
7-
### Breaking Changes
5+
### Other Changes
86

9-
### Bugs Fixed
7+
#### Dependency Updates
108

11-
### Other Changes
9+
- Updated `api-version` to `2025-10-01`.
1210

1311
## 2.57.0-beta.1 (2025-12-01)
1412

sdk/containerservice/azure-resourcemanager-containerservice/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
1818
<dependency>
1919
<groupId>com.azure.resourcemanager</groupId>
2020
<artifactId>azure-resourcemanager-containerservice</artifactId>
21-
<version>2.56.0</version>
21+
<version>2.57.0</version>
2222
</dependency>
2323
```
2424
[//]: # ({x-version-update-end})

sdk/containerservice/azure-resourcemanager-containerservice/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "java",
44
"TagPrefix": "java/containerservice/azure-resourcemanager-containerservice",
5-
"Tag": "java/containerservice/azure-resourcemanager-containerservice_c3a165c41a"
5+
"Tag": "java/containerservice/azure-resourcemanager-containerservice_a6036916c8"
66
}

sdk/containerservice/azure-resourcemanager-containerservice/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<groupId>com.azure.resourcemanager</groupId>
1212
<artifactId>azure-resourcemanager-containerservice</artifactId>
13-
<version>2.57.0-beta.2</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-containerservice;current} -->
13+
<version>2.57.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-containerservice;current} -->
1414
<packaging>jar</packaging>
1515

1616
<name>Microsoft Azure SDK for Container Service Management</name>

sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/AgentPoolsClient.java

Lines changed: 7 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public interface AgentPoolsClient {
3030
*
3131
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
3232
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
33-
* take place, an error is returned.
33+
* take place, a 409 error code is returned.
3434
*
3535
* @param resourceGroupName The name of the resource group. The name is case insensitive.
3636
* @param resourceName The name of the managed cluster resource.
@@ -49,7 +49,7 @@ Mono<Response<Flux<ByteBuffer>>> abortLatestOperationWithResponseAsync(String re
4949
*
5050
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
5151
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
52-
* take place, an error is returned.
52+
* take place, a 409 error code is returned.
5353
*
5454
* @param resourceGroupName The name of the resource group. The name is case insensitive.
5555
* @param resourceName The name of the managed cluster resource.
@@ -68,7 +68,7 @@ PollerFlux<PollResult<Void>, Void> beginAbortLatestOperationAsync(String resourc
6868
*
6969
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
7070
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
71-
* take place, an error is returned.
71+
* take place, a 409 error code is returned.
7272
*
7373
* @param resourceGroupName The name of the resource group. The name is case insensitive.
7474
* @param resourceName The name of the managed cluster resource.
@@ -87,7 +87,7 @@ SyncPoller<PollResult<Void>, Void> beginAbortLatestOperation(String resourceGrou
8787
*
8888
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
8989
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
90-
* take place, an error is returned.
90+
* take place, a 409 error code is returned.
9191
*
9292
* @param resourceGroupName The name of the resource group. The name is case insensitive.
9393
* @param resourceName The name of the managed cluster resource.
@@ -107,7 +107,7 @@ SyncPoller<PollResult<Void>, Void> beginAbortLatestOperation(String resourceGrou
107107
*
108108
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
109109
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
110-
* take place, an error is returned.
110+
* take place, a 409 error code is returned.
111111
*
112112
* @param resourceGroupName The name of the resource group. The name is case insensitive.
113113
* @param resourceName The name of the managed cluster resource.
@@ -125,7 +125,7 @@ SyncPoller<PollResult<Void>, Void> beginAbortLatestOperation(String resourceGrou
125125
*
126126
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
127127
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
128-
* take place, an error is returned.
128+
* take place, a 409 error code is returned.
129129
*
130130
* @param resourceGroupName The name of the resource group. The name is case insensitive.
131131
* @param resourceName The name of the managed cluster resource.
@@ -142,7 +142,7 @@ SyncPoller<PollResult<Void>, Void> beginAbortLatestOperation(String resourceGrou
142142
*
143143
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
144144
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
145-
* take place, an error is returned.
145+
* take place, a 409 error code is returned.
146146
*
147147
* @param resourceGroupName The name of the resource group. The name is case insensitive.
148148
* @param resourceName The name of the managed cluster resource.
@@ -620,122 +620,6 @@ Response<AgentPoolUpgradeProfileInner> getUpgradeProfileWithResponse(String reso
620620
@ServiceMethod(returns = ReturnType.SINGLE)
621621
AgentPoolUpgradeProfileInner getUpgradeProfile(String resourceGroupName, String resourceName, String agentPoolName);
622622

623-
/**
624-
* Completes the upgrade of an agent pool.
625-
*
626-
* Completes the upgrade operation for the specified agent pool.
627-
*
628-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
629-
* @param resourceName The name of the managed cluster resource.
630-
* @param agentPoolName The name of the agent pool.
631-
* @throws IllegalArgumentException thrown if parameters fail the validation.
632-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
633-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
634-
* @return the {@link Response} on successful completion of {@link Mono}.
635-
*/
636-
@ServiceMethod(returns = ReturnType.SINGLE)
637-
Mono<Response<Flux<ByteBuffer>>> completeUpgradeWithResponseAsync(String resourceGroupName, String resourceName,
638-
String agentPoolName);
639-
640-
/**
641-
* Completes the upgrade of an agent pool.
642-
*
643-
* Completes the upgrade operation for the specified agent pool.
644-
*
645-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
646-
* @param resourceName The name of the managed cluster resource.
647-
* @param agentPoolName The name of the agent pool.
648-
* @throws IllegalArgumentException thrown if parameters fail the validation.
649-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
650-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
651-
* @return the {@link PollerFlux} for polling of long-running operation.
652-
*/
653-
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
654-
PollerFlux<PollResult<Void>, Void> beginCompleteUpgradeAsync(String resourceGroupName, String resourceName,
655-
String agentPoolName);
656-
657-
/**
658-
* Completes the upgrade of an agent pool.
659-
*
660-
* Completes the upgrade operation for the specified agent pool.
661-
*
662-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
663-
* @param resourceName The name of the managed cluster resource.
664-
* @param agentPoolName The name of the agent pool.
665-
* @throws IllegalArgumentException thrown if parameters fail the validation.
666-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
667-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
668-
* @return the {@link SyncPoller} for polling of long-running operation.
669-
*/
670-
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
671-
SyncPoller<PollResult<Void>, Void> beginCompleteUpgrade(String resourceGroupName, String resourceName,
672-
String agentPoolName);
673-
674-
/**
675-
* Completes the upgrade of an agent pool.
676-
*
677-
* Completes the upgrade operation for the specified agent pool.
678-
*
679-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
680-
* @param resourceName The name of the managed cluster resource.
681-
* @param agentPoolName The name of the agent pool.
682-
* @param context The context to associate with this operation.
683-
* @throws IllegalArgumentException thrown if parameters fail the validation.
684-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
685-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
686-
* @return the {@link SyncPoller} for polling of long-running operation.
687-
*/
688-
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
689-
SyncPoller<PollResult<Void>, Void> beginCompleteUpgrade(String resourceGroupName, String resourceName,
690-
String agentPoolName, Context context);
691-
692-
/**
693-
* Completes the upgrade of an agent pool.
694-
*
695-
* Completes the upgrade operation for the specified agent pool.
696-
*
697-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
698-
* @param resourceName The name of the managed cluster resource.
699-
* @param agentPoolName The name of the agent pool.
700-
* @throws IllegalArgumentException thrown if parameters fail the validation.
701-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
702-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
703-
* @return A {@link Mono} that completes when a successful response is received.
704-
*/
705-
@ServiceMethod(returns = ReturnType.SINGLE)
706-
Mono<Void> completeUpgradeAsync(String resourceGroupName, String resourceName, String agentPoolName);
707-
708-
/**
709-
* Completes the upgrade of an agent pool.
710-
*
711-
* Completes the upgrade operation for the specified agent pool.
712-
*
713-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
714-
* @param resourceName The name of the managed cluster resource.
715-
* @param agentPoolName The name of the agent pool.
716-
* @throws IllegalArgumentException thrown if parameters fail the validation.
717-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
718-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
719-
*/
720-
@ServiceMethod(returns = ReturnType.SINGLE)
721-
void completeUpgrade(String resourceGroupName, String resourceName, String agentPoolName);
722-
723-
/**
724-
* Completes the upgrade of an agent pool.
725-
*
726-
* Completes the upgrade operation for the specified agent pool.
727-
*
728-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
729-
* @param resourceName The name of the managed cluster resource.
730-
* @param agentPoolName The name of the agent pool.
731-
* @param context The context to associate with this operation.
732-
* @throws IllegalArgumentException thrown if parameters fail the validation.
733-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
734-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
735-
*/
736-
@ServiceMethod(returns = ReturnType.SINGLE)
737-
void completeUpgrade(String resourceGroupName, String resourceName, String agentPoolName, Context context);
738-
739623
/**
740624
* Deletes specific machines in an agent pool.
741625
*

sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceManagementClient.java

Lines changed: 6 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@ public interface ContainerServiceManagementClient {
6868
*/
6969
ManagedClustersClient getManagedClusters();
7070

71-
/**
72-
* Gets the ContainerServiceOperationsClient object to access its operations.
73-
*
74-
* @return the ContainerServiceOperationsClient object.
75-
*/
76-
ContainerServiceOperationsClient getContainerServiceOperations();
77-
7871
/**
7972
* Gets the MaintenanceConfigurationsClient object to access its operations.
8073
*
@@ -96,13 +89,6 @@ public interface ContainerServiceManagementClient {
9689
*/
9790
AgentPoolsClient getAgentPools();
9891

99-
/**
100-
* Gets the MachinesClient object to access its operations.
101-
*
102-
* @return the MachinesClient object.
103-
*/
104-
MachinesClient getMachines();
105-
10692
/**
10793
* Gets the PrivateEndpointConnectionsClient object to access its operations.
10894
*
@@ -124,34 +110,13 @@ public interface ContainerServiceManagementClient {
124110
*/
125111
ResolvePrivateLinkServiceIdsClient getResolvePrivateLinkServiceIds();
126112

127-
/**
128-
* Gets the OperationStatusResultsClient object to access its operations.
129-
*
130-
* @return the OperationStatusResultsClient object.
131-
*/
132-
OperationStatusResultsClient getOperationStatusResults();
133-
134113
/**
135114
* Gets the SnapshotsClient object to access its operations.
136115
*
137116
* @return the SnapshotsClient object.
138117
*/
139118
SnapshotsClient getSnapshots();
140119

141-
/**
142-
* Gets the ManagedClusterSnapshotsClient object to access its operations.
143-
*
144-
* @return the ManagedClusterSnapshotsClient object.
145-
*/
146-
ManagedClusterSnapshotsClient getManagedClusterSnapshots();
147-
148-
/**
149-
* Gets the TrustedAccessRolesClient object to access its operations.
150-
*
151-
* @return the TrustedAccessRolesClient object.
152-
*/
153-
TrustedAccessRolesClient getTrustedAccessRoles();
154-
155120
/**
156121
* Gets the TrustedAccessRoleBindingsClient object to access its operations.
157122
*
@@ -160,30 +125,16 @@ public interface ContainerServiceManagementClient {
160125
TrustedAccessRoleBindingsClient getTrustedAccessRoleBindings();
161126

162127
/**
163-
* Gets the LoadBalancersClient object to access its operations.
164-
*
165-
* @return the LoadBalancersClient object.
166-
*/
167-
LoadBalancersClient getLoadBalancers();
168-
169-
/**
170-
* Gets the IdentityBindingsClient object to access its operations.
171-
*
172-
* @return the IdentityBindingsClient object.
173-
*/
174-
IdentityBindingsClient getIdentityBindings();
175-
176-
/**
177-
* Gets the JwtAuthenticatorsClient object to access its operations.
128+
* Gets the TrustedAccessRolesClient object to access its operations.
178129
*
179-
* @return the JwtAuthenticatorsClient object.
130+
* @return the TrustedAccessRolesClient object.
180131
*/
181-
JwtAuthenticatorsClient getJwtAuthenticators();
132+
TrustedAccessRolesClient getTrustedAccessRoles();
182133

183134
/**
184-
* Gets the MeshMembershipsClient object to access its operations.
135+
* Gets the MachinesClient object to access its operations.
185136
*
186-
* @return the MeshMembershipsClient object.
137+
* @return the MachinesClient object.
187138
*/
188-
MeshMembershipsClient getMeshMemberships();
139+
MachinesClient getMachines();
189140
}

0 commit comments

Comments
 (0)