net.bytebuddy
byte-buddy
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/WorkloadsManager.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/WorkloadsManager.java
index 3e5bfadc5be8..1858aff21e3f 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/WorkloadsManager.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/WorkloadsManager.java
@@ -11,8 +11,8 @@
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
-import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
import com.azure.core.http.policy.RequestIdPolicy;
@@ -51,10 +51,8 @@
import java.util.stream.Collectors;
/**
- * Entry point to WorkloadsManager. Workloads client provides access to various workload operations.<br>Azure
- * Center for SAP solutions is currently in PREVIEW. See the [Azure Center for SAP solutions - Legal
- * Terms](https://learn.microsoft.com/legal/azure-center-for-sap-solutions/azure-center-for-sap-solutions-legal-terms)
- * for legal notices applicable to Azure Center for SAP solutions.
+ * Entry point to WorkloadsManager.
+ * Workloads client provides access to various workload operations.
*/
public final class WorkloadsManager {
private ResourceProviders resourceProviders;
@@ -80,18 +78,16 @@ public final class WorkloadsManager {
private WorkloadsManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject =
- new WorkloadsClientBuilder()
- .pipeline(httpPipeline)
- .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
- .subscriptionId(profile.getSubscriptionId())
- .defaultPollInterval(defaultPollInterval)
- .buildClient();
+ this.clientObject = new WorkloadsClientBuilder().pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
}
/**
* Creates an instance of Workloads service API entry point.
- *
+ *
* @param credential the credential to use.
* @param profile the Azure profile for client.
* @return the Workloads service API instance.
@@ -104,7 +100,7 @@ public static WorkloadsManager authenticate(TokenCredential credential, AzurePro
/**
* Creates an instance of Workloads service API entry point.
- *
+ *
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
* @param profile the Azure profile for client.
* @return the Workloads service API instance.
@@ -117,14 +113,16 @@ public static WorkloadsManager authenticate(HttpPipeline httpPipeline, AzureProf
/**
* Gets a Configurable instance that can be used to create WorkloadsManager with optional configuration.
- *
+ *
* @return the Configurable instance allowing configurations.
*/
public static Configurable configure() {
return new WorkloadsManager.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);
@@ -196,8 +194,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.
@@ -214,8 +212,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"));
@@ -235,15 +233,13 @@ public WorkloadsManager authenticate(TokenCredential credential, AzureProfile pr
Objects.requireNonNull(profile, "'profile' cannot be null.");
StringBuilder userAgentBuilder = new StringBuilder();
- userAgentBuilder
- .append("azsdk-java")
+ userAgentBuilder.append("azsdk-java")
.append("-")
.append("com.azure.resourcemanager.workloads")
.append("/")
- .append("1.0.0");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
- userAgentBuilder
- .append(" (")
+ userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
.append("; ")
.append(Configuration.getGlobalConfiguration().get("os.name"))
@@ -268,38 +264,28 @@ public WorkloadsManager authenticate(TokenCredential credential, AzureProfile pr
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 WorkloadsManager(httpPipeline, profile, defaultPollInterval);
}
}
/**
* Gets the resource collection API of ResourceProviders.
- *
+ *
* @return Resource collection API of ResourceProviders.
*/
public ResourceProviders resourceProviders() {
@@ -311,7 +297,7 @@ public ResourceProviders resourceProviders() {
/**
* Gets the resource collection API of SapVirtualInstances. It manages SapVirtualInstance.
- *
+ *
* @return Resource collection API of SapVirtualInstances.
*/
public SapVirtualInstances sapVirtualInstances() {
@@ -323,7 +309,7 @@ public SapVirtualInstances sapVirtualInstances() {
/**
* Gets the resource collection API of SapCentralInstances. It manages SapCentralServerInstance.
- *
+ *
* @return Resource collection API of SapCentralInstances.
*/
public SapCentralInstances sapCentralInstances() {
@@ -335,7 +321,7 @@ public SapCentralInstances sapCentralInstances() {
/**
* Gets the resource collection API of SapDatabaseInstances. It manages SapDatabaseInstance.
- *
+ *
* @return Resource collection API of SapDatabaseInstances.
*/
public SapDatabaseInstances sapDatabaseInstances() {
@@ -347,20 +333,20 @@ public SapDatabaseInstances sapDatabaseInstances() {
/**
* Gets the resource collection API of SapApplicationServerInstances. It manages SapApplicationServerInstance.
- *
+ *
* @return Resource collection API of SapApplicationServerInstances.
*/
public SapApplicationServerInstances sapApplicationServerInstances() {
if (this.sapApplicationServerInstances == null) {
- this.sapApplicationServerInstances =
- new SapApplicationServerInstancesImpl(clientObject.getSapApplicationServerInstances(), this);
+ this.sapApplicationServerInstances
+ = new SapApplicationServerInstancesImpl(clientObject.getSapApplicationServerInstances(), this);
}
return sapApplicationServerInstances;
}
/**
* Gets the resource collection API of Monitors. It manages Monitor.
- *
+ *
* @return Resource collection API of Monitors.
*/
public Monitors monitors() {
@@ -372,7 +358,7 @@ public Monitors monitors() {
/**
* Gets the resource collection API of ProviderInstances. It manages ProviderInstance.
- *
+ *
* @return Resource collection API of ProviderInstances.
*/
public ProviderInstances providerInstances() {
@@ -384,7 +370,7 @@ public ProviderInstances providerInstances() {
/**
* Gets the resource collection API of SapLandscapeMonitors.
- *
+ *
* @return Resource collection API of SapLandscapeMonitors.
*/
public SapLandscapeMonitors sapLandscapeMonitors() {
@@ -396,7 +382,7 @@ public SapLandscapeMonitors sapLandscapeMonitors() {
/**
* Gets the resource collection API of Operations.
- *
+ *
* @return Resource collection API of Operations.
*/
public Operations operations() {
@@ -407,8 +393,10 @@ public Operations operations() {
}
/**
- * @return Wrapped service client WorkloadsClient providing direct access to the underlying auto-generated API
- * implementation, based on Azure REST API.
+ * Gets wrapped service client WorkloadsClient providing direct access to the underlying auto-generated API
+ * implementation, based on Azure REST API.
+ *
+ * @return Wrapped service client WorkloadsClient.
*/
public WorkloadsClient serviceClient() {
return this.clientObject;
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/MonitorsClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/MonitorsClient.java
index 7acd6d1bac49..604784e36b5b 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/MonitorsClient.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/MonitorsClient.java
@@ -15,14 +15,16 @@
import com.azure.resourcemanager.workloads.fluent.models.OperationStatusResultInner;
import com.azure.resourcemanager.workloads.models.UpdateMonitorRequest;
-/** An instance of this class provides access to all the operations defined in MonitorsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in MonitorsClient.
+ */
public interface MonitorsClient {
/**
* Gets a list of SAP monitors in the specified subscription.
- *
- *
Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each
- * SAP monitor.
- *
+ *
+ * Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP
+ * monitor.
+ *
* @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 SAP monitors in the specified subscription as paginated response with {@link PagedIterable}.
@@ -32,10 +34,10 @@ public interface MonitorsClient {
/**
* Gets a list of SAP monitors in the specified subscription.
- *
- *
Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each
- * SAP monitor.
- *
+ *
+ * Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP
+ * monitor.
+ *
* @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.
@@ -47,9 +49,9 @@ public interface MonitorsClient {
/**
* Gets a list of SAP monitors
- *
- *
Gets a list of SAP monitors in the specified resource group.
- *
+ *
+ * Gets a list of SAP monitors in the specified 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.
@@ -61,9 +63,9 @@ public interface MonitorsClient {
/**
* Gets a list of SAP monitors
- *
- *
Gets a list of SAP monitors in the specified resource group.
- *
+ *
+ * Gets a list of SAP monitors in the specified 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.
@@ -76,9 +78,9 @@ public interface MonitorsClient {
/**
* Gets properties of a SAP monitor.
- *
- *
Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
- *
+ *
+ * Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param context The context to associate with this operation.
@@ -86,17 +88,17 @@ public interface MonitorsClient {
* @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 properties of a SAP monitor for the specified subscription, resource group, and resource name along with
- * {@link Response}.
+ * {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String monitorName, Context context);
+ Response getByResourceGroupWithResponse(String resourceGroupName, String monitorName,
+ Context context);
/**
* Gets properties of a SAP monitor.
- *
- * Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
- *
+ *
+ * Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -109,9 +111,9 @@ Response getByResourceGroupWithResponse(
/**
* Creates a SAP monitor.
- *
- * Creates a SAP monitor for the specified subscription, resource group, and resource name.
- *
+ *
+ * Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param monitorParameter Request body representing a SAP monitor.
@@ -119,17 +121,17 @@ Response getByResourceGroupWithResponse(
* @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 sAP monitor info on Azure (ARM properties and SAP monitor
- * properties).
+ * properties).
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MonitorInner> beginCreate(
- String resourceGroupName, String monitorName, MonitorInner monitorParameter);
+ SyncPoller, MonitorInner> beginCreate(String resourceGroupName, String monitorName,
+ MonitorInner monitorParameter);
/**
* Creates a SAP monitor.
- *
- * Creates a SAP monitor for the specified subscription, resource group, and resource name.
- *
+ *
+ * Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param monitorParameter Request body representing a SAP monitor.
@@ -138,17 +140,17 @@ SyncPoller, MonitorInner> beginCreate(
* @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 sAP monitor info on Azure (ARM properties and SAP monitor
- * properties).
+ * properties).
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, MonitorInner> beginCreate(
- String resourceGroupName, String monitorName, MonitorInner monitorParameter, Context context);
+ SyncPoller, MonitorInner> beginCreate(String resourceGroupName, String monitorName,
+ MonitorInner monitorParameter, Context context);
/**
* Creates a SAP monitor.
- *
- * Creates a SAP monitor for the specified subscription, resource group, and resource name.
- *
+ *
+ * Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param monitorParameter Request body representing a SAP monitor.
@@ -162,9 +164,9 @@ SyncPoller, MonitorInner> beginCreate(
/**
* Creates a SAP monitor.
- *
- * Creates a SAP monitor for the specified subscription, resource group, and resource name.
- *
+ *
+ * Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param monitorParameter Request body representing a SAP monitor.
@@ -179,9 +181,9 @@ SyncPoller, MonitorInner> beginCreate(
/**
* Deletes a SAP monitor.
- *
- * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
- *
+ *
+ * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -190,14 +192,14 @@ SyncPoller, MonitorInner> beginCreate(
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String monitorName);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String monitorName);
/**
* Deletes a SAP monitor.
- *
- * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
- *
+ *
+ * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param context The context to associate with this operation.
@@ -207,14 +209,14 @@ SyncPoller, OperationStatusResultInner> b
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String monitorName, Context context);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String monitorName, Context context);
/**
* Deletes a SAP monitor.
- *
- * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
- *
+ *
+ * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -227,9 +229,9 @@ SyncPoller, OperationStatusResultInner> b
/**
* Deletes a SAP monitor.
- *
- * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
- *
+ *
+ * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param context The context to associate with this operation.
@@ -243,9 +245,9 @@ SyncPoller, OperationStatusResultInner> b
/**
* Patches the Tags field of a SAP monitor.
- *
- * Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name.
- *
+ *
+ * Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param body The Update SAP workload monitor request body.
@@ -256,14 +258,14 @@ SyncPoller, OperationStatusResultInner> b
* @return sAP monitor info on Azure (ARM properties and SAP monitor properties) along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String resourceGroupName, String monitorName, UpdateMonitorRequest body, Context context);
+ Response updateWithResponse(String resourceGroupName, String monitorName, UpdateMonitorRequest body,
+ Context context);
/**
* Patches the Tags field of a SAP monitor.
- *
- * Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name.
- *
+ *
+ * Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param body The Update SAP workload monitor request body.
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/OperationsClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/OperationsClient.java
index d7f248a0848c..48574840e70e 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/OperationsClient.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/OperationsClient.java
@@ -10,28 +10,30 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.workloads.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 {
/**
* Lists all the available API operations under this PR.
- *
+ *
* @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();
/**
* Lists all the available API operations under this PR.
- *
+ *
* @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/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/ProviderInstancesClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/ProviderInstancesClient.java
index b66489a8ed56..9a13a0825b3c 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/ProviderInstancesClient.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/ProviderInstancesClient.java
@@ -14,49 +14,51 @@
import com.azure.resourcemanager.workloads.fluent.models.OperationStatusResultInner;
import com.azure.resourcemanager.workloads.fluent.models.ProviderInstanceInner;
-/** An instance of this class provides access to all the operations defined in ProviderInstancesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ProviderInstancesClient.
+ */
public interface ProviderInstancesClient {
/**
* Gets a list of provider instances in the specified SAP monitor.
- *
- * Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of
- * each provider instances.
- *
+ *
+ * Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each
+ * provider instances.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of provider instances in the specified SAP monitor as paginated response with {@link
- * PagedIterable}.
+ * @return a list of provider instances in the specified SAP monitor as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String monitorName);
/**
* Gets a list of provider instances in the specified SAP monitor.
- *
- * Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of
- * each provider instances.
- *
+ *
+ * Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each
+ * provider instances.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of provider instances in the specified SAP monitor as paginated response with {@link
- * PagedIterable}.
+ * @return a list of provider instances in the specified SAP monitor as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String monitorName, Context context);
/**
* Gets properties of a provider instance.
- *
- * Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and
+ *
+ * Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and
* resource name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param providerInstanceName Name of the provider instance.
@@ -65,18 +67,18 @@ public interface ProviderInstancesClient {
* @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 properties of a provider instance for the specified subscription, resource group, SAP monitor name, and
- * resource name along with {@link Response}.
+ * resource name along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String monitorName, String providerInstanceName, Context context);
+ Response getWithResponse(String resourceGroupName, String monitorName,
+ String providerInstanceName, Context context);
/**
* Gets properties of a provider instance.
- *
- * Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and
+ *
+ * Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and
* resource name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param providerInstanceName Name of the provider instance.
@@ -84,17 +86,16 @@ 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 properties of a provider instance for the specified subscription, resource group, SAP monitor name, and
- * resource name.
+ * resource name.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ProviderInstanceInner get(String resourceGroupName, String monitorName, String providerInstanceName);
/**
* Creates a provider instance.
- *
- * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
- * name.
- *
+ *
+ * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param providerInstanceName Name of the provider instance.
@@ -105,18 +106,14 @@ Response getWithResponse(
* @return the {@link SyncPoller} for polling of a provider instance associated with SAP monitor.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ProviderInstanceInner> beginCreate(
- String resourceGroupName,
- String monitorName,
- String providerInstanceName,
- ProviderInstanceInner providerInstanceParameter);
+ SyncPoller, ProviderInstanceInner> beginCreate(String resourceGroupName,
+ String monitorName, String providerInstanceName, ProviderInstanceInner providerInstanceParameter);
/**
* Creates a provider instance.
- *
- * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
- * name.
- *
+ *
+ * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param providerInstanceName Name of the provider instance.
@@ -128,19 +125,15 @@ SyncPoller, ProviderInstanceInner> beginCreate
* @return the {@link SyncPoller} for polling of a provider instance associated with SAP monitor.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ProviderInstanceInner> beginCreate(
- String resourceGroupName,
- String monitorName,
- String providerInstanceName,
- ProviderInstanceInner providerInstanceParameter,
+ SyncPoller, ProviderInstanceInner> beginCreate(String resourceGroupName,
+ String monitorName, String providerInstanceName, ProviderInstanceInner providerInstanceParameter,
Context context);
/**
* Creates a provider instance.
- *
- * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
- * name.
- *
+ *
+ * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param providerInstanceName Name of the provider instance.
@@ -151,18 +144,14 @@ SyncPoller, ProviderInstanceInner> beginCreate
* @return a provider instance associated with SAP monitor.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ProviderInstanceInner create(
- String resourceGroupName,
- String monitorName,
- String providerInstanceName,
+ ProviderInstanceInner create(String resourceGroupName, String monitorName, String providerInstanceName,
ProviderInstanceInner providerInstanceParameter);
/**
* Creates a provider instance.
- *
- * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
- * name.
- *
+ *
+ * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param providerInstanceName Name of the provider instance.
@@ -174,19 +163,14 @@ ProviderInstanceInner create(
* @return a provider instance associated with SAP monitor.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ProviderInstanceInner create(
- String resourceGroupName,
- String monitorName,
- String providerInstanceName,
- ProviderInstanceInner providerInstanceParameter,
- Context context);
+ ProviderInstanceInner create(String resourceGroupName, String monitorName, String providerInstanceName,
+ ProviderInstanceInner providerInstanceParameter, Context context);
/**
* Deletes a provider instance.
- *
- *
Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource
- * name.
- *
+ *
+ * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param providerInstanceName Name of the provider instance.
@@ -196,15 +180,14 @@ ProviderInstanceInner create(
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String monitorName, String providerInstanceName);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String monitorName, String providerInstanceName);
/**
* Deletes a provider instance.
- *
- * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource
- * name.
- *
+ *
+ * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param providerInstanceName Name of the provider instance.
@@ -215,15 +198,14 @@ SyncPoller, OperationStatusResultInner> b
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String monitorName, String providerInstanceName, Context context);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String monitorName, String providerInstanceName, Context context);
/**
* Deletes a provider instance.
- *
- * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource
- * name.
- *
+ *
+ * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param providerInstanceName Name of the provider instance.
@@ -237,10 +219,9 @@ SyncPoller, OperationStatusResultInner> b
/**
* Deletes a provider instance.
- *
- * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource
- * name.
- *
+ *
+ * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param providerInstanceName Name of the provider instance.
@@ -251,6 +232,6 @@ SyncPoller, OperationStatusResultInner> b
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner delete(
- String resourceGroupName, String monitorName, String providerInstanceName, Context context);
+ OperationStatusResultInner delete(String resourceGroupName, String monitorName, String providerInstanceName,
+ Context context);
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/ResourceProvidersClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/ResourceProvidersClient.java
index 3902497c6dc1..3dabee234d88 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/ResourceProvidersClient.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/ResourceProvidersClient.java
@@ -17,12 +17,14 @@
import com.azure.resourcemanager.workloads.models.SapSizingRecommendationRequest;
import com.azure.resourcemanager.workloads.models.SapSupportedSkusRequest;
-/** An instance of this class provides access to all the operations defined in ResourceProvidersClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ResourceProvidersClient.
+ */
public interface ResourceProvidersClient {
/**
* Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database
* tier.
- *
+ *
* @param location The name of Azure region.
* @param sapSizingRecommendation SAP Sizing Recommendation Request body.
* @param context The context to associate with this operation.
@@ -30,29 +32,29 @@ public interface ResourceProvidersClient {
* @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 sAP sizing recommendations by providing input SAPS for application tier and memory required for database
- * tier along with {@link Response}.
+ * tier along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response sapSizingRecommendationsWithResponse(
- String location, SapSizingRecommendationRequest sapSizingRecommendation, Context context);
+ Response sapSizingRecommendationsWithResponse(String location,
+ SapSizingRecommendationRequest sapSizingRecommendation, Context context);
/**
* Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database
* tier.
- *
+ *
* @param location The name of Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return sAP sizing recommendations by providing input SAPS for application tier and memory required for database
- * tier.
+ * tier.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapSizingRecommendationResultInner sapSizingRecommendations(String location);
/**
* Get a list of SAP supported SKUs for ASCS, Application and Database tier.
- *
+ *
* @param location The name of Azure region.
* @param sapSupportedSku SAP Supported SKU Request body.
* @param context The context to associate with this operation.
@@ -62,12 +64,12 @@ Response sapSizingRecommendationsWithRespons
* @return a list of SAP supported SKUs for ASCS, Application and Database tier along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response sapSupportedSkuWithResponse(
- String location, SapSupportedSkusRequest sapSupportedSku, Context context);
+ Response sapSupportedSkuWithResponse(String location,
+ SapSupportedSkusRequest sapSupportedSku, Context context);
/**
* Get a list of SAP supported SKUs for ASCS, Application and Database tier.
- *
+ *
* @param location The name of Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -79,7 +81,7 @@ Response sapSupportedSkuWithResponse(
/**
* Get the SAP Disk Configuration Layout prod/non-prod SAP System.
- *
+ *
* @param location The name of Azure region.
* @param sapDiskConfigurations SAP Disk Configurations Request body.
* @param context The context to associate with this operation.
@@ -89,12 +91,12 @@ Response sapSupportedSkuWithResponse(
* @return the SAP Disk Configuration Layout prod/non-prod SAP System along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response sapDiskConfigurationsWithResponse(
- String location, SapDiskConfigurationsRequest sapDiskConfigurations, Context context);
+ Response sapDiskConfigurationsWithResponse(String location,
+ SapDiskConfigurationsRequest sapDiskConfigurations, Context context);
/**
* Get the SAP Disk Configuration Layout prod/non-prod SAP System.
- *
+ *
* @param location The name of Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -106,7 +108,7 @@ Response sapDiskConfigurationsWithResponse(
/**
* Get the recommended SAP Availability Zone Pair Details for your region.
- *
+ *
* @param location The name of Azure region.
* @param sapAvailabilityZoneDetails SAP Availability Zone Details Request body.
* @param context The context to associate with this operation.
@@ -116,12 +118,12 @@ Response sapDiskConfigurationsWithResponse(
* @return the recommended SAP Availability Zone Pair Details for your region along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response sapAvailabilityZoneDetailsWithResponse(
- String location, SapAvailabilityZoneDetailsRequest sapAvailabilityZoneDetails, Context context);
+ Response sapAvailabilityZoneDetailsWithResponse(String location,
+ SapAvailabilityZoneDetailsRequest sapAvailabilityZoneDetails, Context context);
/**
* Get the recommended SAP Availability Zone Pair Details for your region.
- *
+ *
* @param location The name of Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapApplicationServerInstancesClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapApplicationServerInstancesClient.java
index 78a554fa4765..f2401410ca15 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapApplicationServerInstancesClient.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapApplicationServerInstancesClient.java
@@ -16,11 +16,13 @@
import com.azure.resourcemanager.workloads.models.StopRequest;
import com.azure.resourcemanager.workloads.models.UpdateSapApplicationInstanceRequest;
-/** An instance of this class provides access to all the operations defined in SapApplicationServerInstancesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in SapApplicationServerInstancesClient.
+ */
public interface SapApplicationServerInstancesClient {
/**
* Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -29,15 +31,15 @@ public interface SapApplicationServerInstancesClient {
* @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 SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource
- * along with {@link Response}.
+ * along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, Context context);
+ Response getWithResponse(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName, Context context);
/**
* Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -47,13 +49,13 @@ Response getWithResponse(
* @return the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapApplicationServerInstanceInner get(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ SapApplicationServerInstanceInner get(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName);
/**
* Puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by
* end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -63,13 +65,13 @@ SapApplicationServerInstanceInner get(
* @return the {@link SyncPoller} for polling of define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SapApplicationServerInstanceInner> beginCreate(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ SyncPoller, SapApplicationServerInstanceInner>
+ beginCreate(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
/**
* Puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by
* end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -82,16 +84,13 @@ SyncPoller, SapApplicationServerIn
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SapApplicationServerInstanceInner> beginCreate(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String applicationInstanceName,
- SapApplicationServerInstanceInner body,
- Context context);
+ String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName,
+ SapApplicationServerInstanceInner body, Context context);
/**
* Puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by
* end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -101,13 +100,13 @@ SyncPoller, SapApplicationServerIn
* @return define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapApplicationServerInstanceInner create(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ SapApplicationServerInstanceInner create(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName);
/**
* Puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by
* end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -119,16 +118,12 @@ SapApplicationServerInstanceInner create(
* @return define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapApplicationServerInstanceInner create(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String applicationInstanceName,
- SapApplicationServerInstanceInner body,
- Context context);
+ SapApplicationServerInstanceInner create(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName, SapApplicationServerInstanceInner body, Context context);
/**
* Puts the SAP Application Server Instance resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -138,12 +133,12 @@ SapApplicationServerInstanceInner create(
* @return the {@link SyncPoller} for polling of define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SapApplicationServerInstanceInner> beginUpdate(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ SyncPoller, SapApplicationServerInstanceInner>
+ beginUpdate(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
/**
* Puts the SAP Application Server Instance resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -156,15 +151,12 @@ SyncPoller, SapApplicationServerIn
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SapApplicationServerInstanceInner> beginUpdate(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String applicationInstanceName,
- UpdateSapApplicationInstanceRequest body,
- Context context);
+ String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName,
+ UpdateSapApplicationInstanceRequest body, Context context);
/**
* Puts the SAP Application Server Instance resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -174,12 +166,12 @@ SyncPoller, SapApplicationServerIn
* @return define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapApplicationServerInstanceInner update(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ SapApplicationServerInstanceInner update(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName);
/**
* Puts the SAP Application Server Instance resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -191,17 +183,13 @@ SapApplicationServerInstanceInner update(
* @return define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapApplicationServerInstanceInner update(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String applicationInstanceName,
- UpdateSapApplicationInstanceRequest body,
- Context context);
+ SapApplicationServerInstanceInner update(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName, UpdateSapApplicationInstanceRequest body, Context context);
/**
* Deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service
* only. Delete by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -211,13 +199,13 @@ SapApplicationServerInstanceInner update(
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String sapVirtualInstanceName, String applicationInstanceName);
/**
* Deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service
* only. Delete by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -228,13 +216,13 @@ SyncPoller, OperationStatusResultInner> b
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, Context context);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String sapVirtualInstanceName, String applicationInstanceName, Context context);
/**
* Deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service
* only. Delete by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -244,13 +232,13 @@ SyncPoller, OperationStatusResultInner> b
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner delete(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ OperationStatusResultInner delete(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName);
/**
* Deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service
* only. Delete by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -261,42 +249,42 @@ OperationStatusResultInner delete(
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner delete(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, Context context);
+ OperationStatusResultInner delete(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName, Context context);
/**
* Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return defines the collection of SAP Application Server Instance resources as paginated response with {@link
- * PagedIterable}.
+ * @return defines the collection of SAP Application Server Instance resources as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String sapVirtualInstanceName);
/**
* Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return defines the collection of SAP Application Server Instance resources as paginated response with {@link
- * PagedIterable}.
+ * @return defines the collection of SAP Application Server Instance resources as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String sapVirtualInstanceName, Context context);
+ PagedIterable list(String resourceGroupName, String sapVirtualInstanceName,
+ Context context);
/**
* Starts the SAP Application Server Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -306,12 +294,12 @@ PagedIterable list(
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginStartInstance(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ SyncPoller, OperationStatusResultInner>
+ beginStartInstance(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
/**
* Starts the SAP Application Server Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -327,7 +315,7 @@ SyncPoller, OperationStatusResultInner> b
/**
* Starts the SAP Application Server Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -337,12 +325,12 @@ SyncPoller, OperationStatusResultInner> b
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner startInstance(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ OperationStatusResultInner startInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName);
/**
* Starts the SAP Application Server Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -353,12 +341,12 @@ OperationStatusResultInner startInstance(
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner startInstance(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, Context context);
+ OperationStatusResultInner startInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName, Context context);
/**
* Stops the SAP Application Server Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -368,12 +356,12 @@ OperationStatusResultInner startInstance(
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginStopInstance(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ SyncPoller, OperationStatusResultInner>
+ beginStopInstance(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
/**
* Stops the SAP Application Server Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -386,15 +374,12 @@ SyncPoller, OperationStatusResultInner> b
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, OperationStatusResultInner> beginStopInstance(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String applicationInstanceName,
- StopRequest body,
+ String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, StopRequest body,
Context context);
/**
* Stops the SAP Application Server Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -404,12 +389,12 @@ SyncPoller, OperationStatusResultInner> b
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner stopInstance(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ OperationStatusResultInner stopInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName);
/**
* Stops the SAP Application Server Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param applicationInstanceName The name of SAP Application Server instance resource.
@@ -421,10 +406,6 @@ OperationStatusResultInner stopInstance(
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner stopInstance(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String applicationInstanceName,
- StopRequest body,
- Context context);
+ OperationStatusResultInner stopInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String applicationInstanceName, StopRequest body, Context context);
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapCentralInstancesClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapCentralInstancesClient.java
index 58e1e5a40657..6dda4620c65b 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapCentralInstancesClient.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapCentralInstancesClient.java
@@ -16,15 +16,17 @@
import com.azure.resourcemanager.workloads.models.StopRequest;
import com.azure.resourcemanager.workloads.models.UpdateSapCentralInstanceRequest;
-/** An instance of this class provides access to all the operations defined in SapCentralInstancesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in SapCentralInstancesClient.
+ */
public interface SapCentralInstancesClient {
/**
* Gets the SAP Central Services Instance resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @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.
@@ -32,50 +34,50 @@ public interface SapCentralInstancesClient {
* @return the SAP Central Services Instance resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, Context context);
+ Response getWithResponse(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName, Context context);
/**
* Gets the SAP Central Services Instance resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapCentralServerInstanceInner get(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ SapCentralServerInstanceInner get(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName);
/**
* Creates the SAP Central Services Instance resource. <br><br>This will be used by service only. PUT
* operation on this resource by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SapCentralServerInstanceInner> beginCreate(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ SyncPoller, SapCentralServerInstanceInner>
+ beginCreate(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
/**
* Creates the SAP Central Services Instance resource. <br><br>This will be used by service only. PUT
* operation on this resource by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @param body The SAP Central Services Instance request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -85,37 +87,34 @@ SyncPoller, SapCentralServerInstanceIn
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SapCentralServerInstanceInner> beginCreate(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String centralInstanceName,
- SapCentralServerInstanceInner body,
- Context context);
+ String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName,
+ SapCentralServerInstanceInner body, Context context);
/**
* Creates the SAP Central Services Instance resource. <br><br>This will be used by service only. PUT
* operation on this resource by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @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 define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapCentralServerInstanceInner create(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ SapCentralServerInstanceInner create(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName);
/**
* Creates the SAP Central Services Instance resource. <br><br>This will be used by service only. PUT
* operation on this resource by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @param body The SAP Central Services Instance request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -124,38 +123,34 @@ SapCentralServerInstanceInner create(
* @return define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapCentralServerInstanceInner create(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String centralInstanceName,
- SapCentralServerInstanceInner body,
- Context context);
+ SapCentralServerInstanceInner create(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName, SapCentralServerInstanceInner body, Context context);
/**
* Updates the SAP Central Services Instance resource. <br><br>This can be used to update tags on the
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SapCentralServerInstanceInner> beginUpdate(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ SyncPoller, SapCentralServerInstanceInner>
+ beginUpdate(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
/**
* Updates the SAP Central Services Instance resource. <br><br>This can be used to update tags on the
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @param body The SAP Central Services Instance resource request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -165,37 +160,34 @@ SyncPoller, SapCentralServerInstanceIn
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SapCentralServerInstanceInner> beginUpdate(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String centralInstanceName,
- UpdateSapCentralInstanceRequest body,
- Context context);
+ String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName,
+ UpdateSapCentralInstanceRequest body, Context context);
/**
* Updates the SAP Central Services Instance resource. <br><br>This can be used to update tags on the
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @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 define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapCentralServerInstanceInner update(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ SapCentralServerInstanceInner update(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName);
/**
* Updates the SAP Central Services Instance resource. <br><br>This can be used to update tags on the
* resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @param body The SAP Central Services Instance resource request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -204,40 +196,36 @@ SapCentralServerInstanceInner update(
* @return define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapCentralServerInstanceInner update(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String centralInstanceName,
- UpdateSapCentralInstanceRequest body,
- Context context);
+ SapCentralServerInstanceInner update(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName, UpdateSapCentralInstanceRequest body, Context context);
/**
* Deletes the SAP Central Services Instance resource. <br><br>This will be used by service only. Delete
* operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which
* is the Virtual Instance for SAP solutions resource, using the delete operation on it.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String sapVirtualInstanceName, String centralInstanceName);
/**
* Deletes the SAP Central Services Instance resource. <br><br>This will be used by service only. Delete
* operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which
* is the Virtual Instance for SAP solutions resource, using the delete operation on it.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @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.
@@ -245,36 +233,36 @@ SyncPoller, OperationStatusResultInner> b
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, Context context);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String sapVirtualInstanceName, String centralInstanceName, Context context);
/**
* Deletes the SAP Central Services Instance resource. <br><br>This will be used by service only. Delete
* operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which
* is the Virtual Instance for SAP solutions resource, using the delete operation on it.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner delete(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ OperationStatusResultInner delete(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName);
/**
* Deletes the SAP Central Services Instance resource. <br><br>This will be used by service only. Delete
* operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which
* is the Virtual Instance for SAP solutions resource, using the delete operation on it.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @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.
@@ -282,62 +270,62 @@ OperationStatusResultInner delete(
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner delete(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, Context context);
+ OperationStatusResultInner delete(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName, Context context);
/**
* Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return defines the collection of SAP Central Services Instance resources as paginated response with {@link
- * PagedIterable}.
+ * @return defines the collection of SAP Central Services Instance resources as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String sapVirtualInstanceName);
/**
* Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return defines the collection of SAP Central Services Instance resources as paginated response with {@link
- * PagedIterable}.
+ * @return defines the collection of SAP Central Services Instance resources as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String sapVirtualInstanceName, Context context);
+ PagedIterable list(String resourceGroupName, String sapVirtualInstanceName,
+ Context context);
/**
* Starts the SAP Central Services Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginStartInstance(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ SyncPoller, OperationStatusResultInner>
+ beginStartInstance(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
/**
* Starts the SAP Central Services Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @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.
@@ -350,27 +338,27 @@ SyncPoller, OperationStatusResultInner> b
/**
* Starts the SAP Central Services Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner startInstance(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ OperationStatusResultInner startInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName);
/**
* Starts the SAP Central Services Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @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.
@@ -378,32 +366,32 @@ OperationStatusResultInner startInstance(
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner startInstance(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, Context context);
+ OperationStatusResultInner startInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName, Context context);
/**
* Stops the SAP Central Services Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginStopInstance(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ SyncPoller, OperationStatusResultInner>
+ beginStopInstance(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
/**
* Stops the SAP Central Services Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @param body SAP Central Services instance stop request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -413,35 +401,32 @@ SyncPoller, OperationStatusResultInner> b
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, OperationStatusResultInner> beginStopInstance(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String centralInstanceName,
- StopRequest body,
+ String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, StopRequest body,
Context context);
/**
* Stops the SAP Central Services Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner stopInstance(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ OperationStatusResultInner stopInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName);
/**
* Stops the SAP Central Services Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param centralInstanceName Central Services Instance resource name string modeled as parameter for auto
- * generation to work correctly.
+ * generation to work correctly.
* @param body SAP Central Services instance stop request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -450,10 +435,6 @@ OperationStatusResultInner stopInstance(
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner stopInstance(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String centralInstanceName,
- StopRequest body,
- Context context);
+ OperationStatusResultInner stopInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String centralInstanceName, StopRequest body, Context context);
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapDatabaseInstancesClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapDatabaseInstancesClient.java
index 91dae265c27d..ce2f06138189 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapDatabaseInstancesClient.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapDatabaseInstancesClient.java
@@ -16,15 +16,17 @@
import com.azure.resourcemanager.workloads.models.StopRequest;
import com.azure.resourcemanager.workloads.models.UpdateSapDatabaseInstanceRequest;
-/** An instance of this class provides access to all the operations defined in SapDatabaseInstancesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in SapDatabaseInstancesClient.
+ */
public interface SapDatabaseInstancesClient {
/**
* Gets the SAP Database Instance resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @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.
@@ -32,16 +34,16 @@ public interface SapDatabaseInstancesClient {
* @return the SAP Database Instance resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context);
+ Response getWithResponse(String resourceGroupName, String sapVirtualInstanceName,
+ String databaseInstanceName, Context context);
/**
* Gets the SAP Database Instance resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @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.
@@ -53,28 +55,28 @@ Response getWithResponse(
/**
* Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource.
* <br><br>This will be used by service only. PUT by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of define the Database resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SapDatabaseInstanceInner> beginCreate(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
+ SyncPoller, SapDatabaseInstanceInner> beginCreate(String resourceGroupName,
+ String sapVirtualInstanceName, String databaseInstanceName);
/**
* Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource.
* <br><br>This will be used by service only. PUT by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @param body Request body of Database resource of a SAP system.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -83,38 +85,34 @@ SyncPoller, SapDatabaseInstanceInner> begin
* @return the {@link SyncPoller} for polling of define the Database resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SapDatabaseInstanceInner> beginCreate(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String databaseInstanceName,
- SapDatabaseInstanceInner body,
- Context context);
+ SyncPoller, SapDatabaseInstanceInner> beginCreate(String resourceGroupName,
+ String sapVirtualInstanceName, String databaseInstanceName, SapDatabaseInstanceInner body, Context context);
/**
* Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource.
* <br><br>This will be used by service only. PUT by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @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 define the Database resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapDatabaseInstanceInner create(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
+ SapDatabaseInstanceInner create(String resourceGroupName, String sapVirtualInstanceName,
+ String databaseInstanceName);
/**
* Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource.
* <br><br>This will be used by service only. PUT by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @param body Request body of Database resource of a SAP system.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -123,36 +121,32 @@ SapDatabaseInstanceInner create(
* @return define the Database resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapDatabaseInstanceInner create(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String databaseInstanceName,
- SapDatabaseInstanceInner body,
- Context context);
+ SapDatabaseInstanceInner create(String resourceGroupName, String sapVirtualInstanceName,
+ String databaseInstanceName, SapDatabaseInstanceInner body, Context context);
/**
* Updates the Database resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of define the Database resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SapDatabaseInstanceInner> beginUpdate(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
+ SyncPoller, SapDatabaseInstanceInner> beginUpdate(String resourceGroupName,
+ String sapVirtualInstanceName, String databaseInstanceName);
/**
* Updates the Database resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @param body Database resource update request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -161,36 +155,33 @@ SyncPoller, SapDatabaseInstanceInner> begin
* @return the {@link SyncPoller} for polling of define the Database resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SapDatabaseInstanceInner> beginUpdate(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String databaseInstanceName,
- UpdateSapDatabaseInstanceRequest body,
+ SyncPoller, SapDatabaseInstanceInner> beginUpdate(String resourceGroupName,
+ String sapVirtualInstanceName, String databaseInstanceName, UpdateSapDatabaseInstanceRequest body,
Context context);
/**
* Updates the Database resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @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 define the Database resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapDatabaseInstanceInner update(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
+ SapDatabaseInstanceInner update(String resourceGroupName, String sapVirtualInstanceName,
+ String databaseInstanceName);
/**
* Updates the Database resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @param body Database resource update request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -199,38 +190,34 @@ SapDatabaseInstanceInner update(
* @return define the Database resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapDatabaseInstanceInner update(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String databaseInstanceName,
- UpdateSapDatabaseInstanceRequest body,
- Context context);
+ SapDatabaseInstanceInner update(String resourceGroupName, String sapVirtualInstanceName,
+ String databaseInstanceName, UpdateSapDatabaseInstanceRequest body, Context context);
/**
* Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.
* <br><br>This will be used by service only. Delete by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String sapVirtualInstanceName, String databaseInstanceName);
/**
* Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.
* <br><br>This will be used by service only. Delete by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -238,34 +225,34 @@ SyncPoller, OperationStatusResultInner> b
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String sapVirtualInstanceName, String databaseInstanceName, Context context);
/**
* Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.
* <br><br>This will be used by service only. Delete by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner delete(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
+ OperationStatusResultInner delete(String resourceGroupName, String sapVirtualInstanceName,
+ String databaseInstanceName);
/**
* Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.
* <br><br>This will be used by service only. Delete by end user will return a Bad Request error.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @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.
@@ -273,12 +260,12 @@ OperationStatusResultInner delete(
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner delete(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context);
+ OperationStatusResultInner delete(String resourceGroupName, String sapVirtualInstanceName,
+ String databaseInstanceName, Context context);
/**
* Lists the Database resources associated with a Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -291,7 +278,7 @@ OperationStatusResultInner delete(
/**
* Lists the Database resources associated with a Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param context The context to associate with this operation.
@@ -301,32 +288,32 @@ OperationStatusResultInner delete(
* @return defines the collection of SAP Database Instances as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String sapVirtualInstanceName, Context context);
+ PagedIterable list(String resourceGroupName, String sapVirtualInstanceName,
+ Context context);
/**
* Starts the database instance of the SAP system.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginStartInstance(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
+ SyncPoller, OperationStatusResultInner>
+ beginStartInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
/**
* Starts the database instance of the SAP system.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @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.
@@ -339,27 +326,27 @@ SyncPoller, OperationStatusResultInner> b
/**
* Starts the database instance of the SAP system.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner startInstance(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
+ OperationStatusResultInner startInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String databaseInstanceName);
/**
* Starts the database instance of the SAP system.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @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.
@@ -367,32 +354,32 @@ OperationStatusResultInner startInstance(
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner startInstance(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context);
+ OperationStatusResultInner startInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String databaseInstanceName, Context context);
/**
* Stops the database instance of the SAP system.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginStopInstance(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
+ SyncPoller, OperationStatusResultInner>
+ beginStopInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
/**
* Stops the database instance of the SAP system.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @param body Stop request for the database instance of the SAP system.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -402,35 +389,32 @@ SyncPoller, OperationStatusResultInner> b
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, OperationStatusResultInner> beginStopInstance(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String databaseInstanceName,
- StopRequest body,
+ String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, StopRequest body,
Context context);
/**
* Stops the database instance of the SAP system.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner stopInstance(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
+ OperationStatusResultInner stopInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String databaseInstanceName);
/**
* Stops the database instance of the SAP system.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param databaseInstanceName Database resource name string modeled as parameter for auto generation to work
- * correctly.
+ * correctly.
* @param body Stop request for the database instance of the SAP system.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -439,10 +423,6 @@ OperationStatusResultInner stopInstance(
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner stopInstance(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String databaseInstanceName,
- StopRequest body,
- Context context);
+ OperationStatusResultInner stopInstance(String resourceGroupName, String sapVirtualInstanceName,
+ String databaseInstanceName, StopRequest body, Context context);
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapLandscapeMonitorsClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapLandscapeMonitorsClient.java
index 6eb132516669..84078fa058bf 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapLandscapeMonitorsClient.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapLandscapeMonitorsClient.java
@@ -11,14 +11,16 @@
import com.azure.resourcemanager.workloads.fluent.models.SapLandscapeMonitorInner;
import com.azure.resourcemanager.workloads.fluent.models.SapLandscapeMonitorListResultInner;
-/** An instance of this class provides access to all the operations defined in SapLandscapeMonitorsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in SapLandscapeMonitorsClient.
+ */
public interface SapLandscapeMonitorsClient {
/**
* Gets configuration values for Single Pane Of Glass for SAP monitor.
- *
- * Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
+ *
+ * Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
* group, and resource name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param context The context to associate with this operation.
@@ -26,37 +28,37 @@ public interface SapLandscapeMonitorsClient {
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
- * group, and resource name along with {@link Response}.
+ * group, and resource name along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String monitorName, Context context);
/**
* Gets configuration values for Single Pane Of Glass for SAP monitor.
- *
- * Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
+ *
+ * Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
* group, and resource name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
- * group, and resource name.
+ * group, and resource name.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapLandscapeMonitorInner get(String resourceGroupName, String monitorName);
/**
* Creates a SAP Landscape Monitor Dashboard.
- *
- *
Creates a SAP Landscape Monitor Dashboard for the specified subscription, resource group, and resource name.
- *
+ *
+ * Creates a SAP Landscape Monitor Dashboard for the specified subscription, resource group, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param sapLandscapeMonitorParameter Request body representing a configuration for Sap Landscape Monitor
- * Dashboard.
+ * Dashboard.
* @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.
@@ -64,36 +66,32 @@ public interface SapLandscapeMonitorsClient {
* @return configuration associated with SAP Landscape Monitor Dashboard along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String resourceGroupName,
- String monitorName,
- SapLandscapeMonitorInner sapLandscapeMonitorParameter,
- Context context);
+ Response createWithResponse(String resourceGroupName, String monitorName,
+ SapLandscapeMonitorInner sapLandscapeMonitorParameter, Context context);
/**
* Creates a SAP Landscape Monitor Dashboard.
- *
- * Creates a SAP Landscape Monitor Dashboard for the specified subscription, resource group, and resource name.
- *
+ *
+ * Creates a SAP Landscape Monitor Dashboard for the specified subscription, resource group, and resource name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param sapLandscapeMonitorParameter Request body representing a configuration for Sap Landscape Monitor
- * Dashboard.
+ * Dashboard.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return configuration associated with SAP Landscape Monitor Dashboard.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapLandscapeMonitorInner create(
- String resourceGroupName, String monitorName, SapLandscapeMonitorInner sapLandscapeMonitorParameter);
+ SapLandscapeMonitorInner create(String resourceGroupName, String monitorName,
+ SapLandscapeMonitorInner sapLandscapeMonitorParameter);
/**
* Deletes a SAP Landscape Monitor Dashboard.
- *
- *
Deletes a SAP Landscape Monitor Dashboard with the specified subscription, resource group, and SAP monitor
- * name.
- *
+ *
+ * Deletes a SAP Landscape Monitor Dashboard with the specified subscription, resource group, and SAP monitor name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param context The context to associate with this operation.
@@ -107,10 +105,9 @@ SapLandscapeMonitorInner create(
/**
* Deletes a SAP Landscape Monitor Dashboard.
- *
- *
Deletes a SAP Landscape Monitor Dashboard with the specified subscription, resource group, and SAP monitor
- * name.
- *
+ *
+ * Deletes a SAP Landscape Monitor Dashboard with the specified subscription, resource group, and SAP monitor name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -122,14 +119,13 @@ SapLandscapeMonitorInner create(
/**
* Patches the SAP Landscape Monitor Dashboard.
- *
- *
Patches the SAP Landscape Monitor Dashboard for the specified subscription, resource group, and SAP monitor
- * name.
- *
+ *
+ * Patches the SAP Landscape Monitor Dashboard for the specified subscription, resource group, and SAP monitor name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param sapLandscapeMonitorParameter Request body representing a configuration for Sap Landscape Monitor
- * Dashboard.
+ * Dashboard.
* @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.
@@ -137,37 +133,33 @@ SapLandscapeMonitorInner create(
* @return configuration associated with SAP Landscape Monitor Dashboard along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String resourceGroupName,
- String monitorName,
- SapLandscapeMonitorInner sapLandscapeMonitorParameter,
- Context context);
+ Response updateWithResponse(String resourceGroupName, String monitorName,
+ SapLandscapeMonitorInner sapLandscapeMonitorParameter, Context context);
/**
* Patches the SAP Landscape Monitor Dashboard.
- *
- * Patches the SAP Landscape Monitor Dashboard for the specified subscription, resource group, and SAP monitor
- * name.
- *
+ *
+ * Patches the SAP Landscape Monitor Dashboard for the specified subscription, resource group, and SAP monitor name.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param sapLandscapeMonitorParameter Request body representing a configuration for Sap Landscape Monitor
- * Dashboard.
+ * Dashboard.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return configuration associated with SAP Landscape Monitor Dashboard.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapLandscapeMonitorInner update(
- String resourceGroupName, String monitorName, SapLandscapeMonitorInner sapLandscapeMonitorParameter);
+ SapLandscapeMonitorInner update(String resourceGroupName, String monitorName,
+ SapLandscapeMonitorInner sapLandscapeMonitorParameter);
/**
* Gets configuration values for Single Pane Of Glass for SAP monitor.
- *
- *
Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
+ *
+ * Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
* group, and resource name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @param context The context to associate with this operation.
@@ -175,25 +167,25 @@ SapLandscapeMonitorInner update(
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
- * group, and resource name along with {@link Response}.
+ * group, and resource name along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(
- String resourceGroupName, String monitorName, Context context);
+ Response listWithResponse(String resourceGroupName, String monitorName,
+ Context context);
/**
* Gets configuration values for Single Pane Of Glass for SAP monitor.
- *
- * Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
+ *
+ * Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
* group, and resource name.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource
- * group, and resource name.
+ * group, and resource name.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapLandscapeMonitorListResultInner list(String resourceGroupName, String monitorName);
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapVirtualInstancesClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapVirtualInstancesClient.java
index 83af80773357..e56d7b6eb033 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapVirtualInstancesClient.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapVirtualInstancesClient.java
@@ -16,11 +16,13 @@
import com.azure.resourcemanager.workloads.models.StopRequest;
import com.azure.resourcemanager.workloads.models.UpdateSapVirtualInstanceRequest;
-/** An instance of this class provides access to all the operations defined in SapVirtualInstancesClient. */
+/**
+ * An instance of this class provides access to all the operations defined in SapVirtualInstancesClient.
+ */
public interface SapVirtualInstancesClient {
/**
* Creates a Virtual Instance for SAP solutions (VIS) resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -29,12 +31,12 @@ public interface SapVirtualInstancesClient {
* @return the {@link SyncPoller} for polling of define the Virtual Instance for SAP solutions resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SapVirtualInstanceInner> beginCreate(
- String resourceGroupName, String sapVirtualInstanceName);
+ SyncPoller, SapVirtualInstanceInner> beginCreate(String resourceGroupName,
+ String sapVirtualInstanceName);
/**
* Creates a Virtual Instance for SAP solutions (VIS) resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param body Virtual Instance for SAP solutions resource request body.
@@ -45,12 +47,12 @@ SyncPoller, SapVirtualInstanceInner> beginCr
* @return the {@link SyncPoller} for polling of define the Virtual Instance for SAP solutions resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SapVirtualInstanceInner> beginCreate(
- String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body, Context context);
+ SyncPoller, SapVirtualInstanceInner> beginCreate(String resourceGroupName,
+ String sapVirtualInstanceName, SapVirtualInstanceInner body, Context context);
/**
* Creates a Virtual Instance for SAP solutions (VIS) resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -63,7 +65,7 @@ SyncPoller, SapVirtualInstanceInner> beginCr
/**
* Creates a Virtual Instance for SAP solutions (VIS) resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param body Virtual Instance for SAP solutions resource request body.
@@ -74,12 +76,12 @@ SyncPoller, SapVirtualInstanceInner> beginCr
* @return define the Virtual Instance for SAP solutions resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapVirtualInstanceInner create(
- String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body, Context context);
+ SapVirtualInstanceInner create(String resourceGroupName, String sapVirtualInstanceName,
+ SapVirtualInstanceInner body, Context context);
/**
* Gets a Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param context The context to associate with this operation.
@@ -89,12 +91,12 @@ SapVirtualInstanceInner create(
* @return a Virtual Instance for SAP solutions resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String sapVirtualInstanceName, Context context);
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String sapVirtualInstanceName, Context context);
/**
* Gets a Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -107,7 +109,7 @@ Response getByResourceGroupWithResponse(
/**
* Updates a Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param body Request body to update a Virtual Instance for SAP solutions resource.
@@ -118,12 +120,12 @@ Response getByResourceGroupWithResponse(
* @return define the Virtual Instance for SAP solutions resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String resourceGroupName, String sapVirtualInstanceName, UpdateSapVirtualInstanceRequest body, Context context);
+ Response updateWithResponse(String resourceGroupName, String sapVirtualInstanceName,
+ UpdateSapVirtualInstanceRequest body, Context context);
/**
* Updates a Virtual Instance for SAP solutions resource.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -137,7 +139,7 @@ Response updateWithResponse(
/**
* Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central
* Services Instance, Application Server Instances and Database Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -146,13 +148,13 @@ Response updateWithResponse(
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String sapVirtualInstanceName);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String sapVirtualInstanceName);
/**
* Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central
* Services Instance, Application Server Instances and Database Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param context The context to associate with this operation.
@@ -162,13 +164,13 @@ SyncPoller, OperationStatusResultInner> b
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginDelete(
- String resourceGroupName, String sapVirtualInstanceName, Context context);
+ SyncPoller, OperationStatusResultInner> beginDelete(String resourceGroupName,
+ String sapVirtualInstanceName, Context context);
/**
* Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central
* Services Instance, Application Server Instances and Database Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -182,7 +184,7 @@ SyncPoller, OperationStatusResultInner> b
/**
* Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central
* Services Instance, Application Server Instances and Database Instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param context The context to associate with this operation.
@@ -196,58 +198,58 @@ SyncPoller, OperationStatusResultInner> b
/**
* Gets all Virtual Instances for SAP solutions resources in a Resource Group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Virtual Instances for SAP solutions resources in a Resource Group as paginated response with {@link
- * PagedIterable}.
+ * @return all Virtual Instances for SAP solutions resources in a Resource Group as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
* Gets all Virtual Instances for SAP solutions resources in a Resource Group.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Virtual Instances for SAP solutions resources in a Resource Group as paginated response with {@link
- * PagedIterable}.
+ * @return all Virtual Instances for SAP solutions resources in a Resource Group as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
* Gets all Virtual Instances for SAP solutions resources in a 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 all Virtual Instances for SAP solutions resources in a Subscription as paginated response with {@link
- * PagedIterable}.
+ * @return all Virtual Instances for SAP solutions resources in a Subscription as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
* Gets all Virtual Instances for SAP solutions resources in a Subscription.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Virtual Instances for SAP solutions resources in a Subscription as paginated response with {@link
- * PagedIterable}.
+ * @return all Virtual Instances for SAP solutions resources in a Subscription as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
/**
* Starts the SAP application, that is the Central Services instance and Application server instances.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -256,12 +258,12 @@ SyncPoller, OperationStatusResultInner> b
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginStart(
- String resourceGroupName, String sapVirtualInstanceName);
+ SyncPoller, OperationStatusResultInner> beginStart(String resourceGroupName,
+ String sapVirtualInstanceName);
/**
* Starts the SAP application, that is the Central Services instance and Application server instances.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param context The context to associate with this operation.
@@ -271,12 +273,12 @@ SyncPoller, OperationStatusResultInner> b
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginStart(
- String resourceGroupName, String sapVirtualInstanceName, Context context);
+ SyncPoller, OperationStatusResultInner> beginStart(String resourceGroupName,
+ String sapVirtualInstanceName, Context context);
/**
* Starts the SAP application, that is the Central Services instance and Application server instances.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -289,7 +291,7 @@ SyncPoller, OperationStatusResultInner> b
/**
* Starts the SAP application, that is the Central Services instance and Application server instances.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param context The context to associate with this operation.
@@ -303,7 +305,7 @@ SyncPoller, OperationStatusResultInner> b
/**
* Stops the SAP Application, that is the Application server instances and Central Services instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -312,12 +314,12 @@ SyncPoller, OperationStatusResultInner> b
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginStop(
- String resourceGroupName, String sapVirtualInstanceName);
+ SyncPoller, OperationStatusResultInner> beginStop(String resourceGroupName,
+ String sapVirtualInstanceName);
/**
* Stops the SAP Application, that is the Application server instances and Central Services instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param body The Virtual Instance for SAP solutions resource stop request body.
@@ -328,12 +330,12 @@ SyncPoller, OperationStatusResultInner> b
* @return the {@link SyncPoller} for polling of the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, OperationStatusResultInner> beginStop(
- String resourceGroupName, String sapVirtualInstanceName, StopRequest body, Context context);
+ SyncPoller, OperationStatusResultInner> beginStop(String resourceGroupName,
+ String sapVirtualInstanceName, StopRequest body, Context context);
/**
* Stops the SAP Application, that is the Application server instances and Central Services instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -346,7 +348,7 @@ SyncPoller, OperationStatusResultInner> b
/**
* Stops the SAP Application, that is the Application server instances and Central Services instance.
- *
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
* @param body The Virtual Instance for SAP solutions resource stop request body.
@@ -357,6 +359,6 @@ SyncPoller, OperationStatusResultInner> b
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner stop(
- String resourceGroupName, String sapVirtualInstanceName, StopRequest body, Context context);
+ OperationStatusResultInner stop(String resourceGroupName, String sapVirtualInstanceName, StopRequest body,
+ Context context);
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/WorkloadsClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/WorkloadsClient.java
index 75046ed2db4e..c5b0ba9e82ed 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/WorkloadsClient.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/WorkloadsClient.java
@@ -7,102 +7,104 @@
import com.azure.core.http.HttpPipeline;
import java.time.Duration;
-/** The interface for WorkloadsClient class. */
+/**
+ * The interface for WorkloadsClient class.
+ */
public interface WorkloadsClient {
/**
* 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 ResourceProvidersClient object to access its operations.
- *
+ *
* @return the ResourceProvidersClient object.
*/
ResourceProvidersClient getResourceProviders();
/**
* Gets the SapVirtualInstancesClient object to access its operations.
- *
+ *
* @return the SapVirtualInstancesClient object.
*/
SapVirtualInstancesClient getSapVirtualInstances();
/**
* Gets the SapCentralInstancesClient object to access its operations.
- *
+ *
* @return the SapCentralInstancesClient object.
*/
SapCentralInstancesClient getSapCentralInstances();
/**
* Gets the SapDatabaseInstancesClient object to access its operations.
- *
+ *
* @return the SapDatabaseInstancesClient object.
*/
SapDatabaseInstancesClient getSapDatabaseInstances();
/**
* Gets the SapApplicationServerInstancesClient object to access its operations.
- *
+ *
* @return the SapApplicationServerInstancesClient object.
*/
SapApplicationServerInstancesClient getSapApplicationServerInstances();
/**
* Gets the MonitorsClient object to access its operations.
- *
+ *
* @return the MonitorsClient object.
*/
MonitorsClient getMonitors();
/**
* Gets the ProviderInstancesClient object to access its operations.
- *
+ *
* @return the ProviderInstancesClient object.
*/
ProviderInstancesClient getProviderInstances();
/**
* Gets the SapLandscapeMonitorsClient object to access its operations.
- *
+ *
* @return the SapLandscapeMonitorsClient object.
*/
SapLandscapeMonitorsClient getSapLandscapeMonitors();
/**
* Gets the OperationsClient object to access its operations.
- *
+ *
* @return the OperationsClient object.
*/
OperationsClient getOperations();
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/MonitorInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/MonitorInner.java
index f7c9f915c329..32e2cc8269f4 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/MonitorInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/MonitorInner.java
@@ -7,42 +7,61 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.Resource;
import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
import com.azure.resourcemanager.workloads.models.ManagedRGConfiguration;
import com.azure.resourcemanager.workloads.models.MonitorPropertiesErrors;
import com.azure.resourcemanager.workloads.models.RoutingPreference;
import com.azure.resourcemanager.workloads.models.UserAssignedServiceIdentity;
import com.azure.resourcemanager.workloads.models.WorkloadMonitorProvisioningState;
-import com.fasterxml.jackson.annotation.JsonProperty;
+import java.io.IOException;
import java.util.Map;
-/** SAP monitor info on Azure (ARM properties and SAP monitor properties). */
+/**
+ * SAP monitor info on Azure (ARM properties and SAP monitor properties).
+ */
@Fluent
public final class MonitorInner extends Resource {
/*
* [currently not in use] Managed service identity(user assigned identities)
*/
- @JsonProperty(value = "identity")
private UserAssignedServiceIdentity identity;
/*
* SAP monitor properties
*/
- @JsonProperty(value = "properties")
private MonitorProperties innerProperties;
/*
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
- @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
- /** Creates an instance of MonitorInner class. */
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /**
+ * Creates an instance of MonitorInner class.
+ */
public MonitorInner() {
}
/**
* Get the identity property: [currently not in use] Managed service identity(user assigned identities).
- *
+ *
* @return the identity value.
*/
public UserAssignedServiceIdentity identity() {
@@ -51,7 +70,7 @@ public UserAssignedServiceIdentity identity() {
/**
* Set the identity property: [currently not in use] Managed service identity(user assigned identities).
- *
+ *
* @param identity the identity value to set.
* @return the MonitorInner object itself.
*/
@@ -62,7 +81,7 @@ public MonitorInner withIdentity(UserAssignedServiceIdentity identity) {
/**
* Get the innerProperties property: SAP monitor properties.
- *
+ *
* @return the innerProperties value.
*/
private MonitorProperties innerProperties() {
@@ -71,21 +90,55 @@ private MonitorProperties innerProperties() {
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
+ *
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}
- /** {@inheritDoc} */
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
@Override
public MonitorInner withLocation(String location) {
super.withLocation(location);
return this;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public MonitorInner withTags(Map tags) {
super.withTags(tags);
@@ -94,7 +147,7 @@ public MonitorInner withTags(Map tags) {
/**
* Get the provisioningState property: State of provisioning of the SAP monitor.
- *
+ *
* @return the provisioningState value.
*/
public WorkloadMonitorProvisioningState provisioningState() {
@@ -103,7 +156,7 @@ public WorkloadMonitorProvisioningState provisioningState() {
/**
* Get the errors property: Defines the SAP monitor errors.
- *
+ *
* @return the errors value.
*/
public MonitorPropertiesErrors errors() {
@@ -113,7 +166,7 @@ public MonitorPropertiesErrors errors() {
/**
* Get the appLocation property: The SAP monitor resources will be deployed in the SAP monitoring region. The subnet
* region should be same as the SAP monitoring region.
- *
+ *
* @return the appLocation value.
*/
public String appLocation() {
@@ -123,7 +176,7 @@ public String appLocation() {
/**
* Set the appLocation property: The SAP monitor resources will be deployed in the SAP monitoring region. The subnet
* region should be same as the SAP monitoring region.
- *
+ *
* @param appLocation the appLocation value to set.
* @return the MonitorInner object itself.
*/
@@ -138,7 +191,7 @@ public MonitorInner withAppLocation(String appLocation) {
/**
* Get the routingPreference property: Sets the routing preference of the SAP monitor. By default only RFC1918
* traffic is routed to the customer VNET.
- *
+ *
* @return the routingPreference value.
*/
public RoutingPreference routingPreference() {
@@ -148,7 +201,7 @@ public RoutingPreference routingPreference() {
/**
* Set the routingPreference property: Sets the routing preference of the SAP monitor. By default only RFC1918
* traffic is routed to the customer VNET.
- *
+ *
* @param routingPreference the routingPreference value to set.
* @return the MonitorInner object itself.
*/
@@ -163,7 +216,7 @@ public MonitorInner withRoutingPreference(RoutingPreference routingPreference) {
/**
* Get the zoneRedundancyPreference property: Sets the preference for zone redundancy on resources created for the
* SAP monitor. By default resources will be created which do not support zone redundancy.
- *
+ *
* @return the zoneRedundancyPreference value.
*/
public String zoneRedundancyPreference() {
@@ -173,7 +226,7 @@ public String zoneRedundancyPreference() {
/**
* Set the zoneRedundancyPreference property: Sets the preference for zone redundancy on resources created for the
* SAP monitor. By default resources will be created which do not support zone redundancy.
- *
+ *
* @param zoneRedundancyPreference the zoneRedundancyPreference value to set.
* @return the MonitorInner object itself.
*/
@@ -187,7 +240,7 @@ public MonitorInner withZoneRedundancyPreference(String zoneRedundancyPreference
/**
* Get the managedResourceGroupConfiguration property: Managed resource group configuration.
- *
+ *
* @return the managedResourceGroupConfiguration value.
*/
public ManagedRGConfiguration managedResourceGroupConfiguration() {
@@ -196,12 +249,12 @@ public ManagedRGConfiguration managedResourceGroupConfiguration() {
/**
* Set the managedResourceGroupConfiguration property: Managed resource group configuration.
- *
+ *
* @param managedResourceGroupConfiguration the managedResourceGroupConfiguration value to set.
* @return the MonitorInner object itself.
*/
- public MonitorInner withManagedResourceGroupConfiguration(
- ManagedRGConfiguration managedResourceGroupConfiguration) {
+ public MonitorInner
+ withManagedResourceGroupConfiguration(ManagedRGConfiguration managedResourceGroupConfiguration) {
if (this.innerProperties() == null) {
this.innerProperties = new MonitorProperties();
}
@@ -212,7 +265,7 @@ public MonitorInner withManagedResourceGroupConfiguration(
/**
* Get the logAnalyticsWorkspaceArmId property: The ARM ID of the Log Analytics Workspace that is used for SAP
* monitoring.
- *
+ *
* @return the logAnalyticsWorkspaceArmId value.
*/
public String logAnalyticsWorkspaceArmId() {
@@ -222,7 +275,7 @@ public String logAnalyticsWorkspaceArmId() {
/**
* Set the logAnalyticsWorkspaceArmId property: The ARM ID of the Log Analytics Workspace that is used for SAP
* monitoring.
- *
+ *
* @param logAnalyticsWorkspaceArmId the logAnalyticsWorkspaceArmId value to set.
* @return the MonitorInner object itself.
*/
@@ -236,7 +289,7 @@ public MonitorInner withLogAnalyticsWorkspaceArmId(String logAnalyticsWorkspaceA
/**
* Get the monitorSubnet property: The subnet which the SAP monitor will be deployed in.
- *
+ *
* @return the monitorSubnet value.
*/
public String monitorSubnet() {
@@ -245,7 +298,7 @@ public String monitorSubnet() {
/**
* Set the monitorSubnet property: The subnet which the SAP monitor will be deployed in.
- *
+ *
* @param monitorSubnet the monitorSubnet value to set.
* @return the MonitorInner object itself.
*/
@@ -259,7 +312,7 @@ public MonitorInner withMonitorSubnet(String monitorSubnet) {
/**
* Get the msiArmId property: The ARM ID of the MSI used for SAP monitoring.
- *
+ *
* @return the msiArmId value.
*/
public String msiArmId() {
@@ -268,7 +321,7 @@ public String msiArmId() {
/**
* Get the storageAccountArmId property: The ARM ID of the Storage account used for SAP monitoring.
- *
+ *
* @return the storageAccountArmId value.
*/
public String storageAccountArmId() {
@@ -277,7 +330,7 @@ public String storageAccountArmId() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
@@ -288,4 +341,59 @@ public void validate() {
innerProperties().validate();
}
}
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("identity", this.identity);
+ jsonWriter.writeJsonField("properties", this.innerProperties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of MonitorInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of MonitorInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the MonitorInner.
+ */
+ public static MonitorInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ MonitorInner deserializedMonitorInner = new MonitorInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedMonitorInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedMonitorInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedMonitorInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedMonitorInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedMonitorInner.withTags(tags);
+ } else if ("identity".equals(fieldName)) {
+ deserializedMonitorInner.identity = UserAssignedServiceIdentity.fromJson(reader);
+ } else if ("properties".equals(fieldName)) {
+ deserializedMonitorInner.innerProperties = MonitorProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedMonitorInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedMonitorInner;
+ });
+ }
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/MonitorProperties.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/MonitorProperties.java
index 4f1250fe0083..64abc2cd5002 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/MonitorProperties.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/MonitorProperties.java
@@ -5,84 +5,82 @@
package com.azure.resourcemanager.workloads.fluent.models;
import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
import com.azure.resourcemanager.workloads.models.ManagedRGConfiguration;
import com.azure.resourcemanager.workloads.models.MonitorPropertiesErrors;
import com.azure.resourcemanager.workloads.models.RoutingPreference;
import com.azure.resourcemanager.workloads.models.WorkloadMonitorProvisioningState;
-import com.fasterxml.jackson.annotation.JsonProperty;
+import java.io.IOException;
-/** Describes the properties of a SAP monitor. */
+/**
+ * Describes the properties of a SAP monitor.
+ */
@Fluent
-public final class MonitorProperties {
+public final class MonitorProperties implements JsonSerializable {
/*
* State of provisioning of the SAP monitor.
*/
- @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private WorkloadMonitorProvisioningState provisioningState;
/*
* Defines the SAP monitor errors.
*/
- @JsonProperty(value = "errors", access = JsonProperty.Access.WRITE_ONLY)
private MonitorPropertiesErrors errors;
/*
* The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the
* SAP monitoring region.
*/
- @JsonProperty(value = "appLocation")
private String appLocation;
/*
* Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET.
*/
- @JsonProperty(value = "routingPreference")
private RoutingPreference routingPreference;
/*
* Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be
* created which do not support zone redundancy.
*/
- @JsonProperty(value = "zoneRedundancyPreference")
private String zoneRedundancyPreference;
/*
* Managed resource group configuration
*/
- @JsonProperty(value = "managedResourceGroupConfiguration")
private ManagedRGConfiguration managedResourceGroupConfiguration;
/*
* The ARM ID of the Log Analytics Workspace that is used for SAP monitoring.
*/
- @JsonProperty(value = "logAnalyticsWorkspaceArmId")
private String logAnalyticsWorkspaceArmId;
/*
* The subnet which the SAP monitor will be deployed in
*/
- @JsonProperty(value = "monitorSubnet")
private String monitorSubnet;
/*
* The ARM ID of the MSI used for SAP monitoring.
*/
- @JsonProperty(value = "msiArmId", access = JsonProperty.Access.WRITE_ONLY)
private String msiArmId;
/*
* The ARM ID of the Storage account used for SAP monitoring.
*/
- @JsonProperty(value = "storageAccountArmId", access = JsonProperty.Access.WRITE_ONLY)
private String storageAccountArmId;
- /** Creates an instance of MonitorProperties class. */
+ /**
+ * Creates an instance of MonitorProperties class.
+ */
public MonitorProperties() {
}
/**
* Get the provisioningState property: State of provisioning of the SAP monitor.
- *
+ *
* @return the provisioningState value.
*/
public WorkloadMonitorProvisioningState provisioningState() {
@@ -91,7 +89,7 @@ public WorkloadMonitorProvisioningState provisioningState() {
/**
* Get the errors property: Defines the SAP monitor errors.
- *
+ *
* @return the errors value.
*/
public MonitorPropertiesErrors errors() {
@@ -101,7 +99,7 @@ public MonitorPropertiesErrors errors() {
/**
* Get the appLocation property: The SAP monitor resources will be deployed in the SAP monitoring region. The subnet
* region should be same as the SAP monitoring region.
- *
+ *
* @return the appLocation value.
*/
public String appLocation() {
@@ -111,7 +109,7 @@ public String appLocation() {
/**
* Set the appLocation property: The SAP monitor resources will be deployed in the SAP monitoring region. The subnet
* region should be same as the SAP monitoring region.
- *
+ *
* @param appLocation the appLocation value to set.
* @return the MonitorProperties object itself.
*/
@@ -123,7 +121,7 @@ public MonitorProperties withAppLocation(String appLocation) {
/**
* Get the routingPreference property: Sets the routing preference of the SAP monitor. By default only RFC1918
* traffic is routed to the customer VNET.
- *
+ *
* @return the routingPreference value.
*/
public RoutingPreference routingPreference() {
@@ -133,7 +131,7 @@ public RoutingPreference routingPreference() {
/**
* Set the routingPreference property: Sets the routing preference of the SAP monitor. By default only RFC1918
* traffic is routed to the customer VNET.
- *
+ *
* @param routingPreference the routingPreference value to set.
* @return the MonitorProperties object itself.
*/
@@ -145,7 +143,7 @@ public MonitorProperties withRoutingPreference(RoutingPreference routingPreferen
/**
* Get the zoneRedundancyPreference property: Sets the preference for zone redundancy on resources created for the
* SAP monitor. By default resources will be created which do not support zone redundancy.
- *
+ *
* @return the zoneRedundancyPreference value.
*/
public String zoneRedundancyPreference() {
@@ -155,7 +153,7 @@ public String zoneRedundancyPreference() {
/**
* Set the zoneRedundancyPreference property: Sets the preference for zone redundancy on resources created for the
* SAP monitor. By default resources will be created which do not support zone redundancy.
- *
+ *
* @param zoneRedundancyPreference the zoneRedundancyPreference value to set.
* @return the MonitorProperties object itself.
*/
@@ -166,7 +164,7 @@ public MonitorProperties withZoneRedundancyPreference(String zoneRedundancyPrefe
/**
* Get the managedResourceGroupConfiguration property: Managed resource group configuration.
- *
+ *
* @return the managedResourceGroupConfiguration value.
*/
public ManagedRGConfiguration managedResourceGroupConfiguration() {
@@ -175,12 +173,12 @@ public ManagedRGConfiguration managedResourceGroupConfiguration() {
/**
* Set the managedResourceGroupConfiguration property: Managed resource group configuration.
- *
+ *
* @param managedResourceGroupConfiguration the managedResourceGroupConfiguration value to set.
* @return the MonitorProperties object itself.
*/
- public MonitorProperties withManagedResourceGroupConfiguration(
- ManagedRGConfiguration managedResourceGroupConfiguration) {
+ public MonitorProperties
+ withManagedResourceGroupConfiguration(ManagedRGConfiguration managedResourceGroupConfiguration) {
this.managedResourceGroupConfiguration = managedResourceGroupConfiguration;
return this;
}
@@ -188,7 +186,7 @@ public MonitorProperties withManagedResourceGroupConfiguration(
/**
* Get the logAnalyticsWorkspaceArmId property: The ARM ID of the Log Analytics Workspace that is used for SAP
* monitoring.
- *
+ *
* @return the logAnalyticsWorkspaceArmId value.
*/
public String logAnalyticsWorkspaceArmId() {
@@ -198,7 +196,7 @@ public String logAnalyticsWorkspaceArmId() {
/**
* Set the logAnalyticsWorkspaceArmId property: The ARM ID of the Log Analytics Workspace that is used for SAP
* monitoring.
- *
+ *
* @param logAnalyticsWorkspaceArmId the logAnalyticsWorkspaceArmId value to set.
* @return the MonitorProperties object itself.
*/
@@ -209,7 +207,7 @@ public MonitorProperties withLogAnalyticsWorkspaceArmId(String logAnalyticsWorks
/**
* Get the monitorSubnet property: The subnet which the SAP monitor will be deployed in.
- *
+ *
* @return the monitorSubnet value.
*/
public String monitorSubnet() {
@@ -218,7 +216,7 @@ public String monitorSubnet() {
/**
* Set the monitorSubnet property: The subnet which the SAP monitor will be deployed in.
- *
+ *
* @param monitorSubnet the monitorSubnet value to set.
* @return the MonitorProperties object itself.
*/
@@ -229,7 +227,7 @@ public MonitorProperties withMonitorSubnet(String monitorSubnet) {
/**
* Get the msiArmId property: The ARM ID of the MSI used for SAP monitoring.
- *
+ *
* @return the msiArmId value.
*/
public String msiArmId() {
@@ -238,7 +236,7 @@ public String msiArmId() {
/**
* Get the storageAccountArmId property: The ARM ID of the Storage account used for SAP monitoring.
- *
+ *
* @return the storageAccountArmId value.
*/
public String storageAccountArmId() {
@@ -247,7 +245,7 @@ public String storageAccountArmId() {
/**
* Validates the instance.
- *
+ *
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
@@ -258,4 +256,66 @@ public void validate() {
managedResourceGroupConfiguration().validate();
}
}
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("appLocation", this.appLocation);
+ jsonWriter.writeStringField("routingPreference",
+ this.routingPreference == null ? null : this.routingPreference.toString());
+ jsonWriter.writeStringField("zoneRedundancyPreference", this.zoneRedundancyPreference);
+ jsonWriter.writeJsonField("managedResourceGroupConfiguration", this.managedResourceGroupConfiguration);
+ jsonWriter.writeStringField("logAnalyticsWorkspaceArmId", this.logAnalyticsWorkspaceArmId);
+ jsonWriter.writeStringField("monitorSubnet", this.monitorSubnet);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of MonitorProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of MonitorProperties if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IOException If an error occurs while reading the MonitorProperties.
+ */
+ public static MonitorProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ MonitorProperties deserializedMonitorProperties = new MonitorProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("provisioningState".equals(fieldName)) {
+ deserializedMonitorProperties.provisioningState
+ = WorkloadMonitorProvisioningState.fromString(reader.getString());
+ } else if ("errors".equals(fieldName)) {
+ deserializedMonitorProperties.errors = MonitorPropertiesErrors.fromJson(reader);
+ } else if ("appLocation".equals(fieldName)) {
+ deserializedMonitorProperties.appLocation = reader.getString();
+ } else if ("routingPreference".equals(fieldName)) {
+ deserializedMonitorProperties.routingPreference = RoutingPreference.fromString(reader.getString());
+ } else if ("zoneRedundancyPreference".equals(fieldName)) {
+ deserializedMonitorProperties.zoneRedundancyPreference = reader.getString();
+ } else if ("managedResourceGroupConfiguration".equals(fieldName)) {
+ deserializedMonitorProperties.managedResourceGroupConfiguration
+ = ManagedRGConfiguration.fromJson(reader);
+ } else if ("logAnalyticsWorkspaceArmId".equals(fieldName)) {
+ deserializedMonitorProperties.logAnalyticsWorkspaceArmId = reader.getString();
+ } else if ("monitorSubnet".equals(fieldName)) {
+ deserializedMonitorProperties.monitorSubnet = reader.getString();
+ } else if ("msiArmId".equals(fieldName)) {
+ deserializedMonitorProperties.msiArmId = reader.getString();
+ } else if ("storageAccountArmId".equals(fieldName)) {
+ deserializedMonitorProperties.storageAccountArmId = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedMonitorProperties;
+ });
+ }
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/OperationInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/OperationInner.java
index 7fab65435ada..875372897bc0 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/OperationInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/OperationInner.java
@@ -5,59 +5,60 @@
package com.azure.resourcemanager.workloads.fluent.models;
import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
import com.azure.resourcemanager.workloads.models.ActionType;
import com.azure.resourcemanager.workloads.models.OperationDisplay;
import com.azure.resourcemanager.workloads.models.Origin;
-import com.fasterxml.jackson.annotation.JsonProperty;
+import java.io.IOException;
/**
* REST API Operation
- *
- *