diff --git a/sdk/resourcemanager/api-specs.json b/sdk/resourcemanager/api-specs.json
index e67792ca9b02a..71f5c262f4e2c 100644
--- a/sdk/resourcemanager/api-specs.json
+++ b/sdk/resourcemanager/api-specs.json
@@ -102,7 +102,7 @@
"dir": "azure-resourcemanager-containerservice",
"source": "specification/containerservice/resource-manager/readme.md",
"package": "com.azure.resourcemanager.containerservice",
- "args": "--payload-flattening-threshold=1 --tag=package-2021-03 --title=ContainerServiceManagementClient --description=\"Container Service Client\" --remove-model=BaseManagedCluster --rename-model=ManagedClusterIdentityUserAssignedIdentitiesValue:ManagedClusterIdentityUserAssignedIdentities,ManagedClusterPropertiesIdentityProfile:ManagedClusterPropertiesIdentityProfileValue",
+ "args": "--payload-flattening-threshold=1 --tag=package-2021-05 --title=ContainerServiceManagementClient --description=\"Container Service Client\" --remove-model=BaseManagedCluster --rename-model=ManagedClusterIdentityUserAssignedIdentitiesValue:ManagedClusterIdentityUserAssignedIdentities,ManagedClusterPropertiesIdentityProfile:ManagedClusterPropertiesIdentityProfileValue",
"note": "Remove 'final' from 'ManagedClusterAgentPoolProfile'"
},
"cosmos": {
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md
index a4e3277decb15..c17d66399d848 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md
@@ -2,6 +2,7 @@
## 2.6.0-beta.1 (Unreleased)
+- Updated `api-version` to `2021-05-01`
- Supported spot virtual machine for agent pool of `KubernetesCluster`.
## 2.5.0 (2021-05-28)
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml b/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml
index 8c90bac5ddb7e..2f32ad9ccd057 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml
@@ -148,6 +148,8 @@
revapi-maven-plugin
0.11.2
+ true
+
-
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceManagementClient.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceManagementClient.java
index 7d3ff2b0ba6e6..2b3a723a43c18 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceManagementClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ContainerServiceManagementClient.java
@@ -38,6 +38,20 @@ public interface ContainerServiceManagementClient {
*/
Duration getDefaultPollInterval();
+ /**
+ * Gets the OpenShiftManagedClustersClient object to access its operations.
+ *
+ * @return the OpenShiftManagedClustersClient object.
+ */
+ OpenShiftManagedClustersClient getOpenShiftManagedClusters();
+
+ /**
+ * Gets the ContainerServicesClient object to access its operations.
+ *
+ * @return the ContainerServicesClient object.
+ */
+ ContainerServicesClient getContainerServices();
+
/**
* Gets the OperationsClient object to access its operations.
*
@@ -86,18 +100,4 @@ public interface ContainerServiceManagementClient {
* @return the ResolvePrivateLinkServiceIdsClient object.
*/
ResolvePrivateLinkServiceIdsClient getResolvePrivateLinkServiceIds();
-
- /**
- * Gets the OpenShiftManagedClustersClient object to access its operations.
- *
- * @return the OpenShiftManagedClustersClient object.
- */
- OpenShiftManagedClustersClient getOpenShiftManagedClusters();
-
- /**
- * Gets the ContainerServicesClient object to access its operations.
- *
- * @return the ContainerServicesClient object.
- */
- ContainerServicesClient getContainerServices();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ManagedClustersClient.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ManagedClustersClient.java
index 5f8d88740ab81..01e37bf223c79 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ManagedClustersClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/ManagedClustersClient.java
@@ -18,6 +18,7 @@
import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner;
import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterUpgradeProfileInner;
import com.azure.resourcemanager.containerservice.fluent.models.OSOptionProfileInner;
+import com.azure.resourcemanager.containerservice.fluent.models.OutboundEnvironmentEndpointInner;
import com.azure.resourcemanager.containerservice.fluent.models.RunCommandResultInner;
import com.azure.resourcemanager.containerservice.models.ManagedClusterAadProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile;
@@ -318,6 +319,7 @@ Response getAccessProfileWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @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.
@@ -325,7 +327,22 @@ Response getAccessProfileWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono> listClusterAdminCredentialsWithResponseAsync(
- String resourceGroupName, String resourceName);
+ String resourceGroupName, String resourceName, String serverFqdn);
+
+ /**
+ * Gets cluster admin credential of the managed cluster with a specified resource group and name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
+ * @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 cluster admin credential of the managed cluster with a specified resource group and name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono listClusterAdminCredentialsAsync(
+ String resourceGroupName, String resourceName, String serverFqdn);
/**
* Gets cluster admin credential of the managed cluster with a specified resource group and name.
@@ -358,6 +375,7 @@ Mono> listClusterAdminCredentialsWithResponseAs
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @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.
@@ -366,13 +384,14 @@ Mono> listClusterAdminCredentialsWithResponseAs
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listClusterAdminCredentialsWithResponse(
- String resourceGroupName, String resourceName, Context context);
+ String resourceGroupName, String resourceName, String serverFqdn, Context context);
/**
* Gets cluster user credential of the managed cluster with a specified resource group and name.
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @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.
@@ -380,7 +399,22 @@ Response listClusterAdminCredentialsWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono> listClusterUserCredentialsWithResponseAsync(
- String resourceGroupName, String resourceName);
+ String resourceGroupName, String resourceName, String serverFqdn);
+
+ /**
+ * Gets cluster user credential of the managed cluster with a specified resource group and name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
+ * @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 cluster user credential of the managed cluster with a specified resource group and name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono listClusterUserCredentialsAsync(
+ String resourceGroupName, String resourceName, String serverFqdn);
/**
* Gets cluster user credential of the managed cluster with a specified resource group and name.
@@ -413,6 +447,7 @@ Mono> listClusterUserCredentialsWithResponseAsy
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @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.
@@ -421,13 +456,14 @@ Mono> listClusterUserCredentialsWithResponseAsy
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listClusterUserCredentialsWithResponse(
- String resourceGroupName, String resourceName, Context context);
+ String resourceGroupName, String resourceName, String serverFqdn, Context context);
/**
* Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @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.
@@ -435,7 +471,22 @@ Response listClusterUserCredentialsWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono> listClusterMonitoringUserCredentialsWithResponseAsync(
- String resourceGroupName, String resourceName);
+ String resourceGroupName, String resourceName, String serverFqdn);
+
+ /**
+ * Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
+ * @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 cluster monitoring user credential of the managed cluster with a specified resource group and name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono listClusterMonitoringUserCredentialsAsync(
+ String resourceGroupName, String resourceName, String serverFqdn);
/**
* Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.
@@ -469,6 +520,7 @@ Mono listClusterMonitoringUserCredentialsAsync(
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @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.
@@ -477,7 +529,7 @@ Mono listClusterMonitoringUserCredentialsAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listClusterMonitoringUserCredentialsWithResponse(
- String resourceGroupName, String resourceName, Context context);
+ String resourceGroupName, String resourceName, String serverFqdn, Context context);
/**
* Gets the details of the managed cluster with a specified resource group and name.
@@ -1516,4 +1568,53 @@ Mono> getCommandResultWithResponseAsync(
@ServiceMethod(returns = ReturnType.SINGLE)
Response getCommandResultWithResponse(
String resourceGroupName, String resourceName, String commandId, Context context);
+
+ /**
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster. The operation returns properties of each egress endpoint.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listOutboundNetworkDependenciesEndpointsAsync(
+ String resourceGroupName, String resourceName);
+
+ /**
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster. The operation returns properties of each egress endpoint.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listOutboundNetworkDependenciesEndpoints(
+ String resourceGroupName, String resourceName);
+
+ /**
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster. The operation returns properties of each egress endpoint.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listOutboundNetworkDependenciesEndpoints(
+ String resourceGroupName, String resourceName, Context context);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolInner.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolInner.java
index f617afe971155..9ebf9da9962c9 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/AgentPoolInner.java
@@ -34,8 +34,8 @@ public class AgentPoolInner extends SubResource {
/*
* Number of agents (VMs) to host docker containers. Allowed values must be
- * in the range of 0 to 100 (inclusive) for user pools and in the range of
- * 1 to 100 (inclusive) for system pools. The default value is 1.
+ * in the range of 0 to 1000 (inclusive) for user pools and in the range of
+ * 1 to 1000 (inclusive) for system pools. The default value is 1.
*/
@JsonProperty(value = "properties.count")
private Integer count;
@@ -252,6 +252,12 @@ public class AgentPoolInner extends SubResource {
@JsonProperty(value = "properties.enableEncryptionAtHost")
private Boolean enableEncryptionAtHost;
+ /*
+ * Whether to enable UltraSSD
+ */
+ @JsonProperty(value = "properties.enableUltraSSD")
+ private Boolean enableUltraSsd;
+
/*
* Whether to use FIPS enabled OS
*/
@@ -281,8 +287,8 @@ public class AgentPoolInner extends SubResource {
/**
* Get the count property: Number of agents (VMs) to host docker containers. Allowed values must be in the range of
- * 0 to 100 (inclusive) for user pools and in the range of 1 to 100 (inclusive) for system pools. The default value
- * is 1.
+ * 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default
+ * value is 1.
*
* @return the count value.
*/
@@ -292,8 +298,8 @@ public Integer count() {
/**
* Set the count property: Number of agents (VMs) to host docker containers. Allowed values must be in the range of
- * 0 to 100 (inclusive) for user pools and in the range of 1 to 100 (inclusive) for system pools. The default value
- * is 1.
+ * 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default
+ * value is 1.
*
* @param count the count value to set.
* @return the AgentPoolInner object itself.
@@ -935,6 +941,26 @@ public AgentPoolInner withEnableEncryptionAtHost(Boolean enableEncryptionAtHost)
return this;
}
+ /**
+ * Get the enableUltraSsd property: Whether to enable UltraSSD.
+ *
+ * @return the enableUltraSsd value.
+ */
+ public Boolean enableUltraSsd() {
+ return this.enableUltraSsd;
+ }
+
+ /**
+ * Set the enableUltraSsd property: Whether to enable UltraSSD.
+ *
+ * @param enableUltraSsd the enableUltraSsd value to set.
+ * @return the AgentPoolInner object itself.
+ */
+ public AgentPoolInner withEnableUltraSsd(Boolean enableUltraSsd) {
+ this.enableUltraSsd = enableUltraSsd;
+ return this;
+ }
+
/**
* Get the enableFips property: Whether to use FIPS enabled OS.
*
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/OutboundEnvironmentEndpointInner.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/OutboundEnvironmentEndpointInner.java
new file mode 100644
index 0000000000000..1680fde8f3720
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/fluent/models/OutboundEnvironmentEndpointInner.java
@@ -0,0 +1,84 @@
+// 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.resourcemanager.containerservice.models.EndpointDependency;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Egress endpoints which AKS agent nodes connect to for common purpose. */
+@Fluent
+public final class OutboundEnvironmentEndpointInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OutboundEnvironmentEndpointInner.class);
+
+ /*
+ * The category of endpoints accessed by the AKS agent node, e.g.
+ * azure-resource-management, apiserver, etc.
+ */
+ @JsonProperty(value = "category")
+ private String category;
+
+ /*
+ * The endpoints that AKS agent nodes connect to
+ */
+ @JsonProperty(value = "endpoints")
+ private List endpoints;
+
+ /**
+ * Get the category property: The category of endpoints accessed by the AKS agent node, e.g.
+ * azure-resource-management, apiserver, etc.
+ *
+ * @return the category value.
+ */
+ public String category() {
+ return this.category;
+ }
+
+ /**
+ * Set the category property: The category of endpoints accessed by the AKS agent node, e.g.
+ * azure-resource-management, apiserver, etc.
+ *
+ * @param category the category value to set.
+ * @return the OutboundEnvironmentEndpointInner object itself.
+ */
+ public OutboundEnvironmentEndpointInner withCategory(String category) {
+ this.category = category;
+ return this;
+ }
+
+ /**
+ * Get the endpoints property: The endpoints that AKS agent nodes connect to.
+ *
+ * @return the endpoints value.
+ */
+ public List endpoints() {
+ return this.endpoints;
+ }
+
+ /**
+ * Set the endpoints property: The endpoints that AKS agent nodes connect to.
+ *
+ * @param endpoints the endpoints value to set.
+ * @return the OutboundEnvironmentEndpointInner object itself.
+ */
+ public OutboundEnvironmentEndpointInner withEndpoints(List endpoints) {
+ this.endpoints = endpoints;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (endpoints() != null) {
+ endpoints().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java
index 19d59f22a3e9d..0dca33d850e9a 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java
@@ -223,7 +223,7 @@ private Mono> listSinglePageAsync(String resourceG
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -282,7 +282,7 @@ private Mono> listSinglePageAsync(
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -406,7 +406,7 @@ public Mono> getWithResponseAsync(
if (agentPoolName == null) {
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -461,7 +461,7 @@ private Mono> getWithResponseAsync(
if (agentPoolName == null) {
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -576,7 +576,7 @@ public Mono>> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -642,7 +642,7 @@ private Mono>> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -874,7 +874,7 @@ public Mono>> deleteWithResponseAsync(
if (agentPoolName == null) {
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -929,7 +929,7 @@ private Mono>> deleteWithResponseAsync(
if (agentPoolName == null) {
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1129,7 +1129,7 @@ public Mono> getUpgradeProfileWithRespons
if (agentPoolName == null) {
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1186,7 +1186,7 @@ private Mono> getUpgradeProfileWithRespon
if (agentPoolName == null) {
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1299,7 +1299,7 @@ public Mono> getAvailableAgentPoolVers
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1349,7 +1349,7 @@ private Mono> getAvailableAgentPoolVer
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1456,7 +1456,7 @@ public Mono>> upgradeNodeImageVersionWithResponseAsync
if (agentPoolName == null) {
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1511,7 +1511,7 @@ private Mono>> upgradeNodeImageVersionWithResponseAsyn
if (agentPoolName == null) {
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ContainerServiceManagementClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ContainerServiceManagementClientImpl.java
index fe01f80642bbb..841517d813ad0 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ContainerServiceManagementClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ContainerServiceManagementClientImpl.java
@@ -92,6 +92,30 @@ public Duration getDefaultPollInterval() {
return this.defaultPollInterval;
}
+ /** The OpenShiftManagedClustersClient object to access its operations. */
+ private final OpenShiftManagedClustersClient openShiftManagedClusters;
+
+ /**
+ * Gets the OpenShiftManagedClustersClient object to access its operations.
+ *
+ * @return the OpenShiftManagedClustersClient object.
+ */
+ public OpenShiftManagedClustersClient getOpenShiftManagedClusters() {
+ return this.openShiftManagedClusters;
+ }
+
+ /** The ContainerServicesClient object to access its operations. */
+ private final ContainerServicesClient containerServices;
+
+ /**
+ * Gets the ContainerServicesClient object to access its operations.
+ *
+ * @return the ContainerServicesClient object.
+ */
+ public ContainerServicesClient getContainerServices() {
+ return this.containerServices;
+ }
+
/** The OperationsClient object to access its operations. */
private final OperationsClient operations;
@@ -176,30 +200,6 @@ public ResolvePrivateLinkServiceIdsClient getResolvePrivateLinkServiceIds() {
return this.resolvePrivateLinkServiceIds;
}
- /** The OpenShiftManagedClustersClient object to access its operations. */
- private final OpenShiftManagedClustersClient openShiftManagedClusters;
-
- /**
- * Gets the OpenShiftManagedClustersClient object to access its operations.
- *
- * @return the OpenShiftManagedClustersClient object.
- */
- public OpenShiftManagedClustersClient getOpenShiftManagedClusters() {
- return this.openShiftManagedClusters;
- }
-
- /** The ContainerServicesClient object to access its operations. */
- private final ContainerServicesClient containerServices;
-
- /**
- * Gets the ContainerServicesClient object to access its operations.
- *
- * @return the ContainerServicesClient object.
- */
- public ContainerServicesClient getContainerServices() {
- return this.containerServices;
- }
-
/**
* Initializes an instance of ContainerServiceManagementClient client.
*
@@ -224,6 +224,8 @@ public ContainerServicesClient getContainerServices() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
+ this.openShiftManagedClusters = new OpenShiftManagedClustersClientImpl(this);
+ this.containerServices = new ContainerServicesClientImpl(this);
this.operations = new OperationsClientImpl(this);
this.managedClusters = new ManagedClustersClientImpl(this);
this.maintenanceConfigurations = new MaintenanceConfigurationsClientImpl(this);
@@ -231,7 +233,5 @@ public ContainerServicesClient getContainerServices() {
this.privateEndpointConnections = new PrivateEndpointConnectionsClientImpl(this);
this.privateLinkResources = new PrivateLinkResourcesClientImpl(this);
this.resolvePrivateLinkServiceIds = new ResolvePrivateLinkServiceIdsClientImpl(this);
- this.openShiftManagedClusters = new OpenShiftManagedClustersClientImpl(this);
- this.containerServices = new ContainerServicesClientImpl(this);
}
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/KubernetesClusterAgentPoolImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/KubernetesClusterAgentPoolImpl.java
index 17d64112be5d3..7cbdb6467508c 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/KubernetesClusterAgentPoolImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/KubernetesClusterAgentPoolImpl.java
@@ -233,6 +233,7 @@ public AgentPoolInner getAgentPoolInner() {
agentPoolInner.withKubeletConfig(innerModel().kubeletConfig());
agentPoolInner.withLinuxOSConfig(innerModel().linuxOSConfig());
agentPoolInner.withEnableEncryptionAtHost(innerModel().enableEncryptionAtHost());
+ agentPoolInner.withEnableUltraSsd(innerModel().enableUltraSsd());
agentPoolInner.withEnableFips(innerModel().enableFips());
agentPoolInner.withGpuInstanceProfile(innerModel().gpuInstanceProfile());
return agentPoolInner;
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/MaintenanceConfigurationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/MaintenanceConfigurationsClientImpl.java
index e6f015acc5176..0c83f3a301cd9 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/MaintenanceConfigurationsClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/MaintenanceConfigurationsClientImpl.java
@@ -172,7 +172,7 @@ private Mono> listByManagedClusterS
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -232,7 +232,7 @@ private Mono> listByManagedClusterS
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -365,7 +365,7 @@ public Mono> getWithResponseAsync(
if (configName == null) {
return Mono.error(new IllegalArgumentException("Parameter configName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -420,7 +420,7 @@ private Mono> getWithResponseAsync(
if (configName == null) {
return Mono.error(new IllegalArgumentException("Parameter configName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -536,7 +536,7 @@ public Mono> createOrUpdateWithResponseA
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -602,7 +602,7 @@ private Mono> createOrUpdateWithResponse
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -722,7 +722,7 @@ public Mono> deleteWithResponseAsync(
if (configName == null) {
return Mono.error(new IllegalArgumentException("Parameter configName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -777,7 +777,7 @@ private Mono> deleteWithResponseAsync(
if (configName == null) {
return Mono.error(new IllegalArgumentException("Parameter configName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ManagedClustersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ManagedClustersClientImpl.java
index 9f7d87bf4b72c..9018b403c4973 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ManagedClustersClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ManagedClustersClientImpl.java
@@ -40,10 +40,12 @@
import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner;
import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterUpgradeProfileInner;
import com.azure.resourcemanager.containerservice.fluent.models.OSOptionProfileInner;
+import com.azure.resourcemanager.containerservice.fluent.models.OutboundEnvironmentEndpointInner;
import com.azure.resourcemanager.containerservice.fluent.models.RunCommandResultInner;
import com.azure.resourcemanager.containerservice.models.ManagedClusterAadProfile;
import com.azure.resourcemanager.containerservice.models.ManagedClusterListResult;
import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile;
+import com.azure.resourcemanager.containerservice.models.OutboundEnvironmentEndpointCollection;
import com.azure.resourcemanager.containerservice.models.RunCommandRequest;
import com.azure.resourcemanager.containerservice.models.TagsObject;
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
@@ -169,6 +171,7 @@ Mono> listClusterAdminCredentials(
@PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
@PathParam("resourceName") String resourceName,
+ @QueryParam("server-fqdn") String serverFqdn,
@HeaderParam("Accept") String accept,
Context context);
@@ -184,6 +187,7 @@ Mono> listClusterUserCredentials(
@PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
@PathParam("resourceName") String resourceName,
+ @QueryParam("server-fqdn") String serverFqdn,
@HeaderParam("Accept") String accept,
Context context);
@@ -199,6 +203,7 @@ Mono> listClusterMonitoringUserCredentials(
@PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
@PathParam("resourceName") String resourceName,
+ @QueryParam("server-fqdn") String serverFqdn,
@HeaderParam("Accept") String accept,
Context context);
@@ -373,6 +378,21 @@ Mono> getCommandResult(
@HeaderParam("Accept") String accept,
Context context);
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService"
+ + "/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listOutboundNetworkDependenciesEndpoints(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("resourceName") String resourceName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
@Headers({"Content-Type: application/json"})
@Get("{nextLink}")
@ExpectedResponses({200})
@@ -392,6 +412,16 @@ Mono> listByResourceGroupNext(
@HostParam("$host") String endpoint,
@HeaderParam("Accept") String accept,
Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get("{nextLink}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listOutboundNetworkDependenciesEndpointsNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String endpoint,
+ @HeaderParam("Accept") String accept,
+ Context context);
}
/**
@@ -421,7 +451,7 @@ public Mono> getOSOptionsWithResponseAsync(String
if (location == null) {
return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -467,7 +497,7 @@ private Mono> getOSOptionsWithResponseAsync(
if (location == null) {
return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -581,7 +611,7 @@ private Mono> listSinglePageAsync() {
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -624,7 +654,7 @@ private Mono> listSinglePageAsync(Context con
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -725,7 +755,7 @@ private Mono> listByResourceGroupSinglePageAs
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -780,7 +810,7 @@ private Mono> listByResourceGroupSinglePageAs
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -900,7 +930,7 @@ public Mono> getUpgradeProfileWithRe
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -950,7 +980,7 @@ private Mono> getUpgradeProfileWithR
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1062,7 +1092,7 @@ public Mono> getAccessProfileWithResp
if (roleName == null) {
return Mono.error(new IllegalArgumentException("Parameter roleName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1123,7 +1153,7 @@ private Mono> getAccessProfileWithRes
if (roleName == null) {
return Mono.error(new IllegalArgumentException("Parameter roleName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1221,6 +1251,7 @@ public Response getAccessProfileWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1228,7 +1259,7 @@ public Response getAccessProfileWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono> listClusterAdminCredentialsWithResponseAsync(
- String resourceGroupName, String resourceName) {
+ String resourceGroupName, String resourceName, String serverFqdn) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -1248,7 +1279,7 @@ public Mono> listClusterAdminCredentialsWithRes
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1260,6 +1291,7 @@ public Mono> listClusterAdminCredentialsWithRes
this.client.getSubscriptionId(),
resourceGroupName,
resourceName,
+ serverFqdn,
accept,
context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
@@ -1270,6 +1302,7 @@ public Mono> listClusterAdminCredentialsWithRes
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1278,7 +1311,7 @@ public Mono> listClusterAdminCredentialsWithRes
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listClusterAdminCredentialsWithResponseAsync(
- String resourceGroupName, String resourceName, Context context) {
+ String resourceGroupName, String resourceName, String serverFqdn, Context context) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -1298,7 +1331,7 @@ private Mono> listClusterAdminCredentialsWithRe
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1308,10 +1341,36 @@ private Mono> listClusterAdminCredentialsWithRe
this.client.getSubscriptionId(),
resourceGroupName,
resourceName,
+ serverFqdn,
accept,
context);
}
+ /**
+ * Gets cluster admin credential of the managed cluster with a specified resource group and name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return cluster admin credential of the managed cluster with a specified resource group and name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono listClusterAdminCredentialsAsync(
+ String resourceGroupName, String resourceName, String serverFqdn) {
+ return listClusterAdminCredentialsWithResponseAsync(resourceGroupName, resourceName, serverFqdn)
+ .flatMap(
+ (Response res) -> {
+ if (res.getValue() != null) {
+ return Mono.just(res.getValue());
+ } else {
+ return Mono.empty();
+ }
+ });
+ }
+
/**
* Gets cluster admin credential of the managed cluster with a specified resource group and name.
*
@@ -1325,7 +1384,8 @@ private Mono> listClusterAdminCredentialsWithRe
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono listClusterAdminCredentialsAsync(
String resourceGroupName, String resourceName) {
- return listClusterAdminCredentialsWithResponseAsync(resourceGroupName, resourceName)
+ final String serverFqdn = null;
+ return listClusterAdminCredentialsWithResponseAsync(resourceGroupName, resourceName, serverFqdn)
.flatMap(
(Response res) -> {
if (res.getValue() != null) {
@@ -1348,7 +1408,8 @@ public Mono listClusterAdminCredentialsAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public CredentialResultsInner listClusterAdminCredentials(String resourceGroupName, String resourceName) {
- return listClusterAdminCredentialsAsync(resourceGroupName, resourceName).block();
+ final String serverFqdn = null;
+ return listClusterAdminCredentialsAsync(resourceGroupName, resourceName, serverFqdn).block();
}
/**
@@ -1356,6 +1417,7 @@ public CredentialResultsInner listClusterAdminCredentials(String resourceGroupNa
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1364,8 +1426,9 @@ public CredentialResultsInner listClusterAdminCredentials(String resourceGroupNa
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response listClusterAdminCredentialsWithResponse(
- String resourceGroupName, String resourceName, Context context) {
- return listClusterAdminCredentialsWithResponseAsync(resourceGroupName, resourceName, context).block();
+ String resourceGroupName, String resourceName, String serverFqdn, Context context) {
+ return listClusterAdminCredentialsWithResponseAsync(resourceGroupName, resourceName, serverFqdn, context)
+ .block();
}
/**
@@ -1373,6 +1436,7 @@ public Response listClusterAdminCredentialsWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1380,7 +1444,7 @@ public Response listClusterAdminCredentialsWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono> listClusterUserCredentialsWithResponseAsync(
- String resourceGroupName, String resourceName) {
+ String resourceGroupName, String resourceName, String serverFqdn) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -1400,7 +1464,7 @@ public Mono> listClusterUserCredentialsWithResp
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1412,6 +1476,7 @@ public Mono> listClusterUserCredentialsWithResp
this.client.getSubscriptionId(),
resourceGroupName,
resourceName,
+ serverFqdn,
accept,
context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
@@ -1422,6 +1487,7 @@ public Mono> listClusterUserCredentialsWithResp
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1430,7 +1496,7 @@ public Mono> listClusterUserCredentialsWithResp
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listClusterUserCredentialsWithResponseAsync(
- String resourceGroupName, String resourceName, Context context) {
+ String resourceGroupName, String resourceName, String serverFqdn, Context context) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -1450,7 +1516,7 @@ private Mono> listClusterUserCredentialsWithRes
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1460,10 +1526,36 @@ private Mono> listClusterUserCredentialsWithRes
this.client.getSubscriptionId(),
resourceGroupName,
resourceName,
+ serverFqdn,
accept,
context);
}
+ /**
+ * Gets cluster user credential of the managed cluster with a specified resource group and name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return cluster user credential of the managed cluster with a specified resource group and name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono listClusterUserCredentialsAsync(
+ String resourceGroupName, String resourceName, String serverFqdn) {
+ return listClusterUserCredentialsWithResponseAsync(resourceGroupName, resourceName, serverFqdn)
+ .flatMap(
+ (Response res) -> {
+ if (res.getValue() != null) {
+ return Mono.just(res.getValue());
+ } else {
+ return Mono.empty();
+ }
+ });
+ }
+
/**
* Gets cluster user credential of the managed cluster with a specified resource group and name.
*
@@ -1476,7 +1568,8 @@ private Mono> listClusterUserCredentialsWithRes
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono listClusterUserCredentialsAsync(String resourceGroupName, String resourceName) {
- return listClusterUserCredentialsWithResponseAsync(resourceGroupName, resourceName)
+ final String serverFqdn = null;
+ return listClusterUserCredentialsWithResponseAsync(resourceGroupName, resourceName, serverFqdn)
.flatMap(
(Response res) -> {
if (res.getValue() != null) {
@@ -1499,7 +1592,8 @@ public Mono listClusterUserCredentialsAsync(String resou
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public CredentialResultsInner listClusterUserCredentials(String resourceGroupName, String resourceName) {
- return listClusterUserCredentialsAsync(resourceGroupName, resourceName).block();
+ final String serverFqdn = null;
+ return listClusterUserCredentialsAsync(resourceGroupName, resourceName, serverFqdn).block();
}
/**
@@ -1507,6 +1601,7 @@ public CredentialResultsInner listClusterUserCredentials(String resourceGroupNam
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1515,8 +1610,9 @@ public CredentialResultsInner listClusterUserCredentials(String resourceGroupNam
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response listClusterUserCredentialsWithResponse(
- String resourceGroupName, String resourceName, Context context) {
- return listClusterUserCredentialsWithResponseAsync(resourceGroupName, resourceName, context).block();
+ String resourceGroupName, String resourceName, String serverFqdn, Context context) {
+ return listClusterUserCredentialsWithResponseAsync(resourceGroupName, resourceName, serverFqdn, context)
+ .block();
}
/**
@@ -1524,6 +1620,7 @@ public Response listClusterUserCredentialsWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1531,7 +1628,7 @@ public Response listClusterUserCredentialsWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono> listClusterMonitoringUserCredentialsWithResponseAsync(
- String resourceGroupName, String resourceName) {
+ String resourceGroupName, String resourceName, String serverFqdn) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -1551,7 +1648,7 @@ public Mono> listClusterMonitoringUserCredentia
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1563,6 +1660,7 @@ public Mono> listClusterMonitoringUserCredentia
this.client.getSubscriptionId(),
resourceGroupName,
resourceName,
+ serverFqdn,
accept,
context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
@@ -1573,6 +1671,7 @@ public Mono> listClusterMonitoringUserCredentia
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1581,7 +1680,7 @@ public Mono> listClusterMonitoringUserCredentia
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listClusterMonitoringUserCredentialsWithResponseAsync(
- String resourceGroupName, String resourceName, Context context) {
+ String resourceGroupName, String resourceName, String serverFqdn, Context context) {
if (this.client.getEndpoint() == null) {
return Mono
.error(
@@ -1601,7 +1700,7 @@ private Mono> listClusterMonitoringUserCredenti
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1611,10 +1710,36 @@ private Mono> listClusterMonitoringUserCredenti
this.client.getSubscriptionId(),
resourceGroupName,
resourceName,
+ serverFqdn,
accept,
context);
}
+ /**
+ * Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return cluster monitoring user credential of the managed cluster with a specified resource group and name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono listClusterMonitoringUserCredentialsAsync(
+ String resourceGroupName, String resourceName, String serverFqdn) {
+ return listClusterMonitoringUserCredentialsWithResponseAsync(resourceGroupName, resourceName, serverFqdn)
+ .flatMap(
+ (Response res) -> {
+ if (res.getValue() != null) {
+ return Mono.just(res.getValue());
+ } else {
+ return Mono.empty();
+ }
+ });
+ }
+
/**
* Gets cluster monitoring user credential of the managed cluster with a specified resource group and name.
*
@@ -1628,7 +1753,8 @@ private Mono> listClusterMonitoringUserCredenti
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono listClusterMonitoringUserCredentialsAsync(
String resourceGroupName, String resourceName) {
- return listClusterMonitoringUserCredentialsWithResponseAsync(resourceGroupName, resourceName)
+ final String serverFqdn = null;
+ return listClusterMonitoringUserCredentialsWithResponseAsync(resourceGroupName, resourceName, serverFqdn)
.flatMap(
(Response res) -> {
if (res.getValue() != null) {
@@ -1651,7 +1777,8 @@ public Mono listClusterMonitoringUserCredentialsAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public CredentialResultsInner listClusterMonitoringUserCredentials(String resourceGroupName, String resourceName) {
- return listClusterMonitoringUserCredentialsAsync(resourceGroupName, resourceName).block();
+ final String serverFqdn = null;
+ return listClusterMonitoringUserCredentialsAsync(resourceGroupName, resourceName, serverFqdn).block();
}
/**
@@ -1659,6 +1786,7 @@ public CredentialResultsInner listClusterMonitoringUserCredentials(String resour
*
* @param resourceGroupName The name of the resource group.
* @param resourceName The name of the managed cluster resource.
+ * @param serverFqdn server fqdn type for credentials to be returned.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1667,8 +1795,10 @@ public CredentialResultsInner listClusterMonitoringUserCredentials(String resour
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response listClusterMonitoringUserCredentialsWithResponse(
- String resourceGroupName, String resourceName, Context context) {
- return listClusterMonitoringUserCredentialsWithResponseAsync(resourceGroupName, resourceName, context).block();
+ String resourceGroupName, String resourceName, String serverFqdn, Context context) {
+ return listClusterMonitoringUserCredentialsWithResponseAsync(
+ resourceGroupName, resourceName, serverFqdn, context)
+ .block();
}
/**
@@ -1703,7 +1833,7 @@ public Mono> getByResourceGroupWithResponseAsync(
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1753,7 +1883,7 @@ private Mono> getByResourceGroupWithResponseAsync(
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1860,7 +1990,7 @@ public Mono>> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1917,7 +2047,7 @@ private Mono>> createOrUpdateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -2124,7 +2254,7 @@ public Mono>> updateTagsWithResponseAsync(
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
TagsObject parameters = new TagsObject();
parameters.withTags(tags);
@@ -2178,7 +2308,7 @@ private Mono>> updateTagsWithResponseAsync(
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
TagsObject parameters = new TagsObject();
parameters.withTags(tags);
@@ -2417,7 +2547,7 @@ public Mono>> deleteWithResponseAsync(String resourceG
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -2467,7 +2597,7 @@ private Mono>> deleteWithResponseAsync(
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -2652,7 +2782,7 @@ public Mono>> resetServicePrincipalProfileWithResponse
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -2712,7 +2842,7 @@ private Mono>> resetServicePrincipalProfileWithRespons
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -2929,7 +3059,7 @@ public Mono>> resetAadProfileWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -2986,7 +3116,7 @@ private Mono>> resetAadProfileWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -3183,7 +3313,7 @@ public Mono>> rotateClusterCertificatesWithResponseAsy
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -3233,7 +3363,7 @@ private Mono>> rotateClusterCertificatesWithResponseAs
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -3417,7 +3547,7 @@ public Mono>> stopWithResponseAsync(String resourceGro
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -3467,7 +3597,7 @@ private Mono>> stopWithResponseAsync(
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -3645,7 +3775,7 @@ public Mono>> startWithResponseAsync(String resourceGr
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -3695,7 +3825,7 @@ private Mono>> startWithResponseAsync(
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -3880,7 +4010,7 @@ public Mono>> runCommandWithResponseAsync(
} else {
requestPayload.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -3937,7 +4067,7 @@ private Mono>> runCommandWithResponseAsync(
} else {
requestPayload.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -4147,7 +4277,7 @@ public Mono> getCommandResultWithResponseAsync(
if (commandId == null) {
return Mono.error(new IllegalArgumentException("Parameter commandId is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -4202,7 +4332,7 @@ private Mono> getCommandResultWithResponseAsync(
if (commandId == null) {
return Mono.error(new IllegalArgumentException("Parameter commandId is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -4276,6 +4406,204 @@ public Response getCommandResultWithResponse(
return getCommandResultWithResponseAsync(resourceGroupName, resourceName, commandId, context).block();
}
+ /**
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster. The operation returns properties of each egress endpoint.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param resourceName The name of the managed cluster resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>
+ listOutboundNetworkDependenciesEndpointsSinglePageAsync(String resourceGroupName, String resourceName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (resourceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
+ }
+ final String apiVersion = "2021-05-01";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .listOutboundNetworkDependenciesEndpoints(
+ this.client.getEndpoint(),
+ apiVersion,
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ resourceName,
+ accept,
+ context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster. The operation returns properties of each egress endpoint.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 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 egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>
+ listOutboundNetworkDependenciesEndpointsSinglePageAsync(
+ String resourceGroupName, String resourceName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (resourceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
+ }
+ final String apiVersion = "2021-05-01";
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listOutboundNetworkDependenciesEndpoints(
+ this.client.getEndpoint(),
+ apiVersion,
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ resourceName,
+ accept,
+ context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+
+ /**
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster. The operation returns properties of each egress endpoint.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param resourceName The name of the managed cluster resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux listOutboundNetworkDependenciesEndpointsAsync(
+ String resourceGroupName, String resourceName) {
+ return new PagedFlux<>(
+ () -> listOutboundNetworkDependenciesEndpointsSinglePageAsync(resourceGroupName, resourceName),
+ nextLink -> listOutboundNetworkDependenciesEndpointsNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster. The operation returns properties of each egress endpoint.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 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 egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listOutboundNetworkDependenciesEndpointsAsync(
+ String resourceGroupName, String resourceName, Context context) {
+ return new PagedFlux<>(
+ () -> listOutboundNetworkDependenciesEndpointsSinglePageAsync(resourceGroupName, resourceName, context),
+ nextLink -> listOutboundNetworkDependenciesEndpointsNextSinglePageAsync(nextLink, context));
+ }
+
+ /**
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster. The operation returns properties of each egress endpoint.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param resourceName The name of the managed cluster resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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 egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listOutboundNetworkDependenciesEndpoints(
+ String resourceGroupName, String resourceName) {
+ return new PagedIterable<>(listOutboundNetworkDependenciesEndpointsAsync(resourceGroupName, resourceName));
+ }
+
+ /**
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster. The operation returns properties of each egress endpoint.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 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 egress endpoints (network endpoints of all outbound dependencies) in the specified managed
+ * cluster.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listOutboundNetworkDependenciesEndpoints(
+ String resourceGroupName, String resourceName, Context context) {
+ return new PagedIterable<>(
+ listOutboundNetworkDependenciesEndpointsAsync(resourceGroupName, resourceName, context));
+ }
+
/**
* Get the next page of items.
*
@@ -4419,4 +4747,81 @@ private Mono> listByResourceGroupNextSinglePa
res.getValue().nextLink(),
null));
}
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The nextLink parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of OutboundEnvironmentEndpoint.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>
+ listOutboundNetworkDependenciesEndpointsNextSinglePageAsync(String nextLink) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .listOutboundNetworkDependenciesEndpointsNext(
+ nextLink, this.client.getEndpoint(), accept, context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The nextLink parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection of OutboundEnvironmentEndpoint.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>
+ listOutboundNetworkDependenciesEndpointsNextSinglePageAsync(String nextLink, Context context) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listOutboundNetworkDependenciesEndpointsNext(nextLink, this.client.getEndpoint(), accept, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/OperationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/OperationsClientImpl.java
index e5dba604fe905..5d440150c25e7 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/OperationsClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/OperationsClientImpl.java
@@ -84,7 +84,7 @@ private Mono> listSinglePageAsync() {
new IllegalArgumentException(
"Parameter this.client.getEndpoint() is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.list(this.client.getEndpoint(), apiVersion, accept, context))
@@ -112,7 +112,7 @@ private Mono> listSinglePageAsync(Context con
new IllegalArgumentException(
"Parameter this.client.getEndpoint() is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateEndpointConnectionsClientImpl.java
index bdc6c7b1a6ba2..c15142d93c2d7 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateEndpointConnectionsClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateEndpointConnectionsClientImpl.java
@@ -163,7 +163,7 @@ public Mono> listWithResponse
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -214,7 +214,7 @@ private Mono> listWithRespons
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -325,7 +325,7 @@ public Mono> getWithResponseAsync(
new IllegalArgumentException(
"Parameter privateEndpointConnectionName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -383,7 +383,7 @@ private Mono> getWithResponseAsync(
new IllegalArgumentException(
"Parameter privateEndpointConnectionName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -506,7 +506,7 @@ public Mono> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -575,7 +575,7 @@ private Mono> updateWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -705,7 +705,7 @@ public Mono>> deleteWithResponseAsync(
new IllegalArgumentException(
"Parameter privateEndpointConnectionName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -763,7 +763,7 @@ private Mono>> deleteWithResponseAsync(
new IllegalArgumentException(
"Parameter privateEndpointConnectionName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateLinkResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateLinkResourcesClientImpl.java
index 3ee8b05c911fe..e1cc61d080bf6 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateLinkResourcesClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateLinkResourcesClientImpl.java
@@ -104,7 +104,7 @@ public Mono> listWithResponseAsync
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -155,7 +155,7 @@ private Mono> listWithResponseAsyn
if (resourceName == null) {
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ResolvePrivateLinkServiceIdsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ResolvePrivateLinkServiceIdsClientImpl.java
index b0f73226572e6..b91f00b552efc 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ResolvePrivateLinkServiceIdsClientImpl.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ResolvePrivateLinkServiceIdsClientImpl.java
@@ -112,7 +112,7 @@ public Mono> postWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -169,7 +169,7 @@ private Mono> postWithResponseAsync(
} else {
parameters.validate();
}
- final String apiVersion = "2021-03-01";
+ final String apiVersion = "2021-05-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/Count.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/Count.java
index 2c452cc0f0d59..02c7b0568cf39 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/Count.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/Count.java
@@ -10,18 +10,18 @@
/** Defines values for Count. */
public enum Count {
/** Enum value 1. */
- ONE(1),
+ ONE("1"),
/** Enum value 3. */
- THREE(3),
+ THREE("3"),
/** Enum value 5. */
- FIVE(5);
+ FIVE("5");
/** The actual serialized value for a Count instance. */
- private final int value;
+ private final String value;
- Count(int value) {
+ Count(String value) {
this.value = value;
}
@@ -32,23 +32,19 @@ public enum Count {
* @return the parsed Count object, or null if unable to parse.
*/
@JsonCreator
- public static Count fromInt(int value) {
+ public static Count fromString(String value) {
Count[] items = Count.values();
for (Count item : items) {
- if (item.toInt() == value) {
+ if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}
- /**
- * De-serializes the instance to int value.
- *
- * @return the int value.
- */
@JsonValue
- public int toInt() {
+ @Override
+ public String toString() {
return this.value;
}
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/EndpointDependency.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/EndpointDependency.java
new file mode 100644
index 0000000000000..9c5140c2d58a9
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/EndpointDependency.java
@@ -0,0 +1,80 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** A domain name that AKS agent nodes are reaching at. */
+@Fluent
+public final class EndpointDependency {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(EndpointDependency.class);
+
+ /*
+ * The domain name of the dependency.
+ */
+ @JsonProperty(value = "domainName")
+ private String domainName;
+
+ /*
+ * The Ports and Protocols used when connecting to domainName.
+ */
+ @JsonProperty(value = "endpointDetails")
+ private List endpointDetails;
+
+ /**
+ * Get the domainName property: The domain name of the dependency.
+ *
+ * @return the domainName value.
+ */
+ public String domainName() {
+ return this.domainName;
+ }
+
+ /**
+ * Set the domainName property: The domain name of the dependency.
+ *
+ * @param domainName the domainName value to set.
+ * @return the EndpointDependency object itself.
+ */
+ public EndpointDependency withDomainName(String domainName) {
+ this.domainName = domainName;
+ return this;
+ }
+
+ /**
+ * Get the endpointDetails property: The Ports and Protocols used when connecting to domainName.
+ *
+ * @return the endpointDetails value.
+ */
+ public List endpointDetails() {
+ return this.endpointDetails;
+ }
+
+ /**
+ * Set the endpointDetails property: The Ports and Protocols used when connecting to domainName.
+ *
+ * @param endpointDetails the endpointDetails value to set.
+ * @return the EndpointDependency object itself.
+ */
+ public EndpointDependency withEndpointDetails(List endpointDetails) {
+ this.endpointDetails = endpointDetails;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (endpointDetails() != null) {
+ endpointDetails().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/EndpointDetail.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/EndpointDetail.java
new file mode 100644
index 0000000000000..aff6a09c74473
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/EndpointDetail.java
@@ -0,0 +1,128 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** connect information from the AKS agent nodes to a single endpoint. */
+@Fluent
+public final class EndpointDetail {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(EndpointDetail.class);
+
+ /*
+ * An IP Address that Domain Name currently resolves to.
+ */
+ @JsonProperty(value = "ipAddress")
+ private String ipAddress;
+
+ /*
+ * The port an endpoint is connected to.
+ */
+ @JsonProperty(value = "port")
+ private Integer port;
+
+ /*
+ * The protocol used for connection
+ */
+ @JsonProperty(value = "protocol")
+ private String protocol;
+
+ /*
+ * Description of the detail
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /**
+ * Get the ipAddress property: An IP Address that Domain Name currently resolves to.
+ *
+ * @return the ipAddress value.
+ */
+ public String ipAddress() {
+ return this.ipAddress;
+ }
+
+ /**
+ * Set the ipAddress property: An IP Address that Domain Name currently resolves to.
+ *
+ * @param ipAddress the ipAddress value to set.
+ * @return the EndpointDetail object itself.
+ */
+ public EndpointDetail withIpAddress(String ipAddress) {
+ this.ipAddress = ipAddress;
+ return this;
+ }
+
+ /**
+ * Get the port property: The port an endpoint is connected to.
+ *
+ * @return the port value.
+ */
+ public Integer port() {
+ return this.port;
+ }
+
+ /**
+ * Set the port property: The port an endpoint is connected to.
+ *
+ * @param port the port value to set.
+ * @return the EndpointDetail object itself.
+ */
+ public EndpointDetail withPort(Integer port) {
+ this.port = port;
+ return this;
+ }
+
+ /**
+ * Get the protocol property: The protocol used for connection.
+ *
+ * @return the protocol value.
+ */
+ public String protocol() {
+ return this.protocol;
+ }
+
+ /**
+ * Set the protocol property: The protocol used for connection.
+ *
+ * @param protocol the protocol value to set.
+ * @return the EndpointDetail object itself.
+ */
+ public EndpointDetail withProtocol(String protocol) {
+ this.protocol = protocol;
+ return this;
+ }
+
+ /**
+ * Get the description property: Description of the detail.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: Description of the detail.
+ *
+ * @param description the description value to set.
+ * @return the EndpointDetail object itself.
+ */
+ public EndpointDetail withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterAgentPoolProfile.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterAgentPoolProfile.java
index aea1bcd24e81f..baab5e1abcf84 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterAgentPoolProfile.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterAgentPoolProfile.java
@@ -255,6 +255,13 @@ public ManagedClusterAgentPoolProfile withEnableEncryptionAtHost(Boolean enableE
return this;
}
+ /** {@inheritDoc} */
+ @Override
+ public ManagedClusterAgentPoolProfile withEnableUltraSsd(Boolean enableUltraSsd) {
+ super.withEnableUltraSsd(enableUltraSsd);
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public ManagedClusterAgentPoolProfile withEnableFips(Boolean enableFips) {
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterAgentPoolProfileProperties.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterAgentPoolProfileProperties.java
index 2348f4aca6a31..d9eb87d6b2717 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterAgentPoolProfileProperties.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterAgentPoolProfileProperties.java
@@ -18,8 +18,8 @@ public class ManagedClusterAgentPoolProfileProperties {
/*
* Number of agents (VMs) to host docker containers. Allowed values must be
- * in the range of 0 to 100 (inclusive) for user pools and in the range of
- * 1 to 100 (inclusive) for system pools. The default value is 1.
+ * in the range of 0 to 1000 (inclusive) for user pools and in the range of
+ * 1 to 1000 (inclusive) for system pools. The default value is 1.
*/
@JsonProperty(value = "count")
private Integer count;
@@ -236,6 +236,12 @@ public class ManagedClusterAgentPoolProfileProperties {
@JsonProperty(value = "enableEncryptionAtHost")
private Boolean enableEncryptionAtHost;
+ /*
+ * Whether to enable UltraSSD
+ */
+ @JsonProperty(value = "enableUltraSSD")
+ private Boolean enableUltraSsd;
+
/*
* Whether to use FIPS enabled OS
*/
@@ -252,8 +258,8 @@ public class ManagedClusterAgentPoolProfileProperties {
/**
* Get the count property: Number of agents (VMs) to host docker containers. Allowed values must be in the range of
- * 0 to 100 (inclusive) for user pools and in the range of 1 to 100 (inclusive) for system pools. The default value
- * is 1.
+ * 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default
+ * value is 1.
*
* @return the count value.
*/
@@ -263,8 +269,8 @@ public Integer count() {
/**
* Set the count property: Number of agents (VMs) to host docker containers. Allowed values must be in the range of
- * 0 to 100 (inclusive) for user pools and in the range of 1 to 100 (inclusive) for system pools. The default value
- * is 1.
+ * 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default
+ * value is 1.
*
* @param count the count value to set.
* @return the ManagedClusterAgentPoolProfileProperties object itself.
@@ -907,6 +913,26 @@ public ManagedClusterAgentPoolProfileProperties withEnableEncryptionAtHost(Boole
return this;
}
+ /**
+ * Get the enableUltraSsd property: Whether to enable UltraSSD.
+ *
+ * @return the enableUltraSsd value.
+ */
+ public Boolean enableUltraSsd() {
+ return this.enableUltraSsd;
+ }
+
+ /**
+ * Set the enableUltraSsd property: Whether to enable UltraSSD.
+ *
+ * @param enableUltraSsd the enableUltraSsd value to set.
+ * @return the ManagedClusterAgentPoolProfileProperties object itself.
+ */
+ public ManagedClusterAgentPoolProfileProperties withEnableUltraSsd(Boolean enableUltraSsd) {
+ this.enableUltraSsd = enableUltraSsd;
+ return this;
+ }
+
/**
* Get the enableFips property: Whether to use FIPS enabled OS.
*
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterApiServerAccessProfile.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterApiServerAccessProfile.java
index ab97703223941..bb2705333d192 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterApiServerAccessProfile.java
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/ManagedClusterApiServerAccessProfile.java
@@ -33,6 +33,12 @@ public final class ManagedClusterApiServerAccessProfile {
@JsonProperty(value = "privateDNSZone")
private String privateDnsZone;
+ /*
+ * Whether to create additional public FQDN for private cluster or not.
+ */
+ @JsonProperty(value = "enablePrivateClusterPublicFQDN")
+ private Boolean enablePrivateClusterPublicFqdn;
+
/**
* Get the authorizedIpRanges property: Authorized IP Ranges to kubernetes API server.
*
@@ -93,6 +99,29 @@ public ManagedClusterApiServerAccessProfile withPrivateDnsZone(String privateDns
return this;
}
+ /**
+ * Get the enablePrivateClusterPublicFqdn property: Whether to create additional public FQDN for private cluster or
+ * not.
+ *
+ * @return the enablePrivateClusterPublicFqdn value.
+ */
+ public Boolean enablePrivateClusterPublicFqdn() {
+ return this.enablePrivateClusterPublicFqdn;
+ }
+
+ /**
+ * Set the enablePrivateClusterPublicFqdn property: Whether to create additional public FQDN for private cluster or
+ * not.
+ *
+ * @param enablePrivateClusterPublicFqdn the enablePrivateClusterPublicFqdn value to set.
+ * @return the ManagedClusterApiServerAccessProfile object itself.
+ */
+ public ManagedClusterApiServerAccessProfile withEnablePrivateClusterPublicFqdn(
+ Boolean enablePrivateClusterPublicFqdn) {
+ this.enablePrivateClusterPublicFqdn = enablePrivateClusterPublicFqdn;
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/OutboundEnvironmentEndpointCollection.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/OutboundEnvironmentEndpointCollection.java
new file mode 100644
index 0000000000000..eea2239d3f1ca
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/OutboundEnvironmentEndpointCollection.java
@@ -0,0 +1,75 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.containerservice.fluent.models.OutboundEnvironmentEndpointInner;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Collection of OutboundEnvironmentEndpoint. */
+@Fluent
+public final class OutboundEnvironmentEndpointCollection {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OutboundEnvironmentEndpointCollection.class);
+
+ /*
+ * Collection of resources.
+ */
+ @JsonProperty(value = "value", required = true)
+ private List value;
+
+ /*
+ * Link to next page of resources.
+ */
+ @JsonProperty(value = "nextLink", access = JsonProperty.Access.WRITE_ONLY)
+ private String nextLink;
+
+ /**
+ * Get the value property: Collection of resources.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Collection of resources.
+ *
+ * @param value the value value to set.
+ * @return the OutboundEnvironmentEndpointCollection object itself.
+ */
+ public OutboundEnvironmentEndpointCollection withValue(List value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Get the nextLink property: Link to next page of resources.
+ *
+ * @return the nextLink value.
+ */
+ public String nextLink() {
+ return this.nextLink;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property value in model OutboundEnvironmentEndpointCollection"));
+ } else {
+ value().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canAutoScaleKubernetesCluster.json b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canAutoScaleKubernetesCluster.json
index c13d2e86bb397..9b64ba666853c 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canAutoScaleKubernetesCluster.json
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canAutoScaleKubernetesCluster.json
@@ -27,7 +27,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "33f018fe-b6ac-4c0d-97e4-e08f39e775d7",
@@ -237,7 +237,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "b87c1078-31fc-49a0-a64b-d0d5d1100b07"
@@ -263,7 +263,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "6d883205-65d0-452f-b389-3954a43502e7",
@@ -290,7 +290,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "bb70578d-26e0-46bd-921a-b82f3d46eb95",
@@ -317,7 +317,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "c51889b6-4588-428f-8bd5-bf3155015b84",
@@ -397,7 +397,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "2a9d0aa9-6ea9-4553-8e6e-ba4d651714ff"
@@ -423,7 +423,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "9c4f865e-b0fb-488f-9883-2edb3d91b069",
@@ -450,7 +450,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "125eb424-5a7e-48e0-8d44-15bfde9e9c90",
@@ -477,7 +477,7 @@
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/agentPools/ap2833070?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/agentPools/ap2833070?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "01a98f6d-2813-4000-876b-8c69a694fafc",
@@ -504,7 +504,7 @@
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/agentPools/ap1839091?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/agentPools/ap1839091?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "f5a61dc6-8c32-4a35-8593-d0ad30e7fe32",
@@ -531,7 +531,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/agentPools/ap257704b?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/agentPools/ap257704b?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "943f78cb-02ca-4b84-9b91-707a46594083",
@@ -663,7 +663,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/agentPools/ap257704b?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/agentPools/ap257704b?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "531ee082-3d2c-4584-8f05-dd5c4a66003a"
@@ -767,7 +767,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "fb4661be-dadd-4228-9ff0-83fc72a60d98",
@@ -847,7 +847,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "1727d346-af08-4327-b7b8-3399a1a780fa"
@@ -873,7 +873,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "e92af272-af2e-472f-bb5f-4ac2232ef0d0",
@@ -900,7 +900,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg34976/providers/Microsoft.ContainerService/managedClusters/aks66476663/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "cf910f01-ab98-4b86-9137-4513dc22feaa",
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canCRUDKubernetesCluster.json b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canCRUDKubernetesCluster.json
index 9da96df998c51..a46f83871324b 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canCRUDKubernetesCluster.json
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canCRUDKubernetesCluster.json
@@ -27,7 +27,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "b4f6eb28-58d5-43f2-aa65-b2904dffcee6",
@@ -237,7 +237,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "f7a9bb1a-6b09-4a2d-bac0-2a2d2da64fe0"
@@ -263,7 +263,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "fcab0927-fecf-49be-b917-3333958f0bb3",
@@ -290,7 +290,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "b7b91f4d-618f-4a57-aeb9-d6a68ac685e8",
@@ -317,7 +317,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/agentPools/ap2650379?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/agentPools/ap2650379?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "47859fbb-a712-4ed6-8dd9-48e51be2dfb7",
@@ -527,7 +527,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/agentPools/ap2650379?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/agentPools/ap2650379?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "ea350cb5-fafd-4af5-af42-d53cd2c5d047"
@@ -553,7 +553,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "73af6c43-b588-4dbd-9a12-e4ff186c403f",
@@ -789,7 +789,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "8f3c684d-547e-4317-948f-3b05879369d9"
@@ -815,7 +815,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "8f3082a4-1fdf-43fe-b141-584166321645",
@@ -842,7 +842,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg58615/providers/Microsoft.ContainerService/managedClusters/aks57792c8d/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "837ddcfb-bc8d-4750-a9b8-247b20daad9b",
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canCreateClusterWithSpotVM.json b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canCreateClusterWithSpotVM.json
index 8e5d2d11bb1f6..464585771246a 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canCreateClusterWithSpotVM.json
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/test/resources/session-records/KubernetesClustersTests.canCreateClusterWithSpotVM.json
@@ -27,7 +27,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.6.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "990e872a-0d4b-438b-be4d-e9dc7de7185c",
@@ -237,7 +237,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "e848db11-62bf-4956-b3ab-728440d38818"
@@ -263,7 +263,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.6.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "a92018e7-f29e-481f-87ff-131fd4c3ac4a",
@@ -290,7 +290,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.6.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "92b1f554-5949-421b-b97f-5afea3c894cf",
@@ -317,7 +317,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/agentPools/ap2978030?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/agentPools/ap2978030?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.6.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "3186f21f-307a-44eb-9bb6-592d7992ad5a",
@@ -475,7 +475,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/agentPools/ap2978030?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/agentPools/ap2978030?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "66e158b7-d618-4ae2-b39d-feb50b90368f"
@@ -501,7 +501,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.6.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "44feab6e-f3c6-42b7-b881-b26de5166e88",
@@ -581,7 +581,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "3af040ea-bd2b-4253-a063-f3a51a79e07b"
@@ -607,7 +607,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.6.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "7fa3b441-c524-432d-ac0e-3895928198d6",
@@ -634,7 +634,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javaacsrg83451/providers/Microsoft.ContainerService/managedClusters/aks69744203/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.6.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "433ea229-0231-421f-a8b2-b0a8af913e3d",
diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testKubernetesCluster.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testKubernetesCluster.json
index d81e2e01e4c0b..ace53bcd8cab7 100644
--- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testKubernetesCluster.json
+++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testKubernetesCluster.json
@@ -1,7 +1,7 @@
{
"networkCallRecords" : [ {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/managedClusters?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/managedClusters?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "6f7db7d0-47a3-435f-aa47-05d0f5ff6765",
@@ -28,7 +28,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/managedClusters?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/managedClusters?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "083b3afb-1ef8-4c84-82ad-99e9fd032839",
@@ -81,7 +81,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "2627d20e-94de-4ab4-b189-f19a4c6c07a9",
@@ -265,7 +265,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "806047fa-103e-4659-810c-33e616865966"
@@ -291,7 +291,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "55d67267-4bbb-4f19-8aa2-56f2322183ae",
@@ -318,7 +318,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "7d105e78-fa98-4a7a-aaef-728fe1238385",
@@ -345,7 +345,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "65545be4-435f-4157-b617-8066e0c8d1aa",
@@ -372,7 +372,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "d04b382a-78f7-45c1-b021-5c6387976b47",
@@ -399,7 +399,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "ac18bd03-4165-4459-bc8b-57fd1d57a04e",
@@ -426,7 +426,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/managedClusters?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/managedClusters?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "c0b49b0a-b733-46c5-8e93-fb8f5986ae52",
@@ -453,7 +453,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/managedClusters?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/managedClusters?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "02bcabca-f341-4fb9-b3fe-39c684247294",
@@ -480,7 +480,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "0d1e2780-e211-4186-b41a-c1ec239148ff",
@@ -507,7 +507,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "80872f84-5263-4d63-8ebc-83de4243034f",
@@ -534,7 +534,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "22cf7d74-9100-4553-9a3a-65445190602c",
@@ -718,7 +718,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "1c1b238b-3325-4593-a2f9-1ece14e29276"
@@ -744,7 +744,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "65d4bdf0-de29-4227-a5ad-8707b936b141",
@@ -771,7 +771,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "6e39d12d-631a-43f5-b99e-061e355d321f",
@@ -798,7 +798,7 @@
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aks57554egroup/providers/Microsoft.ContainerService/managedClusters/aks57554e?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "eece328c-17a1-4283-a363-508cee33947f",
diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/KubernetesCniTests.testKubernetesClusterCni.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/KubernetesCniTests.testKubernetesClusterCni.json
index 8869dd297aa10..a570b4fce845e 100644
--- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/KubernetesCniTests.testKubernetesClusterCni.json
+++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/KubernetesCniTests.testKubernetesClusterCni.json
@@ -115,7 +115,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg30673/providers/Microsoft.ContainerService/managedClusters/aks564242dd?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg30673/providers/Microsoft.ContainerService/managedClusters/aks564242dd?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "f09a27c2-0c26-43d9-9380-b4e7093b19cb",
@@ -299,7 +299,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg30673/providers/Microsoft.ContainerService/managedClusters/aks564242dd?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg30673/providers/Microsoft.ContainerService/managedClusters/aks564242dd?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "9bbab3c8-d3c6-4541-a0b5-12b74ebe26d3"
@@ -325,7 +325,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg30673/providers/Microsoft.ContainerService/managedClusters/aks564242dd/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg30673/providers/Microsoft.ContainerService/managedClusters/aks564242dd/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "62b6678c-3fd1-4917-9b6c-f4c13a188c93",
@@ -352,7 +352,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg30673/providers/Microsoft.ContainerService/managedClusters/aks564242dd/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg30673/providers/Microsoft.ContainerService/managedClusters/aks564242dd/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "fc0a088e-7f55-41ff-ad73-694a55242dd1",
diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointAKS.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointAKS.json
index d99eacd223ac0..d75510f7f907e 100644
--- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointAKS.json
+++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointAKS.json
@@ -27,7 +27,7 @@
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "beb79570-84c2-4d48-8358-616599b539a1",
@@ -419,7 +419,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "5fb8abd2-186e-4874-a296-68f9d5b028c8"
@@ -445,7 +445,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596/listClusterUserCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596/listClusterUserCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "519175ed-5b6f-4c0d-9003-55c24b7af1d2",
@@ -472,7 +472,7 @@
"Exception" : null
}, {
"Method" : "POST",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596/listClusterAdminCredential?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596/listClusterAdminCredential?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "240f4883-1e3d-439d-a4b2-7472379442f6",
@@ -499,7 +499,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596/privateLinkResources?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596/privateLinkResources?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "7bbe5f55-c43e-4f04-8461-654c7f136551",
@@ -526,7 +526,7 @@
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596/privateEndpointConnections?api-version=2021-03-01",
+ "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26720/providers/Microsoft.ContainerService/managedClusters/aks08596/privateEndpointConnections?api-version=2021-05-01",
"Headers" : {
"User-Agent" : "azsdk-java-com.azure.resourcemanager.containerservice/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)",
"x-ms-client-request-id" : "0cda42de-5a93-4379-9c45-5266619cb74e",