diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index f34850dd7462..48697a856b51 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -278,7 +278,7 @@ com.azure.resourcemanager:azure-resourcemanager-cdn;2.53.5;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-compute;2.55.1;2.56.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-containerinstance;2.53.6;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-containerregistry;2.54.1;2.55.0-beta.2
-com.azure.resourcemanager:azure-resourcemanager-containerservice;2.56.1;2.57.0-beta.2
+com.azure.resourcemanager:azure-resourcemanager-containerservice;2.56.1;2.57.0
com.azure.resourcemanager:azure-resourcemanager-cosmos;2.54.0;2.55.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-dns;2.53.5;2.54.0-beta.1
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
unreleased_com.azure.v2:azure-identity;2.0.0-beta.1
unreleased_com.azure.v2:azure-data-appconfiguration;2.0.0-beta.1
unreleased_io.clientcore:http-netty4;1.0.0-beta.1
+unreleased_com.azure.resourcemanager:azure-resourcemanager-containerservice;2.57.0
# Released Beta dependencies: Copy the entry from above, prepend "beta_", remove the current
# version and set the version to the released beta. Released beta dependencies are only valid
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/CHANGELOG.md b/sdk/containerservice/azure-resourcemanager-containerservice/CHANGELOG.md
index f6b1e4646e4f..fc89e616f312 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/CHANGELOG.md
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/CHANGELOG.md
@@ -1,14 +1,12 @@
# Release History
-## 2.57.0-beta.2 (Unreleased)
+## 2.57.0 (2025-12-15)
-### Features Added
-
-### Breaking Changes
+### Other Changes
-### Bugs Fixed
+#### Dependency Updates
-### Other Changes
+- Updated `api-version` to `2025-10-01`.
## 2.57.0-beta.1 (2025-12-01)
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/README.md b/sdk/containerservice/azure-resourcemanager-containerservice/README.md
index cfe8c52c162f..0c44651d3ca8 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/README.md
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/README.md
@@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
com.azure.resourcemanager
azure-resourcemanager-containerservice
- 2.56.0
+ 2.57.0
```
[//]: # ({x-version-update-end})
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/assets.json b/sdk/containerservice/azure-resourcemanager-containerservice/assets.json
index 8457e7fc0469..9cdfac192547 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/assets.json
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/assets.json
@@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/containerservice/azure-resourcemanager-containerservice",
- "Tag": "java/containerservice/azure-resourcemanager-containerservice_c3a165c41a"
+ "Tag": "java/containerservice/azure-resourcemanager-containerservice_a6036916c8"
}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/pom.xml b/sdk/containerservice/azure-resourcemanager-containerservice/pom.xml
index 9bc81c06b4ab..d9f5bad88bb3 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/pom.xml
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/pom.xml
@@ -10,7 +10,7 @@
com.azure.resourcemanager
azure-resourcemanager-containerservice
- 2.57.0-beta.2
+ 2.57.0
jar
Microsoft Azure SDK for Container Service Management
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/AgentPoolsClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/AgentPoolsClient.java
index d228cd8c62b4..f1ec76e42adb 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/AgentPoolsClient.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/AgentPoolsClient.java
@@ -30,7 +30,7 @@ public interface AgentPoolsClient {
*
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
- * take place, an error is returned.
+ * take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -49,7 +49,7 @@ Mono>> abortLatestOperationWithResponseAsync(String re
*
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
- * take place, an error is returned.
+ * take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -68,7 +68,7 @@ PollerFlux, Void> beginAbortLatestOperationAsync(String resourc
*
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
- * take place, an error is returned.
+ * take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -87,7 +87,7 @@ SyncPoller, Void> beginAbortLatestOperation(String resourceGrou
*
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
- * take place, an error is returned.
+ * take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -107,7 +107,7 @@ SyncPoller, Void> beginAbortLatestOperation(String resourceGrou
*
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
- * take place, an error is returned.
+ * take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -125,7 +125,7 @@ SyncPoller, Void> beginAbortLatestOperation(String resourceGrou
*
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
- * take place, an error is returned.
+ * take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -142,7 +142,7 @@ SyncPoller, Void> beginAbortLatestOperation(String resourceGrou
*
* Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and
* eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can
- * take place, an error is returned.
+ * take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -620,122 +620,6 @@ Response getUpgradeProfileWithResponse(String reso
@ServiceMethod(returns = ReturnType.SINGLE)
AgentPoolUpgradeProfileInner getUpgradeProfile(String resourceGroupName, String resourceName, String agentPoolName);
- /**
- * Completes the upgrade of an agent pool.
- *
- * Completes the upgrade operation for the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> completeUpgradeWithResponseAsync(String resourceGroupName, String resourceName,
- String agentPoolName);
-
- /**
- * Completes the upgrade of an agent pool.
- *
- * Completes the upgrade operation for the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link PollerFlux} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, Void> beginCompleteUpgradeAsync(String resourceGroupName, String resourceName,
- String agentPoolName);
-
- /**
- * Completes the upgrade of an agent pool.
- *
- * Completes the upgrade operation for the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginCompleteUpgrade(String resourceGroupName, String resourceName,
- String agentPoolName);
-
- /**
- * Completes the upgrade of an agent pool.
- *
- * Completes the upgrade operation for the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginCompleteUpgrade(String resourceGroupName, String resourceName,
- String agentPoolName, Context context);
-
- /**
- * Completes the upgrade of an agent pool.
- *
- * Completes the upgrade operation for the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return A {@link Mono} that completes when a successful response is received.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono completeUpgradeAsync(String resourceGroupName, String resourceName, String agentPoolName);
-
- /**
- * Completes the upgrade of an agent pool.
- *
- * Completes the upgrade operation for the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void completeUpgrade(String resourceGroupName, String resourceName, String agentPoolName);
-
- /**
- * Completes the upgrade of an agent pool.
- *
- * Completes the upgrade operation for the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void completeUpgrade(String resourceGroupName, String resourceName, String agentPoolName, Context context);
-
/**
* Deletes specific machines in an agent pool.
*
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceManagementClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceManagementClient.java
index 3fd176dbe278..167e25fcae77 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceManagementClient.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceManagementClient.java
@@ -68,13 +68,6 @@ public interface ContainerServiceManagementClient {
*/
ManagedClustersClient getManagedClusters();
- /**
- * Gets the ContainerServiceOperationsClient object to access its operations.
- *
- * @return the ContainerServiceOperationsClient object.
- */
- ContainerServiceOperationsClient getContainerServiceOperations();
-
/**
* Gets the MaintenanceConfigurationsClient object to access its operations.
*
@@ -96,13 +89,6 @@ public interface ContainerServiceManagementClient {
*/
AgentPoolsClient getAgentPools();
- /**
- * Gets the MachinesClient object to access its operations.
- *
- * @return the MachinesClient object.
- */
- MachinesClient getMachines();
-
/**
* Gets the PrivateEndpointConnectionsClient object to access its operations.
*
@@ -124,13 +110,6 @@ public interface ContainerServiceManagementClient {
*/
ResolvePrivateLinkServiceIdsClient getResolvePrivateLinkServiceIds();
- /**
- * Gets the OperationStatusResultsClient object to access its operations.
- *
- * @return the OperationStatusResultsClient object.
- */
- OperationStatusResultsClient getOperationStatusResults();
-
/**
* Gets the SnapshotsClient object to access its operations.
*
@@ -138,20 +117,6 @@ public interface ContainerServiceManagementClient {
*/
SnapshotsClient getSnapshots();
- /**
- * Gets the ManagedClusterSnapshotsClient object to access its operations.
- *
- * @return the ManagedClusterSnapshotsClient object.
- */
- ManagedClusterSnapshotsClient getManagedClusterSnapshots();
-
- /**
- * Gets the TrustedAccessRolesClient object to access its operations.
- *
- * @return the TrustedAccessRolesClient object.
- */
- TrustedAccessRolesClient getTrustedAccessRoles();
-
/**
* Gets the TrustedAccessRoleBindingsClient object to access its operations.
*
@@ -160,30 +125,16 @@ public interface ContainerServiceManagementClient {
TrustedAccessRoleBindingsClient getTrustedAccessRoleBindings();
/**
- * Gets the LoadBalancersClient object to access its operations.
- *
- * @return the LoadBalancersClient object.
- */
- LoadBalancersClient getLoadBalancers();
-
- /**
- * Gets the IdentityBindingsClient object to access its operations.
- *
- * @return the IdentityBindingsClient object.
- */
- IdentityBindingsClient getIdentityBindings();
-
- /**
- * Gets the JwtAuthenticatorsClient object to access its operations.
+ * Gets the TrustedAccessRolesClient object to access its operations.
*
- * @return the JwtAuthenticatorsClient object.
+ * @return the TrustedAccessRolesClient object.
*/
- JwtAuthenticatorsClient getJwtAuthenticators();
+ TrustedAccessRolesClient getTrustedAccessRoles();
/**
- * Gets the MeshMembershipsClient object to access its operations.
+ * Gets the MachinesClient object to access its operations.
*
- * @return the MeshMembershipsClient object.
+ * @return the MachinesClient object.
*/
- MeshMembershipsClient getMeshMemberships();
+ MachinesClient getMachines();
}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceOperationsClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceOperationsClient.java
deleted file mode 100644
index 07ef553d11c3..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceOperationsClient.java
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedFlux;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.containerservice.fluent.models.NodeImageVersionInner;
-
-/**
- * An instance of this class provides access to all the operations defined in ContainerServiceOperationsClient.
- */
-public interface ContainerServiceOperationsClient {
- /**
- * Gets a list of supported NodeImage versions in the specified subscription.
- *
- * Only returns the latest version of each node image. For example there may be an
- * AKSUbuntu-1804gen2containerd-2024.01.26, but only AKSUbuntu-1804gen2containerd-2024.02.02 is visible in this
- * list.
- *
- * @param location The name of the Azure region.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return holds an array NodeImageVersions as paginated response with {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listNodeImageVersionsAsync(String location);
-
- /**
- * Gets a list of supported NodeImage versions in the specified subscription.
- *
- * Only returns the latest version of each node image. For example there may be an
- * AKSUbuntu-1804gen2containerd-2024.01.26, but only AKSUbuntu-1804gen2containerd-2024.02.02 is visible in this
- * list.
- *
- * @param location The name of the Azure region.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return holds an array NodeImageVersions as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listNodeImageVersions(String location);
-
- /**
- * Gets a list of supported NodeImage versions in the specified subscription.
- *
- * Only returns the latest version of each node image. For example there may be an
- * AKSUbuntu-1804gen2containerd-2024.01.26, but only AKSUbuntu-1804gen2containerd-2024.02.02 is visible in this
- * list.
- *
- * @param location The name of the Azure region.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return holds an array NodeImageVersions as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listNodeImageVersions(String location, Context context);
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/IdentityBindingsClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/IdentityBindingsClient.java
deleted file mode 100644
index 4fb01bb3c58a..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/IdentityBindingsClient.java
+++ /dev/null
@@ -1,343 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedFlux;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.PollerFlux;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.containerservice.fluent.models.IdentityBindingInner;
-import java.nio.ByteBuffer;
-import reactor.core.publisher.Flux;
-import reactor.core.publisher.Mono;
-
-/**
- * An instance of this class provides access to all the operations defined in IdentityBindingsClient.
- */
-public interface IdentityBindingsClient {
- /**
- * Gets a list of identity bindings in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of identity bindings in the specified managed cluster as paginated response with
- * {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listByManagedClusterAsync(String resourceGroupName, String resourceName);
-
- /**
- * Gets a list of identity bindings in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of identity bindings in the specified managed cluster as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByManagedCluster(String resourceGroupName, String resourceName);
-
- /**
- * Gets a list of identity bindings in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of identity bindings in the specified managed cluster as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByManagedCluster(String resourceGroupName, String resourceName,
- Context context);
-
- /**
- * Gets the specified Identity Binding.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified Identity Binding along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> getWithResponseAsync(String resourceGroupName, String resourceName,
- String identityBindingName);
-
- /**
- * Gets the specified Identity Binding.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified Identity Binding on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono getAsync(String resourceGroupName, String resourceName, String identityBindingName);
-
- /**
- * Gets the specified Identity Binding.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified Identity Binding along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String resourceName,
- String identityBindingName, Context context);
-
- /**
- * Gets the specified Identity Binding.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified Identity Binding.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IdentityBindingInner get(String resourceGroupName, String resourceName, String identityBindingName);
-
- /**
- * Creates or updates an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @param parameters The identity binding to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IdentityBinding resource along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName,
- String identityBindingName, IdentityBindingInner parameters);
-
- /**
- * Creates or updates an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @param parameters The identity binding to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link PollerFlux} for polling of the IdentityBinding resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, IdentityBindingInner> beginCreateOrUpdateAsync(
- String resourceGroupName, String resourceName, String identityBindingName, IdentityBindingInner parameters);
-
- /**
- * Creates or updates an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @param parameters The identity binding to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the IdentityBinding resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, IdentityBindingInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String identityBindingName, IdentityBindingInner parameters);
-
- /**
- * Creates or updates an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @param parameters The identity binding to create or update.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the IdentityBinding resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, IdentityBindingInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String identityBindingName, IdentityBindingInner parameters, Context context);
-
- /**
- * Creates or updates an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @param parameters The identity binding to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IdentityBinding resource on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono createOrUpdateAsync(String resourceGroupName, String resourceName,
- String identityBindingName, IdentityBindingInner parameters);
-
- /**
- * Creates or updates an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @param parameters The identity binding to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IdentityBinding resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IdentityBindingInner createOrUpdate(String resourceGroupName, String resourceName, String identityBindingName,
- IdentityBindingInner parameters);
-
- /**
- * Creates or updates an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @param parameters The identity binding to create or update.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IdentityBinding resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IdentityBindingInner createOrUpdate(String resourceGroupName, String resourceName, String identityBindingName,
- IdentityBindingInner parameters, Context context);
-
- /**
- * Deletes an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> deleteWithResponseAsync(String resourceGroupName, String resourceName,
- String identityBindingName);
-
- /**
- * Deletes an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link PollerFlux} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String resourceName,
- String identityBindingName);
-
- /**
- * Deletes an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName,
- String identityBindingName);
-
- /**
- * Deletes an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName,
- String identityBindingName, Context context);
-
- /**
- * Deletes an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return A {@link Mono} that completes when a successful response is received.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono deleteAsync(String resourceGroupName, String resourceName, String identityBindingName);
-
- /**
- * Deletes an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceName, String identityBindingName);
-
- /**
- * Deletes an identity binding in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param identityBindingName The name of the identity binding.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceName, String identityBindingName, Context context);
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/JwtAuthenticatorsClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/JwtAuthenticatorsClient.java
deleted file mode 100644
index 96e9f9eaad93..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/JwtAuthenticatorsClient.java
+++ /dev/null
@@ -1,352 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedFlux;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.PollerFlux;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.containerservice.fluent.models.JwtAuthenticatorInner;
-import java.nio.ByteBuffer;
-import reactor.core.publisher.Flux;
-import reactor.core.publisher.Mono;
-
-/**
- * An instance of this class provides access to all the operations defined in JwtAuthenticatorsClient.
- */
-public interface JwtAuthenticatorsClient {
- /**
- * Gets a list of JWT authenticators in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of JWT authenticators in the specified managed cluster as paginated response with
- * {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listByManagedClusterAsync(String resourceGroupName, String resourceName);
-
- /**
- * Gets a list of JWT authenticators in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of JWT authenticators in the specified managed cluster as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByManagedCluster(String resourceGroupName, String resourceName);
-
- /**
- * Gets a list of JWT authenticators in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of JWT authenticators in the specified managed cluster as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByManagedCluster(String resourceGroupName, String resourceName,
- Context context);
-
- /**
- * Gets the specified JWT authenticator of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified JWT authenticator of a managed cluster along with {@link Response} on successful completion
- * of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> getWithResponseAsync(String resourceGroupName, String resourceName,
- String jwtAuthenticatorName);
-
- /**
- * Gets the specified JWT authenticator of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified JWT authenticator of a managed cluster on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono getAsync(String resourceGroupName, String resourceName, String jwtAuthenticatorName);
-
- /**
- * Gets the specified JWT authenticator of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified JWT authenticator of a managed cluster along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String resourceName,
- String jwtAuthenticatorName, Context context);
-
- /**
- * Gets the specified JWT authenticator of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified JWT authenticator of a managed cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- JwtAuthenticatorInner get(String resourceGroupName, String resourceName, String jwtAuthenticatorName);
-
- /**
- * Creates or updates JWT authenticator in the managed cluster and updates the managed cluster to apply the
- * settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @param parameters The JWT authenticator to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return configuration for JWT authenticator in the managed cluster along with {@link Response} on successful
- * completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName,
- String jwtAuthenticatorName, JwtAuthenticatorInner parameters);
-
- /**
- * Creates or updates JWT authenticator in the managed cluster and updates the managed cluster to apply the
- * settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @param parameters The JWT authenticator to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link PollerFlux} for polling of configuration for JWT authenticator in the managed cluster.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, JwtAuthenticatorInner> beginCreateOrUpdateAsync(
- String resourceGroupName, String resourceName, String jwtAuthenticatorName, JwtAuthenticatorInner parameters);
-
- /**
- * Creates or updates JWT authenticator in the managed cluster and updates the managed cluster to apply the
- * settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @param parameters The JWT authenticator to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of configuration for JWT authenticator in the managed cluster.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, JwtAuthenticatorInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String jwtAuthenticatorName, JwtAuthenticatorInner parameters);
-
- /**
- * Creates or updates JWT authenticator in the managed cluster and updates the managed cluster to apply the
- * settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @param parameters The JWT authenticator to create or update.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of configuration for JWT authenticator in the managed cluster.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, JwtAuthenticatorInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String jwtAuthenticatorName, JwtAuthenticatorInner parameters, Context context);
-
- /**
- * Creates or updates JWT authenticator in the managed cluster and updates the managed cluster to apply the
- * settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @param parameters The JWT authenticator to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return configuration for JWT authenticator in the managed cluster on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono createOrUpdateAsync(String resourceGroupName, String resourceName,
- String jwtAuthenticatorName, JwtAuthenticatorInner parameters);
-
- /**
- * Creates or updates JWT authenticator in the managed cluster and updates the managed cluster to apply the
- * settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @param parameters The JWT authenticator to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return configuration for JWT authenticator in the managed cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- JwtAuthenticatorInner createOrUpdate(String resourceGroupName, String resourceName, String jwtAuthenticatorName,
- JwtAuthenticatorInner parameters);
-
- /**
- * Creates or updates JWT authenticator in the managed cluster and updates the managed cluster to apply the
- * settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @param parameters The JWT authenticator to create or update.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return configuration for JWT authenticator in the managed cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- JwtAuthenticatorInner createOrUpdate(String resourceGroupName, String resourceName, String jwtAuthenticatorName,
- JwtAuthenticatorInner parameters, Context context);
-
- /**
- * Deletes a JWT authenticator and updates the managed cluster to apply the settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> deleteWithResponseAsync(String resourceGroupName, String resourceName,
- String jwtAuthenticatorName);
-
- /**
- * Deletes a JWT authenticator and updates the managed cluster to apply the settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link PollerFlux} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String resourceName,
- String jwtAuthenticatorName);
-
- /**
- * Deletes a JWT authenticator and updates the managed cluster to apply the settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName,
- String jwtAuthenticatorName);
-
- /**
- * Deletes a JWT authenticator and updates the managed cluster to apply the settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName,
- String jwtAuthenticatorName, Context context);
-
- /**
- * Deletes a JWT authenticator and updates the managed cluster to apply the settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return A {@link Mono} that completes when a successful response is received.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono deleteAsync(String resourceGroupName, String resourceName, String jwtAuthenticatorName);
-
- /**
- * Deletes a JWT authenticator and updates the managed cluster to apply the settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceName, String jwtAuthenticatorName);
-
- /**
- * Deletes a JWT authenticator and updates the managed cluster to apply the settings.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param jwtAuthenticatorName The name of the JWT authenticator.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceName, String jwtAuthenticatorName, Context context);
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/LoadBalancersClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/LoadBalancersClient.java
deleted file mode 100644
index 305de7605086..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/LoadBalancersClient.java
+++ /dev/null
@@ -1,294 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedFlux;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.PollerFlux;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.containerservice.fluent.models.LoadBalancerInner;
-import java.nio.ByteBuffer;
-import reactor.core.publisher.Flux;
-import reactor.core.publisher.Mono;
-
-/**
- * An instance of this class provides access to all the operations defined in LoadBalancersClient.
- */
-public interface LoadBalancersClient {
- /**
- * Gets a list of load balancers in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of load balancers in the specified managed cluster as paginated response with {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listByManagedClusterAsync(String resourceGroupName, String resourceName);
-
- /**
- * Gets a list of load balancers in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of load balancers in the specified managed cluster as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByManagedCluster(String resourceGroupName, String resourceName);
-
- /**
- * Gets a list of load balancers in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of load balancers in the specified managed cluster as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByManagedCluster(String resourceGroupName, String resourceName,
- Context context);
-
- /**
- * Gets the specified load balancer.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified load balancer along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> getWithResponseAsync(String resourceGroupName, String resourceName,
- String loadBalancerName);
-
- /**
- * Gets the specified load balancer.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified load balancer on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono getAsync(String resourceGroupName, String resourceName, String loadBalancerName);
-
- /**
- * Gets the specified load balancer.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified load balancer along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String resourceName, String loadBalancerName,
- Context context);
-
- /**
- * Gets the specified load balancer.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified load balancer.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- LoadBalancerInner get(String resourceGroupName, String resourceName, String loadBalancerName);
-
- /**
- * Creates or updates a load balancer in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @param parameters The load balancer to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the configurations regarding multiple standard load balancers along with {@link Response} on successful
- * completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName,
- String loadBalancerName, LoadBalancerInner parameters);
-
- /**
- * Creates or updates a load balancer in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @param parameters The load balancer to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the configurations regarding multiple standard load balancers on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono createOrUpdateAsync(String resourceGroupName, String resourceName, String loadBalancerName,
- LoadBalancerInner parameters);
-
- /**
- * Creates or updates a load balancer in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @param parameters The load balancer to create or update.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the configurations regarding multiple standard load balancers along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String resourceName,
- String loadBalancerName, LoadBalancerInner parameters, Context context);
-
- /**
- * Creates or updates a load balancer in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @param parameters The load balancer to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the configurations regarding multiple standard load balancers.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- LoadBalancerInner createOrUpdate(String resourceGroupName, String resourceName, String loadBalancerName,
- LoadBalancerInner parameters);
-
- /**
- * Deletes a load balancer in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> deleteWithResponseAsync(String resourceGroupName, String resourceName,
- String loadBalancerName);
-
- /**
- * Deletes a load balancer in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link PollerFlux} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String resourceName,
- String loadBalancerName);
-
- /**
- * Deletes a load balancer in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName,
- String loadBalancerName);
-
- /**
- * Deletes a load balancer in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName,
- String loadBalancerName, Context context);
-
- /**
- * Deletes a load balancer in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return A {@link Mono} that completes when a successful response is received.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono deleteAsync(String resourceGroupName, String resourceName, String loadBalancerName);
-
- /**
- * Deletes a load balancer in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceName, String loadBalancerName);
-
- /**
- * Deletes a load balancer in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param loadBalancerName The name of the load balancer.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceName, String loadBalancerName, Context context);
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/MachinesClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/MachinesClient.java
index 8f41b71734a9..57a92d2b1623 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/MachinesClient.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/MachinesClient.java
@@ -9,13 +9,8 @@
import com.azure.core.http.rest.PagedFlux;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
-import com.azure.core.util.polling.PollerFlux;
-import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.containerservice.fluent.models.MachineInner;
-import java.nio.ByteBuffer;
-import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
/**
@@ -72,7 +67,7 @@ PagedIterable list(String resourceGroupName, String resourceName,
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
* @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
+ * @param machineName host name of the machine.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -89,7 +84,7 @@ Mono> getWithResponseAsync(String resourceGroupName, Stri
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
* @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
+ * @param machineName host name of the machine.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -105,7 +100,7 @@ Mono getAsync(String resourceGroupName, String resourceName, Strin
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
* @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
+ * @param machineName host name of the machine.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -122,7 +117,7 @@ Response getWithResponse(String resourceGroupName, String resource
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
* @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
+ * @param machineName host name of the machine.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -130,178 +125,4 @@ Response getWithResponse(String resourceGroupName, String resource
*/
@ServiceMethod(returns = ReturnType.SINGLE)
MachineInner get(String resourceGroupName, String resourceName, String agentPoolName, String machineName);
-
- /**
- * Creates or updates a machine in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
- * @param parameters The machine to create or update.
- * @param ifMatch The request should only proceed if an entity matches this string.
- * @param ifNoneMatch The request should only proceed if no entity matches this string.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a machine provides detailed information about its configuration and status along with {@link Response} on
- * successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName,
- String agentPoolName, String machineName, MachineInner parameters, String ifMatch, String ifNoneMatch);
-
- /**
- * Creates or updates a machine in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
- * @param parameters The machine to create or update.
- * @param ifMatch The request should only proceed if an entity matches this string.
- * @param ifNoneMatch The request should only proceed if no entity matches this string.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link PollerFlux} for polling of a machine provides detailed information about its configuration and
- * status.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, MachineInner> beginCreateOrUpdateAsync(String resourceGroupName,
- String resourceName, String agentPoolName, String machineName, MachineInner parameters, String ifMatch,
- String ifNoneMatch);
-
- /**
- * Creates or updates a machine in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
- * @param parameters The machine to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link PollerFlux} for polling of a machine provides detailed information about its configuration and
- * status.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, MachineInner> beginCreateOrUpdateAsync(String resourceGroupName,
- String resourceName, String agentPoolName, String machineName, MachineInner parameters);
-
- /**
- * Creates or updates a machine in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
- * @param parameters The machine to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of a machine provides detailed information about its configuration and
- * status.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MachineInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String agentPoolName, String machineName, MachineInner parameters);
-
- /**
- * Creates or updates a machine in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
- * @param parameters The machine to create or update.
- * @param ifMatch The request should only proceed if an entity matches this string.
- * @param ifNoneMatch The request should only proceed if no entity matches this string.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of a machine provides detailed information about its configuration and
- * status.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MachineInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String agentPoolName, String machineName, MachineInner parameters, String ifMatch,
- String ifNoneMatch, Context context);
-
- /**
- * Creates or updates a machine in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
- * @param parameters The machine to create or update.
- * @param ifMatch The request should only proceed if an entity matches this string.
- * @param ifNoneMatch The request should only proceed if no entity matches this string.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a machine provides detailed information about its configuration and status on successful completion of
- * {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono createOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName,
- String machineName, MachineInner parameters, String ifMatch, String ifNoneMatch);
-
- /**
- * Creates or updates a machine in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
- * @param parameters The machine to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a machine provides detailed information about its configuration and status on successful completion of
- * {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono createOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName,
- String machineName, MachineInner parameters);
-
- /**
- * Creates or updates a machine in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
- * @param parameters The machine to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a machine provides detailed information about its configuration and status.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- MachineInner createOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, String machineName,
- MachineInner parameters);
-
- /**
- * Creates or updates a machine in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param machineName Host name of the machine.
- * @param parameters The machine to create or update.
- * @param ifMatch The request should only proceed if an entity matches this string.
- * @param ifNoneMatch The request should only proceed if no entity matches this string.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a machine provides detailed information about its configuration and status.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- MachineInner createOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, String machineName,
- MachineInner parameters, String ifMatch, String ifNoneMatch, Context context);
}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/MaintenanceConfigurationsClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/MaintenanceConfigurationsClient.java
index 1327574fbe2b..a044c35f527c 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/MaintenanceConfigurationsClient.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/MaintenanceConfigurationsClient.java
@@ -66,7 +66,8 @@ PagedIterable listByManagedCluster(String resourc
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -82,7 +83,8 @@ Mono> getWithResponseAsync(String resour
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -96,7 +98,8 @@ Mono> getWithResponseAsync(String resour
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -112,7 +115,8 @@ Response getWithResponse(String resourceGroupName
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -126,7 +130,8 @@ Response getWithResponse(String resourceGroupName
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @param parameters The maintenance configuration to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -143,7 +148,8 @@ Mono> createOrUpdateWithResponseAsync(St
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @param parameters The maintenance configuration to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -160,7 +166,8 @@ Mono createOrUpdateAsync(String resourceGroupName
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @param parameters The maintenance configuration to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -178,7 +185,8 @@ Response createOrUpdateWithResponse(String resour
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @param parameters The maintenance configuration to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -194,7 +202,8 @@ MaintenanceConfigurationInner createOrUpdate(String resourceGroupName, String re
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -208,7 +217,8 @@ MaintenanceConfigurationInner createOrUpdate(String resourceGroupName, String re
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -222,7 +232,8 @@ MaintenanceConfigurationInner createOrUpdate(String resourceGroupName, String re
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -238,7 +249,8 @@ Response deleteWithResponse(String resourceGroupName, String resourceName,
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
- * @param configName The name of the maintenance configuration.
+ * @param configName The name of the maintenance configuration. Supported values are 'default',
+ * 'aksManagedAutoUpgradeSchedule', or 'aksManagedNodeOSUpgradeSchedule'.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ManagedClusterSnapshotsClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ManagedClusterSnapshotsClient.java
deleted file mode 100644
index f2f1123351ba..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ManagedClusterSnapshotsClient.java
+++ /dev/null
@@ -1,327 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedFlux;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterSnapshotInner;
-import com.azure.resourcemanager.containerservice.models.TagsObject;
-import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
-import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
-import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
-import reactor.core.publisher.Mono;
-
-/**
- * An instance of this class provides access to all the operations defined in ManagedClusterSnapshotsClient.
- */
-public interface ManagedClusterSnapshotsClient extends InnerSupportsGet,
- InnerSupportsListing, InnerSupportsDelete {
- /**
- * Gets a list of managed cluster snapshots in the specified subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of managed cluster snapshots in the specified subscription as paginated response with
- * {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listAsync();
-
- /**
- * Gets a list of managed cluster snapshots in the specified subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of managed cluster snapshots in the specified subscription as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Gets a list of managed cluster snapshots in the specified subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of managed cluster snapshots in the specified subscription as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Lists managed cluster snapshots in the specified subscription and resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response from the List Managed Cluster Snapshots operation as paginated response with
- * {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listByResourceGroupAsync(String resourceGroupName);
-
- /**
- * Lists managed cluster snapshots in the specified subscription and resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response from the List Managed Cluster Snapshots operation as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * Lists managed cluster snapshots in the specified subscription and resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response from the List Managed Cluster Snapshots operation as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * Gets a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> getByResourceGroupWithResponseAsync(String resourceGroupName,
- String resourceName);
-
- /**
- * Gets a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono getByResourceGroupAsync(String resourceGroupName, String resourceName);
-
- /**
- * Gets a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String resourceName,
- Context context);
-
- /**
- * Gets a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ManagedClusterSnapshotInner getByResourceGroup(String resourceGroupName, String resourceName);
-
- /**
- * Creates or updates a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters The managed cluster snapshot to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot resource along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> createOrUpdateWithResponseAsync(String resourceGroupName,
- String resourceName, ManagedClusterSnapshotInner parameters);
-
- /**
- * Creates or updates a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters The managed cluster snapshot to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot resource on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono createOrUpdateAsync(String resourceGroupName, String resourceName,
- ManagedClusterSnapshotInner parameters);
-
- /**
- * Creates or updates a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters The managed cluster snapshot to create or update.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String resourceName,
- ManagedClusterSnapshotInner parameters, Context context);
-
- /**
- * Creates or updates a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters The managed cluster snapshot to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ManagedClusterSnapshotInner createOrUpdate(String resourceGroupName, String resourceName,
- ManagedClusterSnapshotInner parameters);
-
- /**
- * Updates tags on a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters Parameters supplied to the Update managed cluster snapshot Tags operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot resource along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> updateTagsWithResponseAsync(String resourceGroupName,
- String resourceName, TagsObject parameters);
-
- /**
- * Updates tags on a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters Parameters supplied to the Update managed cluster snapshot Tags operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot resource on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono updateTagsAsync(String resourceGroupName, String resourceName,
- TagsObject parameters);
-
- /**
- * Updates tags on a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters Parameters supplied to the Update managed cluster snapshot Tags operation.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateTagsWithResponse(String resourceGroupName, String resourceName,
- TagsObject parameters, Context context);
-
- /**
- * Updates tags on a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters Parameters supplied to the Update managed cluster snapshot Tags operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a managed cluster snapshot resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ManagedClusterSnapshotInner updateTags(String resourceGroupName, String resourceName, TagsObject parameters);
-
- /**
- * Deletes a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> deleteWithResponseAsync(String resourceGroupName, String resourceName);
-
- /**
- * Deletes a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return A {@link Mono} that completes when a successful response is received.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono deleteAsync(String resourceGroupName, String resourceName);
-
- /**
- * Deletes a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String resourceName, Context context);
-
- /**
- * Deletes a managed cluster snapshot.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceName);
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ManagedClustersClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ManagedClustersClient.java
index e97cea4abd7d..1e03332b8dff 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ManagedClustersClient.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ManagedClustersClient.java
@@ -14,7 +14,6 @@
import com.azure.core.util.polling.PollerFlux;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.containerservice.fluent.models.CredentialResultsInner;
-import com.azure.resourcemanager.containerservice.fluent.models.GuardrailsAvailableVersionInner;
import com.azure.resourcemanager.containerservice.fluent.models.KubernetesVersionListResultInner;
import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterAccessProfileInner;
import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner;
@@ -23,12 +22,10 @@
import com.azure.resourcemanager.containerservice.fluent.models.MeshUpgradeProfileInner;
import com.azure.resourcemanager.containerservice.fluent.models.OutboundEnvironmentEndpointInner;
import com.azure.resourcemanager.containerservice.fluent.models.RunCommandResultInner;
-import com.azure.resourcemanager.containerservice.fluent.models.SafeguardsAvailableVersionInner;
import com.azure.resourcemanager.containerservice.models.Format;
import com.azure.resourcemanager.containerservice.models.ManagedClusterAadProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClustersGetCommandResultResponse;
-import com.azure.resourcemanager.containerservice.models.RebalanceLoadBalancersRequestBody;
import com.azure.resourcemanager.containerservice.models.RunCommandRequest;
import com.azure.resourcemanager.containerservice.models.TagsObject;
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
@@ -841,8 +838,6 @@ ManagedClusterInner updateTags(String resourceGroupName, String resourceName, Ta
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
* @param ifMatch The request should only proceed if an entity matches this string.
- * @param ignorePodDisruptionBudget ignore-pod-disruption-budget=true to delete those pods on a node without
- * considering Pod Disruption Budget.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -850,7 +845,7 @@ ManagedClusterInner updateTags(String resourceGroupName, String resourceName, Ta
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono>> deleteWithResponseAsync(String resourceGroupName, String resourceName,
- String ifMatch, Boolean ignorePodDisruptionBudget);
+ String ifMatch);
/**
* Deletes a managed cluster.
@@ -858,16 +853,13 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
* @param ifMatch The request should only proceed if an entity matches this string.
- * @param ignorePodDisruptionBudget ignore-pod-disruption-budget=true to delete those pods on a node without
- * considering Pod Disruption Budget.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link PollerFlux} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String resourceName, String ifMatch,
- Boolean ignorePodDisruptionBudget);
+ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String resourceName, String ifMatch);
/**
* Deletes a managed cluster.
@@ -901,8 +893,6 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
* @param ifMatch The request should only proceed if an entity matches this string.
- * @param ignorePodDisruptionBudget ignore-pod-disruption-budget=true to delete those pods on a node without
- * considering Pod Disruption Budget.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -911,7 +901,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName, String ifMatch,
- Boolean ignorePodDisruptionBudget, Context context);
+ Context context);
/**
* Deletes a managed cluster.
@@ -919,16 +909,13 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
* @param ifMatch The request should only proceed if an entity matches this string.
- * @param ignorePodDisruptionBudget ignore-pod-disruption-budget=true to delete those pods on a node without
- * considering Pod Disruption Budget.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Mono deleteAsync(String resourceGroupName, String resourceName, String ifMatch,
- Boolean ignorePodDisruptionBudget);
+ Mono deleteAsync(String resourceGroupName, String resourceName, String ifMatch);
/**
* Deletes a managed cluster.
@@ -961,16 +948,13 @@ Mono deleteAsync(String resourceGroupName, String resourceName, String ifM
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
* @param ifMatch The request should only proceed if an entity matches this string.
- * @param ignorePodDisruptionBudget ignore-pod-disruption-budget=true to delete those pods on a node without
- * considering Pod Disruption Budget.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceName, String ifMatch, Boolean ignorePodDisruptionBudget,
- Context context);
+ void delete(String resourceGroupName, String resourceName, String ifMatch, Context context);
/**
* Reset the Service Principal Profile of a managed cluster.
@@ -1216,11 +1200,10 @@ void resetAadProfile(String resourceGroupName, String resourceName, ManagedClust
Context context);
/**
- * Aborts last operation running on managed cluster.
+ * Rotates the certificates of a managed cluster.
*
- * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
- * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
- * cancellation can take place, an error is returned.
+ * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
+ * rotating managed cluster certificates.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1230,15 +1213,14 @@ void resetAadProfile(String resourceGroupName, String resourceName, ManagedClust
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> abortLatestOperationWithResponseAsync(String resourceGroupName,
+ Mono>> rotateClusterCertificatesWithResponseAsync(String resourceGroupName,
String resourceName);
/**
- * Aborts last operation running on managed cluster.
+ * Rotates the certificates of a managed cluster.
*
- * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
- * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
- * cancellation can take place, an error is returned.
+ * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
+ * rotating managed cluster certificates.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1248,14 +1230,14 @@ Mono>> abortLatestOperationWithResponseAsync(String re
* @return the {@link PollerFlux} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, Void> beginAbortLatestOperationAsync(String resourceGroupName, String resourceName);
+ PollerFlux, Void> beginRotateClusterCertificatesAsync(String resourceGroupName,
+ String resourceName);
/**
- * Aborts last operation running on managed cluster.
+ * Rotates the certificates of a managed cluster.
*
- * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
- * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
- * cancellation can take place, an error is returned.
+ * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
+ * rotating managed cluster certificates.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1265,14 +1247,13 @@ Mono>> abortLatestOperationWithResponseAsync(String re
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginAbortLatestOperation(String resourceGroupName, String resourceName);
+ SyncPoller, Void> beginRotateClusterCertificates(String resourceGroupName, String resourceName);
/**
- * Aborts last operation running on managed cluster.
+ * Rotates the certificates of a managed cluster.
*
- * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
- * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
- * cancellation can take place, an error is returned.
+ * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
+ * rotating managed cluster certificates.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1283,15 +1264,14 @@ Mono>> abortLatestOperationWithResponseAsync(String re
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginAbortLatestOperation(String resourceGroupName, String resourceName,
+ SyncPoller, Void> beginRotateClusterCertificates(String resourceGroupName, String resourceName,
Context context);
/**
- * Aborts last operation running on managed cluster.
+ * Rotates the certificates of a managed cluster.
*
- * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
- * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
- * cancellation can take place, an error is returned.
+ * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
+ * rotating managed cluster certificates.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1301,14 +1281,13 @@ SyncPoller, Void> beginAbortLatestOperation(String resourceGrou
* @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Mono abortLatestOperationAsync(String resourceGroupName, String resourceName);
+ Mono rotateClusterCertificatesAsync(String resourceGroupName, String resourceName);
/**
- * Aborts last operation running on managed cluster.
+ * Rotates the certificates of a managed cluster.
*
- * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
- * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
- * cancellation can take place, an error is returned.
+ * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
+ * rotating managed cluster certificates.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1317,14 +1296,13 @@ SyncPoller, Void> beginAbortLatestOperation(String resourceGrou
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void abortLatestOperation(String resourceGroupName, String resourceName);
+ void rotateClusterCertificates(String resourceGroupName, String resourceName);
/**
- * Aborts last operation running on managed cluster.
+ * Rotates the certificates of a managed cluster.
*
- * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
- * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
- * cancellation can take place, an error is returned.
+ * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
+ * rotating managed cluster certificates.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1334,13 +1312,14 @@ SyncPoller, Void> beginAbortLatestOperation(String resourceGrou
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void abortLatestOperation(String resourceGroupName, String resourceName, Context context);
+ void rotateClusterCertificates(String resourceGroupName, String resourceName, Context context);
/**
- * Rotates the certificates of a managed cluster.
+ * Aborts last operation running on managed cluster.
*
- * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
- * rotating managed cluster certificates.
+ * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
+ * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
+ * cancellation can take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1350,14 +1329,15 @@ SyncPoller, Void> beginAbortLatestOperation(String resourceGrou
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> rotateClusterCertificatesWithResponseAsync(String resourceGroupName,
+ Mono>> abortLatestOperationWithResponseAsync(String resourceGroupName,
String resourceName);
/**
- * Rotates the certificates of a managed cluster.
+ * Aborts last operation running on managed cluster.
*
- * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
- * rotating managed cluster certificates.
+ * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
+ * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
+ * cancellation can take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1367,14 +1347,14 @@ Mono>> rotateClusterCertificatesWithResponseAsync(Stri
* @return the {@link PollerFlux} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, Void> beginRotateClusterCertificatesAsync(String resourceGroupName,
- String resourceName);
+ PollerFlux, Void> beginAbortLatestOperationAsync(String resourceGroupName, String resourceName);
/**
- * Rotates the certificates of a managed cluster.
+ * Aborts last operation running on managed cluster.
*
- * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
- * rotating managed cluster certificates.
+ * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
+ * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
+ * cancellation can take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1384,13 +1364,14 @@ PollerFlux, Void> beginRotateClusterCertificatesAsync(String re
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRotateClusterCertificates(String resourceGroupName, String resourceName);
+ SyncPoller, Void> beginAbortLatestOperation(String resourceGroupName, String resourceName);
/**
- * Rotates the certificates of a managed cluster.
+ * Aborts last operation running on managed cluster.
*
- * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
- * rotating managed cluster certificates.
+ * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
+ * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
+ * cancellation can take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1401,14 +1382,15 @@ PollerFlux, Void> beginRotateClusterCertificatesAsync(String re
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRotateClusterCertificates(String resourceGroupName, String resourceName,
+ SyncPoller, Void> beginAbortLatestOperation(String resourceGroupName, String resourceName,
Context context);
/**
- * Rotates the certificates of a managed cluster.
+ * Aborts last operation running on managed cluster.
*
- * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
- * rotating managed cluster certificates.
+ * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
+ * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
+ * cancellation can take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1418,13 +1400,14 @@ SyncPoller, Void> beginRotateClusterCertificates(String resourc
* @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Mono rotateClusterCertificatesAsync(String resourceGroupName, String resourceName);
+ Mono abortLatestOperationAsync(String resourceGroupName, String resourceName);
/**
- * Rotates the certificates of a managed cluster.
+ * Aborts last operation running on managed cluster.
*
- * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
- * rotating managed cluster certificates.
+ * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
+ * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
+ * cancellation can take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1433,13 +1416,14 @@ SyncPoller, Void> beginRotateClusterCertificates(String resourc
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void rotateClusterCertificates(String resourceGroupName, String resourceName);
+ void abortLatestOperation(String resourceGroupName, String resourceName);
/**
- * Rotates the certificates of a managed cluster.
+ * Aborts last operation running on managed cluster.
*
- * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about
- * rotating managed cluster certificates.
+ * Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling
+ * state and eventually to a Canceled state when cancellation finishes. If the operation completes before
+ * cancellation can take place, a 409 error code is returned.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the managed cluster resource.
@@ -1449,7 +1433,7 @@ SyncPoller, Void> beginRotateClusterCertificates(String resourc
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void rotateClusterCertificates(String resourceGroupName, String resourceName, Context context);
+ void abortLatestOperation(String resourceGroupName, String resourceName, Context context);
/**
* Rotates the service account signing keys of a managed cluster.
@@ -2030,224 +2014,6 @@ PagedIterable listOutboundNetworkDependenciesE
PagedIterable listOutboundNetworkDependenciesEndpoints(String resourceGroupName,
String resourceName, Context context);
- /**
- * Gets supported Guardrails version in the specified subscription and location.
- *
- * Contains Guardrails version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @param version Safeguards version.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return available Guardrails Version along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> getGuardrailsVersionsWithResponseAsync(String location,
- String version);
-
- /**
- * Gets supported Guardrails version in the specified subscription and location.
- *
- * Contains Guardrails version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @param version Safeguards version.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return available Guardrails Version on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono getGuardrailsVersionsAsync(String location, String version);
-
- /**
- * Gets supported Guardrails version in the specified subscription and location.
- *
- * Contains Guardrails version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @param version Safeguards version.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return available Guardrails Version along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getGuardrailsVersionsWithResponse(String location, String version,
- Context context);
-
- /**
- * Gets supported Guardrails version in the specified subscription and location.
- *
- * Contains Guardrails version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @param version Safeguards version.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return available Guardrails Version.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GuardrailsAvailableVersionInner getGuardrailsVersions(String location, String version);
-
- /**
- * Gets a list of supported Guardrails versions in the specified subscription and location.
- *
- * Contains list of Guardrails version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return hold values properties, which is array of GuardrailsVersions as paginated response with
- * {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listGuardrailsVersionsAsync(String location);
-
- /**
- * Gets a list of supported Guardrails versions in the specified subscription and location.
- *
- * Contains list of Guardrails version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return hold values properties, which is array of GuardrailsVersions as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listGuardrailsVersions(String location);
-
- /**
- * Gets a list of supported Guardrails versions in the specified subscription and location.
- *
- * Contains list of Guardrails version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return hold values properties, which is array of GuardrailsVersions as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listGuardrailsVersions(String location, Context context);
-
- /**
- * Gets supported Safeguards version in the specified subscription and location.
- *
- * Contains Safeguards version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @param version Safeguards version.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return available Safeguards Version along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> getSafeguardsVersionsWithResponseAsync(String location,
- String version);
-
- /**
- * Gets supported Safeguards version in the specified subscription and location.
- *
- * Contains Safeguards version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @param version Safeguards version.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return available Safeguards Version on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono getSafeguardsVersionsAsync(String location, String version);
-
- /**
- * Gets supported Safeguards version in the specified subscription and location.
- *
- * Contains Safeguards version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @param version Safeguards version.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return available Safeguards Version along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getSafeguardsVersionsWithResponse(String location, String version,
- Context context);
-
- /**
- * Gets supported Safeguards version in the specified subscription and location.
- *
- * Contains Safeguards version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @param version Safeguards version.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return available Safeguards Version.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SafeguardsAvailableVersionInner getSafeguardsVersions(String location, String version);
-
- /**
- * Gets a list of supported Safeguards versions in the specified subscription and location.
- *
- * Contains list of Safeguards version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return hold values properties, which is array of SafeguardsVersions as paginated response with
- * {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listSafeguardsVersionsAsync(String location);
-
- /**
- * Gets a list of supported Safeguards versions in the specified subscription and location.
- *
- * Contains list of Safeguards version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return hold values properties, which is array of SafeguardsVersions as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listSafeguardsVersions(String location);
-
- /**
- * Gets a list of supported Safeguards versions in the specified subscription and location.
- *
- * Contains list of Safeguards version along with its support info and whether it is a default version.
- *
- * @param location The name of the Azure region.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return hold values properties, which is array of SafeguardsVersions as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listSafeguardsVersions(String location, Context context);
-
/**
* Lists mesh revision profiles for all meshes in the specified location.
*
@@ -2461,116 +2227,4 @@ Response getMeshUpgradeProfileWithResponse(String resou
*/
@ServiceMethod(returns = ReturnType.SINGLE)
MeshUpgradeProfileInner getMeshUpgradeProfile(String resourceGroupName, String resourceName, String mode);
-
- /**
- * Rebalance nodes across specific load balancers.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters The names of the load balancers to be rebalanced. If set to empty, all load balancers will be
- * rebalanced.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> rebalanceLoadBalancersWithResponseAsync(String resourceGroupName,
- String resourceName, RebalanceLoadBalancersRequestBody parameters);
-
- /**
- * Rebalance nodes across specific load balancers.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters The names of the load balancers to be rebalanced. If set to empty, all load balancers will be
- * rebalanced.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link PollerFlux} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, Void> beginRebalanceLoadBalancersAsync(String resourceGroupName, String resourceName,
- RebalanceLoadBalancersRequestBody parameters);
-
- /**
- * Rebalance nodes across specific load balancers.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters The names of the load balancers to be rebalanced. If set to empty, all load balancers will be
- * rebalanced.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRebalanceLoadBalancers(String resourceGroupName, String resourceName,
- RebalanceLoadBalancersRequestBody parameters);
-
- /**
- * Rebalance nodes across specific load balancers.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters The names of the load balancers to be rebalanced. If set to empty, all load balancers will be
- * rebalanced.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginRebalanceLoadBalancers(String resourceGroupName, String resourceName,
- RebalanceLoadBalancersRequestBody parameters, Context context);
-
- /**
- * Rebalance nodes across specific load balancers.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters The names of the load balancers to be rebalanced. If set to empty, all load balancers will be
- * rebalanced.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return A {@link Mono} that completes when a successful response is received.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono rebalanceLoadBalancersAsync(String resourceGroupName, String resourceName,
- RebalanceLoadBalancersRequestBody parameters);
-
- /**
- * Rebalance nodes across specific load balancers.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters The names of the load balancers to be rebalanced. If set to empty, all load balancers will be
- * rebalanced.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void rebalanceLoadBalancers(String resourceGroupName, String resourceName,
- RebalanceLoadBalancersRequestBody parameters);
-
- /**
- * Rebalance nodes across specific load balancers.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param parameters The names of the load balancers to be rebalanced. If set to empty, all load balancers will be
- * rebalanced.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void rebalanceLoadBalancers(String resourceGroupName, String resourceName,
- RebalanceLoadBalancersRequestBody parameters, Context context);
}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/MeshMembershipsClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/MeshMembershipsClient.java
deleted file mode 100644
index bf8ff69cb6ae..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/MeshMembershipsClient.java
+++ /dev/null
@@ -1,345 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedFlux;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.PollerFlux;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.containerservice.fluent.models.MeshMembershipInner;
-import java.nio.ByteBuffer;
-import reactor.core.publisher.Flux;
-import reactor.core.publisher.Mono;
-
-/**
- * An instance of this class provides access to all the operations defined in MeshMembershipsClient.
- */
-public interface MeshMembershipsClient {
- /**
- * Lists mesh memberships in a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the result of a request to list mesh memberships in a managed cluster as paginated response with
- * {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listByManagedClusterAsync(String resourceGroupName, String resourceName);
-
- /**
- * Lists mesh memberships in a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the result of a request to list mesh memberships in a managed cluster as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByManagedCluster(String resourceGroupName, String resourceName);
-
- /**
- * Lists mesh memberships in a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the result of a request to list mesh memberships in a managed cluster as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByManagedCluster(String resourceGroupName, String resourceName,
- Context context);
-
- /**
- * Gets the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the mesh membership of a managed cluster along with {@link Response} on successful completion of
- * {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> getWithResponseAsync(String resourceGroupName, String resourceName,
- String meshMembershipName);
-
- /**
- * Gets the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the mesh membership of a managed cluster on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono getAsync(String resourceGroupName, String resourceName, String meshMembershipName);
-
- /**
- * Gets the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the mesh membership of a managed cluster along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String resourceName,
- String meshMembershipName, Context context);
-
- /**
- * Gets the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the mesh membership of a managed cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- MeshMembershipInner get(String resourceGroupName, String resourceName, String meshMembershipName);
-
- /**
- * Creates or updates the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @param parameters The mesh membership to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return mesh membership of a managed cluster along with {@link Response} on successful completion of
- * {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName,
- String meshMembershipName, MeshMembershipInner parameters);
-
- /**
- * Creates or updates the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @param parameters The mesh membership to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link PollerFlux} for polling of mesh membership of a managed cluster.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, MeshMembershipInner> beginCreateOrUpdateAsync(String resourceGroupName,
- String resourceName, String meshMembershipName, MeshMembershipInner parameters);
-
- /**
- * Creates or updates the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @param parameters The mesh membership to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of mesh membership of a managed cluster.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MeshMembershipInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String meshMembershipName, MeshMembershipInner parameters);
-
- /**
- * Creates or updates the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @param parameters The mesh membership to create or update.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of mesh membership of a managed cluster.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MeshMembershipInner> beginCreateOrUpdate(String resourceGroupName,
- String resourceName, String meshMembershipName, MeshMembershipInner parameters, Context context);
-
- /**
- * Creates or updates the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @param parameters The mesh membership to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return mesh membership of a managed cluster on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono createOrUpdateAsync(String resourceGroupName, String resourceName,
- String meshMembershipName, MeshMembershipInner parameters);
-
- /**
- * Creates or updates the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @param parameters The mesh membership to create or update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return mesh membership of a managed cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- MeshMembershipInner createOrUpdate(String resourceGroupName, String resourceName, String meshMembershipName,
- MeshMembershipInner parameters);
-
- /**
- * Creates or updates the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @param parameters The mesh membership to create or update.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return mesh membership of a managed cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- MeshMembershipInner createOrUpdate(String resourceGroupName, String resourceName, String meshMembershipName,
- MeshMembershipInner parameters, Context context);
-
- /**
- * Deletes the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono>> deleteWithResponseAsync(String resourceGroupName, String resourceName,
- String meshMembershipName);
-
- /**
- * Deletes the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link PollerFlux} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String resourceName,
- String meshMembershipName);
-
- /**
- * Deletes the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName,
- String meshMembershipName);
-
- /**
- * Deletes the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName,
- String meshMembershipName, Context context);
-
- /**
- * Deletes the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return A {@link Mono} that completes when a successful response is received.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono deleteAsync(String resourceGroupName, String resourceName, String meshMembershipName);
-
- /**
- * Deletes the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceName, String meshMembershipName);
-
- /**
- * Deletes the mesh membership of a managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param meshMembershipName The name of the mesh membership.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceName, String meshMembershipName, Context context);
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/OperationStatusResultsClient.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/OperationStatusResultsClient.java
deleted file mode 100644
index b937300f2a7a..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/OperationStatusResultsClient.java
+++ /dev/null
@@ -1,186 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedFlux;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.containerservice.fluent.models.OperationStatusResultInner;
-import reactor.core.publisher.Mono;
-
-/**
- * An instance of this class provides access to all the operations defined in OperationStatusResultsClient.
- */
-public interface OperationStatusResultsClient {
- /**
- * Gets a list of operations in the specified managedCluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of operations in the specified managedCluster as paginated response with {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux listAsync(String resourceGroupName, String resourceName);
-
- /**
- * Gets a list of operations in the specified managedCluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of operations in the specified managedCluster as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String resourceName);
-
- /**
- * Gets a list of operations in the specified managedCluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of operations in the specified managedCluster as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String resourceName, Context context);
-
- /**
- * Get the status of a specific operation in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param operationId The ID of an ongoing async operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of a specific operation in the specified managed cluster along with {@link Response} on
- * successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> getWithResponseAsync(String resourceGroupName, String resourceName,
- String operationId);
-
- /**
- * Get the status of a specific operation in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param operationId The ID of an ongoing async operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of a specific operation in the specified managed cluster on successful completion of
- * {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono getAsync(String resourceGroupName, String resourceName, String operationId);
-
- /**
- * Get the status of a specific operation in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param operationId The ID of an ongoing async operation.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of a specific operation in the specified managed cluster along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String resourceName,
- String operationId, Context context);
-
- /**
- * Get the status of a specific operation in the specified managed cluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param operationId The ID of an ongoing async operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of a specific operation in the specified managed cluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner get(String resourceGroupName, String resourceName, String operationId);
-
- /**
- * Get the status of a specific operation in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param operationId The ID of an ongoing async operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of a specific operation in the specified agent pool along with {@link Response} on successful
- * completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> getByAgentPoolWithResponseAsync(String resourceGroupName,
- String resourceName, String agentPoolName, String operationId);
-
- /**
- * Get the status of a specific operation in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param operationId The ID of an ongoing async operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of a specific operation in the specified agent pool on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono getByAgentPoolAsync(String resourceGroupName, String resourceName,
- String agentPoolName, String operationId);
-
- /**
- * Get the status of a specific operation in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param operationId The ID of an ongoing async operation.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of a specific operation in the specified agent pool along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByAgentPoolWithResponse(String resourceGroupName, String resourceName,
- String agentPoolName, String operationId, Context context);
-
- /**
- * Get the status of a specific operation in the specified agent pool.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param resourceName The name of the managed cluster resource.
- * @param agentPoolName The name of the agent pool.
- * @param operationId The ID of an ongoing async operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the status of a specific operation in the specified agent pool.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner getByAgentPool(String resourceGroupName, String resourceName, String agentPoolName,
- String operationId);
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolInner.java
index 72c8f983ce8f..5f3f79c9daf8 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolInner.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolInner.java
@@ -9,8 +9,6 @@
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.AgentPoolArtifactStreamingProfile;
-import com.azure.resourcemanager.containerservice.models.AgentPoolBlueGreenUpgradeSettings;
import com.azure.resourcemanager.containerservice.models.AgentPoolGatewayProfile;
import com.azure.resourcemanager.containerservice.models.AgentPoolMode;
import com.azure.resourcemanager.containerservice.models.AgentPoolNetworkProfile;
@@ -26,7 +24,6 @@
import com.azure.resourcemanager.containerservice.models.KubeletDiskType;
import com.azure.resourcemanager.containerservice.models.LinuxOSConfig;
import com.azure.resourcemanager.containerservice.models.LocalDnsProfile;
-import com.azure.resourcemanager.containerservice.models.NodeCustomizationProfile;
import com.azure.resourcemanager.containerservice.models.OSDiskType;
import com.azure.resourcemanager.containerservice.models.OSSku;
import com.azure.resourcemanager.containerservice.models.OSType;
@@ -35,7 +32,6 @@
import com.azure.resourcemanager.containerservice.models.ScaleDownMode;
import com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy;
import com.azure.resourcemanager.containerservice.models.ScaleSetPriority;
-import com.azure.resourcemanager.containerservice.models.UpgradeStrategy;
import com.azure.resourcemanager.containerservice.models.VirtualMachineNodes;
import com.azure.resourcemanager.containerservice.models.VirtualMachinesProfile;
import com.azure.resourcemanager.containerservice.models.WorkloadRuntime;
@@ -430,9 +426,9 @@ public AgentPoolInner withOsType(OSType osType) {
}
/**
- * Get the osSku property: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if
- * OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after
- * Windows2019 is deprecated.
+ * Get the osSku property: Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux.
+ * The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is
+ * Windows.
*
* @return the osSku value.
*/
@@ -441,9 +437,9 @@ public OSSku osSku() {
}
/**
- * Set the osSku property: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if
- * OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after
- * Windows2019 is deprecated.
+ * Set the osSku property: Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux.
+ * The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is
+ * Windows.
*
* @param osSku the osSku value to set.
* @return the AgentPoolInner object itself.
@@ -602,13 +598,13 @@ public AgentPoolInner withMode(AgentPoolMode mode) {
/**
* Get the orchestratorVersion property: The version of Kubernetes specified by the user. Both patch version
- * <major.minor.patch> and <major.minor> are supported. When <major.minor> is specified, the
- * latest supported patch version is chosen automatically. Updating the agent pool with the same <major.minor>
- * once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best
- * practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool
- * version must have the same major version as the control plane. The node pool minor version must be within two
- * minor versions of the control plane version. The node pool version cannot be greater than the control plane
- * version. For more information see [upgrading a node
+ * <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When
+ * <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the
+ * cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an
+ * upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an
+ * AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control
+ * plane. The node pool minor version must be within two minor versions of the control plane version. The node pool
+ * version cannot be greater than the control plane version. For more information see [upgrading a node
* pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
*
* @return the orchestratorVersion value.
@@ -619,13 +615,13 @@ public String orchestratorVersion() {
/**
* Set the orchestratorVersion property: The version of Kubernetes specified by the user. Both patch version
- * <major.minor.patch> and <major.minor> are supported. When <major.minor> is specified, the
- * latest supported patch version is chosen automatically. Updating the agent pool with the same <major.minor>
- * once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best
- * practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool
- * version must have the same major version as the control plane. The node pool minor version must be within two
- * minor versions of the control plane version. The node pool version cannot be greater than the control plane
- * version. For more information see [upgrading a node
+ * <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When
+ * <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the
+ * cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an
+ * upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an
+ * AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control
+ * plane. The node pool minor version must be within two minor versions of the control plane version. The node pool
+ * version cannot be greater than the control plane version. For more information see [upgrading a node
* pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
*
* @param orchestratorVersion the orchestratorVersion value to set.
@@ -640,9 +636,9 @@ public AgentPoolInner withOrchestratorVersion(String orchestratorVersion) {
}
/**
- * Get the currentOrchestratorVersion property: The version of Kubernetes running on the Agent Pool. If
- * orchestratorVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to
- * it. If orchestratorVersion was <major.minor>, this field will contain the full <major.minor.patch>
+ * Get the currentOrchestratorVersion property: The version of Kubernetes the Agent Pool is running. If
+ * orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to
+ * it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch>
* version being used.
*
* @return the currentOrchestratorVersion value.
@@ -661,45 +657,7 @@ public String nodeImageVersion() {
}
/**
- * Set the nodeImageVersion property: The version of node image.
- *
- * @param nodeImageVersion the nodeImageVersion value to set.
- * @return the AgentPoolInner object itself.
- */
- public AgentPoolInner withNodeImageVersion(String nodeImageVersion) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterAgentPoolProfileProperties();
- }
- this.innerProperties().withNodeImageVersion(nodeImageVersion);
- return this;
- }
-
- /**
- * Get the upgradeStrategy property: Defines the upgrade strategy for the agent pool. The default is Rolling.
- *
- * @return the upgradeStrategy value.
- */
- public UpgradeStrategy upgradeStrategy() {
- return this.innerProperties() == null ? null : this.innerProperties().upgradeStrategy();
- }
-
- /**
- * Set the upgradeStrategy property: Defines the upgrade strategy for the agent pool. The default is Rolling.
- *
- * @param upgradeStrategy the upgradeStrategy value to set.
- * @return the AgentPoolInner object itself.
- */
- public AgentPoolInner withUpgradeStrategy(UpgradeStrategy upgradeStrategy) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterAgentPoolProfileProperties();
- }
- this.innerProperties().withUpgradeStrategy(upgradeStrategy);
- return this;
- }
-
- /**
- * Get the upgradeSettings property: Settings for upgrading the agentpool. Applies when upgrade strategy is set to
- * Rolling.
+ * Get the upgradeSettings property: Settings for upgrading the agentpool.
*
* @return the upgradeSettings value.
*/
@@ -708,8 +666,7 @@ public AgentPoolUpgradeSettings upgradeSettings() {
}
/**
- * Set the upgradeSettings property: Settings for upgrading the agentpool. Applies when upgrade strategy is set to
- * Rolling.
+ * Set the upgradeSettings property: Settings for upgrading the agentpool.
*
* @param upgradeSettings the upgradeSettings value to set.
* @return the AgentPoolInner object itself.
@@ -722,31 +679,6 @@ public AgentPoolInner withUpgradeSettings(AgentPoolUpgradeSettings upgradeSettin
return this;
}
- /**
- * Get the upgradeSettingsBlueGreen property: Settings for Blue-Green upgrade on the agentpool. Applies when upgrade
- * strategy is set to BlueGreen.
- *
- * @return the upgradeSettingsBlueGreen value.
- */
- public AgentPoolBlueGreenUpgradeSettings upgradeSettingsBlueGreen() {
- return this.innerProperties() == null ? null : this.innerProperties().upgradeSettingsBlueGreen();
- }
-
- /**
- * Set the upgradeSettingsBlueGreen property: Settings for Blue-Green upgrade on the agentpool. Applies when upgrade
- * strategy is set to BlueGreen.
- *
- * @param upgradeSettingsBlueGreen the upgradeSettingsBlueGreen value to set.
- * @return the AgentPoolInner object itself.
- */
- public AgentPoolInner withUpgradeSettingsBlueGreen(AgentPoolBlueGreenUpgradeSettings upgradeSettingsBlueGreen) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterAgentPoolProfileProperties();
- }
- this.innerProperties().withUpgradeSettingsBlueGreen(upgradeSettingsBlueGreen);
- return this;
- }
-
/**
* Get the provisioningState property: The current deployment or provisioning state.
*
@@ -1022,39 +954,6 @@ public AgentPoolInner withNodeTaints(List nodeTaints) {
return this;
}
- /**
- * Get the nodeInitializationTaints property: Taints added on the nodes during creation that will not be reconciled
- * by AKS. These taints will not be reconciled by AKS and can be removed with a kubectl call. This field can be
- * modified after node pool is created, but nodes will not be recreated with new taints until another operation that
- * requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run
- * before the node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with
- * `kubectl taint nodes node1 key1=value1:NoSchedule-`.
- *
- * @return the nodeInitializationTaints value.
- */
- public List nodeInitializationTaints() {
- return this.innerProperties() == null ? null : this.innerProperties().nodeInitializationTaints();
- }
-
- /**
- * Set the nodeInitializationTaints property: Taints added on the nodes during creation that will not be reconciled
- * by AKS. These taints will not be reconciled by AKS and can be removed with a kubectl call. This field can be
- * modified after node pool is created, but nodes will not be recreated with new taints until another operation that
- * requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run
- * before the node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with
- * `kubectl taint nodes node1 key1=value1:NoSchedule-`.
- *
- * @param nodeInitializationTaints the nodeInitializationTaints value to set.
- * @return the AgentPoolInner object itself.
- */
- public AgentPoolInner withNodeInitializationTaints(List nodeInitializationTaints) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterAgentPoolProfileProperties();
- }
- this.innerProperties().withNodeInitializationTaints(nodeInitializationTaints);
- return this;
- }
-
/**
* Get the proximityPlacementGroupId property: The ID for Proximity Placement Group.
*
@@ -1308,48 +1207,48 @@ public AgentPoolInner withHostGroupId(String hostGroupId) {
}
/**
- * Get the windowsProfile property: The Windows agent pool's specific profile.
+ * Get the networkProfile property: Network-related settings of an agent pool.
*
- * @return the windowsProfile value.
+ * @return the networkProfile value.
*/
- public AgentPoolWindowsProfile windowsProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().windowsProfile();
+ public AgentPoolNetworkProfile networkProfile() {
+ return this.innerProperties() == null ? null : this.innerProperties().networkProfile();
}
/**
- * Set the windowsProfile property: The Windows agent pool's specific profile.
+ * Set the networkProfile property: Network-related settings of an agent pool.
*
- * @param windowsProfile the windowsProfile value to set.
+ * @param networkProfile the networkProfile value to set.
* @return the AgentPoolInner object itself.
*/
- public AgentPoolInner withWindowsProfile(AgentPoolWindowsProfile windowsProfile) {
+ public AgentPoolInner withNetworkProfile(AgentPoolNetworkProfile networkProfile) {
if (this.innerProperties() == null) {
this.innerProperties = new ManagedClusterAgentPoolProfileProperties();
}
- this.innerProperties().withWindowsProfile(windowsProfile);
+ this.innerProperties().withNetworkProfile(networkProfile);
return this;
}
/**
- * Get the networkProfile property: Network-related settings of an agent pool.
+ * Get the windowsProfile property: The Windows agent pool's specific profile.
*
- * @return the networkProfile value.
+ * @return the windowsProfile value.
*/
- public AgentPoolNetworkProfile networkProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().networkProfile();
+ public AgentPoolWindowsProfile windowsProfile() {
+ return this.innerProperties() == null ? null : this.innerProperties().windowsProfile();
}
/**
- * Set the networkProfile property: Network-related settings of an agent pool.
+ * Set the windowsProfile property: The Windows agent pool's specific profile.
*
- * @param networkProfile the networkProfile value to set.
+ * @param windowsProfile the windowsProfile value to set.
* @return the AgentPoolInner object itself.
*/
- public AgentPoolInner withNetworkProfile(AgentPoolNetworkProfile networkProfile) {
+ public AgentPoolInner withWindowsProfile(AgentPoolWindowsProfile windowsProfile) {
if (this.innerProperties() == null) {
this.innerProperties = new ManagedClusterAgentPoolProfileProperties();
}
- this.innerProperties().withNetworkProfile(networkProfile);
+ this.innerProperties().withWindowsProfile(windowsProfile);
return this;
}
@@ -1377,7 +1276,7 @@ public AgentPoolInner withSecurityProfile(AgentPoolSecurityProfile securityProfi
}
/**
- * Get the gpuProfile property: The GPU settings of an agent pool.
+ * Get the gpuProfile property: GPU settings for the Agent Pool.
*
* @return the gpuProfile value.
*/
@@ -1386,7 +1285,7 @@ public GpuProfile gpuProfile() {
}
/**
- * Set the gpuProfile property: The GPU settings of an agent pool.
+ * Set the gpuProfile property: GPU settings for the Agent Pool.
*
* @param gpuProfile the gpuProfile value to set.
* @return the AgentPoolInner object itself.
@@ -1400,25 +1299,27 @@ public AgentPoolInner withGpuProfile(GpuProfile gpuProfile) {
}
/**
- * Get the artifactStreamingProfile property: Configuration for using artifact streaming on AKS.
+ * Get the gatewayProfile property: Profile specific to a managed agent pool in Gateway mode. This field cannot be
+ * set if agent pool mode is not Gateway.
*
- * @return the artifactStreamingProfile value.
+ * @return the gatewayProfile value.
*/
- public AgentPoolArtifactStreamingProfile artifactStreamingProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().artifactStreamingProfile();
+ public AgentPoolGatewayProfile gatewayProfile() {
+ return this.innerProperties() == null ? null : this.innerProperties().gatewayProfile();
}
/**
- * Set the artifactStreamingProfile property: Configuration for using artifact streaming on AKS.
+ * Set the gatewayProfile property: Profile specific to a managed agent pool in Gateway mode. This field cannot be
+ * set if agent pool mode is not Gateway.
*
- * @param artifactStreamingProfile the artifactStreamingProfile value to set.
+ * @param gatewayProfile the gatewayProfile value to set.
* @return the AgentPoolInner object itself.
*/
- public AgentPoolInner withArtifactStreamingProfile(AgentPoolArtifactStreamingProfile artifactStreamingProfile) {
+ public AgentPoolInner withGatewayProfile(AgentPoolGatewayProfile gatewayProfile) {
if (this.innerProperties() == null) {
this.innerProperties = new ManagedClusterAgentPoolProfileProperties();
}
- this.innerProperties().withArtifactStreamingProfile(artifactStreamingProfile);
+ this.innerProperties().withGatewayProfile(gatewayProfile);
return this;
}
@@ -1468,31 +1369,6 @@ public AgentPoolInner withVirtualMachineNodesStatus(List vi
return this;
}
- /**
- * Get the gatewayProfile property: Profile specific to a managed agent pool in Gateway mode. This field cannot be
- * set if agent pool mode is not Gateway.
- *
- * @return the gatewayProfile value.
- */
- public AgentPoolGatewayProfile gatewayProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().gatewayProfile();
- }
-
- /**
- * Set the gatewayProfile property: Profile specific to a managed agent pool in Gateway mode. This field cannot be
- * set if agent pool mode is not Gateway.
- *
- * @param gatewayProfile the gatewayProfile value to set.
- * @return the AgentPoolInner object itself.
- */
- public AgentPoolInner withGatewayProfile(AgentPoolGatewayProfile gatewayProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterAgentPoolProfileProperties();
- }
- this.innerProperties().withGatewayProfile(gatewayProfile);
- return this;
- }
-
/**
* Get the status property: Contains read-only information about the Agent Pool.
*
@@ -1543,31 +1419,6 @@ public AgentPoolInner withLocalDnsProfile(LocalDnsProfile localDnsProfile) {
return this;
}
- /**
- * Get the nodeCustomizationProfile property: Settings to determine the node customization used to provision nodes
- * in a pool.
- *
- * @return the nodeCustomizationProfile value.
- */
- public NodeCustomizationProfile nodeCustomizationProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().nodeCustomizationProfile();
- }
-
- /**
- * Set the nodeCustomizationProfile property: Settings to determine the node customization used to provision nodes
- * in a pool.
- *
- * @param nodeCustomizationProfile the nodeCustomizationProfile value to set.
- * @return the AgentPoolInner object itself.
- */
- public AgentPoolInner withNodeCustomizationProfile(NodeCustomizationProfile nodeCustomizationProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterAgentPoolProfileProperties();
- }
- this.innerProperties().withNodeCustomizationProfile(nodeCustomizationProfile);
- return this;
- }
-
/**
* Validates the instance.
*
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolUpgradeProfileInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolUpgradeProfileInner.java
index c1c9ff4eea55..79cc3cd76425 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolUpgradeProfileInner.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolUpgradeProfileInner.java
@@ -10,9 +10,7 @@
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.AgentPoolRecentlyUsedVersion;
import com.azure.resourcemanager.containerservice.models.AgentPoolUpgradeProfilePropertiesUpgradesItem;
-import com.azure.resourcemanager.containerservice.models.ComponentsByRelease;
import com.azure.resourcemanager.containerservice.models.OSType;
import java.io.IOException;
import java.util.List;
@@ -153,38 +151,6 @@ public AgentPoolUpgradeProfileInner withUpgrades(List componentsByReleases() {
- return this.innerProperties() == null ? null : this.innerProperties().componentsByReleases();
- }
-
- /**
- * Set the componentsByReleases property: List of components grouped by kubernetes major.minor version.
- *
- * @param componentsByReleases the componentsByReleases value to set.
- * @return the AgentPoolUpgradeProfileInner object itself.
- */
- public AgentPoolUpgradeProfileInner withComponentsByReleases(List componentsByReleases) {
- if (this.innerProperties() == null) {
- this.innerProperties = new AgentPoolUpgradeProfileProperties();
- }
- this.innerProperties().withComponentsByReleases(componentsByReleases);
- return this;
- }
-
- /**
- * Get the recentlyUsedVersions property: List of historical good versions for rollback operations.
- *
- * @return the recentlyUsedVersions value.
- */
- public List recentlyUsedVersions() {
- return this.innerProperties() == null ? null : this.innerProperties().recentlyUsedVersions();
- }
-
/**
* Get the latestNodeImageVersion property: The latest AKS supported node image version.
*
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolUpgradeProfileProperties.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolUpgradeProfileProperties.java
index 231732f5543f..98880ef60067 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolUpgradeProfileProperties.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolUpgradeProfileProperties.java
@@ -10,9 +10,7 @@
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.AgentPoolRecentlyUsedVersion;
import com.azure.resourcemanager.containerservice.models.AgentPoolUpgradeProfilePropertiesUpgradesItem;
-import com.azure.resourcemanager.containerservice.models.ComponentsByRelease;
import com.azure.resourcemanager.containerservice.models.OSType;
import java.io.IOException;
import java.util.List;
@@ -37,16 +35,6 @@ public final class AgentPoolUpgradeProfileProperties implements JsonSerializable
*/
private List upgrades;
- /*
- * List of components grouped by kubernetes major.minor version.
- */
- private List componentsByReleases;
-
- /*
- * List of historical good versions for rollback operations.
- */
- private List recentlyUsedVersions;
-
/*
* The latest AKS supported node image version.
*/
@@ -119,35 +107,6 @@ public List upgrades() {
return this;
}
- /**
- * Get the componentsByReleases property: List of components grouped by kubernetes major.minor version.
- *
- * @return the componentsByReleases value.
- */
- public List componentsByReleases() {
- return this.componentsByReleases;
- }
-
- /**
- * Set the componentsByReleases property: List of components grouped by kubernetes major.minor version.
- *
- * @param componentsByReleases the componentsByReleases value to set.
- * @return the AgentPoolUpgradeProfileProperties object itself.
- */
- public AgentPoolUpgradeProfileProperties withComponentsByReleases(List componentsByReleases) {
- this.componentsByReleases = componentsByReleases;
- return this;
- }
-
- /**
- * Get the recentlyUsedVersions property: List of historical good versions for rollback operations.
- *
- * @return the recentlyUsedVersions value.
- */
- public List recentlyUsedVersions() {
- return this.recentlyUsedVersions;
- }
-
/**
* Get the latestNodeImageVersion property: The latest AKS supported node image version.
*
@@ -187,12 +146,6 @@ public void validate() {
if (upgrades() != null) {
upgrades().forEach(e -> e.validate());
}
- if (componentsByReleases() != null) {
- componentsByReleases().forEach(e -> e.validate());
- }
- if (recentlyUsedVersions() != null) {
- recentlyUsedVersions().forEach(e -> e.validate());
- }
}
private static final ClientLogger LOGGER = new ClientLogger(AgentPoolUpgradeProfileProperties.class);
@@ -206,8 +159,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStringField("kubernetesVersion", this.kubernetesVersion);
jsonWriter.writeStringField("osType", this.osType == null ? null : this.osType.toString());
jsonWriter.writeArrayField("upgrades", this.upgrades, (writer, element) -> writer.writeJson(element));
- jsonWriter.writeArrayField("componentsByReleases", this.componentsByReleases,
- (writer, element) -> writer.writeJson(element));
jsonWriter.writeStringField("latestNodeImageVersion", this.latestNodeImageVersion);
return jsonWriter.writeEndObject();
}
@@ -237,14 +188,6 @@ public static AgentPoolUpgradeProfileProperties fromJson(JsonReader jsonReader)
List upgrades
= reader.readArray(reader1 -> AgentPoolUpgradeProfilePropertiesUpgradesItem.fromJson(reader1));
deserializedAgentPoolUpgradeProfileProperties.upgrades = upgrades;
- } else if ("componentsByReleases".equals(fieldName)) {
- List componentsByReleases
- = reader.readArray(reader1 -> ComponentsByRelease.fromJson(reader1));
- deserializedAgentPoolUpgradeProfileProperties.componentsByReleases = componentsByReleases;
- } else if ("recentlyUsedVersions".equals(fieldName)) {
- List recentlyUsedVersions
- = reader.readArray(reader1 -> AgentPoolRecentlyUsedVersion.fromJson(reader1));
- deserializedAgentPoolUpgradeProfileProperties.recentlyUsedVersions = recentlyUsedVersions;
} else if ("latestNodeImageVersion".equals(fieldName)) {
deserializedAgentPoolUpgradeProfileProperties.latestNodeImageVersion = reader.getString();
} else {
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/GuardrailsAvailableVersionInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/GuardrailsAvailableVersionInner.java
deleted file mode 100644
index 79aaab7e8e08..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/GuardrailsAvailableVersionInner.java
+++ /dev/null
@@ -1,175 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.GuardrailsAvailableVersionsProperties;
-import java.io.IOException;
-
-/**
- * Available Guardrails Version.
- */
-@Fluent
-public final class GuardrailsAvailableVersionInner extends ProxyResource {
- /*
- * Whether the version is default or not and support info.
- */
- private GuardrailsAvailableVersionsProperties properties;
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- private SystemData systemData;
-
- /*
- * The type of the resource.
- */
- private String type;
-
- /*
- * The name of the resource.
- */
- private String name;
-
- /*
- * Fully qualified resource Id for the resource.
- */
- private String id;
-
- /**
- * Creates an instance of GuardrailsAvailableVersionInner class.
- */
- public GuardrailsAvailableVersionInner() {
- }
-
- /**
- * Get the properties property: Whether the version is default or not and support info.
- *
- * @return the properties value.
- */
- public GuardrailsAvailableVersionsProperties properties() {
- return this.properties;
- }
-
- /**
- * Set the properties property: Whether the version is default or not and support info.
- *
- * @param properties the properties value to set.
- * @return the GuardrailsAvailableVersionInner object itself.
- */
- public GuardrailsAvailableVersionInner withProperties(GuardrailsAvailableVersionsProperties properties) {
- this.properties = properties;
- return this;
- }
-
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /**
- * Get the type property: The type of the resource.
- *
- * @return the type value.
- */
- @Override
- public String type() {
- return this.type;
- }
-
- /**
- * Get the name property: The name of the resource.
- *
- * @return the name value.
- */
- @Override
- public String name() {
- return this.name;
- }
-
- /**
- * Get the id property: Fully qualified resource Id for the resource.
- *
- * @return the id value.
- */
- @Override
- public String id() {
- return this.id;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() == null) {
- throw LOGGER.atError()
- .log(new IllegalArgumentException(
- "Missing required property properties in model GuardrailsAvailableVersionInner"));
- } else {
- properties().validate();
- }
- }
-
- private static final ClientLogger LOGGER = new ClientLogger(GuardrailsAvailableVersionInner.class);
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeJsonField("properties", this.properties);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of GuardrailsAvailableVersionInner from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of GuardrailsAvailableVersionInner if the JsonReader was pointing to an instance of it, or
- * null if it was pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the GuardrailsAvailableVersionInner.
- */
- public static GuardrailsAvailableVersionInner fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- GuardrailsAvailableVersionInner deserializedGuardrailsAvailableVersionInner
- = new GuardrailsAvailableVersionInner();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("id".equals(fieldName)) {
- deserializedGuardrailsAvailableVersionInner.id = reader.getString();
- } else if ("name".equals(fieldName)) {
- deserializedGuardrailsAvailableVersionInner.name = reader.getString();
- } else if ("type".equals(fieldName)) {
- deserializedGuardrailsAvailableVersionInner.type = reader.getString();
- } else if ("properties".equals(fieldName)) {
- deserializedGuardrailsAvailableVersionInner.properties
- = GuardrailsAvailableVersionsProperties.fromJson(reader);
- } else if ("systemData".equals(fieldName)) {
- deserializedGuardrailsAvailableVersionInner.systemData = SystemData.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedGuardrailsAvailableVersionInner;
- });
- }
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/IdentityBindingInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/IdentityBindingInner.java
deleted file mode 100644
index 5b53f9fe6097..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/IdentityBindingInner.java
+++ /dev/null
@@ -1,186 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.IdentityBindingProperties;
-import java.io.IOException;
-
-/**
- * The IdentityBinding resource.
- */
-@Fluent
-public final class IdentityBindingInner extends ProxyResource {
- /*
- * The resource-specific properties for this resource.
- */
- private IdentityBindingProperties properties;
-
- /*
- * Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is
- * updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable
- * optimistic concurrency per the normal eTag convention.
- */
- private String etag;
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- private SystemData systemData;
-
- /*
- * The type of the resource.
- */
- private String type;
-
- /*
- * The name of the resource.
- */
- private String name;
-
- /*
- * Fully qualified resource Id for the resource.
- */
- private String id;
-
- /**
- * Creates an instance of IdentityBindingInner class.
- */
- public IdentityBindingInner() {
- }
-
- /**
- * Get the properties property: The resource-specific properties for this resource.
- *
- * @return the properties value.
- */
- public IdentityBindingProperties properties() {
- return this.properties;
- }
-
- /**
- * Set the properties property: The resource-specific properties for this resource.
- *
- * @param properties the properties value to set.
- * @return the IdentityBindingInner object itself.
- */
- public IdentityBindingInner withProperties(IdentityBindingProperties properties) {
- this.properties = properties;
- return this;
- }
-
- /**
- * Get the etag property: Unique read-only string used to implement optimistic concurrency. The eTag value will
- * change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a
- * subsequent request to enable optimistic concurrency per the normal eTag convention.
- *
- * @return the etag value.
- */
- public String etag() {
- return this.etag;
- }
-
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /**
- * Get the type property: The type of the resource.
- *
- * @return the type value.
- */
- @Override
- public String type() {
- return this.type;
- }
-
- /**
- * Get the name property: The name of the resource.
- *
- * @return the name value.
- */
- @Override
- public String name() {
- return this.name;
- }
-
- /**
- * Get the id property: Fully qualified resource Id for the resource.
- *
- * @return the id value.
- */
- @Override
- public String id() {
- return this.id;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeJsonField("properties", this.properties);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of IdentityBindingInner from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of IdentityBindingInner if the JsonReader was pointing to an instance of it, or null if it
- * was pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the IdentityBindingInner.
- */
- public static IdentityBindingInner fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- IdentityBindingInner deserializedIdentityBindingInner = new IdentityBindingInner();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("id".equals(fieldName)) {
- deserializedIdentityBindingInner.id = reader.getString();
- } else if ("name".equals(fieldName)) {
- deserializedIdentityBindingInner.name = reader.getString();
- } else if ("type".equals(fieldName)) {
- deserializedIdentityBindingInner.type = reader.getString();
- } else if ("properties".equals(fieldName)) {
- deserializedIdentityBindingInner.properties = IdentityBindingProperties.fromJson(reader);
- } else if ("eTag".equals(fieldName)) {
- deserializedIdentityBindingInner.etag = reader.getString();
- } else if ("systemData".equals(fieldName)) {
- deserializedIdentityBindingInner.systemData = SystemData.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedIdentityBindingInner;
- });
- }
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/JwtAuthenticatorInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/JwtAuthenticatorInner.java
deleted file mode 100644
index 9b4df46d0e88..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/JwtAuthenticatorInner.java
+++ /dev/null
@@ -1,185 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.JwtAuthenticatorProperties;
-import java.io.IOException;
-
-/**
- * Configuration for JWT authenticator in the managed cluster.
- */
-@Fluent
-public final class JwtAuthenticatorInner extends ProxyResource {
- /*
- * The properties of JWTAuthenticator. For details on how to configure the properties of a JWT authenticator, please
- * refer to the Kubernetes documentation:
- * https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-authentication-configuration.
- * Please note that not all fields available in the Kubernetes documentation are supported by AKS. For
- * troubleshooting, please see https://aka.ms/aks-external-issuers-docs.
- */
- private JwtAuthenticatorProperties properties;
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- private SystemData systemData;
-
- /*
- * The type of the resource.
- */
- private String type;
-
- /*
- * The name of the resource.
- */
- private String name;
-
- /*
- * Fully qualified resource Id for the resource.
- */
- private String id;
-
- /**
- * Creates an instance of JwtAuthenticatorInner class.
- */
- public JwtAuthenticatorInner() {
- }
-
- /**
- * Get the properties property: The properties of JWTAuthenticator. For details on how to configure the properties
- * of a JWT authenticator, please refer to the Kubernetes documentation:
- * https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-authentication-configuration.
- * Please note that not all fields available in the Kubernetes documentation are supported by AKS. For
- * troubleshooting, please see https://aka.ms/aks-external-issuers-docs.
- *
- * @return the properties value.
- */
- public JwtAuthenticatorProperties properties() {
- return this.properties;
- }
-
- /**
- * Set the properties property: The properties of JWTAuthenticator. For details on how to configure the properties
- * of a JWT authenticator, please refer to the Kubernetes documentation:
- * https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-authentication-configuration.
- * Please note that not all fields available in the Kubernetes documentation are supported by AKS. For
- * troubleshooting, please see https://aka.ms/aks-external-issuers-docs.
- *
- * @param properties the properties value to set.
- * @return the JwtAuthenticatorInner object itself.
- */
- public JwtAuthenticatorInner withProperties(JwtAuthenticatorProperties properties) {
- this.properties = properties;
- return this;
- }
-
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /**
- * Get the type property: The type of the resource.
- *
- * @return the type value.
- */
- @Override
- public String type() {
- return this.type;
- }
-
- /**
- * Get the name property: The name of the resource.
- *
- * @return the name value.
- */
- @Override
- public String name() {
- return this.name;
- }
-
- /**
- * Get the id property: Fully qualified resource Id for the resource.
- *
- * @return the id value.
- */
- @Override
- public String id() {
- return this.id;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() == null) {
- throw LOGGER.atError()
- .log(new IllegalArgumentException(
- "Missing required property properties in model JwtAuthenticatorInner"));
- } else {
- properties().validate();
- }
- }
-
- private static final ClientLogger LOGGER = new ClientLogger(JwtAuthenticatorInner.class);
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeJsonField("properties", this.properties);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of JwtAuthenticatorInner from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of JwtAuthenticatorInner if the JsonReader was pointing to an instance of it, or null if it
- * was pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the JwtAuthenticatorInner.
- */
- public static JwtAuthenticatorInner fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- JwtAuthenticatorInner deserializedJwtAuthenticatorInner = new JwtAuthenticatorInner();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("id".equals(fieldName)) {
- deserializedJwtAuthenticatorInner.id = reader.getString();
- } else if ("name".equals(fieldName)) {
- deserializedJwtAuthenticatorInner.name = reader.getString();
- } else if ("type".equals(fieldName)) {
- deserializedJwtAuthenticatorInner.type = reader.getString();
- } else if ("properties".equals(fieldName)) {
- deserializedJwtAuthenticatorInner.properties = JwtAuthenticatorProperties.fromJson(reader);
- } else if ("systemData".equals(fieldName)) {
- deserializedJwtAuthenticatorInner.systemData = SystemData.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedJwtAuthenticatorInner;
- });
- }
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/LoadBalancerInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/LoadBalancerInner.java
deleted file mode 100644
index 090dfb7eef8c..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/LoadBalancerInner.java
+++ /dev/null
@@ -1,298 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.LabelSelector;
-import java.io.IOException;
-
-/**
- * The configurations regarding multiple standard load balancers. If not supplied, single load balancer mode will be
- * used. Multiple standard load balancers mode will be used if at lease one configuration is supplied. There has to be a
- * configuration named `kubernetes`. The name field will be the name of the corresponding public load balancer. There
- * will be an internal load balancer created if needed, and the name will be `<name>-internal`. The internal lb
- * shares the same configurations as the external one. The internal lbs are not needed to be included in LoadBalancer
- * list.
- */
-@Fluent
-public final class LoadBalancerInner extends ProxyResource {
- /*
- * The properties of the load balancer.
- */
- private LoadBalancerProperties innerProperties;
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- private SystemData systemData;
-
- /*
- * The type of the resource.
- */
- private String type;
-
- /*
- * The name of the resource.
- */
- private String name;
-
- /*
- * Fully qualified resource Id for the resource.
- */
- private String id;
-
- /**
- * Creates an instance of LoadBalancerInner class.
- */
- public LoadBalancerInner() {
- }
-
- /**
- * Get the innerProperties property: The properties of the load balancer.
- *
- * @return the innerProperties value.
- */
- private LoadBalancerProperties innerProperties() {
- return this.innerProperties;
- }
-
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /**
- * Get the type property: The type of the resource.
- *
- * @return the type value.
- */
- @Override
- public String type() {
- return this.type;
- }
-
- /**
- * Get the name property: The name of the resource.
- *
- * @return the name value.
- */
- @Override
- public String name() {
- return this.name;
- }
-
- /**
- * Get the id property: Fully qualified resource Id for the resource.
- *
- * @return the id value.
- */
- @Override
- public String id() {
- return this.id;
- }
-
- /**
- * Get the primaryAgentPoolName property: Required field. A string value that must specify the ID of an existing
- * agent pool. All nodes in the given pool will always be added to this load balancer. This agent pool must have at
- * least one node and minCount>=1 for autoscaling operations. An agent pool can only be the primary pool for a
- * single load balancer.
- *
- * @return the primaryAgentPoolName value.
- */
- public String primaryAgentPoolName() {
- return this.innerProperties() == null ? null : this.innerProperties().primaryAgentPoolName();
- }
-
- /**
- * Set the primaryAgentPoolName property: Required field. A string value that must specify the ID of an existing
- * agent pool. All nodes in the given pool will always be added to this load balancer. This agent pool must have at
- * least one node and minCount>=1 for autoscaling operations. An agent pool can only be the primary pool for a
- * single load balancer.
- *
- * @param primaryAgentPoolName the primaryAgentPoolName value to set.
- * @return the LoadBalancerInner object itself.
- */
- public LoadBalancerInner withPrimaryAgentPoolName(String primaryAgentPoolName) {
- if (this.innerProperties() == null) {
- this.innerProperties = new LoadBalancerProperties();
- }
- this.innerProperties().withPrimaryAgentPoolName(primaryAgentPoolName);
- return this;
- }
-
- /**
- * Get the allowServicePlacement property: Whether to automatically place services on the load balancer. If not
- * supplied, the default value is true. If set to false manually, both of the external and the internal load
- * balancer will not be selected for services unless they explicitly target it.
- *
- * @return the allowServicePlacement value.
- */
- public Boolean allowServicePlacement() {
- return this.innerProperties() == null ? null : this.innerProperties().allowServicePlacement();
- }
-
- /**
- * Set the allowServicePlacement property: Whether to automatically place services on the load balancer. If not
- * supplied, the default value is true. If set to false manually, both of the external and the internal load
- * balancer will not be selected for services unless they explicitly target it.
- *
- * @param allowServicePlacement the allowServicePlacement value to set.
- * @return the LoadBalancerInner object itself.
- */
- public LoadBalancerInner withAllowServicePlacement(Boolean allowServicePlacement) {
- if (this.innerProperties() == null) {
- this.innerProperties = new LoadBalancerProperties();
- }
- this.innerProperties().withAllowServicePlacement(allowServicePlacement);
- return this;
- }
-
- /**
- * Get the serviceLabelSelector property: Only services that must match this selector can be placed on this load
- * balancer.
- *
- * @return the serviceLabelSelector value.
- */
- public LabelSelector serviceLabelSelector() {
- return this.innerProperties() == null ? null : this.innerProperties().serviceLabelSelector();
- }
-
- /**
- * Set the serviceLabelSelector property: Only services that must match this selector can be placed on this load
- * balancer.
- *
- * @param serviceLabelSelector the serviceLabelSelector value to set.
- * @return the LoadBalancerInner object itself.
- */
- public LoadBalancerInner withServiceLabelSelector(LabelSelector serviceLabelSelector) {
- if (this.innerProperties() == null) {
- this.innerProperties = new LoadBalancerProperties();
- }
- this.innerProperties().withServiceLabelSelector(serviceLabelSelector);
- return this;
- }
-
- /**
- * Get the serviceNamespaceSelector property: Services created in namespaces that match the selector can be placed
- * on this load balancer.
- *
- * @return the serviceNamespaceSelector value.
- */
- public LabelSelector serviceNamespaceSelector() {
- return this.innerProperties() == null ? null : this.innerProperties().serviceNamespaceSelector();
- }
-
- /**
- * Set the serviceNamespaceSelector property: Services created in namespaces that match the selector can be placed
- * on this load balancer.
- *
- * @param serviceNamespaceSelector the serviceNamespaceSelector value to set.
- * @return the LoadBalancerInner object itself.
- */
- public LoadBalancerInner withServiceNamespaceSelector(LabelSelector serviceNamespaceSelector) {
- if (this.innerProperties() == null) {
- this.innerProperties = new LoadBalancerProperties();
- }
- this.innerProperties().withServiceNamespaceSelector(serviceNamespaceSelector);
- return this;
- }
-
- /**
- * Get the nodeSelector property: Nodes that match this selector will be possible members of this load balancer.
- *
- * @return the nodeSelector value.
- */
- public LabelSelector nodeSelector() {
- return this.innerProperties() == null ? null : this.innerProperties().nodeSelector();
- }
-
- /**
- * Set the nodeSelector property: Nodes that match this selector will be possible members of this load balancer.
- *
- * @param nodeSelector the nodeSelector value to set.
- * @return the LoadBalancerInner object itself.
- */
- public LoadBalancerInner withNodeSelector(LabelSelector nodeSelector) {
- if (this.innerProperties() == null) {
- this.innerProperties = new LoadBalancerProperties();
- }
- this.innerProperties().withNodeSelector(nodeSelector);
- return this;
- }
-
- /**
- * Get the provisioningState property: The current provisioning state.
- *
- * @return the provisioningState value.
- */
- public String provisioningState() {
- return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (innerProperties() != null) {
- innerProperties().validate();
- }
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeJsonField("properties", this.innerProperties);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of LoadBalancerInner from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of LoadBalancerInner if the JsonReader was pointing to an instance of it, or null if it was
- * pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the LoadBalancerInner.
- */
- public static LoadBalancerInner fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- LoadBalancerInner deserializedLoadBalancerInner = new LoadBalancerInner();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("id".equals(fieldName)) {
- deserializedLoadBalancerInner.id = reader.getString();
- } else if ("name".equals(fieldName)) {
- deserializedLoadBalancerInner.name = reader.getString();
- } else if ("type".equals(fieldName)) {
- deserializedLoadBalancerInner.type = reader.getString();
- } else if ("properties".equals(fieldName)) {
- deserializedLoadBalancerInner.innerProperties = LoadBalancerProperties.fromJson(reader);
- } else if ("systemData".equals(fieldName)) {
- deserializedLoadBalancerInner.systemData = SystemData.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedLoadBalancerInner;
- });
- }
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/LoadBalancerProperties.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/LoadBalancerProperties.java
deleted file mode 100644
index e6cd72bd6fc5..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/LoadBalancerProperties.java
+++ /dev/null
@@ -1,259 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonSerializable;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.LabelSelector;
-import java.io.IOException;
-
-/**
- * The LoadBalancerProperties model.
- */
-@Fluent
-public final class LoadBalancerProperties implements JsonSerializable {
- /*
- * Required field. A string value that must specify the ID of an existing agent pool. All nodes in the given pool
- * will always be added to this load balancer. This agent pool must have at least one node and minCount>=1 for
- * autoscaling operations. An agent pool can only be the primary pool for a single load balancer.
- */
- private String primaryAgentPoolName;
-
- /*
- * Whether to automatically place services on the load balancer. If not supplied, the default value is true. If set
- * to false manually, both of the external and the internal load balancer will not be selected for services unless
- * they explicitly target it.
- */
- private Boolean allowServicePlacement;
-
- /*
- * Only services that must match this selector can be placed on this load balancer.
- */
- private LabelSelector serviceLabelSelector;
-
- /*
- * Services created in namespaces that match the selector can be placed on this load balancer.
- */
- private LabelSelector serviceNamespaceSelector;
-
- /*
- * Nodes that match this selector will be possible members of this load balancer.
- */
- private LabelSelector nodeSelector;
-
- /*
- * The current provisioning state.
- */
- private String provisioningState;
-
- /**
- * Creates an instance of LoadBalancerProperties class.
- */
- public LoadBalancerProperties() {
- }
-
- /**
- * Get the primaryAgentPoolName property: Required field. A string value that must specify the ID of an existing
- * agent pool. All nodes in the given pool will always be added to this load balancer. This agent pool must have at
- * least one node and minCount>=1 for autoscaling operations. An agent pool can only be the primary pool for a
- * single load balancer.
- *
- * @return the primaryAgentPoolName value.
- */
- public String primaryAgentPoolName() {
- return this.primaryAgentPoolName;
- }
-
- /**
- * Set the primaryAgentPoolName property: Required field. A string value that must specify the ID of an existing
- * agent pool. All nodes in the given pool will always be added to this load balancer. This agent pool must have at
- * least one node and minCount>=1 for autoscaling operations. An agent pool can only be the primary pool for a
- * single load balancer.
- *
- * @param primaryAgentPoolName the primaryAgentPoolName value to set.
- * @return the LoadBalancerProperties object itself.
- */
- public LoadBalancerProperties withPrimaryAgentPoolName(String primaryAgentPoolName) {
- this.primaryAgentPoolName = primaryAgentPoolName;
- return this;
- }
-
- /**
- * Get the allowServicePlacement property: Whether to automatically place services on the load balancer. If not
- * supplied, the default value is true. If set to false manually, both of the external and the internal load
- * balancer will not be selected for services unless they explicitly target it.
- *
- * @return the allowServicePlacement value.
- */
- public Boolean allowServicePlacement() {
- return this.allowServicePlacement;
- }
-
- /**
- * Set the allowServicePlacement property: Whether to automatically place services on the load balancer. If not
- * supplied, the default value is true. If set to false manually, both of the external and the internal load
- * balancer will not be selected for services unless they explicitly target it.
- *
- * @param allowServicePlacement the allowServicePlacement value to set.
- * @return the LoadBalancerProperties object itself.
- */
- public LoadBalancerProperties withAllowServicePlacement(Boolean allowServicePlacement) {
- this.allowServicePlacement = allowServicePlacement;
- return this;
- }
-
- /**
- * Get the serviceLabelSelector property: Only services that must match this selector can be placed on this load
- * balancer.
- *
- * @return the serviceLabelSelector value.
- */
- public LabelSelector serviceLabelSelector() {
- return this.serviceLabelSelector;
- }
-
- /**
- * Set the serviceLabelSelector property: Only services that must match this selector can be placed on this load
- * balancer.
- *
- * @param serviceLabelSelector the serviceLabelSelector value to set.
- * @return the LoadBalancerProperties object itself.
- */
- public LoadBalancerProperties withServiceLabelSelector(LabelSelector serviceLabelSelector) {
- this.serviceLabelSelector = serviceLabelSelector;
- return this;
- }
-
- /**
- * Get the serviceNamespaceSelector property: Services created in namespaces that match the selector can be placed
- * on this load balancer.
- *
- * @return the serviceNamespaceSelector value.
- */
- public LabelSelector serviceNamespaceSelector() {
- return this.serviceNamespaceSelector;
- }
-
- /**
- * Set the serviceNamespaceSelector property: Services created in namespaces that match the selector can be placed
- * on this load balancer.
- *
- * @param serviceNamespaceSelector the serviceNamespaceSelector value to set.
- * @return the LoadBalancerProperties object itself.
- */
- public LoadBalancerProperties withServiceNamespaceSelector(LabelSelector serviceNamespaceSelector) {
- this.serviceNamespaceSelector = serviceNamespaceSelector;
- return this;
- }
-
- /**
- * Get the nodeSelector property: Nodes that match this selector will be possible members of this load balancer.
- *
- * @return the nodeSelector value.
- */
- public LabelSelector nodeSelector() {
- return this.nodeSelector;
- }
-
- /**
- * Set the nodeSelector property: Nodes that match this selector will be possible members of this load balancer.
- *
- * @param nodeSelector the nodeSelector value to set.
- * @return the LoadBalancerProperties object itself.
- */
- public LoadBalancerProperties withNodeSelector(LabelSelector nodeSelector) {
- this.nodeSelector = nodeSelector;
- return this;
- }
-
- /**
- * Get the provisioningState property: The current provisioning state.
- *
- * @return the provisioningState value.
- */
- public String provisioningState() {
- return this.provisioningState;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (primaryAgentPoolName() == null) {
- throw LOGGER.atError()
- .log(new IllegalArgumentException(
- "Missing required property primaryAgentPoolName in model LoadBalancerProperties"));
- }
- if (serviceLabelSelector() != null) {
- serviceLabelSelector().validate();
- }
- if (serviceNamespaceSelector() != null) {
- serviceNamespaceSelector().validate();
- }
- if (nodeSelector() != null) {
- nodeSelector().validate();
- }
- }
-
- private static final ClientLogger LOGGER = new ClientLogger(LoadBalancerProperties.class);
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeStringField("primaryAgentPoolName", this.primaryAgentPoolName);
- jsonWriter.writeBooleanField("allowServicePlacement", this.allowServicePlacement);
- jsonWriter.writeJsonField("serviceLabelSelector", this.serviceLabelSelector);
- jsonWriter.writeJsonField("serviceNamespaceSelector", this.serviceNamespaceSelector);
- jsonWriter.writeJsonField("nodeSelector", this.nodeSelector);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of LoadBalancerProperties from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of LoadBalancerProperties if the JsonReader was pointing to an instance of it, or null if it
- * was pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the LoadBalancerProperties.
- */
- public static LoadBalancerProperties fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- LoadBalancerProperties deserializedLoadBalancerProperties = new LoadBalancerProperties();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("primaryAgentPoolName".equals(fieldName)) {
- deserializedLoadBalancerProperties.primaryAgentPoolName = reader.getString();
- } else if ("allowServicePlacement".equals(fieldName)) {
- deserializedLoadBalancerProperties.allowServicePlacement
- = reader.getNullable(JsonReader::getBoolean);
- } else if ("serviceLabelSelector".equals(fieldName)) {
- deserializedLoadBalancerProperties.serviceLabelSelector = LabelSelector.fromJson(reader);
- } else if ("serviceNamespaceSelector".equals(fieldName)) {
- deserializedLoadBalancerProperties.serviceNamespaceSelector = LabelSelector.fromJson(reader);
- } else if ("nodeSelector".equals(fieldName)) {
- deserializedLoadBalancerProperties.nodeSelector = LabelSelector.fromJson(reader);
- } else if ("provisioningState".equals(fieldName)) {
- deserializedLoadBalancerProperties.provisioningState = reader.getString();
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedLoadBalancerProperties;
- });
- }
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/MachineInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/MachineInner.java
index 747f7e188dbf..5bedf80fe172 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/MachineInner.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/MachineInner.java
@@ -14,8 +14,8 @@
import java.util.List;
/**
- * A machine provides detailed information about its configuration and status. A machine may be visible here but not in
- * kubectl get nodes; if so, it may be because the machine has not been registered with the Kubernetes API Server yet.
+ * A machine. Contains details about the underlying virtual machine. A machine may be visible here but not in kubectl
+ * get nodes; if so it may be because the machine has not been registered with the Kubernetes API Server yet.
*/
@Fluent
public final class MachineInner extends SubResource {
@@ -54,17 +54,6 @@ public List zones() {
return this.zones;
}
- /**
- * Set the zones property: The Availability zone in which machine is located.
- *
- * @param zones the zones value to set.
- * @return the MachineInner object itself.
- */
- public MachineInner withZones(List zones) {
- this.zones = zones;
- return this;
- }
-
/**
* Get the properties property: The properties of the machine.
*
@@ -74,17 +63,6 @@ public MachineProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: The properties of the machine.
- *
- * @param properties the properties value to set.
- * @return the MachineInner object itself.
- */
- public MachineInner withProperties(MachineProperties properties) {
- this.properties = properties;
- return this;
- }
-
/**
* Get the name property: The name of the resource that is unique within a resource group. This name can be used to
* access the resource.
@@ -131,8 +109,6 @@ public void validate() {
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeStringField("id", id());
- jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element));
- jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterAgentPoolProfileProperties.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterAgentPoolProfileProperties.java
index 0cf5ed623b74..93d5bfd7120f 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterAgentPoolProfileProperties.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterAgentPoolProfileProperties.java
@@ -9,8 +9,6 @@
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.AgentPoolArtifactStreamingProfile;
-import com.azure.resourcemanager.containerservice.models.AgentPoolBlueGreenUpgradeSettings;
import com.azure.resourcemanager.containerservice.models.AgentPoolGatewayProfile;
import com.azure.resourcemanager.containerservice.models.AgentPoolMode;
import com.azure.resourcemanager.containerservice.models.AgentPoolNetworkProfile;
@@ -26,7 +24,6 @@
import com.azure.resourcemanager.containerservice.models.KubeletDiskType;
import com.azure.resourcemanager.containerservice.models.LinuxOSConfig;
import com.azure.resourcemanager.containerservice.models.LocalDnsProfile;
-import com.azure.resourcemanager.containerservice.models.NodeCustomizationProfile;
import com.azure.resourcemanager.containerservice.models.OSDiskType;
import com.azure.resourcemanager.containerservice.models.OSSku;
import com.azure.resourcemanager.containerservice.models.OSType;
@@ -35,7 +32,6 @@
import com.azure.resourcemanager.containerservice.models.ScaleDownMode;
import com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy;
import com.azure.resourcemanager.containerservice.models.ScaleSetPriority;
-import com.azure.resourcemanager.containerservice.models.UpgradeStrategy;
import com.azure.resourcemanager.containerservice.models.VirtualMachineNodes;
import com.azure.resourcemanager.containerservice.models.VirtualMachinesProfile;
import com.azure.resourcemanager.containerservice.models.WorkloadRuntime;
@@ -134,9 +130,8 @@ public class ManagedClusterAgentPoolProfileProperties
private OSType osType;
/*
- * Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or
- * Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is
- * deprecated.
+ * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019
+ * when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
*/
private OSSku osSku;
@@ -174,20 +169,20 @@ public class ManagedClusterAgentPoolProfileProperties
private AgentPoolMode mode;
/*
- * The version of Kubernetes specified by the user. Both patch version and are
- * supported. When is specified, the latest supported patch version is chosen automatically. Updating
- * the agent pool with the same once it has been created will not trigger an upgrade, even if a newer
- * patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same
- * Kubernetes version. The node pool version must have the same major version as the control plane. The node pool
- * minor version must be within two minor versions of the control plane version. The node pool version cannot be
- * greater than the control plane version. For more information see [upgrading a node
- * pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
+ * The version of Kubernetes specified by the user. Both patch version (e.g. 1.20.13) and
+ * (e.g. 1.20) are supported. When is specified, the latest supported GA patch version
+ * is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x
+ * -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should
+ * upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same
+ * major version as the control plane. The node pool minor version must be within two minor versions of the control
+ * plane version. The node pool version cannot be greater than the control plane version. For more information see
+ * [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
*/
private String orchestratorVersion;
/*
- * The version of Kubernetes running on the Agent Pool. If orchestratorVersion was a fully specified version
- * , this field will be exactly equal to it. If orchestratorVersion was , this field
+ * The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version
+ * , this field will be exactly equal to it. If orchestratorVersion is , this field
* will contain the full version being used.
*/
private String currentOrchestratorVersion;
@@ -198,20 +193,10 @@ public class ManagedClusterAgentPoolProfileProperties
private String nodeImageVersion;
/*
- * Defines the upgrade strategy for the agent pool. The default is Rolling.
- */
- private UpgradeStrategy upgradeStrategy;
-
- /*
- * Settings for upgrading the agentpool. Applies when upgrade strategy is set to Rolling.
+ * Settings for upgrading the agentpool
*/
private AgentPoolUpgradeSettings upgradeSettings;
- /*
- * Settings for Blue-Green upgrade on the agentpool. Applies when upgrade strategy is set to BlueGreen.
- */
- private AgentPoolBlueGreenUpgradeSettings upgradeSettingsBlueGreen;
-
/*
* The current deployment or provisioning state.
*/
@@ -281,16 +266,6 @@ public class ManagedClusterAgentPoolProfileProperties
*/
private List nodeTaints;
- /*
- * Taints added on the nodes during creation that will not be reconciled by AKS. These taints will not be reconciled
- * by AKS and can be removed with a kubectl call. This field can be modified after node pool is created, but nodes
- * will not be recreated with new taints until another operation that requires recreation (e.g. node image upgrade)
- * happens. These taints allow for required configuration to run before the node is ready to accept workloads, for
- * example 'key1=value1:NoSchedule' that then can be removed with `kubectl taint nodes node1
- * key1=value1:NoSchedule-`
- */
- private List nodeInitializationTaints;
-
/*
* The ID for Proximity Placement Group.
*/
@@ -350,14 +325,14 @@ public class ManagedClusterAgentPoolProfileProperties
private String hostGroupId;
/*
- * The Windows agent pool's specific profile.
+ * Network-related settings of an agent pool.
*/
- private AgentPoolWindowsProfile windowsProfile;
+ private AgentPoolNetworkProfile networkProfile;
/*
- * Network-related settings of an agent pool.
+ * The Windows agent pool's specific profile.
*/
- private AgentPoolNetworkProfile networkProfile;
+ private AgentPoolWindowsProfile windowsProfile;
/*
* The security settings of an agent pool.
@@ -365,14 +340,15 @@ public class ManagedClusterAgentPoolProfileProperties
private AgentPoolSecurityProfile securityProfile;
/*
- * The GPU settings of an agent pool.
+ * GPU settings for the Agent Pool.
*/
private GpuProfile gpuProfile;
/*
- * Configuration for using artifact streaming on AKS.
+ * Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not
+ * Gateway.
*/
- private AgentPoolArtifactStreamingProfile artifactStreamingProfile;
+ private AgentPoolGatewayProfile gatewayProfile;
/*
* Specifications on VirtualMachines agent pool.
@@ -384,12 +360,6 @@ public class ManagedClusterAgentPoolProfileProperties
*/
private List virtualMachineNodesStatus;
- /*
- * Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not
- * Gateway.
- */
- private AgentPoolGatewayProfile gatewayProfile;
-
/*
* Contains read-only information about the Agent Pool.
*/
@@ -401,11 +371,6 @@ public class ManagedClusterAgentPoolProfileProperties
*/
private LocalDnsProfile localDnsProfile;
- /*
- * Settings to determine the node customization used to provision nodes in a pool.
- */
- private NodeCustomizationProfile nodeCustomizationProfile;
-
/**
* Creates an instance of ManagedClusterAgentPoolProfileProperties class.
*/
@@ -713,9 +678,9 @@ public ManagedClusterAgentPoolProfileProperties withOsType(OSType osType) {
}
/**
- * Get the osSku property: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if
- * OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after
- * Windows2019 is deprecated.
+ * Get the osSku property: Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux.
+ * The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is
+ * Windows.
*
* @return the osSku value.
*/
@@ -724,9 +689,9 @@ public OSSku osSku() {
}
/**
- * Set the osSku property: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if
- * OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after
- * Windows2019 is deprecated.
+ * Set the osSku property: Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux.
+ * The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is
+ * Windows.
*
* @param osSku the osSku value to set.
* @return the ManagedClusterAgentPoolProfileProperties object itself.
@@ -864,13 +829,13 @@ public ManagedClusterAgentPoolProfileProperties withMode(AgentPoolMode mode) {
/**
* Get the orchestratorVersion property: The version of Kubernetes specified by the user. Both patch version
- * <major.minor.patch> and <major.minor> are supported. When <major.minor> is specified, the
- * latest supported patch version is chosen automatically. Updating the agent pool with the same <major.minor>
- * once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best
- * practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool
- * version must have the same major version as the control plane. The node pool minor version must be within two
- * minor versions of the control plane version. The node pool version cannot be greater than the control plane
- * version. For more information see [upgrading a node
+ * <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When
+ * <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the
+ * cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an
+ * upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an
+ * AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control
+ * plane. The node pool minor version must be within two minor versions of the control plane version. The node pool
+ * version cannot be greater than the control plane version. For more information see [upgrading a node
* pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
*
* @return the orchestratorVersion value.
@@ -881,13 +846,13 @@ public String orchestratorVersion() {
/**
* Set the orchestratorVersion property: The version of Kubernetes specified by the user. Both patch version
- * <major.minor.patch> and <major.minor> are supported. When <major.minor> is specified, the
- * latest supported patch version is chosen automatically. Updating the agent pool with the same <major.minor>
- * once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best
- * practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool
- * version must have the same major version as the control plane. The node pool minor version must be within two
- * minor versions of the control plane version. The node pool version cannot be greater than the control plane
- * version. For more information see [upgrading a node
+ * <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When
+ * <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the
+ * cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an
+ * upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an
+ * AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control
+ * plane. The node pool minor version must be within two minor versions of the control plane version. The node pool
+ * version cannot be greater than the control plane version. For more information see [upgrading a node
* pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
*
* @param orchestratorVersion the orchestratorVersion value to set.
@@ -899,9 +864,9 @@ public ManagedClusterAgentPoolProfileProperties withOrchestratorVersion(String o
}
/**
- * Get the currentOrchestratorVersion property: The version of Kubernetes running on the Agent Pool. If
- * orchestratorVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to
- * it. If orchestratorVersion was <major.minor>, this field will contain the full <major.minor.patch>
+ * Get the currentOrchestratorVersion property: The version of Kubernetes the Agent Pool is running. If
+ * orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to
+ * it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch>
* version being used.
*
* @return the currentOrchestratorVersion value.
@@ -911,9 +876,9 @@ public String currentOrchestratorVersion() {
}
/**
- * Set the currentOrchestratorVersion property: The version of Kubernetes running on the Agent Pool. If
- * orchestratorVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to
- * it. If orchestratorVersion was <major.minor>, this field will contain the full <major.minor.patch>
+ * Set the currentOrchestratorVersion property: The version of Kubernetes the Agent Pool is running. If
+ * orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to
+ * it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch>
* version being used.
*
* @param currentOrchestratorVersion the currentOrchestratorVersion value to set.
@@ -939,34 +904,13 @@ public String nodeImageVersion() {
* @param nodeImageVersion the nodeImageVersion value to set.
* @return the ManagedClusterAgentPoolProfileProperties object itself.
*/
- public ManagedClusterAgentPoolProfileProperties withNodeImageVersion(String nodeImageVersion) {
+ ManagedClusterAgentPoolProfileProperties withNodeImageVersion(String nodeImageVersion) {
this.nodeImageVersion = nodeImageVersion;
return this;
}
/**
- * Get the upgradeStrategy property: Defines the upgrade strategy for the agent pool. The default is Rolling.
- *
- * @return the upgradeStrategy value.
- */
- public UpgradeStrategy upgradeStrategy() {
- return this.upgradeStrategy;
- }
-
- /**
- * Set the upgradeStrategy property: Defines the upgrade strategy for the agent pool. The default is Rolling.
- *
- * @param upgradeStrategy the upgradeStrategy value to set.
- * @return the ManagedClusterAgentPoolProfileProperties object itself.
- */
- public ManagedClusterAgentPoolProfileProperties withUpgradeStrategy(UpgradeStrategy upgradeStrategy) {
- this.upgradeStrategy = upgradeStrategy;
- return this;
- }
-
- /**
- * Get the upgradeSettings property: Settings for upgrading the agentpool. Applies when upgrade strategy is set to
- * Rolling.
+ * Get the upgradeSettings property: Settings for upgrading the agentpool.
*
* @return the upgradeSettings value.
*/
@@ -975,8 +919,7 @@ public AgentPoolUpgradeSettings upgradeSettings() {
}
/**
- * Set the upgradeSettings property: Settings for upgrading the agentpool. Applies when upgrade strategy is set to
- * Rolling.
+ * Set the upgradeSettings property: Settings for upgrading the agentpool.
*
* @param upgradeSettings the upgradeSettings value to set.
* @return the ManagedClusterAgentPoolProfileProperties object itself.
@@ -986,29 +929,6 @@ public ManagedClusterAgentPoolProfileProperties withUpgradeSettings(AgentPoolUpg
return this;
}
- /**
- * Get the upgradeSettingsBlueGreen property: Settings for Blue-Green upgrade on the agentpool. Applies when upgrade
- * strategy is set to BlueGreen.
- *
- * @return the upgradeSettingsBlueGreen value.
- */
- public AgentPoolBlueGreenUpgradeSettings upgradeSettingsBlueGreen() {
- return this.upgradeSettingsBlueGreen;
- }
-
- /**
- * Set the upgradeSettingsBlueGreen property: Settings for Blue-Green upgrade on the agentpool. Applies when upgrade
- * strategy is set to BlueGreen.
- *
- * @param upgradeSettingsBlueGreen the upgradeSettingsBlueGreen value to set.
- * @return the ManagedClusterAgentPoolProfileProperties object itself.
- */
- public ManagedClusterAgentPoolProfileProperties
- withUpgradeSettingsBlueGreen(AgentPoolBlueGreenUpgradeSettings upgradeSettingsBlueGreen) {
- this.upgradeSettingsBlueGreen = upgradeSettingsBlueGreen;
- return this;
- }
-
/**
* Get the provisioningState property: The current deployment or provisioning state.
*
@@ -1266,37 +1186,6 @@ public ManagedClusterAgentPoolProfileProperties withNodeTaints(List node
return this;
}
- /**
- * Get the nodeInitializationTaints property: Taints added on the nodes during creation that will not be reconciled
- * by AKS. These taints will not be reconciled by AKS and can be removed with a kubectl call. This field can be
- * modified after node pool is created, but nodes will not be recreated with new taints until another operation that
- * requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run
- * before the node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with
- * `kubectl taint nodes node1 key1=value1:NoSchedule-`.
- *
- * @return the nodeInitializationTaints value.
- */
- public List nodeInitializationTaints() {
- return this.nodeInitializationTaints;
- }
-
- /**
- * Set the nodeInitializationTaints property: Taints added on the nodes during creation that will not be reconciled
- * by AKS. These taints will not be reconciled by AKS and can be removed with a kubectl call. This field can be
- * modified after node pool is created, but nodes will not be recreated with new taints until another operation that
- * requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run
- * before the node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with
- * `kubectl taint nodes node1 key1=value1:NoSchedule-`.
- *
- * @param nodeInitializationTaints the nodeInitializationTaints value to set.
- * @return the ManagedClusterAgentPoolProfileProperties object itself.
- */
- public ManagedClusterAgentPoolProfileProperties
- withNodeInitializationTaints(List nodeInitializationTaints) {
- this.nodeInitializationTaints = nodeInitializationTaints;
- return this;
- }
-
/**
* Get the proximityPlacementGroupId property: The ID for Proximity Placement Group.
*
@@ -1520,42 +1409,42 @@ public ManagedClusterAgentPoolProfileProperties withHostGroupId(String hostGroup
}
/**
- * Get the windowsProfile property: The Windows agent pool's specific profile.
+ * Get the networkProfile property: Network-related settings of an agent pool.
*
- * @return the windowsProfile value.
+ * @return the networkProfile value.
*/
- public AgentPoolWindowsProfile windowsProfile() {
- return this.windowsProfile;
+ public AgentPoolNetworkProfile networkProfile() {
+ return this.networkProfile;
}
/**
- * Set the windowsProfile property: The Windows agent pool's specific profile.
+ * Set the networkProfile property: Network-related settings of an agent pool.
*
- * @param windowsProfile the windowsProfile value to set.
+ * @param networkProfile the networkProfile value to set.
* @return the ManagedClusterAgentPoolProfileProperties object itself.
*/
- public ManagedClusterAgentPoolProfileProperties withWindowsProfile(AgentPoolWindowsProfile windowsProfile) {
- this.windowsProfile = windowsProfile;
+ public ManagedClusterAgentPoolProfileProperties withNetworkProfile(AgentPoolNetworkProfile networkProfile) {
+ this.networkProfile = networkProfile;
return this;
}
/**
- * Get the networkProfile property: Network-related settings of an agent pool.
+ * Get the windowsProfile property: The Windows agent pool's specific profile.
*
- * @return the networkProfile value.
+ * @return the windowsProfile value.
*/
- public AgentPoolNetworkProfile networkProfile() {
- return this.networkProfile;
+ public AgentPoolWindowsProfile windowsProfile() {
+ return this.windowsProfile;
}
/**
- * Set the networkProfile property: Network-related settings of an agent pool.
+ * Set the windowsProfile property: The Windows agent pool's specific profile.
*
- * @param networkProfile the networkProfile value to set.
+ * @param windowsProfile the windowsProfile value to set.
* @return the ManagedClusterAgentPoolProfileProperties object itself.
*/
- public ManagedClusterAgentPoolProfileProperties withNetworkProfile(AgentPoolNetworkProfile networkProfile) {
- this.networkProfile = networkProfile;
+ public ManagedClusterAgentPoolProfileProperties withWindowsProfile(AgentPoolWindowsProfile windowsProfile) {
+ this.windowsProfile = windowsProfile;
return this;
}
@@ -1580,7 +1469,7 @@ public ManagedClusterAgentPoolProfileProperties withSecurityProfile(AgentPoolSec
}
/**
- * Get the gpuProfile property: The GPU settings of an agent pool.
+ * Get the gpuProfile property: GPU settings for the Agent Pool.
*
* @return the gpuProfile value.
*/
@@ -1589,7 +1478,7 @@ public GpuProfile gpuProfile() {
}
/**
- * Set the gpuProfile property: The GPU settings of an agent pool.
+ * Set the gpuProfile property: GPU settings for the Agent Pool.
*
* @param gpuProfile the gpuProfile value to set.
* @return the ManagedClusterAgentPoolProfileProperties object itself.
@@ -1600,23 +1489,24 @@ public ManagedClusterAgentPoolProfileProperties withGpuProfile(GpuProfile gpuPro
}
/**
- * Get the artifactStreamingProfile property: Configuration for using artifact streaming on AKS.
+ * Get the gatewayProfile property: Profile specific to a managed agent pool in Gateway mode. This field cannot be
+ * set if agent pool mode is not Gateway.
*
- * @return the artifactStreamingProfile value.
+ * @return the gatewayProfile value.
*/
- public AgentPoolArtifactStreamingProfile artifactStreamingProfile() {
- return this.artifactStreamingProfile;
+ public AgentPoolGatewayProfile gatewayProfile() {
+ return this.gatewayProfile;
}
/**
- * Set the artifactStreamingProfile property: Configuration for using artifact streaming on AKS.
+ * Set the gatewayProfile property: Profile specific to a managed agent pool in Gateway mode. This field cannot be
+ * set if agent pool mode is not Gateway.
*
- * @param artifactStreamingProfile the artifactStreamingProfile value to set.
+ * @param gatewayProfile the gatewayProfile value to set.
* @return the ManagedClusterAgentPoolProfileProperties object itself.
*/
- public ManagedClusterAgentPoolProfileProperties
- withArtifactStreamingProfile(AgentPoolArtifactStreamingProfile artifactStreamingProfile) {
- this.artifactStreamingProfile = artifactStreamingProfile;
+ public ManagedClusterAgentPoolProfileProperties withGatewayProfile(AgentPoolGatewayProfile gatewayProfile) {
+ this.gatewayProfile = gatewayProfile;
return this;
}
@@ -1662,28 +1552,6 @@ public List virtualMachineNodesStatus() {
return this;
}
- /**
- * Get the gatewayProfile property: Profile specific to a managed agent pool in Gateway mode. This field cannot be
- * set if agent pool mode is not Gateway.
- *
- * @return the gatewayProfile value.
- */
- public AgentPoolGatewayProfile gatewayProfile() {
- return this.gatewayProfile;
- }
-
- /**
- * Set the gatewayProfile property: Profile specific to a managed agent pool in Gateway mode. This field cannot be
- * set if agent pool mode is not Gateway.
- *
- * @param gatewayProfile the gatewayProfile value to set.
- * @return the ManagedClusterAgentPoolProfileProperties object itself.
- */
- public ManagedClusterAgentPoolProfileProperties withGatewayProfile(AgentPoolGatewayProfile gatewayProfile) {
- this.gatewayProfile = gatewayProfile;
- return this;
- }
-
/**
* Get the status property: Contains read-only information about the Agent Pool.
*
@@ -1728,29 +1596,6 @@ public ManagedClusterAgentPoolProfileProperties withLocalDnsProfile(LocalDnsProf
return this;
}
- /**
- * Get the nodeCustomizationProfile property: Settings to determine the node customization used to provision nodes
- * in a pool.
- *
- * @return the nodeCustomizationProfile value.
- */
- public NodeCustomizationProfile nodeCustomizationProfile() {
- return this.nodeCustomizationProfile;
- }
-
- /**
- * Set the nodeCustomizationProfile property: Settings to determine the node customization used to provision nodes
- * in a pool.
- *
- * @param nodeCustomizationProfile the nodeCustomizationProfile value to set.
- * @return the ManagedClusterAgentPoolProfileProperties object itself.
- */
- public ManagedClusterAgentPoolProfileProperties
- withNodeCustomizationProfile(NodeCustomizationProfile nodeCustomizationProfile) {
- this.nodeCustomizationProfile = nodeCustomizationProfile;
- return this;
- }
-
/**
* Validates the instance.
*
@@ -1760,9 +1605,6 @@ public void validate() {
if (upgradeSettings() != null) {
upgradeSettings().validate();
}
- if (upgradeSettingsBlueGreen() != null) {
- upgradeSettingsBlueGreen().validate();
- }
if (powerState() != null) {
powerState().validate();
}
@@ -1775,20 +1617,20 @@ public void validate() {
if (creationData() != null) {
creationData().validate();
}
- if (windowsProfile() != null) {
- windowsProfile().validate();
- }
if (networkProfile() != null) {
networkProfile().validate();
}
+ if (windowsProfile() != null) {
+ windowsProfile().validate();
+ }
if (securityProfile() != null) {
securityProfile().validate();
}
if (gpuProfile() != null) {
gpuProfile().validate();
}
- if (artifactStreamingProfile() != null) {
- artifactStreamingProfile().validate();
+ if (gatewayProfile() != null) {
+ gatewayProfile().validate();
}
if (virtualMachinesProfile() != null) {
virtualMachinesProfile().validate();
@@ -1796,18 +1638,12 @@ public void validate() {
if (virtualMachineNodesStatus() != null) {
virtualMachineNodesStatus().forEach(e -> e.validate());
}
- if (gatewayProfile() != null) {
- gatewayProfile().validate();
- }
if (status() != null) {
status().validate();
}
if (localDnsProfile() != null) {
localDnsProfile().validate();
}
- if (nodeCustomizationProfile() != null) {
- nodeCustomizationProfile().validate();
- }
}
/**
@@ -1839,11 +1675,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString());
jsonWriter.writeStringField("mode", this.mode == null ? null : this.mode.toString());
jsonWriter.writeStringField("orchestratorVersion", this.orchestratorVersion);
- jsonWriter.writeStringField("nodeImageVersion", this.nodeImageVersion);
- jsonWriter.writeStringField("upgradeStrategy",
- this.upgradeStrategy == null ? null : this.upgradeStrategy.toString());
jsonWriter.writeJsonField("upgradeSettings", this.upgradeSettings);
- jsonWriter.writeJsonField("upgradeSettingsBlueGreen", this.upgradeSettingsBlueGreen);
jsonWriter.writeJsonField("powerState", this.powerState);
jsonWriter.writeArrayField("availabilityZones", this.availabilityZones,
(writer, element) -> writer.writeString(element));
@@ -1857,8 +1689,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
jsonWriter.writeMapField("nodeLabels", this.nodeLabels, (writer, element) -> writer.writeString(element));
jsonWriter.writeArrayField("nodeTaints", this.nodeTaints, (writer, element) -> writer.writeString(element));
- jsonWriter.writeArrayField("nodeInitializationTaints", this.nodeInitializationTaints,
- (writer, element) -> writer.writeString(element));
jsonWriter.writeStringField("proximityPlacementGroupID", this.proximityPlacementGroupId);
jsonWriter.writeJsonField("kubeletConfig", this.kubeletConfig);
jsonWriter.writeJsonField("linuxOSConfig", this.linuxOSConfig);
@@ -1870,18 +1700,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeJsonField("creationData", this.creationData);
jsonWriter.writeStringField("capacityReservationGroupID", this.capacityReservationGroupId);
jsonWriter.writeStringField("hostGroupID", this.hostGroupId);
- jsonWriter.writeJsonField("windowsProfile", this.windowsProfile);
jsonWriter.writeJsonField("networkProfile", this.networkProfile);
+ jsonWriter.writeJsonField("windowsProfile", this.windowsProfile);
jsonWriter.writeJsonField("securityProfile", this.securityProfile);
jsonWriter.writeJsonField("gpuProfile", this.gpuProfile);
- jsonWriter.writeJsonField("artifactStreamingProfile", this.artifactStreamingProfile);
+ jsonWriter.writeJsonField("gatewayProfile", this.gatewayProfile);
jsonWriter.writeJsonField("virtualMachinesProfile", this.virtualMachinesProfile);
jsonWriter.writeArrayField("virtualMachineNodesStatus", this.virtualMachineNodesStatus,
(writer, element) -> writer.writeJson(element));
- jsonWriter.writeJsonField("gatewayProfile", this.gatewayProfile);
jsonWriter.writeJsonField("status", this.status);
jsonWriter.writeJsonField("localDNSProfile", this.localDnsProfile);
- jsonWriter.writeJsonField("nodeCustomizationProfile", this.nodeCustomizationProfile);
return jsonWriter.writeEndObject();
}
@@ -1960,15 +1788,9 @@ public static ManagedClusterAgentPoolProfileProperties fromJson(JsonReader jsonR
= reader.getString();
} else if ("nodeImageVersion".equals(fieldName)) {
deserializedManagedClusterAgentPoolProfileProperties.nodeImageVersion = reader.getString();
- } else if ("upgradeStrategy".equals(fieldName)) {
- deserializedManagedClusterAgentPoolProfileProperties.upgradeStrategy
- = UpgradeStrategy.fromString(reader.getString());
} else if ("upgradeSettings".equals(fieldName)) {
deserializedManagedClusterAgentPoolProfileProperties.upgradeSettings
= AgentPoolUpgradeSettings.fromJson(reader);
- } else if ("upgradeSettingsBlueGreen".equals(fieldName)) {
- deserializedManagedClusterAgentPoolProfileProperties.upgradeSettingsBlueGreen
- = AgentPoolBlueGreenUpgradeSettings.fromJson(reader);
} else if ("provisioningState".equals(fieldName)) {
deserializedManagedClusterAgentPoolProfileProperties.provisioningState = reader.getString();
} else if ("powerState".equals(fieldName)) {
@@ -1999,10 +1821,6 @@ public static ManagedClusterAgentPoolProfileProperties fromJson(JsonReader jsonR
} else if ("nodeTaints".equals(fieldName)) {
List nodeTaints = reader.readArray(reader1 -> reader1.getString());
deserializedManagedClusterAgentPoolProfileProperties.nodeTaints = nodeTaints;
- } else if ("nodeInitializationTaints".equals(fieldName)) {
- List nodeInitializationTaints = reader.readArray(reader1 -> reader1.getString());
- deserializedManagedClusterAgentPoolProfileProperties.nodeInitializationTaints
- = nodeInitializationTaints;
} else if ("proximityPlacementGroupID".equals(fieldName)) {
deserializedManagedClusterAgentPoolProfileProperties.proximityPlacementGroupId = reader.getString();
} else if ("kubeletConfig".equals(fieldName)) {
@@ -2028,20 +1846,20 @@ public static ManagedClusterAgentPoolProfileProperties fromJson(JsonReader jsonR
= reader.getString();
} else if ("hostGroupID".equals(fieldName)) {
deserializedManagedClusterAgentPoolProfileProperties.hostGroupId = reader.getString();
- } else if ("windowsProfile".equals(fieldName)) {
- deserializedManagedClusterAgentPoolProfileProperties.windowsProfile
- = AgentPoolWindowsProfile.fromJson(reader);
} else if ("networkProfile".equals(fieldName)) {
deserializedManagedClusterAgentPoolProfileProperties.networkProfile
= AgentPoolNetworkProfile.fromJson(reader);
+ } else if ("windowsProfile".equals(fieldName)) {
+ deserializedManagedClusterAgentPoolProfileProperties.windowsProfile
+ = AgentPoolWindowsProfile.fromJson(reader);
} else if ("securityProfile".equals(fieldName)) {
deserializedManagedClusterAgentPoolProfileProperties.securityProfile
= AgentPoolSecurityProfile.fromJson(reader);
} else if ("gpuProfile".equals(fieldName)) {
deserializedManagedClusterAgentPoolProfileProperties.gpuProfile = GpuProfile.fromJson(reader);
- } else if ("artifactStreamingProfile".equals(fieldName)) {
- deserializedManagedClusterAgentPoolProfileProperties.artifactStreamingProfile
- = AgentPoolArtifactStreamingProfile.fromJson(reader);
+ } else if ("gatewayProfile".equals(fieldName)) {
+ deserializedManagedClusterAgentPoolProfileProperties.gatewayProfile
+ = AgentPoolGatewayProfile.fromJson(reader);
} else if ("virtualMachinesProfile".equals(fieldName)) {
deserializedManagedClusterAgentPoolProfileProperties.virtualMachinesProfile
= VirtualMachinesProfile.fromJson(reader);
@@ -2050,17 +1868,11 @@ public static ManagedClusterAgentPoolProfileProperties fromJson(JsonReader jsonR
= reader.readArray(reader1 -> VirtualMachineNodes.fromJson(reader1));
deserializedManagedClusterAgentPoolProfileProperties.virtualMachineNodesStatus
= virtualMachineNodesStatus;
- } else if ("gatewayProfile".equals(fieldName)) {
- deserializedManagedClusterAgentPoolProfileProperties.gatewayProfile
- = AgentPoolGatewayProfile.fromJson(reader);
} else if ("status".equals(fieldName)) {
deserializedManagedClusterAgentPoolProfileProperties.status = AgentPoolStatus.fromJson(reader);
} else if ("localDNSProfile".equals(fieldName)) {
deserializedManagedClusterAgentPoolProfileProperties.localDnsProfile
= LocalDnsProfile.fromJson(reader);
- } else if ("nodeCustomizationProfile".equals(fieldName)) {
- deserializedManagedClusterAgentPoolProfileProperties.nodeCustomizationProfile
- = NodeCustomizationProfile.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterInner.java
index ab8f77b4ba2f..8a1a490a1922 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterInner.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterInner.java
@@ -13,7 +13,6 @@
import com.azure.resourcemanager.containerservice.models.ClusterUpgradeSettings;
import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile;
import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile;
-import com.azure.resourcemanager.containerservice.models.CreationData;
import com.azure.resourcemanager.containerservice.models.ExtendedLocation;
import com.azure.resourcemanager.containerservice.models.KubernetesSupportPlan;
import com.azure.resourcemanager.containerservice.models.ManagedClusterAIToolchainOperatorProfile;
@@ -24,7 +23,6 @@
import com.azure.resourcemanager.containerservice.models.ManagedClusterAutoUpgradeProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClusterAzureMonitorProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClusterBootstrapProfile;
-import com.azure.resourcemanager.containerservice.models.ManagedClusterHostedSystemProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClusterHttpProxyConfig;
import com.azure.resourcemanager.containerservice.models.ManagedClusterIdentity;
import com.azure.resourcemanager.containerservice.models.ManagedClusterIngressProfile;
@@ -43,7 +41,6 @@
import com.azure.resourcemanager.containerservice.models.ManagedClusterWorkloadAutoScalerProfile;
import com.azure.resourcemanager.containerservice.models.PowerState;
import com.azure.resourcemanager.containerservice.models.PublicNetworkAccess;
-import com.azure.resourcemanager.containerservice.models.SchedulerProfile;
import com.azure.resourcemanager.containerservice.models.ServiceMeshProfile;
import com.azure.resourcemanager.containerservice.models.UserAssignedIdentity;
import java.io.IOException;
@@ -290,31 +287,6 @@ public PowerState powerState() {
return this.innerProperties() == null ? null : this.innerProperties().powerState();
}
- /**
- * Get the creationData property: CreationData to be used to specify the source Snapshot ID if the cluster will be
- * created/upgraded using a snapshot.
- *
- * @return the creationData value.
- */
- public CreationData creationData() {
- return this.innerProperties() == null ? null : this.innerProperties().creationData();
- }
-
- /**
- * Set the creationData property: CreationData to be used to specify the source Snapshot ID if the cluster will be
- * created/upgraded using a snapshot.
- *
- * @param creationData the creationData value to set.
- * @return the ManagedClusterInner object itself.
- */
- public ManagedClusterInner withCreationData(CreationData creationData) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterProperties();
- }
- this.innerProperties().withCreationData(creationData);
- return this;
- }
-
/**
* Get the maxAgentPools property: The max number of agent pools for the managed cluster.
*
@@ -325,11 +297,14 @@ public Integer maxAgentPools() {
}
/**
- * Get the kubernetesVersion property: The version of Kubernetes the Managed Cluster is requested to run. When you
- * upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed
- * sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x
- * are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS
- * cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
+ * Get the kubernetesVersion property: The version of Kubernetes specified by the user. Both patch version
+ * <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When
+ * <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the
+ * cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an
+ * upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor
+ * versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example,
+ * upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not
+ * allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
*
* @return the kubernetesVersion value.
*/
@@ -338,11 +313,14 @@ public String kubernetesVersion() {
}
/**
- * Set the kubernetesVersion property: The version of Kubernetes the Managed Cluster is requested to run. When you
- * upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed
- * sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x
- * are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS
- * cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
+ * Set the kubernetesVersion property: The version of Kubernetes specified by the user. Both patch version
+ * <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When
+ * <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the
+ * cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an
+ * upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor
+ * versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example,
+ * upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not
+ * allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
*
* @param kubernetesVersion the kubernetesVersion value to set.
* @return the ManagedClusterInner object itself.
@@ -356,7 +334,10 @@ public ManagedClusterInner withKubernetesVersion(String kubernetesVersion) {
}
/**
- * Get the currentKubernetesVersion property: The version of Kubernetes the Managed Cluster is running.
+ * Get the currentKubernetesVersion property: The version of Kubernetes the Managed Cluster is running. If
+ * kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to
+ * it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch>
+ * version being used.
*
* @return the currentKubernetesVersion value.
*/
@@ -636,7 +617,7 @@ public ManagedClusterInner withNodeResourceGroup(String nodeResourceGroup) {
}
/**
- * Get the nodeResourceGroupProfile property: The node resource group configuration profile.
+ * Get the nodeResourceGroupProfile property: Profile of the node resource group configuration.
*
* @return the nodeResourceGroupProfile value.
*/
@@ -645,7 +626,7 @@ public ManagedClusterNodeResourceGroupProfile nodeResourceGroupProfile() {
}
/**
- * Set the nodeResourceGroupProfile property: The node resource group configuration profile.
+ * Set the nodeResourceGroupProfile property: Profile of the node resource group configuration.
*
* @param nodeResourceGroupProfile the nodeResourceGroupProfile value to set.
* @return the ManagedClusterInner object itself.
@@ -707,35 +688,6 @@ public ManagedClusterInner withSupportPlan(KubernetesSupportPlan supportPlan) {
return this;
}
- /**
- * Get the enableNamespaceResources property: Enable namespace as Azure resource. The default value is false. It can
- * be enabled/disabled on creation and updating of the managed cluster. See
- * [https://aka.ms/NamespaceARMResource](https://aka.ms/NamespaceARMResource) for more details on Namespace as a ARM
- * Resource.
- *
- * @return the enableNamespaceResources value.
- */
- public Boolean enableNamespaceResources() {
- return this.innerProperties() == null ? null : this.innerProperties().enableNamespaceResources();
- }
-
- /**
- * Set the enableNamespaceResources property: Enable namespace as Azure resource. The default value is false. It can
- * be enabled/disabled on creation and updating of the managed cluster. See
- * [https://aka.ms/NamespaceARMResource](https://aka.ms/NamespaceARMResource) for more details on Namespace as a ARM
- * Resource.
- *
- * @param enableNamespaceResources the enableNamespaceResources value to set.
- * @return the ManagedClusterInner object itself.
- */
- public ManagedClusterInner withEnableNamespaceResources(Boolean enableNamespaceResources) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterProperties();
- }
- this.innerProperties().withEnableNamespaceResources(enableNamespaceResources);
- return this;
- }
-
/**
* Get the networkProfile property: The network configuration profile.
*
@@ -1124,7 +1076,7 @@ public ManagedClusterWorkloadAutoScalerProfile workloadAutoScalerProfile() {
}
/**
- * Get the azureMonitorProfile property: Prometheus addon profile for the container service cluster.
+ * Get the azureMonitorProfile property: Azure Monitor addon profiles for monitoring the managed cluster.
*
* @return the azureMonitorProfile value.
*/
@@ -1133,7 +1085,7 @@ public ManagedClusterAzureMonitorProfile azureMonitorProfile() {
}
/**
- * Set the azureMonitorProfile property: Prometheus addon profile for the container service cluster.
+ * Set the azureMonitorProfile property: Azure Monitor addon profiles for monitoring the managed cluster.
*
* @param azureMonitorProfile the azureMonitorProfile value to set.
* @return the ManagedClusterInner object itself.
@@ -1202,30 +1154,6 @@ public ManagedClusterInner withMetricsProfile(ManagedClusterMetricsProfile metri
return this;
}
- /**
- * Get the aiToolchainOperatorProfile property: AI toolchain operator settings that apply to the whole cluster.
- *
- * @return the aiToolchainOperatorProfile value.
- */
- public ManagedClusterAIToolchainOperatorProfile aiToolchainOperatorProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().aiToolchainOperatorProfile();
- }
-
- /**
- * Set the aiToolchainOperatorProfile property: AI toolchain operator settings that apply to the whole cluster.
- *
- * @param aiToolchainOperatorProfile the aiToolchainOperatorProfile value to set.
- * @return the ManagedClusterInner object itself.
- */
- public ManagedClusterInner
- withAiToolchainOperatorProfile(ManagedClusterAIToolchainOperatorProfile aiToolchainOperatorProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterProperties();
- }
- this.innerProperties().withAiToolchainOperatorProfile(aiToolchainOperatorProfile);
- return this;
- }
-
/**
* Get the nodeProvisioningProfile property: Node provisioning settings that apply to the whole cluster.
*
@@ -1274,50 +1202,26 @@ public ManagedClusterInner withBootstrapProfile(ManagedClusterBootstrapProfile b
}
/**
- * Get the schedulerProfile property: Profile of the pod scheduler configuration.
- *
- * @return the schedulerProfile value.
- */
- public SchedulerProfile schedulerProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().schedulerProfile();
- }
-
- /**
- * Set the schedulerProfile property: Profile of the pod scheduler configuration.
- *
- * @param schedulerProfile the schedulerProfile value to set.
- * @return the ManagedClusterInner object itself.
- */
- public ManagedClusterInner withSchedulerProfile(SchedulerProfile schedulerProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterProperties();
- }
- this.innerProperties().withSchedulerProfile(schedulerProfile);
- return this;
- }
-
- /**
- * Get the hostedSystemProfile property: Settings for hosted system addons. For more information, see
- * https://aka.ms/aks/automatic/systemcomponents.
+ * Get the aiToolchainOperatorProfile property: AI toolchain operator settings that apply to the whole cluster.
*
- * @return the hostedSystemProfile value.
+ * @return the aiToolchainOperatorProfile value.
*/
- public ManagedClusterHostedSystemProfile hostedSystemProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().hostedSystemProfile();
+ public ManagedClusterAIToolchainOperatorProfile aiToolchainOperatorProfile() {
+ return this.innerProperties() == null ? null : this.innerProperties().aiToolchainOperatorProfile();
}
/**
- * Set the hostedSystemProfile property: Settings for hosted system addons. For more information, see
- * https://aka.ms/aks/automatic/systemcomponents.
+ * Set the aiToolchainOperatorProfile property: AI toolchain operator settings that apply to the whole cluster.
*
- * @param hostedSystemProfile the hostedSystemProfile value to set.
+ * @param aiToolchainOperatorProfile the aiToolchainOperatorProfile value to set.
* @return the ManagedClusterInner object itself.
*/
- public ManagedClusterInner withHostedSystemProfile(ManagedClusterHostedSystemProfile hostedSystemProfile) {
+ public ManagedClusterInner
+ withAiToolchainOperatorProfile(ManagedClusterAIToolchainOperatorProfile aiToolchainOperatorProfile) {
if (this.innerProperties() == null) {
this.innerProperties = new ManagedClusterProperties();
}
- this.innerProperties().withHostedSystemProfile(hostedSystemProfile);
+ this.innerProperties().withAiToolchainOperatorProfile(aiToolchainOperatorProfile);
return this;
}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterProperties.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterProperties.java
index cef395af214b..2d3a5904c461 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterProperties.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterProperties.java
@@ -12,7 +12,6 @@
import com.azure.resourcemanager.containerservice.models.ClusterUpgradeSettings;
import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile;
import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile;
-import com.azure.resourcemanager.containerservice.models.CreationData;
import com.azure.resourcemanager.containerservice.models.KubernetesSupportPlan;
import com.azure.resourcemanager.containerservice.models.ManagedClusterAIToolchainOperatorProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClusterAadProfile;
@@ -22,7 +21,6 @@
import com.azure.resourcemanager.containerservice.models.ManagedClusterAutoUpgradeProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClusterAzureMonitorProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClusterBootstrapProfile;
-import com.azure.resourcemanager.containerservice.models.ManagedClusterHostedSystemProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClusterHttpProxyConfig;
import com.azure.resourcemanager.containerservice.models.ManagedClusterIngressProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClusterMetricsProfile;
@@ -39,7 +37,6 @@
import com.azure.resourcemanager.containerservice.models.ManagedClusterWorkloadAutoScalerProfile;
import com.azure.resourcemanager.containerservice.models.PowerState;
import com.azure.resourcemanager.containerservice.models.PublicNetworkAccess;
-import com.azure.resourcemanager.containerservice.models.SchedulerProfile;
import com.azure.resourcemanager.containerservice.models.ServiceMeshProfile;
import com.azure.resourcemanager.containerservice.models.UserAssignedIdentity;
import java.io.IOException;
@@ -61,27 +58,27 @@ public final class ManagedClusterProperties implements JsonSerializable 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not
- * allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
+ * The version of Kubernetes specified by the user. Both patch version (e.g. 1.20.13) and
+ * (e.g. 1.20) are supported. When is specified, the latest supported GA patch version
+ * is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x
+ * -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported
+ * AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major
+ * version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x ->
+ * 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for
+ * more details.
*/
private String kubernetesVersion;
/*
- * The version of Kubernetes the Managed Cluster is running.
+ * The version of Kubernetes the Managed Cluster is running. If kubernetesVersion was a fully specified version
+ * , this field will be exactly equal to it. If kubernetesVersion was , this field
+ * will contain the full version being used.
*/
private String currentKubernetesVersion;
@@ -157,7 +154,7 @@ public final class ManagedClusterProperties implements JsonSerializable e.validate());
}
@@ -1363,20 +1259,14 @@ public void validate() {
if (metricsProfile() != null) {
metricsProfile().validate();
}
- if (aiToolchainOperatorProfile() != null) {
- aiToolchainOperatorProfile().validate();
- }
if (nodeProvisioningProfile() != null) {
nodeProvisioningProfile().validate();
}
if (bootstrapProfile() != null) {
bootstrapProfile().validate();
}
- if (schedulerProfile() != null) {
- schedulerProfile().validate();
- }
- if (hostedSystemProfile() != null) {
- hostedSystemProfile().validate();
+ if (aiToolchainOperatorProfile() != null) {
+ aiToolchainOperatorProfile().validate();
}
if (status() != null) {
status().validate();
@@ -1389,7 +1279,6 @@ public void validate() {
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeJsonField("creationData", this.creationData);
jsonWriter.writeStringField("kubernetesVersion", this.kubernetesVersion);
jsonWriter.writeStringField("dnsPrefix", this.dnsPrefix);
jsonWriter.writeStringField("fqdnSubdomain", this.fqdnSubdomain);
@@ -1405,7 +1294,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeJsonField("nodeResourceGroupProfile", this.nodeResourceGroupProfile);
jsonWriter.writeBooleanField("enableRBAC", this.enableRbac);
jsonWriter.writeStringField("supportPlan", this.supportPlan == null ? null : this.supportPlan.toString());
- jsonWriter.writeBooleanField("enableNamespaceResources", this.enableNamespaceResources);
jsonWriter.writeJsonField("networkProfile", this.networkProfile);
jsonWriter.writeJsonField("aadProfile", this.aadProfile);
jsonWriter.writeJsonField("autoUpgradeProfile", this.autoUpgradeProfile);
@@ -1428,11 +1316,9 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeJsonField("azureMonitorProfile", this.azureMonitorProfile);
jsonWriter.writeJsonField("serviceMeshProfile", this.serviceMeshProfile);
jsonWriter.writeJsonField("metricsProfile", this.metricsProfile);
- jsonWriter.writeJsonField("aiToolchainOperatorProfile", this.aiToolchainOperatorProfile);
jsonWriter.writeJsonField("nodeProvisioningProfile", this.nodeProvisioningProfile);
jsonWriter.writeJsonField("bootstrapProfile", this.bootstrapProfile);
- jsonWriter.writeJsonField("schedulerProfile", this.schedulerProfile);
- jsonWriter.writeJsonField("hostedSystemProfile", this.hostedSystemProfile);
+ jsonWriter.writeJsonField("aiToolchainOperatorProfile", this.aiToolchainOperatorProfile);
jsonWriter.writeJsonField("status", this.status);
return jsonWriter.writeEndObject();
}
@@ -1456,8 +1342,6 @@ public static ManagedClusterProperties fromJson(JsonReader jsonReader) throws IO
deserializedManagedClusterProperties.provisioningState = reader.getString();
} else if ("powerState".equals(fieldName)) {
deserializedManagedClusterProperties.powerState = PowerState.fromJson(reader);
- } else if ("creationData".equals(fieldName)) {
- deserializedManagedClusterProperties.creationData = CreationData.fromJson(reader);
} else if ("maxAgentPools".equals(fieldName)) {
deserializedManagedClusterProperties.maxAgentPools = reader.getNullable(JsonReader::getInt);
} else if ("kubernetesVersion".equals(fieldName)) {
@@ -1505,9 +1389,6 @@ public static ManagedClusterProperties fromJson(JsonReader jsonReader) throws IO
} else if ("supportPlan".equals(fieldName)) {
deserializedManagedClusterProperties.supportPlan
= KubernetesSupportPlan.fromString(reader.getString());
- } else if ("enableNamespaceResources".equals(fieldName)) {
- deserializedManagedClusterProperties.enableNamespaceResources
- = reader.getNullable(JsonReader::getBoolean);
} else if ("networkProfile".equals(fieldName)) {
deserializedManagedClusterProperties.networkProfile
= ContainerServiceNetworkProfile.fromJson(reader);
@@ -1562,20 +1443,15 @@ public static ManagedClusterProperties fromJson(JsonReader jsonReader) throws IO
deserializedManagedClusterProperties.resourceUid = reader.getString();
} else if ("metricsProfile".equals(fieldName)) {
deserializedManagedClusterProperties.metricsProfile = ManagedClusterMetricsProfile.fromJson(reader);
- } else if ("aiToolchainOperatorProfile".equals(fieldName)) {
- deserializedManagedClusterProperties.aiToolchainOperatorProfile
- = ManagedClusterAIToolchainOperatorProfile.fromJson(reader);
} else if ("nodeProvisioningProfile".equals(fieldName)) {
deserializedManagedClusterProperties.nodeProvisioningProfile
= ManagedClusterNodeProvisioningProfile.fromJson(reader);
} else if ("bootstrapProfile".equals(fieldName)) {
deserializedManagedClusterProperties.bootstrapProfile
= ManagedClusterBootstrapProfile.fromJson(reader);
- } else if ("schedulerProfile".equals(fieldName)) {
- deserializedManagedClusterProperties.schedulerProfile = SchedulerProfile.fromJson(reader);
- } else if ("hostedSystemProfile".equals(fieldName)) {
- deserializedManagedClusterProperties.hostedSystemProfile
- = ManagedClusterHostedSystemProfile.fromJson(reader);
+ } else if ("aiToolchainOperatorProfile".equals(fieldName)) {
+ deserializedManagedClusterProperties.aiToolchainOperatorProfile
+ = ManagedClusterAIToolchainOperatorProfile.fromJson(reader);
} else if ("status".equals(fieldName)) {
deserializedManagedClusterProperties.status = ManagedClusterStatus.fromJson(reader);
} else {
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterSnapshotInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterSnapshotInner.java
deleted file mode 100644
index fd06a6dfebc5..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterSnapshotInner.java
+++ /dev/null
@@ -1,240 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
-import com.azure.core.management.SystemData;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.CreationData;
-import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesForSnapshot;
-import com.azure.resourcemanager.containerservice.models.SnapshotType;
-import java.io.IOException;
-import java.util.Map;
-
-/**
- * A managed cluster snapshot resource.
- */
-@Fluent
-public final class ManagedClusterSnapshotInner extends Resource {
- /*
- * Properties of a managed cluster snapshot.
- */
- private ManagedClusterSnapshotProperties innerProperties;
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- private SystemData systemData;
-
- /*
- * The type of the resource.
- */
- private String type;
-
- /*
- * The name of the resource.
- */
- private String name;
-
- /*
- * Fully qualified resource Id for the resource.
- */
- private String id;
-
- /**
- * Creates an instance of ManagedClusterSnapshotInner class.
- */
- public ManagedClusterSnapshotInner() {
- }
-
- /**
- * Get the innerProperties property: Properties of a managed cluster snapshot.
- *
- * @return the innerProperties value.
- */
- private ManagedClusterSnapshotProperties innerProperties() {
- return this.innerProperties;
- }
-
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /**
- * Get the type property: The type of the resource.
- *
- * @return the type value.
- */
- @Override
- public String type() {
- return this.type;
- }
-
- /**
- * Get the name property: The name of the resource.
- *
- * @return the name value.
- */
- @Override
- public String name() {
- return this.name;
- }
-
- /**
- * Get the id property: Fully qualified resource Id for the resource.
- *
- * @return the id value.
- */
- @Override
- public String id() {
- return this.id;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public ManagedClusterSnapshotInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public ManagedClusterSnapshotInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Get the creationData property: CreationData to be used to specify the source resource ID to create this snapshot.
- *
- * @return the creationData value.
- */
- public CreationData creationData() {
- return this.innerProperties() == null ? null : this.innerProperties().creationData();
- }
-
- /**
- * Set the creationData property: CreationData to be used to specify the source resource ID to create this snapshot.
- *
- * @param creationData the creationData value to set.
- * @return the ManagedClusterSnapshotInner object itself.
- */
- public ManagedClusterSnapshotInner withCreationData(CreationData creationData) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterSnapshotProperties();
- }
- this.innerProperties().withCreationData(creationData);
- return this;
- }
-
- /**
- * Get the snapshotType property: The type of a snapshot. The default is NodePool.
- *
- * @return the snapshotType value.
- */
- public SnapshotType snapshotType() {
- return this.innerProperties() == null ? null : this.innerProperties().snapshotType();
- }
-
- /**
- * Set the snapshotType property: The type of a snapshot. The default is NodePool.
- *
- * @param snapshotType the snapshotType value to set.
- * @return the ManagedClusterSnapshotInner object itself.
- */
- public ManagedClusterSnapshotInner withSnapshotType(SnapshotType snapshotType) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ManagedClusterSnapshotProperties();
- }
- this.innerProperties().withSnapshotType(snapshotType);
- return this;
- }
-
- /**
- * Get the managedClusterPropertiesReadOnly property: What the properties will be showed when getting managed
- * cluster snapshot. Those properties are read-only.
- *
- * @return the managedClusterPropertiesReadOnly value.
- */
- public ManagedClusterPropertiesForSnapshot managedClusterPropertiesReadOnly() {
- return this.innerProperties() == null ? null : this.innerProperties().managedClusterPropertiesReadOnly();
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (innerProperties() != null) {
- innerProperties().validate();
- }
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
- jsonWriter.writeJsonField("properties", this.innerProperties);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of ManagedClusterSnapshotInner from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of ManagedClusterSnapshotInner if the JsonReader was pointing to an instance of it, or null
- * if it was pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the ManagedClusterSnapshotInner.
- */
- public static ManagedClusterSnapshotInner fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- ManagedClusterSnapshotInner deserializedManagedClusterSnapshotInner = new ManagedClusterSnapshotInner();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("id".equals(fieldName)) {
- deserializedManagedClusterSnapshotInner.id = reader.getString();
- } else if ("name".equals(fieldName)) {
- deserializedManagedClusterSnapshotInner.name = reader.getString();
- } else if ("type".equals(fieldName)) {
- deserializedManagedClusterSnapshotInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedManagedClusterSnapshotInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedManagedClusterSnapshotInner.withTags(tags);
- } else if ("properties".equals(fieldName)) {
- deserializedManagedClusterSnapshotInner.innerProperties
- = ManagedClusterSnapshotProperties.fromJson(reader);
- } else if ("systemData".equals(fieldName)) {
- deserializedManagedClusterSnapshotInner.systemData = SystemData.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedManagedClusterSnapshotInner;
- });
- }
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterSnapshotProperties.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterSnapshotProperties.java
deleted file mode 100644
index d977923de150..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/ManagedClusterSnapshotProperties.java
+++ /dev/null
@@ -1,150 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonSerializable;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.CreationData;
-import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesForSnapshot;
-import com.azure.resourcemanager.containerservice.models.SnapshotType;
-import java.io.IOException;
-
-/**
- * Properties for a managed cluster snapshot.
- */
-@Fluent
-public final class ManagedClusterSnapshotProperties implements JsonSerializable {
- /*
- * CreationData to be used to specify the source resource ID to create this snapshot.
- */
- private CreationData creationData;
-
- /*
- * The type of a snapshot. The default is NodePool.
- */
- private SnapshotType snapshotType;
-
- /*
- * What the properties will be showed when getting managed cluster snapshot. Those properties are read-only.
- */
- private ManagedClusterPropertiesForSnapshot managedClusterPropertiesReadOnly;
-
- /**
- * Creates an instance of ManagedClusterSnapshotProperties class.
- */
- public ManagedClusterSnapshotProperties() {
- }
-
- /**
- * Get the creationData property: CreationData to be used to specify the source resource ID to create this snapshot.
- *
- * @return the creationData value.
- */
- public CreationData creationData() {
- return this.creationData;
- }
-
- /**
- * Set the creationData property: CreationData to be used to specify the source resource ID to create this snapshot.
- *
- * @param creationData the creationData value to set.
- * @return the ManagedClusterSnapshotProperties object itself.
- */
- public ManagedClusterSnapshotProperties withCreationData(CreationData creationData) {
- this.creationData = creationData;
- return this;
- }
-
- /**
- * Get the snapshotType property: The type of a snapshot. The default is NodePool.
- *
- * @return the snapshotType value.
- */
- public SnapshotType snapshotType() {
- return this.snapshotType;
- }
-
- /**
- * Set the snapshotType property: The type of a snapshot. The default is NodePool.
- *
- * @param snapshotType the snapshotType value to set.
- * @return the ManagedClusterSnapshotProperties object itself.
- */
- public ManagedClusterSnapshotProperties withSnapshotType(SnapshotType snapshotType) {
- this.snapshotType = snapshotType;
- return this;
- }
-
- /**
- * Get the managedClusterPropertiesReadOnly property: What the properties will be showed when getting managed
- * cluster snapshot. Those properties are read-only.
- *
- * @return the managedClusterPropertiesReadOnly value.
- */
- public ManagedClusterPropertiesForSnapshot managedClusterPropertiesReadOnly() {
- return this.managedClusterPropertiesReadOnly;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (creationData() != null) {
- creationData().validate();
- }
- if (managedClusterPropertiesReadOnly() != null) {
- managedClusterPropertiesReadOnly().validate();
- }
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeJsonField("creationData", this.creationData);
- jsonWriter.writeStringField("snapshotType", this.snapshotType == null ? null : this.snapshotType.toString());
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of ManagedClusterSnapshotProperties from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of ManagedClusterSnapshotProperties if the JsonReader was pointing to an instance of it, or
- * null if it was pointing to JSON null.
- * @throws IOException If an error occurs while reading the ManagedClusterSnapshotProperties.
- */
- public static ManagedClusterSnapshotProperties fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- ManagedClusterSnapshotProperties deserializedManagedClusterSnapshotProperties
- = new ManagedClusterSnapshotProperties();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("creationData".equals(fieldName)) {
- deserializedManagedClusterSnapshotProperties.creationData = CreationData.fromJson(reader);
- } else if ("snapshotType".equals(fieldName)) {
- deserializedManagedClusterSnapshotProperties.snapshotType
- = SnapshotType.fromString(reader.getString());
- } else if ("managedClusterPropertiesReadOnly".equals(fieldName)) {
- deserializedManagedClusterSnapshotProperties.managedClusterPropertiesReadOnly
- = ManagedClusterPropertiesForSnapshot.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedManagedClusterSnapshotProperties;
- });
- }
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/MeshMembershipInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/MeshMembershipInner.java
deleted file mode 100644
index 051c41567de4..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/MeshMembershipInner.java
+++ /dev/null
@@ -1,220 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.MeshMembershipProperties;
-import java.io.IOException;
-
-/**
- * Mesh membership of a managed cluster.
- */
-@Fluent
-public final class MeshMembershipInner extends ProxyResource {
- /*
- * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed
- * by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is
- * removed from the template since it is managed by another resource.
- */
- private String managedBy;
-
- /*
- * Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is
- * updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable
- * optimistic concurrency per the normal eTag convention.
- */
- private String etag;
-
- /*
- * Mesh membership properties of a managed cluster.
- */
- private MeshMembershipProperties properties;
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- private SystemData systemData;
-
- /*
- * The type of the resource.
- */
- private String type;
-
- /*
- * The name of the resource.
- */
- private String name;
-
- /*
- * Fully qualified resource Id for the resource.
- */
- private String id;
-
- /**
- * Creates an instance of MeshMembershipInner class.
- */
- public MeshMembershipInner() {
- }
-
- /**
- * Get the managedBy property: The fully qualified resource ID of the resource that manages this resource. Indicates
- * if this resource is managed by another Azure resource. If this is present, complete mode deployment will not
- * delete the resource if it is removed from the template since it is managed by another resource.
- *
- * @return the managedBy value.
- */
- public String managedBy() {
- return this.managedBy;
- }
-
- /**
- * Set the managedBy property: The fully qualified resource ID of the resource that manages this resource. Indicates
- * if this resource is managed by another Azure resource. If this is present, complete mode deployment will not
- * delete the resource if it is removed from the template since it is managed by another resource.
- *
- * @param managedBy the managedBy value to set.
- * @return the MeshMembershipInner object itself.
- */
- public MeshMembershipInner withManagedBy(String managedBy) {
- this.managedBy = managedBy;
- return this;
- }
-
- /**
- * Get the etag property: Unique read-only string used to implement optimistic concurrency. The eTag value will
- * change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a
- * subsequent request to enable optimistic concurrency per the normal eTag convention.
- *
- * @return the etag value.
- */
- public String etag() {
- return this.etag;
- }
-
- /**
- * Get the properties property: Mesh membership properties of a managed cluster.
- *
- * @return the properties value.
- */
- public MeshMembershipProperties properties() {
- return this.properties;
- }
-
- /**
- * Set the properties property: Mesh membership properties of a managed cluster.
- *
- * @param properties the properties value to set.
- * @return the MeshMembershipInner object itself.
- */
- public MeshMembershipInner withProperties(MeshMembershipProperties properties) {
- this.properties = properties;
- return this;
- }
-
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /**
- * Get the type property: The type of the resource.
- *
- * @return the type value.
- */
- @Override
- public String type() {
- return this.type;
- }
-
- /**
- * Get the name property: The name of the resource.
- *
- * @return the name value.
- */
- @Override
- public String name() {
- return this.name;
- }
-
- /**
- * Get the id property: Fully qualified resource Id for the resource.
- *
- * @return the id value.
- */
- @Override
- public String id() {
- return this.id;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeStringField("managedBy", this.managedBy);
- jsonWriter.writeJsonField("properties", this.properties);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of MeshMembershipInner from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of MeshMembershipInner if the JsonReader was pointing to an instance of it, or null if it was
- * pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the MeshMembershipInner.
- */
- public static MeshMembershipInner fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- MeshMembershipInner deserializedMeshMembershipInner = new MeshMembershipInner();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("id".equals(fieldName)) {
- deserializedMeshMembershipInner.id = reader.getString();
- } else if ("name".equals(fieldName)) {
- deserializedMeshMembershipInner.name = reader.getString();
- } else if ("type".equals(fieldName)) {
- deserializedMeshMembershipInner.type = reader.getString();
- } else if ("managedBy".equals(fieldName)) {
- deserializedMeshMembershipInner.managedBy = reader.getString();
- } else if ("eTag".equals(fieldName)) {
- deserializedMeshMembershipInner.etag = reader.getString();
- } else if ("properties".equals(fieldName)) {
- deserializedMeshMembershipInner.properties = MeshMembershipProperties.fromJson(reader);
- } else if ("systemData".equals(fieldName)) {
- deserializedMeshMembershipInner.systemData = SystemData.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedMeshMembershipInner;
- });
- }
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/NodeImageVersionInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/NodeImageVersionInner.java
deleted file mode 100644
index 2b958e625f33..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/NodeImageVersionInner.java
+++ /dev/null
@@ -1,179 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonSerializable;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import java.io.IOException;
-
-/**
- * node image version profile for given major.minor.patch release.
- */
-@Fluent
-public final class NodeImageVersionInner implements JsonSerializable {
- /*
- * The operating system of the node image. Example: AKSUbuntu
- */
- private String os;
-
- /*
- * The SKU or flavor of the node image. Example: 2004gen2containerd
- */
- private String sku;
-
- /*
- * major.minor.patch version of the node image version release. Example: 2024.02.02
- */
- private String version;
-
- /*
- * The OS + SKU + version of the node image. Example: AKSUbuntu-1804gen2containerd-2024.02.02
- */
- private String fullName;
-
- /**
- * Creates an instance of NodeImageVersionInner class.
- */
- public NodeImageVersionInner() {
- }
-
- /**
- * Get the os property: The operating system of the node image. Example: AKSUbuntu.
- *
- * @return the os value.
- */
- public String os() {
- return this.os;
- }
-
- /**
- * Set the os property: The operating system of the node image. Example: AKSUbuntu.
- *
- * @param os the os value to set.
- * @return the NodeImageVersionInner object itself.
- */
- public NodeImageVersionInner withOs(String os) {
- this.os = os;
- return this;
- }
-
- /**
- * Get the sku property: The SKU or flavor of the node image. Example: 2004gen2containerd.
- *
- * @return the sku value.
- */
- public String sku() {
- return this.sku;
- }
-
- /**
- * Set the sku property: The SKU or flavor of the node image. Example: 2004gen2containerd.
- *
- * @param sku the sku value to set.
- * @return the NodeImageVersionInner object itself.
- */
- public NodeImageVersionInner withSku(String sku) {
- this.sku = sku;
- return this;
- }
-
- /**
- * Get the version property: major.minor.patch version of the node image version release. Example: 2024.02.02.
- *
- * @return the version value.
- */
- public String version() {
- return this.version;
- }
-
- /**
- * Set the version property: major.minor.patch version of the node image version release. Example: 2024.02.02.
- *
- * @param version the version value to set.
- * @return the NodeImageVersionInner object itself.
- */
- public NodeImageVersionInner withVersion(String version) {
- this.version = version;
- return this;
- }
-
- /**
- * Get the fullName property: The OS + SKU + version of the node image. Example:
- * AKSUbuntu-1804gen2containerd-2024.02.02.
- *
- * @return the fullName value.
- */
- public String fullName() {
- return this.fullName;
- }
-
- /**
- * Set the fullName property: The OS + SKU + version of the node image. Example:
- * AKSUbuntu-1804gen2containerd-2024.02.02.
- *
- * @param fullName the fullName value to set.
- * @return the NodeImageVersionInner object itself.
- */
- public NodeImageVersionInner withFullName(String fullName) {
- this.fullName = fullName;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeStringField("os", this.os);
- jsonWriter.writeStringField("sku", this.sku);
- jsonWriter.writeStringField("version", this.version);
- jsonWriter.writeStringField("fullName", this.fullName);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of NodeImageVersionInner from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of NodeImageVersionInner if the JsonReader was pointing to an instance of it, or null if it
- * was pointing to JSON null.
- * @throws IOException If an error occurs while reading the NodeImageVersionInner.
- */
- public static NodeImageVersionInner fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- NodeImageVersionInner deserializedNodeImageVersionInner = new NodeImageVersionInner();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("os".equals(fieldName)) {
- deserializedNodeImageVersionInner.os = reader.getString();
- } else if ("sku".equals(fieldName)) {
- deserializedNodeImageVersionInner.sku = reader.getString();
- } else if ("version".equals(fieldName)) {
- deserializedNodeImageVersionInner.version = reader.getString();
- } else if ("fullName".equals(fieldName)) {
- deserializedNodeImageVersionInner.fullName = reader.getString();
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedNodeImageVersionInner;
- });
- }
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/OperationStatusResultInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/OperationStatusResultInner.java
deleted file mode 100644
index 60efc41645de..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/OperationStatusResultInner.java
+++ /dev/null
@@ -1,329 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.exception.ManagementError;
-import com.azure.core.util.CoreUtils;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonSerializable;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import java.io.IOException;
-import java.time.OffsetDateTime;
-import java.time.format.DateTimeFormatter;
-import java.util.List;
-
-/**
- * The current status of an async operation.
- */
-@Fluent
-public final class OperationStatusResultInner implements JsonSerializable {
- /*
- * Fully qualified ID for the async operation.
- */
- private String id;
-
- /*
- * Fully qualified ID of the resource against which the original async operation was started.
- */
- private String resourceId;
-
- /*
- * Name of the async operation.
- */
- private String name;
-
- /*
- * Operation status.
- */
- private String status;
-
- /*
- * Percent of the operation that is complete.
- */
- private Float percentComplete;
-
- /*
- * The start time of the operation.
- */
- private OffsetDateTime startTime;
-
- /*
- * The end time of the operation.
- */
- private OffsetDateTime endTime;
-
- /*
- * The operations list.
- */
- private List operations;
-
- /*
- * If present, details of the operation error.
- */
- private ManagementError error;
-
- /**
- * Creates an instance of OperationStatusResultInner class.
- */
- public OperationStatusResultInner() {
- }
-
- /**
- * Get the id property: Fully qualified ID for the async operation.
- *
- * @return the id value.
- */
- public String id() {
- return this.id;
- }
-
- /**
- * Set the id property: Fully qualified ID for the async operation.
- *
- * @param id the id value to set.
- * @return the OperationStatusResultInner object itself.
- */
- public OperationStatusResultInner withId(String id) {
- this.id = id;
- return this;
- }
-
- /**
- * Get the resourceId property: Fully qualified ID of the resource against which the original async operation was
- * started.
- *
- * @return the resourceId value.
- */
- public String resourceId() {
- return this.resourceId;
- }
-
- /**
- * Get the name property: Name of the async operation.
- *
- * @return the name value.
- */
- public String name() {
- return this.name;
- }
-
- /**
- * Set the name property: Name of the async operation.
- *
- * @param name the name value to set.
- * @return the OperationStatusResultInner object itself.
- */
- public OperationStatusResultInner withName(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * Get the status property: Operation status.
- *
- * @return the status value.
- */
- public String status() {
- return this.status;
- }
-
- /**
- * Set the status property: Operation status.
- *
- * @param status the status value to set.
- * @return the OperationStatusResultInner object itself.
- */
- public OperationStatusResultInner withStatus(String status) {
- this.status = status;
- return this;
- }
-
- /**
- * Get the percentComplete property: Percent of the operation that is complete.
- *
- * @return the percentComplete value.
- */
- public Float percentComplete() {
- return this.percentComplete;
- }
-
- /**
- * Set the percentComplete property: Percent of the operation that is complete.
- *
- * @param percentComplete the percentComplete value to set.
- * @return the OperationStatusResultInner object itself.
- */
- public OperationStatusResultInner withPercentComplete(Float percentComplete) {
- this.percentComplete = percentComplete;
- return this;
- }
-
- /**
- * Get the startTime property: The start time of the operation.
- *
- * @return the startTime value.
- */
- public OffsetDateTime startTime() {
- return this.startTime;
- }
-
- /**
- * Set the startTime property: The start time of the operation.
- *
- * @param startTime the startTime value to set.
- * @return the OperationStatusResultInner object itself.
- */
- public OperationStatusResultInner withStartTime(OffsetDateTime startTime) {
- this.startTime = startTime;
- return this;
- }
-
- /**
- * Get the endTime property: The end time of the operation.
- *
- * @return the endTime value.
- */
- public OffsetDateTime endTime() {
- return this.endTime;
- }
-
- /**
- * Set the endTime property: The end time of the operation.
- *
- * @param endTime the endTime value to set.
- * @return the OperationStatusResultInner object itself.
- */
- public OperationStatusResultInner withEndTime(OffsetDateTime endTime) {
- this.endTime = endTime;
- return this;
- }
-
- /**
- * Get the operations property: The operations list.
- *
- * @return the operations value.
- */
- public List operations() {
- return this.operations;
- }
-
- /**
- * Set the operations property: The operations list.
- *
- * @param operations the operations value to set.
- * @return the OperationStatusResultInner object itself.
- */
- public OperationStatusResultInner withOperations(List operations) {
- this.operations = operations;
- return this;
- }
-
- /**
- * Get the error property: If present, details of the operation error.
- *
- * @return the error value.
- */
- public ManagementError error() {
- return this.error;
- }
-
- /**
- * Set the error property: If present, details of the operation error.
- *
- * @param error the error value to set.
- * @return the OperationStatusResultInner object itself.
- */
- public OperationStatusResultInner withError(ManagementError error) {
- this.error = error;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (status() == null) {
- throw LOGGER.atError()
- .log(new IllegalArgumentException(
- "Missing required property status in model OperationStatusResultInner"));
- }
- if (operations() != null) {
- operations().forEach(e -> e.validate());
- }
- }
-
- private static final ClientLogger LOGGER = new ClientLogger(OperationStatusResultInner.class);
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeStringField("status", this.status);
- jsonWriter.writeStringField("id", this.id);
- jsonWriter.writeStringField("name", this.name);
- jsonWriter.writeNumberField("percentComplete", this.percentComplete);
- jsonWriter.writeStringField("startTime",
- this.startTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.startTime));
- jsonWriter.writeStringField("endTime",
- this.endTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.endTime));
- jsonWriter.writeArrayField("operations", this.operations, (writer, element) -> writer.writeJson(element));
- jsonWriter.writeJsonField("error", this.error);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of OperationStatusResultInner from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of OperationStatusResultInner if the JsonReader was pointing to an instance of it, or null if
- * it was pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the OperationStatusResultInner.
- */
- public static OperationStatusResultInner fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- OperationStatusResultInner deserializedOperationStatusResultInner = new OperationStatusResultInner();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("status".equals(fieldName)) {
- deserializedOperationStatusResultInner.status = reader.getString();
- } else if ("id".equals(fieldName)) {
- deserializedOperationStatusResultInner.id = reader.getString();
- } else if ("resourceId".equals(fieldName)) {
- deserializedOperationStatusResultInner.resourceId = reader.getString();
- } else if ("name".equals(fieldName)) {
- deserializedOperationStatusResultInner.name = reader.getString();
- } else if ("percentComplete".equals(fieldName)) {
- deserializedOperationStatusResultInner.percentComplete = reader.getNullable(JsonReader::getFloat);
- } else if ("startTime".equals(fieldName)) {
- deserializedOperationStatusResultInner.startTime = reader
- .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
- } else if ("endTime".equals(fieldName)) {
- deserializedOperationStatusResultInner.endTime = reader
- .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
- } else if ("operations".equals(fieldName)) {
- List operations
- = reader.readArray(reader1 -> OperationStatusResultInner.fromJson(reader1));
- deserializedOperationStatusResultInner.operations = operations;
- } else if ("error".equals(fieldName)) {
- deserializedOperationStatusResultInner.error = ManagementError.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedOperationStatusResultInner;
- });
- }
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/SafeguardsAvailableVersionInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/SafeguardsAvailableVersionInner.java
deleted file mode 100644
index a2de612e5b19..000000000000
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/SafeguardsAvailableVersionInner.java
+++ /dev/null
@@ -1,175 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.containerservice.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.management.SystemData;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.containerservice.models.SafeguardsAvailableVersionsProperties;
-import java.io.IOException;
-
-/**
- * Available Safeguards Version.
- */
-@Fluent
-public final class SafeguardsAvailableVersionInner extends ProxyResource {
- /*
- * Whether the version is default or not and support info.
- */
- private SafeguardsAvailableVersionsProperties properties;
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
- */
- private SystemData systemData;
-
- /*
- * The type of the resource.
- */
- private String type;
-
- /*
- * The name of the resource.
- */
- private String name;
-
- /*
- * Fully qualified resource Id for the resource.
- */
- private String id;
-
- /**
- * Creates an instance of SafeguardsAvailableVersionInner class.
- */
- public SafeguardsAvailableVersionInner() {
- }
-
- /**
- * Get the properties property: Whether the version is default or not and support info.
- *
- * @return the properties value.
- */
- public SafeguardsAvailableVersionsProperties properties() {
- return this.properties;
- }
-
- /**
- * Set the properties property: Whether the version is default or not and support info.
- *
- * @param properties the properties value to set.
- * @return the SafeguardsAvailableVersionInner object itself.
- */
- public SafeguardsAvailableVersionInner withProperties(SafeguardsAvailableVersionsProperties properties) {
- this.properties = properties;
- return this;
- }
-
- /**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /**
- * Get the type property: The type of the resource.
- *
- * @return the type value.
- */
- @Override
- public String type() {
- return this.type;
- }
-
- /**
- * Get the name property: The name of the resource.
- *
- * @return the name value.
- */
- @Override
- public String name() {
- return this.name;
- }
-
- /**
- * Get the id property: Fully qualified resource Id for the resource.
- *
- * @return the id value.
- */
- @Override
- public String id() {
- return this.id;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() == null) {
- throw LOGGER.atError()
- .log(new IllegalArgumentException(
- "Missing required property properties in model SafeguardsAvailableVersionInner"));
- } else {
- properties().validate();
- }
- }
-
- private static final ClientLogger LOGGER = new ClientLogger(SafeguardsAvailableVersionInner.class);
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeJsonField("properties", this.properties);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of SafeguardsAvailableVersionInner from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of SafeguardsAvailableVersionInner if the JsonReader was pointing to an instance of it, or
- * null if it was pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the SafeguardsAvailableVersionInner.
- */
- public static SafeguardsAvailableVersionInner fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- SafeguardsAvailableVersionInner deserializedSafeguardsAvailableVersionInner
- = new SafeguardsAvailableVersionInner();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("id".equals(fieldName)) {
- deserializedSafeguardsAvailableVersionInner.id = reader.getString();
- } else if ("name".equals(fieldName)) {
- deserializedSafeguardsAvailableVersionInner.name = reader.getString();
- } else if ("type".equals(fieldName)) {
- deserializedSafeguardsAvailableVersionInner.type = reader.getString();
- } else if ("properties".equals(fieldName)) {
- deserializedSafeguardsAvailableVersionInner.properties
- = SafeguardsAvailableVersionsProperties.fromJson(reader);
- } else if ("systemData".equals(fieldName)) {
- deserializedSafeguardsAvailableVersionInner.systemData = SystemData.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedSafeguardsAvailableVersionInner;
- });
- }
-}
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/SnapshotInner.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/SnapshotInner.java
index da39cf8be25d..70b300a40509 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/SnapshotInner.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/SnapshotInner.java
@@ -195,9 +195,9 @@ public OSType osType() {
}
/**
- * Get the osSku property: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if
- * OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after
- * Windows2019 is deprecated.
+ * Get the osSku property: Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux.
+ * The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is
+ * Windows.
*
* @return the osSku value.
*/
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/SnapshotProperties.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/SnapshotProperties.java
index ebeef6c8b15a..dc9593d1697f 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/SnapshotProperties.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/SnapshotProperties.java
@@ -46,9 +46,8 @@ public final class SnapshotProperties implements JsonSerializable= 1.25 if OSType is Windows.
*/
private OSSku osSku;
@@ -138,9 +137,9 @@ public OSType osType() {
}
/**
- * Get the osSku property: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if
- * OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after
- * Windows2019 is deprecated.
+ * Get the osSku property: Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux.
+ * The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is
+ * Windows.
*
* @return the osSku value.
*/
diff --git a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java
index f05fb442e38a..04eb32db2c35 100644
--- a/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java
+++ b/sdk/containerservice/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java
@@ -132,15 +132,6 @@ Mono> getUpgradeProfile(@HostParam("$host
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName,
@PathParam("agentPoolName") String agentPoolName, @HeaderParam("Accept") String accept, Context context);
- @Headers({ "Content-Type: application/json" })
- @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/completeUpgrade")
- @ExpectedResponses({ 202 })
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono