diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/ContainerServiceFleetManager.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/ContainerServiceFleetManager.java
index 2e22cecf46812..90e5ad1fc0302 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/ContainerServiceFleetManager.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/ContainerServiceFleetManager.java
@@ -42,7 +42,10 @@
import java.util.Objects;
import java.util.stream.Collectors;
-/** Entry point to ContainerServiceFleetManager. Azure Kubernetes Fleet Manager Client. */
+/**
+ * Entry point to ContainerServiceFleetManager.
+ * Azure Kubernetes Fleet Manager Client.
+ */
public final class ContainerServiceFleetManager {
private Operations operations;
@@ -56,22 +59,18 @@ public final class ContainerServiceFleetManager {
private final ContainerServiceFleetManagementClient clientObject;
- private ContainerServiceFleetManager(
- HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
+ private ContainerServiceFleetManager(HttpPipeline httpPipeline, AzureProfile profile,
+ Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject =
- new ContainerServiceFleetManagementClientBuilder()
- .pipeline(httpPipeline)
- .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
- .subscriptionId(profile.getSubscriptionId())
- .defaultPollInterval(defaultPollInterval)
- .buildClient();
+ this.clientObject = new ContainerServiceFleetManagementClientBuilder().pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint()).subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval).buildClient();
}
/**
* Creates an instance of ContainerServiceFleet service API entry point.
- *
+ *
* @param credential the credential to use.
* @param profile the Azure profile for client.
* @return the ContainerServiceFleet service API instance.
@@ -84,7 +83,7 @@ public static ContainerServiceFleetManager authenticate(TokenCredential credenti
/**
* Creates an instance of ContainerServiceFleet service API entry point.
- *
+ *
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
* @param profile the Azure profile for client.
* @return the ContainerServiceFleet service API instance.
@@ -97,14 +96,16 @@ public static ContainerServiceFleetManager authenticate(HttpPipeline httpPipelin
/**
* Gets a Configurable instance that can be used to create ContainerServiceFleetManager with optional configuration.
- *
+ *
* @return the Configurable instance allowing configurations.
*/
public static Configurable configure() {
return new ContainerServiceFleetManager.Configurable();
}
- /** The Configurable allowing configurations to be set. */
+ /**
+ * The Configurable allowing configurations to be set.
+ */
public static final class Configurable {
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
@@ -176,8 +177,8 @@ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
/**
* Sets the retry options for the HTTP pipeline retry policy.
- *
- * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
+ *
+ * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
*
* @param retryOptions the retry options for the HTTP pipeline retry policy.
* @return the configurable object itself.
@@ -194,8 +195,8 @@ public Configurable withRetryOptions(RetryOptions retryOptions) {
* @return the configurable object itself.
*/
public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
- this.defaultPollInterval =
- Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
+ this.defaultPollInterval
+ = Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
if (this.defaultPollInterval.isNegative()) {
throw LOGGER
.logExceptionAsError(new IllegalArgumentException("'defaultPollInterval' cannot be negative"));
@@ -215,21 +216,12 @@ public ContainerServiceFleetManager authenticate(TokenCredential credential, Azu
Objects.requireNonNull(profile, "'profile' cannot be null.");
StringBuilder userAgentBuilder = new StringBuilder();
- userAgentBuilder
- .append("azsdk-java")
- .append("-")
- .append("com.azure.resourcemanager.containerservicefleet")
- .append("/")
- .append("1.0.0");
+ userAgentBuilder.append("azsdk-java").append("-").append("com.azure.resourcemanager.containerservicefleet")
+ .append("/").append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
- userAgentBuilder
- .append(" (")
- .append(Configuration.getGlobalConfiguration().get("java.version"))
- .append("; ")
- .append(Configuration.getGlobalConfiguration().get("os.name"))
- .append("; ")
- .append(Configuration.getGlobalConfiguration().get("os.version"))
- .append("; auto-generated)");
+ userAgentBuilder.append(" (").append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ").append(Configuration.getGlobalConfiguration().get("os.name")).append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version")).append("; auto-generated)");
} else {
userAgentBuilder.append(" (auto-generated)");
}
@@ -248,38 +240,25 @@ public ContainerServiceFleetManager authenticate(TokenCredential credential, Azu
policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
policies.add(new AddHeadersFromContextPolicy());
policies.add(new RequestIdPolicy());
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream().filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY).collect(Collectors.toList()));
HttpPolicyProviders.addAfterRetryPolicies(policies);
policies.add(new HttpLoggingPolicy(httpLogOptions));
- HttpPipeline httpPipeline =
- new HttpPipelineBuilder()
- .httpClient(httpClient)
- .policies(policies.toArray(new HttpPipelinePolicy[0]))
- .build();
+ HttpPipeline httpPipeline = new HttpPipelineBuilder().httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0])).build();
return new ContainerServiceFleetManager(httpPipeline, profile, defaultPollInterval);
}
}
/**
* Gets the resource collection API of Operations.
- *
+ *
* @return Resource collection API of Operations.
*/
public Operations operations() {
@@ -291,7 +270,7 @@ public Operations operations() {
/**
* Gets the resource collection API of Fleets. It manages Fleet.
- *
+ *
* @return Resource collection API of Fleets.
*/
public Fleets fleets() {
@@ -303,7 +282,7 @@ public Fleets fleets() {
/**
* Gets the resource collection API of FleetMembers. It manages FleetMember.
- *
+ *
* @return Resource collection API of FleetMembers.
*/
public FleetMembers fleetMembers() {
@@ -315,7 +294,7 @@ public FleetMembers fleetMembers() {
/**
* Gets the resource collection API of UpdateRuns. It manages UpdateRun.
- *
+ *
* @return Resource collection API of UpdateRuns.
*/
public UpdateRuns updateRuns() {
@@ -327,7 +306,7 @@ public UpdateRuns updateRuns() {
/**
* Gets the resource collection API of FleetUpdateStrategies. It manages FleetUpdateStrategy.
- *
+ *
* @return Resource collection API of FleetUpdateStrategies.
*/
public FleetUpdateStrategies fleetUpdateStrategies() {
@@ -340,7 +319,7 @@ public FleetUpdateStrategies fleetUpdateStrategies() {
/**
* Gets wrapped service client ContainerServiceFleetManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
- *
+ *
* @return Wrapped service client ContainerServiceFleetManagementClient.
*/
public ContainerServiceFleetManagementClient serviceClient() {
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/ContainerServiceFleetManagementClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/ContainerServiceFleetManagementClient.java
index d078a056ec217..fbc4010cd543f 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/ContainerServiceFleetManagementClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/ContainerServiceFleetManagementClient.java
@@ -7,74 +7,76 @@
import com.azure.core.http.HttpPipeline;
import java.time.Duration;
-/** The interface for ContainerServiceFleetManagementClient class. */
+/**
+ * The interface for ContainerServiceFleetManagementClient class.
+ */
public interface ContainerServiceFleetManagementClient {
/**
* Gets The ID of the target subscription.
- *
+ *
* @return the subscriptionId value.
*/
String getSubscriptionId();
/**
* Gets server parameter.
- *
+ *
* @return the endpoint value.
*/
String getEndpoint();
/**
* Gets Api Version.
- *
+ *
* @return the apiVersion value.
*/
String getApiVersion();
/**
* Gets The HTTP pipeline to send requests through.
- *
+ *
* @return the httpPipeline value.
*/
HttpPipeline getHttpPipeline();
/**
* Gets The default poll interval for long-running operation.
- *
+ *
* @return the defaultPollInterval value.
*/
Duration getDefaultPollInterval();
/**
* Gets the OperationsClient object to access its operations.
- *
+ *
* @return the OperationsClient object.
*/
OperationsClient getOperations();
/**
* Gets the FleetsClient object to access its operations.
- *
+ *
* @return the FleetsClient object.
*/
FleetsClient getFleets();
/**
* Gets the FleetMembersClient object to access its operations.
- *
+ *
* @return the FleetMembersClient object.
*/
FleetMembersClient getFleetMembers();
/**
* Gets the UpdateRunsClient object to access its operations.
- *
+ *
* @return the UpdateRunsClient object.
*/
UpdateRunsClient getUpdateRuns();
/**
* Gets the FleetUpdateStrategiesClient object to access its operations.
- *
+ *
* @return the FleetUpdateStrategiesClient object.
*/
FleetUpdateStrategiesClient getFleetUpdateStrategies();
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetMembersClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetMembersClient.java
index f63d744b178d3..b6a8be9d8ea59 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetMembersClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetMembersClient.java
@@ -14,11 +14,13 @@
import com.azure.resourcemanager.containerservicefleet.fluent.models.FleetMemberInner;
import com.azure.resourcemanager.containerservicefleet.models.FleetMemberUpdate;
-/** An instance of this class provides access to all the operations defined in FleetMembersClient. */
+/**
+ * An instance of this class provides access to all the operations defined in FleetMembersClient.
+ */
public interface FleetMembersClient {
/**
* List FleetMember resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -31,7 +33,7 @@ public interface FleetMembersClient {
/**
* List FleetMember resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param context The context to associate with this operation.
@@ -45,7 +47,7 @@ public interface FleetMembersClient {
/**
* Get a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -56,12 +58,12 @@ public interface FleetMembersClient {
* @return a FleetMember along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String fleetName, String fleetMemberName, Context context);
+ Response getWithResponse(String resourceGroupName, String fleetName, String fleetMemberName,
+ Context context);
/**
* Get a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -75,7 +77,7 @@ Response getWithResponse(
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -86,12 +88,12 @@ Response getWithResponse(
* @return the {@link SyncPoller} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FleetMemberInner> beginCreate(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberInner resource);
+ SyncPoller, FleetMemberInner> beginCreate(String resourceGroupName, String fleetName,
+ String fleetMemberName, FleetMemberInner resource);
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -105,18 +107,12 @@ SyncPoller, FleetMemberInner> beginCreate(
* @return the {@link SyncPoller} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FleetMemberInner> beginCreate(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberInner resource,
- String ifMatch,
- String ifNoneMatch,
- Context context);
+ SyncPoller, FleetMemberInner> beginCreate(String resourceGroupName, String fleetName,
+ String fleetMemberName, FleetMemberInner resource, String ifMatch, String ifNoneMatch, Context context);
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -127,12 +123,12 @@ SyncPoller, FleetMemberInner> beginCreate(
* @return a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- FleetMemberInner create(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberInner resource);
+ FleetMemberInner create(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberInner resource);
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -146,18 +142,12 @@ FleetMemberInner create(
* @return a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- FleetMemberInner create(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberInner resource,
- String ifMatch,
- String ifNoneMatch,
- Context context);
+ FleetMemberInner create(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberInner resource, String ifMatch, String ifNoneMatch, Context context);
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -168,12 +158,12 @@ FleetMemberInner create(
* @return the {@link SyncPoller} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FleetMemberInner> beginUpdate(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberUpdate properties);
+ SyncPoller, FleetMemberInner> beginUpdate(String resourceGroupName, String fleetName,
+ String fleetMemberName, FleetMemberUpdate properties);
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -186,17 +176,12 @@ SyncPoller, FleetMemberInner> beginUpdate(
* @return the {@link SyncPoller} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FleetMemberInner> beginUpdate(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberUpdate properties,
- String ifMatch,
- Context context);
+ SyncPoller, FleetMemberInner> beginUpdate(String resourceGroupName, String fleetName,
+ String fleetMemberName, FleetMemberUpdate properties, String ifMatch, Context context);
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -207,12 +192,12 @@ SyncPoller, FleetMemberInner> beginUpdate(
* @return a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- FleetMemberInner update(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberUpdate properties);
+ FleetMemberInner update(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberUpdate properties);
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -225,17 +210,12 @@ FleetMemberInner update(
* @return a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- FleetMemberInner update(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberUpdate properties,
- String ifMatch,
- Context context);
+ FleetMemberInner update(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberUpdate properties, String ifMatch, Context context);
/**
* Delete a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -249,7 +229,7 @@ FleetMemberInner update(
/**
* Delete a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -261,12 +241,12 @@ FleetMemberInner update(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String fleetName, String fleetMemberName, String ifMatch, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String fleetName, String fleetMemberName,
+ String ifMatch, Context context);
/**
* Delete a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -279,7 +259,7 @@ SyncPoller, Void> beginDelete(
/**
* Delete a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetUpdateStrategiesClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetUpdateStrategiesClient.java
index b300330e42c0b..af5ac70c72615 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetUpdateStrategiesClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetUpdateStrategiesClient.java
@@ -13,11 +13,13 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.containerservicefleet.fluent.models.FleetUpdateStrategyInner;
-/** An instance of this class provides access to all the operations defined in FleetUpdateStrategiesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in FleetUpdateStrategiesClient.
+ */
public interface FleetUpdateStrategiesClient {
/**
* List FleetUpdateStrategy resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -30,7 +32,7 @@ public interface FleetUpdateStrategiesClient {
/**
* List FleetUpdateStrategy resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param context The context to associate with this operation.
@@ -44,7 +46,7 @@ public interface FleetUpdateStrategiesClient {
/**
* Get a FleetUpdateStrategy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateStrategyName The name of the UpdateStrategy resource.
@@ -55,12 +57,12 @@ public interface FleetUpdateStrategiesClient {
* @return a FleetUpdateStrategy along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String fleetName, String updateStrategyName, Context context);
+ Response getWithResponse(String resourceGroupName, String fleetName,
+ String updateStrategyName, Context context);
/**
* Get a FleetUpdateStrategy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateStrategyName The name of the UpdateStrategy resource.
@@ -74,7 +76,7 @@ Response getWithResponse(
/**
* Create a FleetUpdateStrategy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateStrategyName The name of the UpdateStrategy resource.
@@ -83,7 +85,7 @@ Response getWithResponse(
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of defines a multi-stage process to perform update operations across
- * members of a Fleet.
+ * members of a Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, FleetUpdateStrategyInner> beginCreateOrUpdate(
@@ -91,7 +93,7 @@ SyncPoller, FleetUpdateStrategyInner> begin
/**
* Create a FleetUpdateStrategy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateStrategyName The name of the UpdateStrategy resource.
@@ -103,21 +105,16 @@ SyncPoller, FleetUpdateStrategyInner> begin
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of defines a multi-stage process to perform update operations across
- * members of a Fleet.
+ * members of a Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, FleetUpdateStrategyInner> beginCreateOrUpdate(
- String resourceGroupName,
- String fleetName,
- String updateStrategyName,
- FleetUpdateStrategyInner resource,
- String ifMatch,
- String ifNoneMatch,
- Context context);
+ String resourceGroupName, String fleetName, String updateStrategyName, FleetUpdateStrategyInner resource,
+ String ifMatch, String ifNoneMatch, Context context);
/**
* Create a FleetUpdateStrategy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateStrategyName The name of the UpdateStrategy resource.
@@ -128,12 +125,12 @@ SyncPoller, FleetUpdateStrategyInner> begin
* @return defines a multi-stage process to perform update operations across members of a Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- FleetUpdateStrategyInner createOrUpdate(
- String resourceGroupName, String fleetName, String updateStrategyName, FleetUpdateStrategyInner resource);
+ FleetUpdateStrategyInner createOrUpdate(String resourceGroupName, String fleetName, String updateStrategyName,
+ FleetUpdateStrategyInner resource);
/**
* Create a FleetUpdateStrategy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateStrategyName The name of the UpdateStrategy resource.
@@ -147,18 +144,12 @@ FleetUpdateStrategyInner createOrUpdate(
* @return defines a multi-stage process to perform update operations across members of a Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- FleetUpdateStrategyInner createOrUpdate(
- String resourceGroupName,
- String fleetName,
- String updateStrategyName,
- FleetUpdateStrategyInner resource,
- String ifMatch,
- String ifNoneMatch,
- Context context);
+ FleetUpdateStrategyInner createOrUpdate(String resourceGroupName, String fleetName, String updateStrategyName,
+ FleetUpdateStrategyInner resource, String ifMatch, String ifNoneMatch, Context context);
/**
* Delete a FleetUpdateStrategy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateStrategyName The name of the UpdateStrategy resource.
@@ -168,12 +159,12 @@ FleetUpdateStrategyInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String fleetName, String updateStrategyName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String fleetName,
+ String updateStrategyName);
/**
* Delete a FleetUpdateStrategy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateStrategyName The name of the UpdateStrategy resource.
@@ -185,12 +176,12 @@ SyncPoller, Void> beginDelete(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String fleetName, String updateStrategyName, String ifMatch, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String fleetName,
+ String updateStrategyName, String ifMatch, Context context);
/**
* Delete a FleetUpdateStrategy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateStrategyName The name of the UpdateStrategy resource.
@@ -203,7 +194,7 @@ SyncPoller, Void> beginDelete(
/**
* Delete a FleetUpdateStrategy.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateStrategyName The name of the UpdateStrategy resource.
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetsClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetsClient.java
index 1a8a5cc3e72b0..d639b9d0c44b0 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetsClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetsClient.java
@@ -15,11 +15,13 @@
import com.azure.resourcemanager.containerservicefleet.fluent.models.FleetInner;
import com.azure.resourcemanager.containerservicefleet.models.FleetPatch;
-/** An instance of this class provides access to all the operations defined in FleetsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in FleetsClient.
+ */
public interface FleetsClient {
/**
* Lists fleets in the specified subscription.
- *
+ *
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a Fleet list operation as paginated response with {@link PagedIterable}.
@@ -29,7 +31,7 @@ public interface FleetsClient {
/**
* Lists fleets in the specified subscription.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -41,7 +43,7 @@ public interface FleetsClient {
/**
* Lists fleets in the specified subscription and resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -53,7 +55,7 @@ public interface FleetsClient {
/**
* Lists fleets in the specified subscription and resource group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -66,7 +68,7 @@ public interface FleetsClient {
/**
* Gets a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param context The context to associate with this operation.
@@ -80,7 +82,7 @@ public interface FleetsClient {
/**
* Gets a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -93,7 +95,7 @@ public interface FleetsClient {
/**
* Creates or updates a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param resource Resource create parameters.
@@ -103,12 +105,12 @@ public interface FleetsClient {
* @return the {@link SyncPoller} for polling of the Fleet resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FleetInner> beginCreateOrUpdate(
- String resourceGroupName, String fleetName, FleetInner resource);
+ SyncPoller, FleetInner> beginCreateOrUpdate(String resourceGroupName, String fleetName,
+ FleetInner resource);
/**
* Creates or updates a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param resource Resource create parameters.
@@ -121,17 +123,12 @@ SyncPoller, FleetInner> beginCreateOrUpdate(
* @return the {@link SyncPoller} for polling of the Fleet resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FleetInner> beginCreateOrUpdate(
- String resourceGroupName,
- String fleetName,
- FleetInner resource,
- String ifMatch,
- String ifNoneMatch,
- Context context);
+ SyncPoller, FleetInner> beginCreateOrUpdate(String resourceGroupName, String fleetName,
+ FleetInner resource, String ifMatch, String ifNoneMatch, Context context);
/**
* Creates or updates a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param resource Resource create parameters.
@@ -145,7 +142,7 @@ SyncPoller, FleetInner> beginCreateOrUpdate(
/**
* Creates or updates a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param resource Resource create parameters.
@@ -158,17 +155,12 @@ SyncPoller, FleetInner> beginCreateOrUpdate(
* @return the Fleet resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- FleetInner createOrUpdate(
- String resourceGroupName,
- String fleetName,
- FleetInner resource,
- String ifMatch,
- String ifNoneMatch,
- Context context);
+ FleetInner createOrUpdate(String resourceGroupName, String fleetName, FleetInner resource, String ifMatch,
+ String ifNoneMatch, Context context);
/**
* Update a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param properties The resource properties to be updated.
@@ -178,12 +170,12 @@ FleetInner createOrUpdate(
* @return the {@link SyncPoller} for polling of the Fleet resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FleetInner> beginUpdate(
- String resourceGroupName, String fleetName, FleetPatch properties);
+ SyncPoller, FleetInner> beginUpdate(String resourceGroupName, String fleetName,
+ FleetPatch properties);
/**
* Update a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param properties The resource properties to be updated.
@@ -195,12 +187,12 @@ SyncPoller, FleetInner> beginUpdate(
* @return the {@link SyncPoller} for polling of the Fleet resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FleetInner> beginUpdate(
- String resourceGroupName, String fleetName, FleetPatch properties, String ifMatch, Context context);
+ SyncPoller, FleetInner> beginUpdate(String resourceGroupName, String fleetName,
+ FleetPatch properties, String ifMatch, Context context);
/**
* Update a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param properties The resource properties to be updated.
@@ -214,7 +206,7 @@ SyncPoller, FleetInner> beginUpdate(
/**
* Update a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param properties The resource properties to be updated.
@@ -226,12 +218,12 @@ SyncPoller, FleetInner> beginUpdate(
* @return the Fleet resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- FleetInner update(
- String resourceGroupName, String fleetName, FleetPatch properties, String ifMatch, Context context);
+ FleetInner update(String resourceGroupName, String fleetName, FleetPatch properties, String ifMatch,
+ Context context);
/**
* Delete a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -244,7 +236,7 @@ FleetInner update(
/**
* Delete a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param ifMatch The request should only proceed if an entity matches this string.
@@ -255,12 +247,12 @@ FleetInner update(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String fleetName, String ifMatch, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String fleetName, String ifMatch,
+ Context context);
/**
* Delete a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -272,7 +264,7 @@ SyncPoller, Void> beginDelete(
/**
* Delete a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param ifMatch The request should only proceed if an entity matches this string.
@@ -286,7 +278,7 @@ SyncPoller, Void> beginDelete(
/**
* Lists the user credentials of a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param context The context to associate with this operation.
@@ -296,12 +288,12 @@ SyncPoller, Void> beginDelete(
* @return the Credential results response along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listCredentialsWithResponse(
- String resourceGroupName, String fleetName, Context context);
+ Response listCredentialsWithResponse(String resourceGroupName, String fleetName,
+ Context context);
/**
* Lists the user credentials of a Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/OperationsClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/OperationsClient.java
index 49b4687b7b615..6803bb01e8f21 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/OperationsClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/OperationsClient.java
@@ -10,28 +10,30 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.containerservicefleet.fluent.models.OperationInner;
-/** An instance of this class provides access to all the operations defined in OperationsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in OperationsClient.
+ */
public interface OperationsClient {
/**
* List the operations for the provider.
- *
+ *
* @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 REST API operations supported by an Azure Resource Provider as paginated response with {@link
- * PagedIterable}.
+ * @return a list of REST API operations supported by an Azure Resource Provider as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
* List the operations for the provider.
- *
+ *
* @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 REST API operations supported by an Azure Resource Provider as paginated response with {@link
- * PagedIterable}.
+ * @return a list of REST API operations supported by an Azure Resource Provider as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/UpdateRunsClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/UpdateRunsClient.java
index 014b760e35b8d..d99d7eec830d5 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/UpdateRunsClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/UpdateRunsClient.java
@@ -12,12 +12,15 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.containerservicefleet.fluent.models.UpdateRunInner;
+import com.azure.resourcemanager.containerservicefleet.models.SkipProperties;
-/** An instance of this class provides access to all the operations defined in UpdateRunsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in UpdateRunsClient.
+ */
public interface UpdateRunsClient {
/**
* List UpdateRun resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -30,7 +33,7 @@ public interface UpdateRunsClient {
/**
* List UpdateRun resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param context The context to associate with this operation.
@@ -44,7 +47,7 @@ public interface UpdateRunsClient {
/**
* Get a UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -55,12 +58,12 @@ public interface UpdateRunsClient {
* @return a UpdateRun along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String fleetName, String updateRunName, Context context);
+ Response getWithResponse(String resourceGroupName, String fleetName, String updateRunName,
+ Context context);
/**
* Get a UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -74,7 +77,7 @@ Response getWithResponse(
/**
* Create a UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -83,15 +86,15 @@ Response getWithResponse(
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a multi-stage process to perform update operations across members
- * of a Fleet.
+ * of a Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, UpdateRunInner> beginCreateOrUpdate(
- String resourceGroupName, String fleetName, String updateRunName, UpdateRunInner resource);
+ SyncPoller, UpdateRunInner> beginCreateOrUpdate(String resourceGroupName,
+ String fleetName, String updateRunName, UpdateRunInner resource);
/**
* Create a UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -103,21 +106,16 @@ SyncPoller, UpdateRunInner> beginCreateOrUpdate(
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a multi-stage process to perform update operations across members
- * of a Fleet.
+ * of a Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, UpdateRunInner> beginCreateOrUpdate(
- String resourceGroupName,
- String fleetName,
- String updateRunName,
- UpdateRunInner resource,
- String ifMatch,
- String ifNoneMatch,
+ SyncPoller, UpdateRunInner> beginCreateOrUpdate(String resourceGroupName,
+ String fleetName, String updateRunName, UpdateRunInner resource, String ifMatch, String ifNoneMatch,
Context context);
/**
* Create a UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -128,12 +126,12 @@ SyncPoller, UpdateRunInner> beginCreateOrUpdate(
* @return a multi-stage process to perform update operations across members of a Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- UpdateRunInner createOrUpdate(
- String resourceGroupName, String fleetName, String updateRunName, UpdateRunInner resource);
+ UpdateRunInner createOrUpdate(String resourceGroupName, String fleetName, String updateRunName,
+ UpdateRunInner resource);
/**
* Create a UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -147,18 +145,12 @@ UpdateRunInner createOrUpdate(
* @return a multi-stage process to perform update operations across members of a Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- UpdateRunInner createOrUpdate(
- String resourceGroupName,
- String fleetName,
- String updateRunName,
- UpdateRunInner resource,
- String ifMatch,
- String ifNoneMatch,
- Context context);
+ UpdateRunInner createOrUpdate(String resourceGroupName, String fleetName, String updateRunName,
+ UpdateRunInner resource, String ifMatch, String ifNoneMatch, Context context);
/**
* Delete a UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -172,7 +164,7 @@ UpdateRunInner createOrUpdate(
/**
* Delete a UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -184,12 +176,12 @@ UpdateRunInner createOrUpdate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String fleetName, String updateRunName, String ifMatch, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String fleetName, String updateRunName,
+ String ifMatch, Context context);
/**
* Delete a UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -202,7 +194,7 @@ SyncPoller, Void> beginDelete(
/**
* Delete a UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -215,9 +207,42 @@ SyncPoller, Void> beginDelete(
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String fleetName, String updateRunName, String ifMatch, Context context);
+ /**
+ * Skips one or a combination of member/group/stage/afterStageWait(s) of an update run.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName The name of the Fleet resource.
+ * @param updateRunName The name of the UpdateRun resource.
+ * @param body The content of the action request.
+ * @param ifMatch The request should only proceed if an entity matches this string.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a multi-stage process to perform update operations across members of a Fleet along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response skipWithResponse(String resourceGroupName, String fleetName, String updateRunName,
+ SkipProperties body, String ifMatch, Context context);
+
+ /**
+ * Skips one or a combination of member/group/stage/afterStageWait(s) of an update run.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName The name of the Fleet resource.
+ * @param updateRunName The name of the UpdateRun resource.
+ * @param body The content of the action request.
+ * @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 multi-stage process to perform update operations across members of a Fleet.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ UpdateRunInner skip(String resourceGroupName, String fleetName, String updateRunName, SkipProperties body);
+
/**
* Starts an UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -225,15 +250,15 @@ SyncPoller, Void> beginDelete(
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a multi-stage process to perform update operations across members
- * of a Fleet.
+ * of a Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, UpdateRunInner> beginStart(
- String resourceGroupName, String fleetName, String updateRunName);
+ SyncPoller, UpdateRunInner> beginStart(String resourceGroupName, String fleetName,
+ String updateRunName);
/**
* Starts an UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -243,15 +268,15 @@ SyncPoller, UpdateRunInner> beginStart(
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a multi-stage process to perform update operations across members
- * of a Fleet.
+ * of a Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, UpdateRunInner> beginStart(
- String resourceGroupName, String fleetName, String updateRunName, String ifMatch, Context context);
+ SyncPoller, UpdateRunInner> beginStart(String resourceGroupName, String fleetName,
+ String updateRunName, String ifMatch, Context context);
/**
* Starts an UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -265,7 +290,7 @@ SyncPoller, UpdateRunInner> beginStart(
/**
* Starts an UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -277,12 +302,12 @@ SyncPoller, UpdateRunInner> beginStart(
* @return a multi-stage process to perform update operations across members of a Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- UpdateRunInner start(
- String resourceGroupName, String fleetName, String updateRunName, String ifMatch, Context context);
+ UpdateRunInner start(String resourceGroupName, String fleetName, String updateRunName, String ifMatch,
+ Context context);
/**
* Stops an UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -290,15 +315,15 @@ UpdateRunInner start(
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a multi-stage process to perform update operations across members
- * of a Fleet.
+ * of a Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, UpdateRunInner> beginStop(
- String resourceGroupName, String fleetName, String updateRunName);
+ SyncPoller, UpdateRunInner> beginStop(String resourceGroupName, String fleetName,
+ String updateRunName);
/**
* Stops an UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -308,15 +333,15 @@ SyncPoller, UpdateRunInner> beginStop(
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of a multi-stage process to perform update operations across members
- * of a Fleet.
+ * of a Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, UpdateRunInner> beginStop(
- String resourceGroupName, String fleetName, String updateRunName, String ifMatch, Context context);
+ SyncPoller, UpdateRunInner> beginStop(String resourceGroupName, String fleetName,
+ String updateRunName, String ifMatch, Context context);
/**
* Stops an UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -330,7 +355,7 @@ SyncPoller, UpdateRunInner> beginStop(
/**
* Stops an UpdateRun.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param updateRunName The name of the UpdateRun resource.
@@ -342,6 +367,6 @@ SyncPoller, UpdateRunInner> beginStop(
* @return a multi-stage process to perform update operations across members of a Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- UpdateRunInner stop(
- String resourceGroupName, String fleetName, String updateRunName, String ifMatch, Context context);
+ UpdateRunInner stop(String resourceGroupName, String fleetName, String updateRunName, String ifMatch,
+ Context context);
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetCredentialResultsInner.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetCredentialResultsInner.java
index 18206743527ff..3f8f6ffccd3a1 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetCredentialResultsInner.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetCredentialResultsInner.java
@@ -9,7 +9,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** The Credential results response. */
+/**
+ * The Credential results response.
+ */
@Immutable
public final class FleetCredentialResultsInner {
/*
@@ -18,13 +20,15 @@ public final class FleetCredentialResultsInner {
@JsonProperty(value = "kubeconfigs", access = JsonProperty.Access.WRITE_ONLY)
private List kubeconfigs;
- /** Creates an instance of FleetCredentialResultsInner class. */
+ /**
+ * Creates an instance of FleetCredentialResultsInner class.
+ */
public FleetCredentialResultsInner() {
}
/**
* Get the kubeconfigs property: Array of base64-encoded Kubernetes configuration files.
- *
+ *
* @return the kubeconfigs value.
*/
public List kubeconfigs() {
@@ -33,7 +37,7 @@ public List kubeconfigs() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetInner.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetInner.java
index 837aa10b5b9ba..3333a16715e07 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetInner.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetInner.java
@@ -12,7 +12,9 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
-/** The Fleet resource. */
+/**
+ * The Fleet resource.
+ */
@Fluent
public final class FleetInner extends Resource {
/*
@@ -42,13 +44,15 @@ public final class FleetInner extends Resource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of FleetInner class. */
+ /**
+ * Creates an instance of FleetInner class.
+ */
public FleetInner() {
}
/**
* Get the innerProperties property: The resource-specific properties for this resource.
- *
+ *
* @return the innerProperties value.
*/
private FleetProperties innerProperties() {
@@ -57,10 +61,10 @@ private FleetProperties innerProperties() {
/**
* Get the etag property: If eTag is provided in the response body, it may also be provided as a header per the
- * normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource.
- * HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26),
- * and If-Range (section 14.27) header fields.
- *
+ * normal etag convention. Entity tags are used for comparing two or more entities from the same requested
+ * resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match
+ * (section 14.26), and If-Range (section 14.27) header fields.
+ *
* @return the etag value.
*/
public String etag() {
@@ -69,7 +73,7 @@ public String etag() {
/**
* Get the identity property: Managed identity.
- *
+ *
* @return the identity value.
*/
public ManagedServiceIdentity identity() {
@@ -78,7 +82,7 @@ public ManagedServiceIdentity identity() {
/**
* Set the identity property: Managed identity.
- *
+ *
* @param identity the identity value to set.
* @return the FleetInner object itself.
*/
@@ -89,21 +93,25 @@ public FleetInner withIdentity(ManagedServiceIdentity identity) {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public FleetInner withLocation(String location) {
super.withLocation(location);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public FleetInner withTags(Map tags) {
super.withTags(tags);
@@ -112,7 +120,7 @@ public FleetInner withTags(Map tags) {
/**
* Get the provisioningState property: The status of the last operation.
- *
+ *
* @return the provisioningState value.
*/
public FleetProvisioningState provisioningState() {
@@ -121,7 +129,7 @@ public FleetProvisioningState provisioningState() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberInner.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberInner.java
index c71631cf03914..2ce3a02b79ac9 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberInner.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberInner.java
@@ -10,7 +10,9 @@
import com.azure.resourcemanager.containerservicefleet.models.FleetMemberProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure. */
+/**
+ * A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.
+ */
@Fluent
public final class FleetMemberInner extends ProxyResource {
/*
@@ -34,13 +36,15 @@ public final class FleetMemberInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of FleetMemberInner class. */
+ /**
+ * Creates an instance of FleetMemberInner class.
+ */
public FleetMemberInner() {
}
/**
* Get the innerProperties property: The resource-specific properties for this resource.
- *
+ *
* @return the innerProperties value.
*/
private FleetMemberProperties innerProperties() {
@@ -49,10 +53,10 @@ private FleetMemberProperties innerProperties() {
/**
* Get the etag property: If eTag is provided in the response body, it may also be provided as a header per the
- * normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource.
- * HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26),
- * and If-Range (section 14.27) header fields.
- *
+ * normal etag convention. Entity tags are used for comparing two or more entities from the same requested
+ * resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match
+ * (section 14.26), and If-Range (section 14.27) header fields.
+ *
* @return the etag value.
*/
public String etag() {
@@ -61,7 +65,7 @@ public String etag() {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -72,7 +76,7 @@ public SystemData systemData() {
* Get the clusterResourceId property: The ARM resource id of the cluster that joins the Fleet. Must be a valid
* Azure resource id. e.g.:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'.
- *
+ *
* @return the clusterResourceId value.
*/
public String clusterResourceId() {
@@ -83,7 +87,7 @@ public String clusterResourceId() {
* Set the clusterResourceId property: The ARM resource id of the cluster that joins the Fleet. Must be a valid
* Azure resource id. e.g.:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'.
- *
+ *
* @param clusterResourceId the clusterResourceId value to set.
* @return the FleetMemberInner object itself.
*/
@@ -97,7 +101,7 @@ public FleetMemberInner withClusterResourceId(String clusterResourceId) {
/**
* Get the group property: The group this member belongs to for multi-cluster update management.
- *
+ *
* @return the group value.
*/
public String group() {
@@ -106,7 +110,7 @@ public String group() {
/**
* Set the group property: The group this member belongs to for multi-cluster update management.
- *
+ *
* @param group the group value to set.
* @return the FleetMemberInner object itself.
*/
@@ -120,7 +124,7 @@ public FleetMemberInner withGroup(String group) {
/**
* Get the provisioningState property: The status of the last operation.
- *
+ *
* @return the provisioningState value.
*/
public FleetMemberProvisioningState provisioningState() {
@@ -129,7 +133,7 @@ public FleetMemberProvisioningState provisioningState() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberProperties.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberProperties.java
index 1fe40bda2c31f..994d746314d03 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberProperties.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberProperties.java
@@ -9,12 +9,15 @@
import com.azure.resourcemanager.containerservicefleet.models.FleetMemberProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure. */
+/**
+ * A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.
+ */
@Fluent
public final class FleetMemberProperties {
/*
* The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.:
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'.
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/
+ * managedClusters/{clusterName}'.
*/
@JsonProperty(value = "clusterResourceId", required = true)
private String clusterResourceId;
@@ -31,7 +34,9 @@ public final class FleetMemberProperties {
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private FleetMemberProvisioningState provisioningState;
- /** Creates an instance of FleetMemberProperties class. */
+ /**
+ * Creates an instance of FleetMemberProperties class.
+ */
public FleetMemberProperties() {
}
@@ -39,7 +44,7 @@ public FleetMemberProperties() {
* Get the clusterResourceId property: The ARM resource id of the cluster that joins the Fleet. Must be a valid
* Azure resource id. e.g.:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'.
- *
+ *
* @return the clusterResourceId value.
*/
public String clusterResourceId() {
@@ -50,7 +55,7 @@ public String clusterResourceId() {
* Set the clusterResourceId property: The ARM resource id of the cluster that joins the Fleet. Must be a valid
* Azure resource id. e.g.:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'.
- *
+ *
* @param clusterResourceId the clusterResourceId value to set.
* @return the FleetMemberProperties object itself.
*/
@@ -61,7 +66,7 @@ public FleetMemberProperties withClusterResourceId(String clusterResourceId) {
/**
* Get the group property: The group this member belongs to for multi-cluster update management.
- *
+ *
* @return the group value.
*/
public String group() {
@@ -70,7 +75,7 @@ public String group() {
/**
* Set the group property: The group this member belongs to for multi-cluster update management.
- *
+ *
* @param group the group value to set.
* @return the FleetMemberProperties object itself.
*/
@@ -81,7 +86,7 @@ public FleetMemberProperties withGroup(String group) {
/**
* Get the provisioningState property: The status of the last operation.
- *
+ *
* @return the provisioningState value.
*/
public FleetMemberProvisioningState provisioningState() {
@@ -90,15 +95,13 @@ public FleetMemberProvisioningState provisioningState() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (clusterResourceId() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property clusterResourceId in model FleetMemberProperties"));
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ "Missing required property clusterResourceId in model FleetMemberProperties"));
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberUpdateProperties.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberUpdateProperties.java
index c2d10155bba57..f99012df8e11f 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberUpdateProperties.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetMemberUpdateProperties.java
@@ -7,7 +7,9 @@
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** The updatable properties of the FleetMember. */
+/**
+ * The updatable properties of the FleetMember.
+ */
@Fluent
public final class FleetMemberUpdateProperties {
/*
@@ -16,13 +18,15 @@ public final class FleetMemberUpdateProperties {
@JsonProperty(value = "group")
private String group;
- /** Creates an instance of FleetMemberUpdateProperties class. */
+ /**
+ * Creates an instance of FleetMemberUpdateProperties class.
+ */
public FleetMemberUpdateProperties() {
}
/**
* Get the group property: The group this member belongs to for multi-cluster update management.
- *
+ *
* @return the group value.
*/
public String group() {
@@ -31,7 +35,7 @@ public String group() {
/**
* Set the group property: The group this member belongs to for multi-cluster update management.
- *
+ *
* @param group the group value to set.
* @return the FleetMemberUpdateProperties object itself.
*/
@@ -42,7 +46,7 @@ public FleetMemberUpdateProperties withGroup(String group) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetProperties.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetProperties.java
index 01fa8291d3db8..d59ad7bab7a28 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetProperties.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetProperties.java
@@ -8,7 +8,9 @@
import com.azure.resourcemanager.containerservicefleet.models.FleetProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Fleet properties. */
+/**
+ * Fleet properties.
+ */
@Immutable
public final class FleetProperties {
/*
@@ -17,13 +19,15 @@ public final class FleetProperties {
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private FleetProvisioningState provisioningState;
- /** Creates an instance of FleetProperties class. */
+ /**
+ * Creates an instance of FleetProperties class.
+ */
public FleetProperties() {
}
/**
* Get the provisioningState property: The status of the last operation.
- *
+ *
* @return the provisioningState value.
*/
public FleetProvisioningState provisioningState() {
@@ -32,7 +36,7 @@ public FleetProvisioningState provisioningState() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetUpdateStrategyInner.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetUpdateStrategyInner.java
index ecb0ff4966a51..ea686f942c63a 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetUpdateStrategyInner.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetUpdateStrategyInner.java
@@ -11,7 +11,9 @@
import com.azure.resourcemanager.containerservicefleet.models.UpdateRunStrategy;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Defines a multi-stage process to perform update operations across members of a Fleet. */
+/**
+ * Defines a multi-stage process to perform update operations across members of a Fleet.
+ */
@Fluent
public final class FleetUpdateStrategyInner extends ProxyResource {
/*
@@ -35,13 +37,15 @@ public final class FleetUpdateStrategyInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of FleetUpdateStrategyInner class. */
+ /**
+ * Creates an instance of FleetUpdateStrategyInner class.
+ */
public FleetUpdateStrategyInner() {
}
/**
* Get the innerProperties property: The resource-specific properties for this resource.
- *
+ *
* @return the innerProperties value.
*/
private FleetUpdateStrategyProperties innerProperties() {
@@ -50,10 +54,10 @@ private FleetUpdateStrategyProperties innerProperties() {
/**
* Get the etag property: If eTag is provided in the response body, it may also be provided as a header per the
- * normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource.
- * HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26),
- * and If-Range (section 14.27) header fields.
- *
+ * normal etag convention. Entity tags are used for comparing two or more entities from the same requested
+ * resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match
+ * (section 14.26), and If-Range (section 14.27) header fields.
+ *
* @return the etag value.
*/
public String etag() {
@@ -62,7 +66,7 @@ public String etag() {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -71,7 +75,7 @@ public SystemData systemData() {
/**
* Get the provisioningState property: The provisioning state of the UpdateStrategy resource.
- *
+ *
* @return the provisioningState value.
*/
public FleetUpdateStrategyProvisioningState provisioningState() {
@@ -80,7 +84,7 @@ public FleetUpdateStrategyProvisioningState provisioningState() {
/**
* Get the strategy property: Defines the update sequence of the clusters.
- *
+ *
* @return the strategy value.
*/
public UpdateRunStrategy strategy() {
@@ -89,7 +93,7 @@ public UpdateRunStrategy strategy() {
/**
* Set the strategy property: Defines the update sequence of the clusters.
- *
+ *
* @param strategy the strategy value to set.
* @return the FleetUpdateStrategyInner object itself.
*/
@@ -103,7 +107,7 @@ public FleetUpdateStrategyInner withStrategy(UpdateRunStrategy strategy) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetUpdateStrategyProperties.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetUpdateStrategyProperties.java
index d96273b339759..f97b6e10c7cb3 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetUpdateStrategyProperties.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/FleetUpdateStrategyProperties.java
@@ -10,7 +10,9 @@
import com.azure.resourcemanager.containerservicefleet.models.UpdateRunStrategy;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** The properties of the UpdateStrategy. */
+/**
+ * The properties of the UpdateStrategy.
+ */
@Fluent
public final class FleetUpdateStrategyProperties {
/*
@@ -25,13 +27,15 @@ public final class FleetUpdateStrategyProperties {
@JsonProperty(value = "strategy", required = true)
private UpdateRunStrategy strategy;
- /** Creates an instance of FleetUpdateStrategyProperties class. */
+ /**
+ * Creates an instance of FleetUpdateStrategyProperties class.
+ */
public FleetUpdateStrategyProperties() {
}
/**
* Get the provisioningState property: The provisioning state of the UpdateStrategy resource.
- *
+ *
* @return the provisioningState value.
*/
public FleetUpdateStrategyProvisioningState provisioningState() {
@@ -40,7 +44,7 @@ public FleetUpdateStrategyProvisioningState provisioningState() {
/**
* Get the strategy property: Defines the update sequence of the clusters.
- *
+ *
* @return the strategy value.
*/
public UpdateRunStrategy strategy() {
@@ -49,7 +53,7 @@ public UpdateRunStrategy strategy() {
/**
* Set the strategy property: Defines the update sequence of the clusters.
- *
+ *
* @param strategy the strategy value to set.
* @return the FleetUpdateStrategyProperties object itself.
*/
@@ -60,15 +64,13 @@ public FleetUpdateStrategyProperties withStrategy(UpdateRunStrategy strategy) {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (strategy() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property strategy in model FleetUpdateStrategyProperties"));
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ "Missing required property strategy in model FleetUpdateStrategyProperties"));
} else {
strategy().validate();
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/OperationInner.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/OperationInner.java
index c0c713aa7bbc6..7479bdd5a1922 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/OperationInner.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/OperationInner.java
@@ -12,8 +12,8 @@
/**
* REST API Operation
- *
- * Details of a REST API operation, returned from the Resource Provider Operations API.
+ *
+ * Details of a REST API operation, returned from the Resource Provider Operations API.
*/
@Fluent
public final class OperationInner {
@@ -50,14 +50,16 @@ public final class OperationInner {
@JsonProperty(value = "actionType", access = JsonProperty.Access.WRITE_ONLY)
private ActionType actionType;
- /** Creates an instance of OperationInner class. */
+ /**
+ * Creates an instance of OperationInner class.
+ */
public OperationInner() {
}
/**
* Get the name property: The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
* "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action".
- *
+ *
* @return the name value.
*/
public String name() {
@@ -67,7 +69,7 @@ public String name() {
/**
* Get the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane
* operations and "false" for ARM/control-plane operations.
- *
+ *
* @return the isDataAction value.
*/
public Boolean isDataAction() {
@@ -76,7 +78,7 @@ public Boolean isDataAction() {
/**
* Get the display property: Localized display information for this particular operation.
- *
+ *
* @return the display value.
*/
public OperationDisplay display() {
@@ -85,7 +87,7 @@ public OperationDisplay display() {
/**
* Set the display property: Localized display information for this particular operation.
- *
+ *
* @param display the display value to set.
* @return the OperationInner object itself.
*/
@@ -97,7 +99,7 @@ public OperationInner withDisplay(OperationDisplay display) {
/**
* Get the origin property: The intended executor of the operation; as in Resource Based Access Control (RBAC) and
* audit logs UX. Default value is "user,system".
- *
+ *
* @return the origin value.
*/
public Origin origin() {
@@ -107,7 +109,7 @@ public Origin origin() {
/**
* Get the actionType property: Enum. Indicates the action type. "Internal" refers to actions that are for internal
* only APIs.
- *
+ *
* @return the actionType value.
*/
public ActionType actionType() {
@@ -116,7 +118,7 @@ public ActionType actionType() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/UpdateRunInner.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/UpdateRunInner.java
index 91f51010c27b3..5c943ef61b17f 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/UpdateRunInner.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/UpdateRunInner.java
@@ -13,7 +13,9 @@
import com.azure.resourcemanager.containerservicefleet.models.UpdateRunStrategy;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** A multi-stage process to perform update operations across members of a Fleet. */
+/**
+ * A multi-stage process to perform update operations across members of a Fleet.
+ */
@Fluent
public final class UpdateRunInner extends ProxyResource {
/*
@@ -37,13 +39,15 @@ public final class UpdateRunInner extends ProxyResource {
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of UpdateRunInner class. */
+ /**
+ * Creates an instance of UpdateRunInner class.
+ */
public UpdateRunInner() {
}
/**
* Get the innerProperties property: The resource-specific properties for this resource.
- *
+ *
* @return the innerProperties value.
*/
private UpdateRunProperties innerProperties() {
@@ -52,10 +56,10 @@ private UpdateRunProperties innerProperties() {
/**
* Get the etag property: If eTag is provided in the response body, it may also be provided as a header per the
- * normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource.
- * HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26),
- * and If-Range (section 14.27) header fields.
- *
+ * normal etag convention. Entity tags are used for comparing two or more entities from the same requested
+ * resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match
+ * (section 14.26), and If-Range (section 14.27) header fields.
+ *
* @return the etag value.
*/
public String etag() {
@@ -64,7 +68,7 @@ public String etag() {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
@@ -73,7 +77,7 @@ public SystemData systemData() {
/**
* Get the provisioningState property: The provisioning state of the UpdateRun resource.
- *
+ *
* @return the provisioningState value.
*/
public UpdateRunProvisioningState provisioningState() {
@@ -82,18 +86,20 @@ public UpdateRunProvisioningState provisioningState() {
/**
* Get the updateStrategyId property: The resource id of the FleetUpdateStrategy resource to reference.
- *
- *
When creating a new run, there are three ways to define a strategy for the run: 1. Define a new strategy in
- * place: Set the "strategy" field. 2. Use an existing strategy: Set the "updateStrategyId" field. (since
- * 2023-08-15-preview) 3. Use the default strategy to update all the members one by one: Leave both
- * "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview)
- *
- *
Setting both "updateStrategyId" and "strategy" is invalid.
- *
- *
UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and
- * store it in the "strategy" field. Subsequent changes to the referenced FleetUpdateStrategy resource do not
- * propagate. UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.
- *
+ *
+ * When creating a new run, there are three ways to define a strategy for the run:
+ * 1. Define a new strategy in place: Set the "strategy" field.
+ * 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview)
+ * 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy"
+ * unset. (since 2023-08-15-preview)
+ *
+ * Setting both "updateStrategyId" and "strategy" is invalid.
+ *
+ * UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and
+ * store it in the "strategy" field.
+ * Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate.
+ * UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.
+ *
* @return the updateStrategyId value.
*/
public String updateStrategyId() {
@@ -102,18 +108,20 @@ public String updateStrategyId() {
/**
* Set the updateStrategyId property: The resource id of the FleetUpdateStrategy resource to reference.
- *
- *
When creating a new run, there are three ways to define a strategy for the run: 1. Define a new strategy in
- * place: Set the "strategy" field. 2. Use an existing strategy: Set the "updateStrategyId" field. (since
- * 2023-08-15-preview) 3. Use the default strategy to update all the members one by one: Leave both
- * "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview)
- *
- *
Setting both "updateStrategyId" and "strategy" is invalid.
- *
- *
UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and
- * store it in the "strategy" field. Subsequent changes to the referenced FleetUpdateStrategy resource do not
- * propagate. UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.
- *
+ *
+ * When creating a new run, there are three ways to define a strategy for the run:
+ * 1. Define a new strategy in place: Set the "strategy" field.
+ * 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview)
+ * 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy"
+ * unset. (since 2023-08-15-preview)
+ *
+ * Setting both "updateStrategyId" and "strategy" is invalid.
+ *
+ * UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and
+ * store it in the "strategy" field.
+ * Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate.
+ * UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.
+ *
* @param updateStrategyId the updateStrategyId value to set.
* @return the UpdateRunInner object itself.
*/
@@ -126,10 +134,11 @@ public UpdateRunInner withUpdateStrategyId(String updateStrategyId) {
}
/**
- * Get the strategy property: The strategy defines the order in which the clusters will be updated. If not set, all
- * members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single
- * UpdateGroup targeting all members. The strategy of the UpdateRun can be modified until the run is started.
- *
+ * Get the strategy property: The strategy defines the order in which the clusters will be updated.
+ * If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a
+ * single UpdateGroup targeting all members.
+ * The strategy of the UpdateRun can be modified until the run is started.
+ *
* @return the strategy value.
*/
public UpdateRunStrategy strategy() {
@@ -137,10 +146,11 @@ public UpdateRunStrategy strategy() {
}
/**
- * Set the strategy property: The strategy defines the order in which the clusters will be updated. If not set, all
- * members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single
- * UpdateGroup targeting all members. The strategy of the UpdateRun can be modified until the run is started.
- *
+ * Set the strategy property: The strategy defines the order in which the clusters will be updated.
+ * If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a
+ * single UpdateGroup targeting all members.
+ * The strategy of the UpdateRun can be modified until the run is started.
+ *
* @param strategy the strategy value to set.
* @return the UpdateRunInner object itself.
*/
@@ -155,7 +165,7 @@ public UpdateRunInner withStrategy(UpdateRunStrategy strategy) {
/**
* Get the managedClusterUpdate property: The update to be applied to all clusters in the UpdateRun. The
* managedClusterUpdate can be modified until the run is started.
- *
+ *
* @return the managedClusterUpdate value.
*/
public ManagedClusterUpdate managedClusterUpdate() {
@@ -165,7 +175,7 @@ public ManagedClusterUpdate managedClusterUpdate() {
/**
* Set the managedClusterUpdate property: The update to be applied to all clusters in the UpdateRun. The
* managedClusterUpdate can be modified until the run is started.
- *
+ *
* @param managedClusterUpdate the managedClusterUpdate value to set.
* @return the UpdateRunInner object itself.
*/
@@ -179,7 +189,7 @@ public UpdateRunInner withManagedClusterUpdate(ManagedClusterUpdate managedClust
/**
* Get the status property: The status of the UpdateRun.
- *
+ *
* @return the status value.
*/
public UpdateRunStatus status() {
@@ -188,7 +198,7 @@ public UpdateRunStatus status() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/UpdateRunProperties.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/UpdateRunProperties.java
index bdafc6dc98b67..af4711028450c 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/UpdateRunProperties.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/UpdateRunProperties.java
@@ -12,7 +12,9 @@
import com.azure.resourcemanager.containerservicefleet.models.UpdateRunStrategy;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** The properties of the UpdateRun. */
+/**
+ * The properties of the UpdateRun.
+ */
@Fluent
public final class UpdateRunProperties {
/*
@@ -23,15 +25,15 @@ public final class UpdateRunProperties {
/*
* The resource id of the FleetUpdateStrategy resource to reference.
- *
+ *
* When creating a new run, there are three ways to define a strategy for the run:
* 1. Define a new strategy in place: Set the "strategy" field.
* 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview)
* 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy"
* unset. (since 2023-08-15-preview)
- *
+ *
* Setting both "updateStrategyId" and "strategy" is invalid.
- *
+ *
* UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and
* store it in the "strategy" field.
* Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate.
@@ -62,13 +64,15 @@ public final class UpdateRunProperties {
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
private UpdateRunStatus status;
- /** Creates an instance of UpdateRunProperties class. */
+ /**
+ * Creates an instance of UpdateRunProperties class.
+ */
public UpdateRunProperties() {
}
/**
* Get the provisioningState property: The provisioning state of the UpdateRun resource.
- *
+ *
* @return the provisioningState value.
*/
public UpdateRunProvisioningState provisioningState() {
@@ -77,18 +81,20 @@ public UpdateRunProvisioningState provisioningState() {
/**
* Get the updateStrategyId property: The resource id of the FleetUpdateStrategy resource to reference.
- *
- *
When creating a new run, there are three ways to define a strategy for the run: 1. Define a new strategy in
- * place: Set the "strategy" field. 2. Use an existing strategy: Set the "updateStrategyId" field. (since
- * 2023-08-15-preview) 3. Use the default strategy to update all the members one by one: Leave both
- * "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview)
- *
- *
Setting both "updateStrategyId" and "strategy" is invalid.
- *
- *
UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and
- * store it in the "strategy" field. Subsequent changes to the referenced FleetUpdateStrategy resource do not
- * propagate. UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.
- *
+ *
+ * When creating a new run, there are three ways to define a strategy for the run:
+ * 1. Define a new strategy in place: Set the "strategy" field.
+ * 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview)
+ * 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy"
+ * unset. (since 2023-08-15-preview)
+ *
+ * Setting both "updateStrategyId" and "strategy" is invalid.
+ *
+ * UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and
+ * store it in the "strategy" field.
+ * Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate.
+ * UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.
+ *
* @return the updateStrategyId value.
*/
public String updateStrategyId() {
@@ -97,18 +103,20 @@ public String updateStrategyId() {
/**
* Set the updateStrategyId property: The resource id of the FleetUpdateStrategy resource to reference.
- *
- *
When creating a new run, there are three ways to define a strategy for the run: 1. Define a new strategy in
- * place: Set the "strategy" field. 2. Use an existing strategy: Set the "updateStrategyId" field. (since
- * 2023-08-15-preview) 3. Use the default strategy to update all the members one by one: Leave both
- * "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview)
- *
- *
Setting both "updateStrategyId" and "strategy" is invalid.
- *
- *
UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and
- * store it in the "strategy" field. Subsequent changes to the referenced FleetUpdateStrategy resource do not
- * propagate. UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.
- *
+ *
+ * When creating a new run, there are three ways to define a strategy for the run:
+ * 1. Define a new strategy in place: Set the "strategy" field.
+ * 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview)
+ * 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy"
+ * unset. (since 2023-08-15-preview)
+ *
+ * Setting both "updateStrategyId" and "strategy" is invalid.
+ *
+ * UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and
+ * store it in the "strategy" field.
+ * Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate.
+ * UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.
+ *
* @param updateStrategyId the updateStrategyId value to set.
* @return the UpdateRunProperties object itself.
*/
@@ -118,10 +126,11 @@ public UpdateRunProperties withUpdateStrategyId(String updateStrategyId) {
}
/**
- * Get the strategy property: The strategy defines the order in which the clusters will be updated. If not set, all
- * members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single
- * UpdateGroup targeting all members. The strategy of the UpdateRun can be modified until the run is started.
- *
+ * Get the strategy property: The strategy defines the order in which the clusters will be updated.
+ * If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a
+ * single UpdateGroup targeting all members.
+ * The strategy of the UpdateRun can be modified until the run is started.
+ *
* @return the strategy value.
*/
public UpdateRunStrategy strategy() {
@@ -129,10 +138,11 @@ public UpdateRunStrategy strategy() {
}
/**
- * Set the strategy property: The strategy defines the order in which the clusters will be updated. If not set, all
- * members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single
- * UpdateGroup targeting all members. The strategy of the UpdateRun can be modified until the run is started.
- *
+ * Set the strategy property: The strategy defines the order in which the clusters will be updated.
+ * If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a
+ * single UpdateGroup targeting all members.
+ * The strategy of the UpdateRun can be modified until the run is started.
+ *
* @param strategy the strategy value to set.
* @return the UpdateRunProperties object itself.
*/
@@ -144,7 +154,7 @@ public UpdateRunProperties withStrategy(UpdateRunStrategy strategy) {
/**
* Get the managedClusterUpdate property: The update to be applied to all clusters in the UpdateRun. The
* managedClusterUpdate can be modified until the run is started.
- *
+ *
* @return the managedClusterUpdate value.
*/
public ManagedClusterUpdate managedClusterUpdate() {
@@ -154,7 +164,7 @@ public ManagedClusterUpdate managedClusterUpdate() {
/**
* Set the managedClusterUpdate property: The update to be applied to all clusters in the UpdateRun. The
* managedClusterUpdate can be modified until the run is started.
- *
+ *
* @param managedClusterUpdate the managedClusterUpdate value to set.
* @return the UpdateRunProperties object itself.
*/
@@ -165,7 +175,7 @@ public UpdateRunProperties withManagedClusterUpdate(ManagedClusterUpdate managed
/**
* Get the status property: The status of the UpdateRun.
- *
+ *
* @return the status value.
*/
public UpdateRunStatus status() {
@@ -174,7 +184,7 @@ public UpdateRunStatus status() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
@@ -182,10 +192,8 @@ public void validate() {
strategy().validate();
}
if (managedClusterUpdate() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property managedClusterUpdate in model UpdateRunProperties"));
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ "Missing required property managedClusterUpdate in model UpdateRunProperties"));
} else {
managedClusterUpdate().validate();
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/package-info.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/package-info.java
index d5577476bd3ce..b607f24aa6631 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/package-info.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/models/package-info.java
@@ -3,7 +3,7 @@
// Code generated by Microsoft (R) AutoRest Code Generator.
/**
- * Package containing the inner data models for ContainerServiceFleetManagementClient. Azure Kubernetes Fleet Manager
- * Client.
+ * Package containing the inner data models for ContainerServiceFleetManagementClient.
+ * Azure Kubernetes Fleet Manager Client.
*/
package com.azure.resourcemanager.containerservicefleet.fluent.models;
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/package-info.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/package-info.java
index 2717bb0f140bb..c3fd33604ffe5 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/package-info.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/package-info.java
@@ -3,7 +3,7 @@
// Code generated by Microsoft (R) AutoRest Code Generator.
/**
- * Package containing the service clients for ContainerServiceFleetManagementClient. Azure Kubernetes Fleet Manager
- * Client.
+ * Package containing the service clients for ContainerServiceFleetManagementClient.
+ * Azure Kubernetes Fleet Manager Client.
*/
package com.azure.resourcemanager.containerservicefleet.fluent;
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/ContainerServiceFleetManagementClientBuilder.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/ContainerServiceFleetManagementClientBuilder.java
index c6c133263ee1c..5fd098c8f4d40 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/ContainerServiceFleetManagementClientBuilder.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/ContainerServiceFleetManagementClientBuilder.java
@@ -14,8 +14,10 @@
import com.azure.core.util.serializer.SerializerAdapter;
import java.time.Duration;
-/** A builder for creating a new instance of the ContainerServiceFleetManagementClientImpl type. */
-@ServiceClientBuilder(serviceClients = {ContainerServiceFleetManagementClientImpl.class})
+/**
+ * A builder for creating a new instance of the ContainerServiceFleetManagementClientImpl type.
+ */
+@ServiceClientBuilder(serviceClients = { ContainerServiceFleetManagementClientImpl.class })
public final class ContainerServiceFleetManagementClientBuilder {
/*
* The ID of the target subscription.
@@ -24,7 +26,7 @@ public final class ContainerServiceFleetManagementClientBuilder {
/**
* Sets The ID of the target subscription.
- *
+ *
* @param subscriptionId the subscriptionId value.
* @return the ContainerServiceFleetManagementClientBuilder.
*/
@@ -40,7 +42,7 @@ public ContainerServiceFleetManagementClientBuilder subscriptionId(String subscr
/**
* Sets server parameter.
- *
+ *
* @param endpoint the endpoint value.
* @return the ContainerServiceFleetManagementClientBuilder.
*/
@@ -56,7 +58,7 @@ public ContainerServiceFleetManagementClientBuilder endpoint(String endpoint) {
/**
* Sets The environment to connect to.
- *
+ *
* @param environment the environment value.
* @return the ContainerServiceFleetManagementClientBuilder.
*/
@@ -72,7 +74,7 @@ public ContainerServiceFleetManagementClientBuilder environment(AzureEnvironment
/**
* Sets The HTTP pipeline to send requests through.
- *
+ *
* @param pipeline the pipeline value.
* @return the ContainerServiceFleetManagementClientBuilder.
*/
@@ -88,7 +90,7 @@ public ContainerServiceFleetManagementClientBuilder pipeline(HttpPipeline pipeli
/**
* Sets The default poll interval for long-running operation.
- *
+ *
* @param defaultPollInterval the defaultPollInterval value.
* @return the ContainerServiceFleetManagementClientBuilder.
*/
@@ -104,7 +106,7 @@ public ContainerServiceFleetManagementClientBuilder defaultPollInterval(Duration
/**
* Sets The serializer to serialize an object into a string.
- *
+ *
* @param serializerAdapter the serializerAdapter value.
* @return the ContainerServiceFleetManagementClientBuilder.
*/
@@ -115,30 +117,20 @@ public ContainerServiceFleetManagementClientBuilder serializerAdapter(Serializer
/**
* Builds an instance of ContainerServiceFleetManagementClientImpl with the provided parameters.
- *
+ *
* @return an instance of ContainerServiceFleetManagementClientImpl.
*/
public ContainerServiceFleetManagementClientImpl buildClient() {
String localEndpoint = (endpoint != null) ? endpoint : "https://management.azure.com";
AzureEnvironment localEnvironment = (environment != null) ? environment : AzureEnvironment.AZURE;
- HttpPipeline localPipeline =
- (pipeline != null)
- ? pipeline
- : new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build();
- Duration localDefaultPollInterval =
- (defaultPollInterval != null) ? defaultPollInterval : Duration.ofSeconds(30);
- SerializerAdapter localSerializerAdapter =
- (serializerAdapter != null)
- ? serializerAdapter
- : SerializerFactory.createDefaultManagementSerializerAdapter();
- ContainerServiceFleetManagementClientImpl client =
- new ContainerServiceFleetManagementClientImpl(
- localPipeline,
- localSerializerAdapter,
- localDefaultPollInterval,
- localEnvironment,
- this.subscriptionId,
- localEndpoint);
+ HttpPipeline localPipeline = (pipeline != null) ? pipeline
+ : new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build();
+ Duration localDefaultPollInterval
+ = (defaultPollInterval != null) ? defaultPollInterval : Duration.ofSeconds(30);
+ SerializerAdapter localSerializerAdapter = (serializerAdapter != null) ? serializerAdapter
+ : SerializerFactory.createDefaultManagementSerializerAdapter();
+ ContainerServiceFleetManagementClientImpl client = new ContainerServiceFleetManagementClientImpl(localPipeline,
+ localSerializerAdapter, localDefaultPollInterval, localEnvironment, this.subscriptionId, localEndpoint);
return client;
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/ContainerServiceFleetManagementClientImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/ContainerServiceFleetManagementClientImpl.java
index f339bc016a73e..46e2bca78ff90 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/ContainerServiceFleetManagementClientImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/ContainerServiceFleetManagementClientImpl.java
@@ -37,135 +37,159 @@
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
-/** Initializes a new instance of the ContainerServiceFleetManagementClientImpl type. */
+/**
+ * Initializes a new instance of the ContainerServiceFleetManagementClientImpl type.
+ */
@ServiceClient(builder = ContainerServiceFleetManagementClientBuilder.class)
public final class ContainerServiceFleetManagementClientImpl implements ContainerServiceFleetManagementClient {
- /** The ID of the target subscription. */
+ /**
+ * The ID of the target subscription.
+ */
private final String subscriptionId;
/**
* Gets The ID of the target subscription.
- *
+ *
* @return the subscriptionId value.
*/
public String getSubscriptionId() {
return this.subscriptionId;
}
- /** server parameter. */
+ /**
+ * server parameter.
+ */
private final String endpoint;
/**
* Gets server parameter.
- *
+ *
* @return the endpoint value.
*/
public String getEndpoint() {
return this.endpoint;
}
- /** Api Version. */
+ /**
+ * Api Version.
+ */
private final String apiVersion;
/**
* Gets Api Version.
- *
+ *
* @return the apiVersion value.
*/
public String getApiVersion() {
return this.apiVersion;
}
- /** The HTTP pipeline to send requests through. */
+ /**
+ * The HTTP pipeline to send requests through.
+ */
private final HttpPipeline httpPipeline;
/**
* Gets The HTTP pipeline to send requests through.
- *
+ *
* @return the httpPipeline value.
*/
public HttpPipeline getHttpPipeline() {
return this.httpPipeline;
}
- /** The serializer to serialize an object into a string. */
+ /**
+ * The serializer to serialize an object into a string.
+ */
private final SerializerAdapter serializerAdapter;
/**
* Gets The serializer to serialize an object into a string.
- *
+ *
* @return the serializerAdapter value.
*/
SerializerAdapter getSerializerAdapter() {
return this.serializerAdapter;
}
- /** The default poll interval for long-running operation. */
+ /**
+ * The default poll interval for long-running operation.
+ */
private final Duration defaultPollInterval;
/**
* Gets The default poll interval for long-running operation.
- *
+ *
* @return the defaultPollInterval value.
*/
public Duration getDefaultPollInterval() {
return this.defaultPollInterval;
}
- /** The OperationsClient object to access its operations. */
+ /**
+ * The OperationsClient object to access its operations.
+ */
private final OperationsClient operations;
/**
* Gets the OperationsClient object to access its operations.
- *
+ *
* @return the OperationsClient object.
*/
public OperationsClient getOperations() {
return this.operations;
}
- /** The FleetsClient object to access its operations. */
+ /**
+ * The FleetsClient object to access its operations.
+ */
private final FleetsClient fleets;
/**
* Gets the FleetsClient object to access its operations.
- *
+ *
* @return the FleetsClient object.
*/
public FleetsClient getFleets() {
return this.fleets;
}
- /** The FleetMembersClient object to access its operations. */
+ /**
+ * The FleetMembersClient object to access its operations.
+ */
private final FleetMembersClient fleetMembers;
/**
* Gets the FleetMembersClient object to access its operations.
- *
+ *
* @return the FleetMembersClient object.
*/
public FleetMembersClient getFleetMembers() {
return this.fleetMembers;
}
- /** The UpdateRunsClient object to access its operations. */
+ /**
+ * The UpdateRunsClient object to access its operations.
+ */
private final UpdateRunsClient updateRuns;
/**
* Gets the UpdateRunsClient object to access its operations.
- *
+ *
* @return the UpdateRunsClient object.
*/
public UpdateRunsClient getUpdateRuns() {
return this.updateRuns;
}
- /** The FleetUpdateStrategiesClient object to access its operations. */
+ /**
+ * The FleetUpdateStrategiesClient object to access its operations.
+ */
private final FleetUpdateStrategiesClient fleetUpdateStrategies;
/**
* Gets the FleetUpdateStrategiesClient object to access its operations.
- *
+ *
* @return the FleetUpdateStrategiesClient object.
*/
public FleetUpdateStrategiesClient getFleetUpdateStrategies() {
@@ -174,7 +198,7 @@ public FleetUpdateStrategiesClient getFleetUpdateStrategies() {
/**
* Initializes an instance of ContainerServiceFleetManagementClient client.
- *
+ *
* @param httpPipeline The HTTP pipeline to send requests through.
* @param serializerAdapter The serializer to serialize an object into a string.
* @param defaultPollInterval The default poll interval for long-running operation.
@@ -182,19 +206,14 @@ public FleetUpdateStrategiesClient getFleetUpdateStrategies() {
* @param subscriptionId The ID of the target subscription.
* @param endpoint server parameter.
*/
- ContainerServiceFleetManagementClientImpl(
- HttpPipeline httpPipeline,
- SerializerAdapter serializerAdapter,
- Duration defaultPollInterval,
- AzureEnvironment environment,
- String subscriptionId,
- String endpoint) {
+ ContainerServiceFleetManagementClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializerAdapter,
+ Duration defaultPollInterval, AzureEnvironment environment, String subscriptionId, String endpoint) {
this.httpPipeline = httpPipeline;
this.serializerAdapter = serializerAdapter;
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
- this.apiVersion = "2023-10-15";
+ this.apiVersion = "2024-02-02-preview";
this.operations = new OperationsClientImpl(this);
this.fleets = new FleetsClientImpl(this);
this.fleetMembers = new FleetMembersClientImpl(this);
@@ -204,7 +223,7 @@ public FleetUpdateStrategiesClient getFleetUpdateStrategies() {
/**
* Gets default client context.
- *
+ *
* @return the default client context.
*/
public Context getContext() {
@@ -213,7 +232,7 @@ public Context getContext() {
/**
* Merges default client context with provided context.
- *
+ *
* @param context the context to be merged with default client context.
* @return the merged context.
*/
@@ -223,7 +242,7 @@ public Context mergeContext(Context context) {
/**
* Gets long running operation result.
- *
+ *
* @param activationResponse the response of activation operation.
* @param httpPipeline the http pipeline.
* @param pollResultType type of poll result.
@@ -233,26 +252,15 @@ public Context mergeContext(Context context) {
* @param type of final result.
* @return poller flux for poll result and final result.
*/
- public PollerFlux, U> getLroResult(
- Mono>> activationResponse,
- HttpPipeline httpPipeline,
- Type pollResultType,
- Type finalResultType,
- Context context) {
- return PollerFactory
- .create(
- serializerAdapter,
- httpPipeline,
- pollResultType,
- finalResultType,
- defaultPollInterval,
- activationResponse,
- context);
+ public PollerFlux, U> getLroResult(Mono>> activationResponse,
+ HttpPipeline httpPipeline, Type pollResultType, Type finalResultType, Context context) {
+ return PollerFactory.create(serializerAdapter, httpPipeline, pollResultType, finalResultType,
+ defaultPollInterval, activationResponse, context);
}
/**
* Gets the final result, or an error, based on last async poll response.
- *
+ *
* @param response the last async poll response.
* @param type of poll result.
* @param type of final result.
@@ -265,19 +273,16 @@ public Mono getLroFinalResultOrError(AsyncPollResponse,
HttpResponse errorResponse = null;
PollResult.Error lroError = response.getValue().getError();
if (lroError != null) {
- errorResponse =
- new HttpResponseImpl(
- lroError.getResponseStatusCode(), lroError.getResponseHeaders(), lroError.getResponseBody());
+ errorResponse = new HttpResponseImpl(lroError.getResponseStatusCode(), lroError.getResponseHeaders(),
+ lroError.getResponseBody());
errorMessage = response.getValue().getError().getMessage();
String errorBody = response.getValue().getError().getResponseBody();
if (errorBody != null) {
// try to deserialize error body to ManagementError
try {
- managementError =
- this
- .getSerializerAdapter()
- .deserialize(errorBody, ManagementError.class, SerializerEncoding.JSON);
+ managementError = this.getSerializerAdapter().deserialize(errorBody, ManagementError.class,
+ SerializerEncoding.JSON);
if (managementError.getCode() == null || managementError.getMessage() == null) {
managementError = null;
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetCredentialResultsImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetCredentialResultsImpl.java
index c04c0e7651c66..41fbd0adabdb2 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetCredentialResultsImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetCredentialResultsImpl.java
@@ -15,8 +15,7 @@ public final class FleetCredentialResultsImpl implements FleetCredentialResults
private final com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager serviceManager;
- FleetCredentialResultsImpl(
- FleetCredentialResultsInner innerObject,
+ FleetCredentialResultsImpl(FleetCredentialResultsInner innerObject,
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetImpl.java
index 7f855d798b6ac..71d7d64670dee 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetImpl.java
@@ -101,27 +101,19 @@ public FleetImpl withExistingResourceGroup(String resourceGroupName) {
}
public Fleet create() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleets()
- .createOrUpdate(
- resourceGroupName, fleetName, this.innerModel(), createIfMatch, createIfNoneMatch, Context.NONE);
+ this.innerObject = serviceManager.serviceClient().getFleets().createOrUpdate(resourceGroupName, fleetName,
+ this.innerModel(), createIfMatch, createIfNoneMatch, Context.NONE);
return this;
}
public Fleet create(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleets()
- .createOrUpdate(
- resourceGroupName, fleetName, this.innerModel(), createIfMatch, createIfNoneMatch, context);
+ this.innerObject = serviceManager.serviceClient().getFleets().createOrUpdate(resourceGroupName, fleetName,
+ this.innerModel(), createIfMatch, createIfNoneMatch, context);
return this;
}
- FleetImpl(
- String name, com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager serviceManager) {
+ FleetImpl(String name,
+ com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager serviceManager) {
this.innerObject = new FleetInner();
this.serviceManager = serviceManager;
this.fleetName = name;
@@ -136,25 +128,18 @@ public FleetImpl update() {
}
public Fleet apply() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleets()
- .update(resourceGroupName, fleetName, updateProperties, updateIfMatch, Context.NONE);
+ this.innerObject = serviceManager.serviceClient().getFleets().update(resourceGroupName, fleetName,
+ updateProperties, updateIfMatch, Context.NONE);
return this;
}
public Fleet apply(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleets()
- .update(resourceGroupName, fleetName, updateProperties, updateIfMatch, context);
+ this.innerObject = serviceManager.serviceClient().getFleets().update(resourceGroupName, fleetName,
+ updateProperties, updateIfMatch, context);
return this;
}
- FleetImpl(
- FleetInner innerObject,
+ FleetImpl(FleetInner innerObject,
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
@@ -163,22 +148,14 @@ public Fleet apply(Context context) {
}
public Fleet refresh() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleets()
- .getByResourceGroupWithResponse(resourceGroupName, fleetName, Context.NONE)
- .getValue();
+ this.innerObject = serviceManager.serviceClient().getFleets()
+ .getByResourceGroupWithResponse(resourceGroupName, fleetName, Context.NONE).getValue();
return this;
}
public Fleet refresh(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleets()
- .getByResourceGroupWithResponse(resourceGroupName, fleetName, context)
- .getValue();
+ this.innerObject = serviceManager.serviceClient().getFleets()
+ .getByResourceGroupWithResponse(resourceGroupName, fleetName, context).getValue();
return this;
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMemberImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMemberImpl.java
index e0af292a07ba3..62f87fb236b5d 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMemberImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMemberImpl.java
@@ -81,39 +81,19 @@ public FleetMemberImpl withExistingFleet(String resourceGroupName, String fleetN
}
public FleetMember create() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleetMembers()
- .create(
- resourceGroupName,
- fleetName,
- fleetMemberName,
- this.innerModel(),
- createIfMatch,
- createIfNoneMatch,
- Context.NONE);
+ this.innerObject = serviceManager.serviceClient().getFleetMembers().create(resourceGroupName, fleetName,
+ fleetMemberName, this.innerModel(), createIfMatch, createIfNoneMatch, Context.NONE);
return this;
}
public FleetMember create(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleetMembers()
- .create(
- resourceGroupName,
- fleetName,
- fleetMemberName,
- this.innerModel(),
- createIfMatch,
- createIfNoneMatch,
- context);
+ this.innerObject = serviceManager.serviceClient().getFleetMembers().create(resourceGroupName, fleetName,
+ fleetMemberName, this.innerModel(), createIfMatch, createIfNoneMatch, context);
return this;
}
- FleetMemberImpl(
- String name, com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager serviceManager) {
+ FleetMemberImpl(String name,
+ com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager serviceManager) {
this.innerObject = new FleetMemberInner();
this.serviceManager = serviceManager;
this.fleetMemberName = name;
@@ -128,25 +108,18 @@ public FleetMemberImpl update() {
}
public FleetMember apply() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleetMembers()
- .update(resourceGroupName, fleetName, fleetMemberName, updateProperties, updateIfMatch, Context.NONE);
+ this.innerObject = serviceManager.serviceClient().getFleetMembers().update(resourceGroupName, fleetName,
+ fleetMemberName, updateProperties, updateIfMatch, Context.NONE);
return this;
}
public FleetMember apply(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleetMembers()
- .update(resourceGroupName, fleetName, fleetMemberName, updateProperties, updateIfMatch, context);
+ this.innerObject = serviceManager.serviceClient().getFleetMembers().update(resourceGroupName, fleetName,
+ fleetMemberName, updateProperties, updateIfMatch, context);
return this;
}
- FleetMemberImpl(
- FleetMemberInner innerObject,
+ FleetMemberImpl(FleetMemberInner innerObject,
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
@@ -156,22 +129,14 @@ public FleetMember apply(Context context) {
}
public FleetMember refresh() {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleetMembers()
- .getWithResponse(resourceGroupName, fleetName, fleetMemberName, Context.NONE)
- .getValue();
+ this.innerObject = serviceManager.serviceClient().getFleetMembers()
+ .getWithResponse(resourceGroupName, fleetName, fleetMemberName, Context.NONE).getValue();
return this;
}
public FleetMember refresh(Context context) {
- this.innerObject =
- serviceManager
- .serviceClient()
- .getFleetMembers()
- .getWithResponse(resourceGroupName, fleetName, fleetMemberName, context)
- .getValue();
+ this.innerObject = serviceManager.serviceClient().getFleetMembers()
+ .getWithResponse(resourceGroupName, fleetName, fleetMemberName, context).getValue();
return this;
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersClientImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersClientImpl.java
index 6761e079572ce..7ec41dcbe5d0a 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersClientImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersClientImpl.java
@@ -40,22 +40,28 @@
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
-/** An instance of this class provides access to all the operations defined in FleetMembersClient. */
+/**
+ * An instance of this class provides access to all the operations defined in FleetMembersClient.
+ */
public final class FleetMembersClientImpl implements FleetMembersClient {
- /** The proxy service used to perform REST calls. */
+ /**
+ * The proxy service used to perform REST calls.
+ */
private final FleetMembersService service;
- /** The service client containing this operation class. */
+ /**
+ * The service client containing this operation class.
+ */
private final ContainerServiceFleetManagementClientImpl client;
/**
* Initializes an instance of FleetMembersClientImpl.
- *
+ *
* @param client the instance of the service client containing this operation class.
*/
FleetMembersClientImpl(ContainerServiceFleetManagementClientImpl client) {
- this.service =
- RestProxy.create(FleetMembersService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.service
+ = RestProxy.create(FleetMembersService.class, client.getHttpPipeline(), client.getSerializerAdapter());
this.client = client;
}
@@ -66,122 +72,88 @@ public final class FleetMembersClientImpl implements FleetMembersClient {
@Host("{$host}")
@ServiceInterface(name = "ContainerServiceFlee")
public interface FleetMembersService {
- @Headers({"Content-Type: application/json"})
- @Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members")
- @ExpectedResponses({200})
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members")
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> listByFleet(
- @HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("fleetName") String fleetName,
- @HeaderParam("Accept") String accept,
- Context context);
+ Mono> listByFleet(@HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
+ @HeaderParam("Accept") String accept, Context context);
- @Headers({"Content-Type: application/json"})
- @Get(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}")
- @ExpectedResponses({200})
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}")
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> get(
- @HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("fleetName") String fleetName,
- @PathParam("fleetMemberName") String fleetMemberName,
- @HeaderParam("Accept") String accept,
+ Mono> get(@HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
+ @PathParam("fleetMemberName") String fleetMemberName, @HeaderParam("Accept") String accept,
Context context);
- @Headers({"Content-Type: application/json"})
- @Put(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}")
- @ExpectedResponses({200, 201})
+ @Headers({ "Content-Type: application/json" })
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}")
+ @ExpectedResponses({ 200, 201 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono>> create(
- @HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName,
- @HeaderParam("If-Match") String ifMatch,
- @HeaderParam("If-None-Match") String ifNoneMatch,
- @PathParam("fleetName") String fleetName,
+ Mono>> create(@HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("If-Match") String ifMatch,
+ @HeaderParam("If-None-Match") String ifNoneMatch, @PathParam("fleetName") String fleetName,
@PathParam("fleetMemberName") String fleetMemberName,
- @BodyParam("application/json") FleetMemberInner resource,
- @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") FleetMemberInner resource, @HeaderParam("Accept") String accept,
Context context);
- @Headers({"Content-Type: application/json"})
- @Patch(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}")
- @ExpectedResponses({200, 202})
+ @Headers({ "Content-Type: application/json" })
+ @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}")
+ @ExpectedResponses({ 200, 202 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono>> update(
- @HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName,
- @HeaderParam("If-Match") String ifMatch,
- @PathParam("fleetName") String fleetName,
- @PathParam("fleetMemberName") String fleetMemberName,
- @BodyParam("application/json") FleetMemberUpdate properties,
- @HeaderParam("Accept") String accept,
+ Mono>> update(@HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("If-Match") String ifMatch,
+ @PathParam("fleetName") String fleetName, @PathParam("fleetMemberName") String fleetMemberName,
+ @BodyParam("application/json") FleetMemberUpdate properties, @HeaderParam("Accept") String accept,
Context context);
- @Headers({"Content-Type: application/json"})
- @Delete(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}")
- @ExpectedResponses({200, 202, 204})
+ @Headers({ "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}")
+ @ExpectedResponses({ 200, 202, 204 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono>> delete(
- @HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion,
- @PathParam("subscriptionId") String subscriptionId,
- @PathParam("resourceGroupName") String resourceGroupName,
- @HeaderParam("If-Match") String ifMatch,
- @PathParam("fleetName") String fleetName,
- @PathParam("fleetMemberName") String fleetMemberName,
- @HeaderParam("Accept") String accept,
- Context context);
+ Mono>> delete(@HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("If-Match") String ifMatch,
+ @PathParam("fleetName") String fleetName, @PathParam("fleetMemberName") String fleetMemberName,
+ @HeaderParam("Accept") String accept, Context context);
- @Headers({"Content-Type: application/json"})
+ @Headers({ "Content-Type: application/json" })
@Get("{nextLink}")
- @ExpectedResponses({200})
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
Mono> listByFleetNext(
- @PathParam(value = "nextLink", encoded = true) String nextLink,
- @HostParam("$host") String endpoint,
- @HeaderParam("Accept") String accept,
- Context context);
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
}
/**
* List FleetMember resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet 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 the response of a FleetMember list operation along with {@link PagedResponse} on successful completion of
- * {@link Mono}.
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listByFleetSinglePageAsync(
- String resourceGroupName, String fleetName) {
+ private Mono> listByFleetSinglePageAsync(String resourceGroupName,
+ String fleetName) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be 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."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -192,32 +164,16 @@ private Mono> listByFleetSinglePageAsync(
}
final String accept = "application/json";
return FluxUtil
- .withContext(
- context ->
- service
- .listByFleet(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- fleetName,
- accept,
- context))
- .>map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null))
+ .withContext(context -> service.listByFleet(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, 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()));
}
/**
* List FleetMember resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param context The context to associate with this operation.
@@ -225,22 +181,18 @@ private Mono> listByFleetSinglePageAsync(
* @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 the response of a FleetMember list operation along with {@link PagedResponse} on successful completion of
- * {@link Mono}.
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listByFleetSinglePageAsync(
- String resourceGroupName, String fleetName, Context context) {
+ private Mono> listByFleetSinglePageAsync(String resourceGroupName, String fleetName,
+ Context context) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be 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."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -252,28 +204,15 @@ private Mono> listByFleetSinglePageAsync(
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
- .listByFleet(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- fleetName,
- accept,
- context)
- .map(
- res ->
- new PagedResponseBase<>(
- res.getRequest(),
- res.getStatusCode(),
- res.getHeaders(),
- res.getValue().value(),
- res.getValue().nextLink(),
- null));
+ .listByFleet(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, fleetName, accept, context)
+ .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
+ res.getValue().value(), res.getValue().nextLink(), null));
}
/**
* List FleetMember resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -283,14 +222,13 @@ private Mono> listByFleetSinglePageAsync(
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName) {
- return new PagedFlux<>(
- () -> listByFleetSinglePageAsync(resourceGroupName, fleetName),
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName),
nextLink -> listByFleetNextSinglePageAsync(nextLink));
}
/**
* List FleetMember resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param context The context to associate with this operation.
@@ -301,14 +239,13 @@ private PagedFlux listByFleetAsync(String resourceGroupName, S
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName, Context context) {
- return new PagedFlux<>(
- () -> listByFleetSinglePageAsync(resourceGroupName, fleetName, context),
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName, context),
nextLink -> listByFleetNextSinglePageAsync(nextLink, context));
}
/**
* List FleetMember resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -323,7 +260,7 @@ public PagedIterable listByFleet(String resourceGroupName, Str
/**
* List FleetMember resources by Fleet.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param context The context to associate with this operation.
@@ -339,7 +276,7 @@ public PagedIterable listByFleet(String resourceGroupName, Str
/**
* Get a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -349,19 +286,15 @@ public PagedIterable listByFleet(String resourceGroupName, Str
* @return a FleetMember along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(
- String resourceGroupName, String fleetName, String fleetMemberName) {
+ private Mono> getWithResponseAsync(String resourceGroupName, String fleetName,
+ String fleetMemberName) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be 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."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -376,24 +309,14 @@ private Mono> getWithResponseAsync(
}
final String accept = "application/json";
return FluxUtil
- .withContext(
- context ->
- service
- .get(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- fleetName,
- fleetMemberName,
- accept,
- context))
+ .withContext(context -> service.get(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, fleetMemberName, accept, context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* Get a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -404,19 +327,15 @@ private Mono> getWithResponseAsync(
* @return a FleetMember along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(
- String resourceGroupName, String fleetName, String fleetMemberName, Context context) {
+ private Mono> getWithResponseAsync(String resourceGroupName, String fleetName,
+ String fleetMemberName, Context context) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be 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."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -431,21 +350,13 @@ private Mono> getWithResponseAsync(
}
final String accept = "application/json";
context = this.client.mergeContext(context);
- return service
- .get(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- fleetName,
- fleetMemberName,
- accept,
- context);
+ return service.get(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, fleetName, fleetMemberName, accept, context);
}
/**
* Get a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -462,7 +373,7 @@ private Mono getAsync(String resourceGroupName, String fleetNa
/**
* Get a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -473,14 +384,14 @@ private Mono getAsync(String resourceGroupName, String fleetNa
* @return a FleetMember along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(
- String resourceGroupName, String fleetName, String fleetMemberName, Context context) {
+ public Response getWithResponse(String resourceGroupName, String fleetName,
+ String fleetMemberName, Context context) {
return getWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, context).block();
}
/**
* Get a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -496,7 +407,7 @@ public FleetMemberInner get(String resourceGroupName, String fleetName, String f
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -509,24 +420,15 @@ public FleetMemberInner get(String resourceGroupName, String fleetName, String f
* @return a member of the Fleet along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> createWithResponseAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberInner resource,
- String ifMatch,
- String ifNoneMatch) {
+ private Mono>> createWithResponseAsync(String resourceGroupName, String fleetName,
+ String fleetMemberName, FleetMemberInner resource, String ifMatch, String ifNoneMatch) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be 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."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -546,27 +448,15 @@ private Mono>> createWithResponseAsync(
}
final String accept = "application/json";
return FluxUtil
- .withContext(
- context ->
- service
- .create(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- ifMatch,
- ifNoneMatch,
- fleetName,
- fleetMemberName,
- resource,
- accept,
- context))
+ .withContext(context -> service.create(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, ifMatch, ifNoneMatch, fleetName, fleetMemberName,
+ resource, accept, context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -580,25 +470,15 @@ private Mono>> createWithResponseAsync(
* @return a member of the Fleet along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> createWithResponseAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberInner resource,
- String ifMatch,
- String ifNoneMatch,
- Context context) {
+ private Mono>> createWithResponseAsync(String resourceGroupName, String fleetName,
+ String fleetMemberName, FleetMemberInner resource, String ifMatch, String ifNoneMatch, Context context) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be 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."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -618,24 +498,13 @@ private Mono>> createWithResponseAsync(
}
final String accept = "application/json";
context = this.client.mergeContext(context);
- return service
- .create(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- ifMatch,
- ifNoneMatch,
- fleetName,
- fleetMemberName,
- resource,
- accept,
- context);
+ return service.create(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, ifMatch, ifNoneMatch, fleetName, fleetMemberName, resource, accept, context);
}
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -648,28 +517,17 @@ private Mono>> createWithResponseAsync(
* @return the {@link PollerFlux} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, FleetMemberInner> beginCreateAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberInner resource,
- String ifMatch,
- String ifNoneMatch) {
- Mono>> mono =
- createWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch);
- return this
- .client
- .getLroResult(
- mono,
- this.client.getHttpPipeline(),
- FleetMemberInner.class,
- FleetMemberInner.class,
- this.client.getContext());
+ private PollerFlux, FleetMemberInner> beginCreateAsync(String resourceGroupName,
+ String fleetName, String fleetMemberName, FleetMemberInner resource, String ifMatch, String ifNoneMatch) {
+ Mono>> mono
+ = createWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ FleetMemberInner.class, FleetMemberInner.class, this.client.getContext());
}
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -680,25 +538,19 @@ private PollerFlux, FleetMemberInner> beginCreateAs
* @return the {@link PollerFlux} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, FleetMemberInner> beginCreateAsync(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberInner resource) {
+ private PollerFlux, FleetMemberInner> beginCreateAsync(String resourceGroupName,
+ String fleetName, String fleetMemberName, FleetMemberInner resource) {
final String ifMatch = null;
final String ifNoneMatch = null;
- Mono>> mono =
- createWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch);
- return this
- .client
- .getLroResult(
- mono,
- this.client.getHttpPipeline(),
- FleetMemberInner.class,
- FleetMemberInner.class,
- this.client.getContext());
+ Mono>> mono
+ = createWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ FleetMemberInner.class, FleetMemberInner.class, this.client.getContext());
}
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -712,27 +564,19 @@ private PollerFlux, FleetMemberInner> beginCreateAs
* @return the {@link PollerFlux} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, FleetMemberInner> beginCreateAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberInner resource,
- String ifMatch,
- String ifNoneMatch,
+ private PollerFlux, FleetMemberInner> beginCreateAsync(String resourceGroupName,
+ String fleetName, String fleetMemberName, FleetMemberInner resource, String ifMatch, String ifNoneMatch,
Context context) {
context = this.client.mergeContext(context);
- Mono>> mono =
- createWithResponseAsync(
- resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch, context);
- return this
- .client
- .getLroResult(
- mono, this.client.getHttpPipeline(), FleetMemberInner.class, FleetMemberInner.class, context);
+ Mono>> mono = createWithResponseAsync(resourceGroupName, fleetName, fleetMemberName,
+ resource, ifMatch, ifNoneMatch, context);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ FleetMemberInner.class, FleetMemberInner.class, context);
}
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -743,18 +587,17 @@ private PollerFlux, FleetMemberInner> beginCreateAs
* @return the {@link SyncPoller} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, FleetMemberInner> beginCreate(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberInner resource) {
+ public SyncPoller, FleetMemberInner> beginCreate(String resourceGroupName,
+ String fleetName, String fleetMemberName, FleetMemberInner resource) {
final String ifMatch = null;
final String ifNoneMatch = null;
- return this
- .beginCreateAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch)
+ return this.beginCreateAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch)
.getSyncPoller();
}
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -768,13 +611,8 @@ public SyncPoller, FleetMemberInner> beginCreate(
* @return the {@link SyncPoller} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, FleetMemberInner> beginCreate(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberInner resource,
- String ifMatch,
- String ifNoneMatch,
+ public SyncPoller, FleetMemberInner> beginCreate(String resourceGroupName,
+ String fleetName, String fleetMemberName, FleetMemberInner resource, String ifMatch, String ifNoneMatch,
Context context) {
return this
.beginCreateAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch, context)
@@ -783,7 +621,7 @@ public SyncPoller, FleetMemberInner> beginCreate(
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -796,21 +634,15 @@ public SyncPoller, FleetMemberInner> beginCreate(
* @return a member of the Fleet on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono createAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberInner resource,
- String ifMatch,
- String ifNoneMatch) {
- return beginCreateAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch)
- .last()
+ private Mono createAsync(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberInner resource, String ifMatch, String ifNoneMatch) {
+ return beginCreateAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch).last()
.flatMap(this.client::getLroFinalResultOrError);
}
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -821,18 +653,17 @@ private Mono createAsync(
* @return a member of the Fleet on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono createAsync(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberInner resource) {
+ private Mono createAsync(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberInner resource) {
final String ifMatch = null;
final String ifNoneMatch = null;
- return beginCreateAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch)
- .last()
+ return beginCreateAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch).last()
.flatMap(this.client::getLroFinalResultOrError);
}
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -846,22 +677,15 @@ private Mono createAsync(
* @return a member of the Fleet on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono createAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberInner resource,
- String ifMatch,
- String ifNoneMatch,
- Context context) {
+ private Mono createAsync(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberInner resource, String ifMatch, String ifNoneMatch, Context context) {
return beginCreateAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch, context)
- .last()
- .flatMap(this.client::getLroFinalResultOrError);
+ .last().flatMap(this.client::getLroFinalResultOrError);
}
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -872,8 +696,8 @@ private Mono createAsync(
* @return a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public FleetMemberInner create(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberInner resource) {
+ public FleetMemberInner create(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberInner resource) {
final String ifMatch = null;
final String ifNoneMatch = null;
return createAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch).block();
@@ -881,7 +705,7 @@ public FleetMemberInner create(
/**
* Create a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -895,21 +719,15 @@ public FleetMemberInner create(
* @return a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public FleetMemberInner create(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberInner resource,
- String ifMatch,
- String ifNoneMatch,
- Context context) {
+ public FleetMemberInner create(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberInner resource, String ifMatch, String ifNoneMatch, Context context) {
return createAsync(resourceGroupName, fleetName, fleetMemberName, resource, ifMatch, ifNoneMatch, context)
.block();
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -921,23 +739,15 @@ public FleetMemberInner create(
* @return a member of the Fleet along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> updateWithResponseAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberUpdate properties,
- String ifMatch) {
+ private Mono>> updateWithResponseAsync(String resourceGroupName, String fleetName,
+ String fleetMemberName, FleetMemberUpdate properties, String ifMatch) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be 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."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -957,26 +767,15 @@ private Mono>> updateWithResponseAsync(
}
final String accept = "application/json";
return FluxUtil
- .withContext(
- context ->
- service
- .update(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- ifMatch,
- fleetName,
- fleetMemberName,
- properties,
- accept,
- context))
+ .withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, ifMatch, fleetName, fleetMemberName, properties,
+ accept, context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -989,24 +788,15 @@ private Mono>> updateWithResponseAsync(
* @return a member of the Fleet along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> updateWithResponseAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberUpdate properties,
- String ifMatch,
- Context context) {
+ private Mono>> updateWithResponseAsync(String resourceGroupName, String fleetName,
+ String fleetMemberName, FleetMemberUpdate properties, String ifMatch, Context context) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be 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."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -1026,23 +816,13 @@ private Mono>> updateWithResponseAsync(
}
final String accept = "application/json";
context = this.client.mergeContext(context);
- return service
- .update(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- ifMatch,
- fleetName,
- fleetMemberName,
- properties,
- accept,
- context);
+ return service.update(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, ifMatch, fleetName, fleetMemberName, properties, accept, context);
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1054,27 +834,17 @@ private Mono>> updateWithResponseAsync(
* @return the {@link PollerFlux} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, FleetMemberInner> beginUpdateAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberUpdate properties,
- String ifMatch) {
- Mono>> mono =
- updateWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch);
- return this
- .client
- .getLroResult(
- mono,
- this.client.getHttpPipeline(),
- FleetMemberInner.class,
- FleetMemberInner.class,
- this.client.getContext());
+ private PollerFlux, FleetMemberInner> beginUpdateAsync(String resourceGroupName,
+ String fleetName, String fleetMemberName, FleetMemberUpdate properties, String ifMatch) {
+ Mono>> mono
+ = updateWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ FleetMemberInner.class, FleetMemberInner.class, this.client.getContext());
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1085,24 +855,18 @@ private PollerFlux, FleetMemberInner> beginUpdateAs
* @return the {@link PollerFlux} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, FleetMemberInner> beginUpdateAsync(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberUpdate properties) {
+ private PollerFlux, FleetMemberInner> beginUpdateAsync(String resourceGroupName,
+ String fleetName, String fleetMemberName, FleetMemberUpdate properties) {
final String ifMatch = null;
- Mono>> mono =
- updateWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch);
- return this
- .client
- .getLroResult(
- mono,
- this.client.getHttpPipeline(),
- FleetMemberInner.class,
- FleetMemberInner.class,
- this.client.getContext());
+ Mono>> mono
+ = updateWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ FleetMemberInner.class, FleetMemberInner.class, this.client.getContext());
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1115,25 +879,18 @@ private PollerFlux, FleetMemberInner> beginUpdateAs
* @return the {@link PollerFlux} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, FleetMemberInner> beginUpdateAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberUpdate properties,
- String ifMatch,
- Context context) {
+ private PollerFlux, FleetMemberInner> beginUpdateAsync(String resourceGroupName,
+ String fleetName, String fleetMemberName, FleetMemberUpdate properties, String ifMatch, Context context) {
context = this.client.mergeContext(context);
- Mono>> mono =
- updateWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch, context);
- return this
- .client
- .getLroResult(
- mono, this.client.getHttpPipeline(), FleetMemberInner.class, FleetMemberInner.class, context);
+ Mono>> mono
+ = updateWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch, context);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ FleetMemberInner.class, FleetMemberInner.class, context);
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1144,17 +901,16 @@ private PollerFlux, FleetMemberInner> beginUpdateAs
* @return the {@link SyncPoller} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, FleetMemberInner> beginUpdate(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberUpdate properties) {
+ public SyncPoller, FleetMemberInner> beginUpdate(String resourceGroupName,
+ String fleetName, String fleetMemberName, FleetMemberUpdate properties) {
final String ifMatch = null;
- return this
- .beginUpdateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch)
+ return this.beginUpdateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch)
.getSyncPoller();
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1167,21 +923,15 @@ public SyncPoller, FleetMemberInner> beginUpdate(
* @return the {@link SyncPoller} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, FleetMemberInner> beginUpdate(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberUpdate properties,
- String ifMatch,
- Context context) {
- return this
- .beginUpdateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch, context)
+ public SyncPoller, FleetMemberInner> beginUpdate(String resourceGroupName,
+ String fleetName, String fleetMemberName, FleetMemberUpdate properties, String ifMatch, Context context) {
+ return this.beginUpdateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch, context)
.getSyncPoller();
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1193,20 +943,15 @@ public SyncPoller, FleetMemberInner> beginUpdate(
* @return a member of the Fleet on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono updateAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberUpdate properties,
- String ifMatch) {
- return beginUpdateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch)
- .last()
+ private Mono updateAsync(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberUpdate properties, String ifMatch) {
+ return beginUpdateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch).last()
.flatMap(this.client::getLroFinalResultOrError);
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1217,17 +962,16 @@ private Mono updateAsync(
* @return a member of the Fleet on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono updateAsync(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberUpdate properties) {
+ private Mono updateAsync(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberUpdate properties) {
final String ifMatch = null;
- return beginUpdateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch)
- .last()
+ return beginUpdateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch).last()
.flatMap(this.client::getLroFinalResultOrError);
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1240,21 +984,15 @@ private Mono updateAsync(
* @return a member of the Fleet on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono updateAsync(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberUpdate properties,
- String ifMatch,
- Context context) {
- return beginUpdateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch, context)
- .last()
+ private Mono updateAsync(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberUpdate properties, String ifMatch, Context context) {
+ return beginUpdateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch, context).last()
.flatMap(this.client::getLroFinalResultOrError);
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1265,15 +1003,15 @@ private Mono updateAsync(
* @return a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public FleetMemberInner update(
- String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberUpdate properties) {
+ public FleetMemberInner update(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberUpdate properties) {
final String ifMatch = null;
return updateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch).block();
}
/**
* Update a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1286,19 +1024,14 @@ public FleetMemberInner update(
* @return a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public FleetMemberInner update(
- String resourceGroupName,
- String fleetName,
- String fleetMemberName,
- FleetMemberUpdate properties,
- String ifMatch,
- Context context) {
+ public FleetMemberInner update(String resourceGroupName, String fleetName, String fleetMemberName,
+ FleetMemberUpdate properties, String ifMatch, Context context) {
return updateAsync(resourceGroupName, fleetName, fleetMemberName, properties, ifMatch, context).block();
}
/**
* Delete a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1309,19 +1042,15 @@ public FleetMemberInner update(
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> deleteWithResponseAsync(
- String resourceGroupName, String fleetName, String fleetMemberName, String ifMatch) {
+ private Mono>> deleteWithResponseAsync(String resourceGroupName, String fleetName,
+ String fleetMemberName, String ifMatch) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be 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."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -1335,26 +1064,14 @@ private Mono>> deleteWithResponseAsync(
.error(new IllegalArgumentException("Parameter fleetMemberName is required and cannot be null."));
}
final String accept = "application/json";
- return FluxUtil
- .withContext(
- context ->
- service
- .delete(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- ifMatch,
- fleetName,
- fleetMemberName,
- accept,
- context))
+ return FluxUtil.withContext(context -> service.delete(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, ifMatch, fleetName, fleetMemberName, accept, context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* Delete a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1366,19 +1083,15 @@ private Mono>> deleteWithResponseAsync(
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> deleteWithResponseAsync(
- String resourceGroupName, String fleetName, String fleetMemberName, String ifMatch, Context context) {
+ private Mono>> deleteWithResponseAsync(String resourceGroupName, String fleetName,
+ String fleetMemberName, String ifMatch, Context context) {
if (this.client.getEndpoint() == null) {
- return Mono
- .error(
- new IllegalArgumentException(
- "Parameter this.client.getEndpoint() is required and cannot be 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."));
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
if (resourceGroupName == null) {
return Mono
@@ -1393,22 +1106,13 @@ private Mono>> deleteWithResponseAsync(
}
final String accept = "application/json";
context = this.client.mergeContext(context);
- return service
- .delete(
- this.client.getEndpoint(),
- this.client.getApiVersion(),
- this.client.getSubscriptionId(),
- resourceGroupName,
- ifMatch,
- fleetName,
- fleetMemberName,
- accept,
- context);
+ return service.delete(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, ifMatch, fleetName, fleetMemberName, accept, context);
}
/**
* Delete a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1419,19 +1123,17 @@ private Mono>> deleteWithResponseAsync(
* @return the {@link PollerFlux} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, Void> beginDeleteAsync(
- String resourceGroupName, String fleetName, String fleetMemberName, String ifMatch) {
- Mono>> mono =
- deleteWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, ifMatch);
- return this
- .client
- .getLroResult(
- mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
+ private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String fleetName,
+ String fleetMemberName, String ifMatch) {
+ Mono>> mono
+ = deleteWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, ifMatch);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
}
/**
* Delete a FleetMember.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
@@ -1441,20 +1143,18 @@ private PollerFlux, Void> beginDeleteAsync(
* @return the {@link PollerFlux} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- private PollerFlux, Void> beginDeleteAsync(
- String resourceGroupName, String fleetName, String fleetMemberName) {
+ private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String fleetName,
+ String fleetMemberName) {
final String ifMatch = null;
- Mono>> mono =
- deleteWithResponseAsync(resourceGroupName, fleetName, fleetMemberName, ifMatch);
- return this
- .client
- .