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 60a035e76ccda..5d12d606d6fe4 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
@@ -26,27 +26,23 @@
import com.azure.resourcemanager.workloads.fluent.WorkloadsClient;
import com.azure.resourcemanager.workloads.implementation.MonitorsImpl;
import com.azure.resourcemanager.workloads.implementation.OperationsImpl;
-import com.azure.resourcemanager.workloads.implementation.PhpWorkloadsImpl;
import com.azure.resourcemanager.workloads.implementation.ProviderInstancesImpl;
import com.azure.resourcemanager.workloads.implementation.ResourceProvidersImpl;
import com.azure.resourcemanager.workloads.implementation.SapApplicationServerInstancesImpl;
import com.azure.resourcemanager.workloads.implementation.SapCentralInstancesImpl;
import com.azure.resourcemanager.workloads.implementation.SapDatabaseInstancesImpl;
+import com.azure.resourcemanager.workloads.implementation.SapLandscapeMonitorsImpl;
import com.azure.resourcemanager.workloads.implementation.SapVirtualInstancesImpl;
-import com.azure.resourcemanager.workloads.implementation.SkusImpl;
-import com.azure.resourcemanager.workloads.implementation.WordpressInstancesImpl;
import com.azure.resourcemanager.workloads.implementation.WorkloadsClientBuilder;
import com.azure.resourcemanager.workloads.models.Monitors;
import com.azure.resourcemanager.workloads.models.Operations;
-import com.azure.resourcemanager.workloads.models.PhpWorkloads;
import com.azure.resourcemanager.workloads.models.ProviderInstances;
import com.azure.resourcemanager.workloads.models.ResourceProviders;
import com.azure.resourcemanager.workloads.models.SapApplicationServerInstances;
import com.azure.resourcemanager.workloads.models.SapCentralInstances;
import com.azure.resourcemanager.workloads.models.SapDatabaseInstances;
+import com.azure.resourcemanager.workloads.models.SapLandscapeMonitors;
import com.azure.resourcemanager.workloads.models.SapVirtualInstances;
-import com.azure.resourcemanager.workloads.models.Skus;
-import com.azure.resourcemanager.workloads.models.WordpressInstances;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
@@ -56,10 +52,6 @@
/** Entry point to WorkloadsManager. Workloads client provides access to various workload operations. */
public final class WorkloadsManager {
- private PhpWorkloads phpWorkloads;
-
- private WordpressInstances wordpressInstances;
-
private ResourceProviders resourceProviders;
private SapVirtualInstances sapVirtualInstances;
@@ -70,13 +62,13 @@ public final class WorkloadsManager {
private SapApplicationServerInstances sapApplicationServerInstances;
- private Operations operations;
-
private Monitors monitors;
private ProviderInstances providerInstances;
- private Skus skus;
+ private SapLandscapeMonitors sapLandscapeMonitors;
+
+ private Operations operations;
private final WorkloadsClient clientObject;
@@ -300,30 +292,6 @@ public WorkloadsManager authenticate(TokenCredential credential, AzureProfile pr
}
}
- /**
- * Gets the resource collection API of PhpWorkloads. It manages PhpWorkloadResource.
- *
- * @return Resource collection API of PhpWorkloads.
- */
- public PhpWorkloads phpWorkloads() {
- if (this.phpWorkloads == null) {
- this.phpWorkloads = new PhpWorkloadsImpl(clientObject.getPhpWorkloads(), this);
- }
- return phpWorkloads;
- }
-
- /**
- * Gets the resource collection API of WordpressInstances.
- *
- * @return Resource collection API of WordpressInstances.
- */
- public WordpressInstances wordpressInstances() {
- if (this.wordpressInstances == null) {
- this.wordpressInstances = new WordpressInstancesImpl(clientObject.getWordpressInstances(), this);
- }
- return wordpressInstances;
- }
-
/**
* Gets the resource collection API of ResourceProviders.
*
@@ -385,18 +353,6 @@ public SapApplicationServerInstances sapApplicationServerInstances() {
return sapApplicationServerInstances;
}
- /**
- * Gets the resource collection API of Operations.
- *
- * @return Resource collection API of Operations.
- */
- public Operations operations() {
- if (this.operations == null) {
- this.operations = new OperationsImpl(clientObject.getOperations(), this);
- }
- return operations;
- }
-
/**
* Gets the resource collection API of Monitors. It manages Monitor.
*
@@ -422,15 +378,27 @@ public ProviderInstances providerInstances() {
}
/**
- * Gets the resource collection API of Skus.
+ * Gets the resource collection API of SapLandscapeMonitors.
*
- * @return Resource collection API of Skus.
+ * @return Resource collection API of SapLandscapeMonitors.
*/
- public Skus skus() {
- if (this.skus == null) {
- this.skus = new SkusImpl(clientObject.getSkus(), this);
+ public SapLandscapeMonitors sapLandscapeMonitors() {
+ if (this.sapLandscapeMonitors == null) {
+ this.sapLandscapeMonitors = new SapLandscapeMonitorsImpl(clientObject.getSapLandscapeMonitors(), this);
}
- return skus;
+ return sapLandscapeMonitors;
+ }
+
+ /**
+ * Gets the resource collection API of Operations.
+ *
+ * @return Resource collection API of Operations.
+ */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ }
+ return operations;
}
/**
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 932d8023a8ce8..7acd6d1bac49c 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
@@ -18,8 +18,10 @@
/** 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. The operations returns various properties of each SAP
- * monitor.
+ * 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.
*
* @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.
@@ -29,8 +31,10 @@ public interface MonitorsClient {
PagedIterable list();
/**
- * 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.
+ *
+ * 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.
@@ -42,7 +46,9 @@ public interface MonitorsClient {
PagedIterable list(Context context);
/**
- * Gets a list of SAP monitors in the specified resource group.
+ * Gets a list of SAP monitors
+ *
+ * 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.
@@ -54,7 +60,9 @@ public interface MonitorsClient {
PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * Gets a list of SAP monitors in the specified resource group.
+ * Gets a list of SAP monitors
+ *
+ * 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.
@@ -67,36 +75,42 @@ public interface MonitorsClient {
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ * Gets properties of a SAP monitor.
+ *
+ * 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.
* @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 properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ * @return properties of a SAP monitor for the specified subscription, resource group, and resource name along with
+ * {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MonitorInner getByResourceGroup(String resourceGroupName, String monitorName);
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String monitorName, Context context);
/**
- * Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ * Gets properties of a SAP monitor.
+ *
+ * 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.
* @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 properties of a SAP monitor for the specified subscription, resource group, and resource name along with
- * {@link Response}.
+ * @return properties of a SAP monitor for the specified subscription, resource group, and resource name.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String monitorName, Context context);
+ MonitorInner getByResourceGroup(String resourceGroupName, String monitorName);
/**
- * Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ * Creates a SAP monitor.
+ *
+ * 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.
@@ -112,7 +126,9 @@ SyncPoller, MonitorInner> beginCreate(
String resourceGroupName, String monitorName, MonitorInner monitorParameter);
/**
- * Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ * Creates a SAP monitor.
+ *
+ * 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.
@@ -129,7 +145,9 @@ SyncPoller, MonitorInner> beginCreate(
String resourceGroupName, String monitorName, MonitorInner monitorParameter, Context context);
/**
- * Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ * Creates a SAP monitor.
+ *
+ * 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.
@@ -143,7 +161,9 @@ SyncPoller, MonitorInner> beginCreate(
MonitorInner create(String resourceGroupName, String monitorName, MonitorInner monitorParameter);
/**
- * Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ * Creates a SAP monitor.
+ *
+ * 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.
@@ -158,7 +178,9 @@ SyncPoller, MonitorInner> beginCreate(
MonitorInner create(String resourceGroupName, String monitorName, MonitorInner monitorParameter, Context context);
/**
- * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ * Deletes a SAP monitor.
+ *
+ * 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.
@@ -172,7 +194,9 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String monitorName);
/**
- * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ * Deletes a SAP monitor.
+ *
+ * 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.
@@ -187,7 +211,9 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String monitorName, Context context);
/**
- * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ * Deletes a SAP monitor.
+ *
+ * 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.
@@ -200,7 +226,9 @@ SyncPoller, OperationStatusResultInner> b
OperationStatusResultInner delete(String resourceGroupName, String monitorName);
/**
- * Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ * Deletes a SAP monitor.
+ *
+ * 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.
@@ -214,32 +242,36 @@ SyncPoller, OperationStatusResultInner> b
OperationStatusResultInner delete(String resourceGroupName, String monitorName, Context context);
/**
- * 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.
+ *
+ * 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.
+ * @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 sAP monitor info on Azure (ARM properties and SAP monitor properties).
+ * @return sAP monitor info on Azure (ARM properties and SAP monitor properties) along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- MonitorInner update(String resourceGroupName, String monitorName, UpdateMonitorRequest body);
+ Response updateWithResponse(
+ String resourceGroupName, String monitorName, UpdateMonitorRequest body, Context context);
/**
- * 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.
+ *
+ * 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.
- * @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 sAP monitor info on Azure (ARM properties and SAP monitor properties) along with {@link Response}.
+ * @return sAP monitor info on Azure (ARM properties and SAP monitor properties).
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String resourceGroupName, String monitorName, UpdateMonitorRequest body, Context context);
+ MonitorInner update(String resourceGroupName, String monitorName, UpdateMonitorRequest body);
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/PhpWorkloadsClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/PhpWorkloadsClient.java
deleted file mode 100644
index eb4623d12ffca..0000000000000
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/PhpWorkloadsClient.java
+++ /dev/null
@@ -1,265 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.workloads.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.workloads.fluent.models.PhpWorkloadResourceInner;
-import com.azure.resourcemanager.workloads.models.PatchResourceRequestBody;
-
-/** An instance of this class provides access to all the operations defined in PhpWorkloadsClient. */
-public interface PhpWorkloadsClient {
- /**
- * Lists PHP workload resources for 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 php workload resource list as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Lists PHP workload resources for 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 php workload resource list as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Lists PHP workload 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 php workload resource list as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * Lists PHP workload 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 php workload resource list as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * Gets the PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @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 PHP workload resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- PhpWorkloadResourceInner getByResourceGroup(String resourceGroupName, String phpWorkloadName);
-
- /**
- * Gets the PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the PHP workload resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String phpWorkloadName, Context context);
-
- /**
- * Create or updated PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param phpWorkloadResource Resource create or update request payload.
- * @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 php workload resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, PhpWorkloadResourceInner> beginCreateOrUpdate(
- String resourceGroupName, String phpWorkloadName, PhpWorkloadResourceInner phpWorkloadResource);
-
- /**
- * Create or updated PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param phpWorkloadResource Resource create or update request payload.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of php workload resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, PhpWorkloadResourceInner> beginCreateOrUpdate(
- String resourceGroupName,
- String phpWorkloadName,
- PhpWorkloadResourceInner phpWorkloadResource,
- Context context);
-
- /**
- * Create or updated PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param phpWorkloadResource Resource create or update request payload.
- * @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 php workload resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- PhpWorkloadResourceInner createOrUpdate(
- String resourceGroupName, String phpWorkloadName, PhpWorkloadResourceInner phpWorkloadResource);
-
- /**
- * Create or updated PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param phpWorkloadResource Resource create or update request payload.
- * @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 php workload resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- PhpWorkloadResourceInner createOrUpdate(
- String resourceGroupName,
- String phpWorkloadName,
- PhpWorkloadResourceInner phpWorkloadResource,
- Context context);
-
- /**
- * Update PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param resourcePatchRequestBody Workload resource update data.
- * @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 php workload resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- PhpWorkloadResourceInner update(
- String resourceGroupName, String phpWorkloadName, PatchResourceRequestBody resourcePatchRequestBody);
-
- /**
- * Update PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param resourcePatchRequestBody Workload resource update data.
- * @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 php workload resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String resourceGroupName,
- String phpWorkloadName,
- PatchResourceRequestBody resourcePatchRequestBody,
- Context context);
-
- /**
- * Delete PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param deleteInfra Whether to delete infra along with workload resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String phpWorkloadName, String deleteInfra);
-
- /**
- * Delete PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param deleteInfra Whether to delete infra along with workload resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String phpWorkloadName, String deleteInfra, Context context);
-
- /**
- * Delete PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param deleteInfra Whether to delete infra along with workload resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String phpWorkloadName, String deleteInfra);
-
- /**
- * Delete PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String phpWorkloadName);
-
- /**
- * Delete PHP workload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param deleteInfra Whether to delete infra along with workload 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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String phpWorkloadName, String deleteInfra, 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 466ede81bac10..b66489a8ed566 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
@@ -17,8 +17,10 @@
/** 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. The operations returns various properties of each
- * provider instances.
+ * 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.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param monitorName Name of the SAP monitor resource.
@@ -32,8 +34,10 @@ public interface ProviderInstancesClient {
PagedIterable list(String resourceGroupName, String monitorName);
/**
- * 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.
+ *
+ * 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.
@@ -48,41 +52,48 @@ public interface ProviderInstancesClient {
PagedIterable list(String resourceGroupName, String monitorName, Context context);
/**
- * Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and
+ * Gets properties of a provider instance.
+ *
+ * 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.
+ * @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 properties of a provider instance for the specified subscription, resource group, SAP monitor name, and
- * resource name.
+ * resource name along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ProviderInstanceInner get(String resourceGroupName, String monitorName, String providerInstanceName);
+ Response getWithResponse(
+ String resourceGroupName, String monitorName, String providerInstanceName, Context context);
/**
- * Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and
+ * Gets properties of a provider instance.
+ *
+ * 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.
- * @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 properties of a provider instance for the specified subscription, resource group, SAP monitor name, and
- * resource name along with {@link Response}.
+ * resource name.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String monitorName, String providerInstanceName, Context context);
+ ProviderInstanceInner get(String resourceGroupName, String monitorName, String providerInstanceName);
/**
- * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ * Creates a provider instance.
+ *
+ * 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.
@@ -101,7 +112,10 @@ SyncPoller, ProviderInstanceInner> beginCreate
ProviderInstanceInner providerInstanceParameter);
/**
- * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ * Creates a provider instance.
+ *
+ * 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.
@@ -122,7 +136,10 @@ SyncPoller, ProviderInstanceInner> beginCreate
Context context);
/**
- * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ * Creates a provider instance.
+ *
+ * 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.
@@ -141,7 +158,10 @@ ProviderInstanceInner create(
ProviderInstanceInner providerInstanceParameter);
/**
- * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ * Creates a provider instance.
+ *
+ *
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.
@@ -162,7 +182,10 @@ ProviderInstanceInner create(
Context context);
/**
- * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ * Deletes a provider instance.
+ *
+ *
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.
@@ -177,7 +200,10 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String monitorName, String providerInstanceName);
/**
- * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ * Deletes a provider instance.
+ *
+ * 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.
@@ -193,7 +219,10 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String monitorName, String providerInstanceName, Context context);
/**
- * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ * Deletes a provider instance.
+ *
+ * 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.
@@ -207,7 +236,10 @@ SyncPoller, OperationStatusResultInner> b
OperationStatusResultInner delete(String resourceGroupName, String monitorName, String providerInstanceName);
/**
- * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
+ * Deletes a provider instance.
+ *
+ * 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.
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 b7079ea3b8ff9..3902497c6dc18 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
@@ -20,19 +20,8 @@
/** An instance of this class provides access to all the operations defined in ResourceProvidersClient. */
public interface ResourceProvidersClient {
/**
- * Get SAP sizing recommendations.
- *
- * @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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SapSizingRecommendationResultInner sapSizingRecommendations(String location);
-
- /**
- * Get SAP sizing recommendations.
+ * 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.
@@ -40,26 +29,29 @@ public interface ResourceProvidersClient {
* @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 along with {@link Response}.
+ * @return sAP sizing recommendations by providing input SAPS for application tier and memory required for database
+ * tier along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response sapSizingRecommendationsWithResponse(
String location, SapSizingRecommendationRequest sapSizingRecommendation, Context context);
/**
- * Get SAP supported SKUs.
+ * 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 supported SKUs.
+ * @return sAP sizing recommendations by providing input SAPS for application tier and memory required for database
+ * tier.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapSupportedResourceSkusResultInner sapSupportedSku(String location);
+ SapSizingRecommendationResultInner sapSizingRecommendations(String location);
/**
- * Get SAP supported SKUs.
+ * 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.
@@ -67,26 +59,26 @@ Response sapSizingRecommendationsWithRespons
* @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 supported SKUs along with {@link Response}.
+ * @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);
/**
- * Get SAP Disk Configurations.
+ * 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.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return sAP Disk Configurations.
+ * @return a list of SAP supported SKUs for ASCS, Application and Database tier.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapDiskConfigurationsResultInner sapDiskConfigurations(String location);
+ SapSupportedResourceSkusResultInner sapSupportedSku(String location);
/**
- * Get SAP Disk Configurations.
+ * 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.
@@ -94,26 +86,26 @@ Response sapSupportedSkuWithResponse(
* @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 Disk Configurations along with {@link Response}.
+ * @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);
/**
- * Get SAP Availability Zone Details.
+ * 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.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return sAP Availability Zone Details.
+ * @return the SAP Disk Configuration Layout prod/non-prod SAP System.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapAvailabilityZoneDetailsResultInner sapAvailabilityZoneDetails(String location);
+ SapDiskConfigurationsResultInner sapDiskConfigurations(String location);
/**
- * Get SAP Availability Zone Details.
+ * 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.
@@ -121,9 +113,21 @@ Response sapDiskConfigurationsWithResponse(
* @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 Availability Zone Details along with {@link Response}.
+ * @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);
+
+ /**
+ * 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.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the recommended SAP Availability Zone Pair Details for your region.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SapAvailabilityZoneDetailsResultInner sapAvailabilityZoneDetails(String location);
}
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 f8509bfd6b4b5..78a554fa47650 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
@@ -13,74 +13,72 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.workloads.fluent.models.OperationStatusResultInner;
import com.azure.resourcemanager.workloads.fluent.models.SapApplicationServerInstanceInner;
+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. */
public interface SapApplicationServerInstancesClient {
/**
- * Gets the SAP Application Server Instance.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance resource.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the SAP Application Server Instance.
+ * @return the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource
+ * along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapApplicationServerInstanceInner get(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
+ Response getWithResponse(
+ String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, Context context);
/**
- * Gets the SAP Application Server Instance.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
- * @param context The context to associate with this operation.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the SAP Application Server Instance along with {@link Response}.
+ * @return the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, Context context);
+ SapApplicationServerInstanceInner get(
+ String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
/**
- * Puts the SAP Application Server Instance. <br><br>This will be used by service only. PUT by end user
- * will return a Bad Request error.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
- * @param body The SAP Application Server instance request body.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of define the SAP Application Server Instance.
+ * @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,
- SapApplicationServerInstanceInner body);
+ String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
/**
- * Puts the SAP Application Server Instance. <br><br>This will be used by service only. PUT by end user
- * will return a Bad Request error.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
- * @param body The SAP Application Server instance request body.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance resource.
+ * @param body The SAP Application Server Instance resource request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of define the SAP Application Server Instance.
+ * @return the {@link SyncPoller} for polling of define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SapApplicationServerInstanceInner> beginCreate(
@@ -91,54 +89,34 @@ SyncPoller, SapApplicationServerIn
Context context);
/**
- * Puts the SAP Application Server Instance. <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.
- * @param applicationInstanceName The name of SAP Application Server instance.
- * @param body The SAP Application Server instance request body.
- * @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 Application Server Instance.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SapApplicationServerInstanceInner create(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String applicationInstanceName,
- SapApplicationServerInstanceInner body);
-
- /**
- * Puts the SAP Application Server Instance. <br><br>This will be used by service only. PUT by end user
- * will return a Bad Request error.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance 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 define the SAP Application Server Instance.
+ * @return define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapApplicationServerInstanceInner create(
String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
/**
- * Puts the SAP Application Server Instance. <br><br>This will be used by service only. PUT by end user
- * will return a Bad Request error.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
- * @param body The SAP Application Server instance request body.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance resource.
+ * @param body The SAP Application Server Instance resource request body.
* @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 define the SAP Application Server Instance.
+ * @return define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapApplicationServerInstanceInner create(
@@ -149,36 +127,32 @@ SapApplicationServerInstanceInner create(
Context context);
/**
- * Puts the SAP Application Server Instance.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
- * @param body The SAP Application Server instance request body.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of define the SAP Application Server Instance.
+ * @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,
- UpdateSapApplicationInstanceRequest body);
+ String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
/**
- * Puts the SAP Application Server Instance.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
- * @param body The SAP Application Server instance request body.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance resource.
+ * @param body The SAP Application Server Instance resource request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of define the SAP Application Server Instance.
+ * @return the {@link SyncPoller} for polling of define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SapApplicationServerInstanceInner> beginUpdate(
@@ -189,51 +163,32 @@ SyncPoller, SapApplicationServerIn
Context context);
/**
- * Puts the SAP Application Server Instance.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
- * @param body The SAP Application Server instance request body.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance 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 define the SAP Application Server Instance.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SapApplicationServerInstanceInner update(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String applicationInstanceName,
- UpdateSapApplicationInstanceRequest body);
-
- /**
- * Puts 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
- * @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 Application Server Instance.
+ * @return define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapApplicationServerInstanceInner update(
String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
/**
- * Puts the SAP Application Server Instance.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
- * @param body The SAP Application Server instance request body.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance resource.
+ * @param body The SAP Application Server Instance resource request body.
* @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 define the SAP Application Server Instance.
+ * @return define the SAP Application Server Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapApplicationServerInstanceInner update(
@@ -244,12 +199,12 @@ SapApplicationServerInstanceInner update(
Context context);
/**
- * Deletes the SAP Application Server Instance. <br><br>This operation will be used by service only.
- * Delete by end user will return a Bad Request error.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance 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.
@@ -260,12 +215,12 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
/**
- * Deletes the SAP Application Server Instance. <br><br>This operation will be used by service only.
- * Delete by end user will return a Bad Request error.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance 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.
@@ -277,12 +232,12 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, Context context);
/**
- * Deletes the SAP Application Server Instance. <br><br>This operation will be used by service only.
- * Delete by end user will return a Bad Request error.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance 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.
@@ -293,12 +248,12 @@ OperationStatusResultInner delete(
String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName);
/**
- * Deletes the SAP Application Server Instance. <br><br>This operation will be used by service only.
- * Delete by end user will return a Bad Request error.
+ * 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.
- * @param applicationInstanceName The name of SAP Application Server instance.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param applicationInstanceName The name of SAP Application Server instance 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.
@@ -310,32 +265,166 @@ OperationStatusResultInner delete(
String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, Context context);
/**
- * Lists the SAP Application server Instances in an SVI.
+ * 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.
+ * @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 Instances as paginated response with {@link
+ * @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 Instances in an SVI.
+ * 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.
+ * @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 Instances as paginated response with {@link
+ * @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);
+
+ /**
+ * 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.
+ * @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 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.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the current status of an async operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, OperationStatusResultInner> beginStartInstance(
+ String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, 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.
+ * @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 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.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the current status of an async operation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ 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.
+ * @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 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.
+ * @param body SAP Application server instance stop request body.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the current status of an async operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, OperationStatusResultInner> beginStopInstance(
+ 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.
+ * @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 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.
+ * @param body SAP Application server instance stop request body.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the current status of an async operation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ 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 e1de49990520b..58e1e5a40657e 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
@@ -13,78 +13,75 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.workloads.fluent.models.OperationStatusResultInner;
import com.azure.resourcemanager.workloads.fluent.models.SapCentralServerInstanceInner;
+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. */
public interface SapCentralInstancesClient {
/**
- * Gets the SAP Central Instance.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
+ * @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.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the SAP Central Instance.
+ * @return the SAP Central Services Instance resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapCentralServerInstanceInner get(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
+ Response getWithResponse(
+ String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, Context context);
/**
- * Gets the SAP Central Instance.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
- * @param context The context to associate with this operation.
+ * @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.
* @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 Instance along with {@link Response}.
+ * @return the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, Context context);
+ SapCentralServerInstanceInner get(
+ String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
/**
- * Puts the SAP Central Instance. <br><br>This will be used by service only. PUT by end user will return
- * a Bad Request error.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
- * @param body The SAP Central Server instance request body.
+ * @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.
* @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 Server Instance.
+ * @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,
- SapCentralServerInstanceInner body);
+ String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
/**
- * Puts the SAP Central Instance. <br><br>This will be used by service only. PUT by end user will return
- * a Bad Request error.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
- * @param body The SAP Central Server instance request body.
+ * @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.
+ * @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.
* @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 Server Instance.
+ * @return the {@link SyncPoller} for polling of define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SapCentralServerInstanceInner> beginCreate(
@@ -95,57 +92,36 @@ SyncPoller, SapCentralServerInstanceIn
Context context);
/**
- * Puts the SAP Central Instance. <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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
- * @param body The SAP Central Server instance request body.
- * @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 Server Instance.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SapCentralServerInstanceInner create(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String centralInstanceName,
- SapCentralServerInstanceInner body);
-
- /**
- * Puts the SAP Central Instance. <br><br>This will be used by service only. PUT by end user will return
- * a Bad Request error.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
+ * @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.
* @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 Server Instance.
+ * @return define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapCentralServerInstanceInner create(
String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
/**
- * Puts the SAP Central Instance. <br><br>This will be used by service only. PUT by end user will return
- * a Bad Request error.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
- * @param body The SAP Central Server instance request body.
+ * @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.
+ * @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.
* @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 Server Instance.
+ * @return define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapCentralServerInstanceInner create(
@@ -156,38 +132,36 @@ SapCentralServerInstanceInner create(
Context context);
/**
- * Updates the SAP Central Instance. <br><br>This can be used to update tags.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
- * @param body The SAP Central Server instance request body.
+ * @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.
* @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 Server Instance.
+ * @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,
- UpdateSapCentralInstanceRequest body);
+ String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
/**
- * Updates the SAP Central Instance. <br><br>This can be used to update tags.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
- * @param body The SAP Central Server instance request body.
+ * @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.
+ * @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.
* @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 Server Instance.
+ * @return the {@link SyncPoller} for polling of define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SapCentralServerInstanceInner> beginUpdate(
@@ -198,54 +172,36 @@ SyncPoller, SapCentralServerInstanceIn
Context context);
/**
- * Updates the SAP Central Instance. <br><br>This can be used to update tags.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
- * @param body The SAP Central Server instance request body.
+ * @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.
* @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 Server Instance.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SapCentralServerInstanceInner update(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String centralInstanceName,
- UpdateSapCentralInstanceRequest body);
-
- /**
- * Updates the SAP Central Instance. <br><br>This can be used to update tags.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto 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 Server Instance.
+ * @return define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapCentralServerInstanceInner update(
String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
/**
- * Updates the SAP Central Instance. <br><br>This can be used to update tags.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
- * @param body The SAP Central Server instance request body.
+ * @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.
+ * @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.
* @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 Server Instance.
+ * @return define the SAP Central Services Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapCentralServerInstanceInner update(
@@ -256,13 +212,14 @@ SapCentralServerInstanceInner update(
Context context);
/**
- * Deletes the SAP Central Instance. <br><br>This will be used by service only. Delete by end user will
- * return a Bad Request error.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
+ * @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.
* @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.
@@ -273,13 +230,14 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
/**
- * Deletes the SAP Central Instance. <br><br>This will be used by service only. Delete by end user will
- * return a Bad Request error.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
+ * @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.
* @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.
@@ -291,13 +249,14 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, Context context);
/**
- * Deletes the SAP Central Instance. <br><br>This will be used by service only. Delete by end user will
- * return a Bad Request error.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
+ * @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.
* @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.
@@ -308,13 +267,14 @@ OperationStatusResultInner delete(
String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName);
/**
- * Deletes the SAP Central Instance. <br><br>This will be used by service only. Delete by end user will
- * return a Bad Request error.
+ * 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.
- * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to work
- * correctly.
+ * @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.
* @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.
@@ -326,30 +286,174 @@ OperationStatusResultInner delete(
String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, Context context);
/**
- * Lists the SAP Central Instances in an SVI.
+ * 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.
+ * @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 Instances 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 Instances in an SVI.
+ * 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.
+ * @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 Instances 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);
+
+ /**
+ * 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.
+ * @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);
+
+ /**
+ * 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.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the current status of an async operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, OperationStatusResultInner> beginStartInstance(
+ String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, 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.
+ * @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);
+
+ /**
+ * 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.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the current status of an async operation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ 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.
+ * @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);
+
+ /**
+ * 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.
+ * @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.
+ * @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,
+ 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.
+ * @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);
+
+ /**
+ * 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.
+ * @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.
+ * @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,
+ 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 f82aa8fc463e1..91dae265c27df 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
@@ -13,73 +13,74 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.workloads.fluent.models.OperationStatusResultInner;
import com.azure.resourcemanager.workloads.fluent.models.SapDatabaseInstanceInner;
+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. */
public interface SapDatabaseInstancesClient {
/**
- * Gets the SAP Database Instance.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
+ * @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.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the SAP Database Instance.
+ * @return the SAP Database Instance resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapDatabaseInstanceInner get(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
+ Response getWithResponse(
+ String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context);
/**
- * Gets the SAP Database Instance.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
- * @param context The context to associate with this operation.
+ * @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.
* @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 Database Instance along with {@link Response}.
+ * @return the SAP Database Instance resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context);
+ SapDatabaseInstanceInner get(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
/**
- * Puts the SAP Database Instance. <br><br>This will be used by service only. PUT by end user will
- * return a Bad Request error.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
- * @param body The SAP Database Server instance request body.
+ * @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.
* @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 Database Instance.
+ * @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);
+ String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
/**
- * Puts the SAP Database Instance. <br><br>This will be used by service only. PUT by end user will
- * return a Bad Request error.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
- * @param body The SAP Database Server instance request body.
+ * @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.
+ * @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.
* @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 Database Instance.
+ * @return the {@link SyncPoller} for polling of define the Database resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SapDatabaseInstanceInner> beginCreate(
@@ -90,54 +91,36 @@ SyncPoller, SapDatabaseInstanceInner> begin
Context context);
/**
- * Puts the SAP Database Instance. <br><br>This will be used by service only. PUT by end user will
- * return a Bad Request error.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
- * @param body The SAP Database Server instance request body.
+ * @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.
* @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 Database Instance.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SapDatabaseInstanceInner create(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String databaseInstanceName,
- SapDatabaseInstanceInner body);
-
- /**
- * Puts the SAP Database Instance. <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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto 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 Database Instance.
+ * @return define the Database resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapDatabaseInstanceInner create(
String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
/**
- * Puts the SAP Database Instance. <br><br>This will be used by service only. PUT by end user will
- * return a Bad Request error.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
- * @param body The SAP Database Server instance request body.
+ * @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.
+ * @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.
* @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 Database Instance.
+ * @return define the Database resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapDatabaseInstanceInner create(
@@ -148,36 +131,34 @@ SapDatabaseInstanceInner create(
Context context);
/**
- * Puts the SAP Database Instance.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
- * @param body The SAP Database Server instance request body.
+ * @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.
* @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 Database Instance.
+ * @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);
+ String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
/**
- * Puts the SAP Database Instance.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
- * @param body The SAP Database Server instance request body.
+ * @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.
+ * @param body Database resource update request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of define the SAP Database Instance.
+ * @return the {@link SyncPoller} for polling of define the Database resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SapDatabaseInstanceInner> beginUpdate(
@@ -188,51 +169,34 @@ SyncPoller, SapDatabaseInstanceInner> begin
Context context);
/**
- * Puts the SAP 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
- * @param body The SAP Database Server instance request body.
- * @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 Database Instance.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SapDatabaseInstanceInner update(
- String resourceGroupName,
- String sapVirtualInstanceName,
- String databaseInstanceName,
- UpdateSapDatabaseInstanceRequest body);
-
- /**
- * Puts the SAP Database Instance.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
+ * @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.
* @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 Database Instance.
+ * @return define the Database resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapDatabaseInstanceInner update(
String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
/**
- * Puts the SAP Database Instance.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
- * @param body The SAP Database Server instance request body.
+ * @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.
+ * @param body Database resource update request body.
* @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 define the SAP Database Instance.
+ * @return define the Database resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapDatabaseInstanceInner update(
@@ -243,12 +207,13 @@ SapDatabaseInstanceInner update(
Context context);
/**
- * Deletes the SAP Database Instance. <br><br>This will be used by service only. Delete by end user will
- * return a Bad Request error.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
+ * @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.
* @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.
@@ -259,12 +224,13 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
/**
- * Deletes the SAP Database Instance. <br><br>This will be used by service only. Delete by end user will
- * return a Bad Request error.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
+ * @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.
* @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.
@@ -276,12 +242,13 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context);
/**
- * Deletes the SAP Database Instance. <br><br>This will be used by service only. Delete by end user will
- * return a Bad Request error.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
+ * @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.
* @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.
@@ -292,12 +259,13 @@ OperationStatusResultInner delete(
String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName);
/**
- * Deletes the SAP Database Instance. <br><br>This will be used by service only. Delete by end user will
- * return a Bad Request error.
+ * 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.
- * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to work correctly.
+ * @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.
* @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.
@@ -309,10 +277,10 @@ OperationStatusResultInner delete(
String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context);
/**
- * Lists the SAP Database Instances in an SVI.
+ * 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.
+ * @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.
@@ -322,10 +290,10 @@ OperationStatusResultInner delete(
PagedIterable list(String resourceGroupName, String sapVirtualInstanceName);
/**
- * Lists the SAP Database Instances in an SVI.
+ * 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.
+ * @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.
@@ -335,4 +303,146 @@ OperationStatusResultInner delete(
@ServiceMethod(returns = ReturnType.COLLECTION)
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.
+ * @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);
+
+ /**
+ * 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.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the current status of an async operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, OperationStatusResultInner> beginStartInstance(
+ String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, 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.
+ * @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);
+
+ /**
+ * 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.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the current status of an async operation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ 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.
+ * @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);
+
+ /**
+ * 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.
+ * @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.
+ * @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,
+ 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.
+ * @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);
+
+ /**
+ * 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.
+ * @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.
+ * @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,
+ 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
new file mode 100644
index 0000000000000..6eb1325166694
--- /dev/null
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SapLandscapeMonitorsClient.java
@@ -0,0 +1,200 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.workloads.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+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. */
+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
+ * 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.
+ * @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 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
+ * 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.
+ */
+ @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.
+ *
+ * @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.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return configuration associated with SAP Landscape Monitor Dashboard along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ 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.
+ *
+ * @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.
+ * @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);
+
+ /**
+ * Deletes a SAP Landscape Monitor Dashboard.
+ *
+ *
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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String monitorName, Context context);
+
+ /**
+ * Deletes a SAP Landscape Monitor Dashboard.
+ *
+ * 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.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String monitorName);
+
+ /**
+ * Patches the SAP Landscape Monitor Dashboard.
+ *
+ *
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.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return configuration associated with SAP Landscape Monitor Dashboard along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ 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.
+ *
+ * @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.
+ * @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);
+
+ /**
+ * 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
+ * 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.
+ * @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 along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ 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
+ * 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.
+ */
+ @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 f0c5f98d6f3e2..83af807733576 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
@@ -19,142 +19,127 @@
/** An instance of this class provides access to all the operations defined in SapVirtualInstancesClient. */
public interface SapVirtualInstancesClient {
/**
- * Creates an Virtual Instance for SAP.
+ * 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.
- * @param body The Virtual Instance for SAP request body.
+ * @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 the {@link SyncPoller} for polling of define the Virtual Instance for SAP.
+ * @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);
+ String resourceGroupName, String sapVirtualInstanceName);
/**
- * Creates an Virtual Instance for SAP.
+ * 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.
- * @param body The Virtual Instance for SAP request body.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param body Virtual Instance for SAP solutions resource request body.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of define the Virtual Instance for SAP.
+ * @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);
/**
- * Creates an Virtual Instance for SAP.
+ * 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.
- * @param body The Virtual Instance for SAP request body.
+ * @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 define the Virtual Instance for SAP.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SapVirtualInstanceInner create(
- String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body);
-
- /**
- * Creates an Virtual Instance for SAP.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
- * @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 Virtual Instance for SAP.
+ * @return define the Virtual Instance for SAP solutions resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapVirtualInstanceInner create(String resourceGroupName, String sapVirtualInstanceName);
/**
- * Creates an Virtual Instance for SAP.
+ * 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.
- * @param body The Virtual Instance for SAP request body.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param body Virtual Instance for SAP solutions resource request body.
* @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 define the Virtual Instance for SAP.
+ * @return define the Virtual Instance for SAP solutions resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SapVirtualInstanceInner create(
String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body, Context context);
/**
- * Gets an Virtual Instance for SAP.
+ * 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.
+ * @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 an Virtual Instance for SAP.
+ * @return a Virtual Instance for SAP solutions resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapVirtualInstanceInner getByResourceGroup(String resourceGroupName, String sapVirtualInstanceName);
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String sapVirtualInstanceName, Context context);
/**
- * Gets an Virtual Instance for SAP.
+ * 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.
- * @param context The context to associate with this operation.
+ * @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 an Virtual Instance for SAP along with {@link Response}.
+ * @return a Virtual Instance for SAP solutions resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String sapVirtualInstanceName, Context context);
+ SapVirtualInstanceInner getByResourceGroup(String resourceGroupName, String sapVirtualInstanceName);
/**
- * Updates an Virtual Instance for SAP.
+ * 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.
+ * @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.
+ * @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 define the Virtual Instance for SAP.
+ * @return define the Virtual Instance for SAP solutions resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SapVirtualInstanceInner update(String resourceGroupName, String sapVirtualInstanceName);
+ Response updateWithResponse(
+ String resourceGroupName, String sapVirtualInstanceName, UpdateSapVirtualInstanceRequest body, Context context);
/**
- * Updates an Virtual Instance for SAP.
+ * 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.
- * @param body The Update Virtual Instance for SAP request body.
- * @param context The context to associate with this operation.
+ * @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 define the Virtual Instance for SAP along with {@link Response}.
+ * @return define the Virtual Instance for SAP solutions resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String resourceGroupName, String sapVirtualInstanceName, UpdateSapVirtualInstanceRequest body, Context context);
+ SapVirtualInstanceInner update(String resourceGroupName, String sapVirtualInstanceName);
/**
- * Deletes an Virtual Instance for SAP.
+ * 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.
+ * @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.
@@ -165,10 +150,11 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String sapVirtualInstanceName);
/**
- * Deletes an Virtual Instance for SAP.
+ * 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.
+ * @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.
@@ -180,10 +166,11 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String sapVirtualInstanceName, Context context);
/**
- * Deletes an Virtual Instance for SAP.
+ * 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.
+ * @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.
@@ -193,10 +180,11 @@ SyncPoller, OperationStatusResultInner> b
OperationStatusResultInner delete(String resourceGroupName, String sapVirtualInstanceName);
/**
- * Deletes an Virtual Instance for SAP.
+ * 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.
+ * @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.
@@ -207,57 +195,61 @@ SyncPoller, OperationStatusResultInner> b
OperationStatusResultInner delete(String resourceGroupName, String sapVirtualInstanceName, Context context);
/**
- * Gets all Virtual Instances for SAP in a resource group.
+ * 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 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 in a resource group.
+ * 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 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 in the subscription.
+ * 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 in the 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 in the subscription.
+ * 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 in the 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 System.
+ * 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.
+ * @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.
@@ -268,10 +260,10 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String sapVirtualInstanceName);
/**
- * Starts the SAP System.
+ * 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.
+ * @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.
@@ -283,10 +275,10 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String sapVirtualInstanceName, Context context);
/**
- * Starts the SAP System.
+ * 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.
+ * @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.
@@ -296,10 +288,10 @@ SyncPoller, OperationStatusResultInner> b
OperationStatusResultInner start(String resourceGroupName, String sapVirtualInstanceName);
/**
- * Starts the SAP System.
+ * 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.
+ * @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.
@@ -310,11 +302,10 @@ SyncPoller, OperationStatusResultInner> b
OperationStatusResultInner start(String resourceGroupName, String sapVirtualInstanceName, Context context);
/**
- * Stops the SAP System.
+ * 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.
- * @param body The Virtual Instances for SAP stop request body.
+ * @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.
@@ -322,14 +313,14 @@ SyncPoller, OperationStatusResultInner> b
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, OperationStatusResultInner> beginStop(
- String resourceGroupName, String sapVirtualInstanceName, StopRequest body);
+ String resourceGroupName, String sapVirtualInstanceName);
/**
- * Stops the SAP System.
+ * 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.
- * @param body The Virtual Instances for SAP stop request body.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param body The Virtual Instance for SAP solutions resource stop request body.
* @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.
@@ -341,24 +332,10 @@ SyncPoller, OperationStatusResultInner> b
String resourceGroupName, String sapVirtualInstanceName, StopRequest body, Context context);
/**
- * Stops 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.
- * @param body The Virtual Instances for SAP stop request body.
- * @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 stop(String resourceGroupName, String sapVirtualInstanceName, StopRequest body);
-
- /**
- * Stops the SAP System.
+ * 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.
+ * @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.
@@ -368,11 +345,11 @@ SyncPoller, OperationStatusResultInner> b
OperationStatusResultInner stop(String resourceGroupName, String sapVirtualInstanceName);
/**
- * Stops the SAP System.
+ * 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.
- * @param body The Virtual Instances for SAP stop request body.
+ * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource.
+ * @param body The Virtual Instance for SAP solutions resource stop request body.
* @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.
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SkusClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SkusClient.java
deleted file mode 100644
index 5b1f460487566..0000000000000
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/SkusClient.java
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.workloads.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.workloads.fluent.models.SkuDefinitionInner;
-
-/** An instance of this class provides access to all the operations defined in SkusClient. */
-public interface SkusClient {
- /**
- * Lists all the available SKUs 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 SKUs supported by an Azure Resource Provider as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Lists all the available SKUs 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 SKUs 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/WordpressInstancesClient.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/WordpressInstancesClient.java
deleted file mode 100644
index 88f5c177b998b..0000000000000
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/WordpressInstancesClient.java
+++ /dev/null
@@ -1,167 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.workloads.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.workloads.fluent.models.WordpressInstanceResourceInner;
-
-/** An instance of this class provides access to all the operations defined in WordpressInstancesClient. */
-public interface WordpressInstancesClient {
- /**
- * Lists WordPress instance resources under a phpWorkload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @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 wordPress instance resource list as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String phpWorkloadName);
-
- /**
- * Lists WordPress instance resources under a phpWorkload resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @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 wordPress instance resource list as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String phpWorkloadName, Context context);
-
- /**
- * Gets the WordPress instance resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @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 WordPress instance resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- WordpressInstanceResourceInner get(String resourceGroupName, String phpWorkloadName);
-
- /**
- * Gets the WordPress instance resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the WordPress instance resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String phpWorkloadName, Context context);
-
- /**
- * Create or updated WordPress instance resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param wordpressInstanceResource Resource create or update request payload.
- * @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 wordPress instance resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WordpressInstanceResourceInner> beginCreateOrUpdate(
- String resourceGroupName, String phpWorkloadName, WordpressInstanceResourceInner wordpressInstanceResource);
-
- /**
- * Create or updated WordPress instance resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param wordpressInstanceResource Resource create or update request payload.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of wordPress instance resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WordpressInstanceResourceInner> beginCreateOrUpdate(
- String resourceGroupName,
- String phpWorkloadName,
- WordpressInstanceResourceInner wordpressInstanceResource,
- Context context);
-
- /**
- * Create or updated WordPress instance resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param wordpressInstanceResource Resource create or update request payload.
- * @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 wordPress instance resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- WordpressInstanceResourceInner createOrUpdate(
- String resourceGroupName, String phpWorkloadName, WordpressInstanceResourceInner wordpressInstanceResource);
-
- /**
- * Create or updated WordPress instance resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param wordpressInstanceResource Resource create or update request payload.
- * @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 wordPress instance resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- WordpressInstanceResourceInner createOrUpdate(
- String resourceGroupName,
- String phpWorkloadName,
- WordpressInstanceResourceInner wordpressInstanceResource,
- Context context);
-
- /**
- * Delete WordPress instance resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String phpWorkloadName);
-
- /**
- * Delete WordPress instance resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param phpWorkloadName Php workload name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String phpWorkloadName, 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 fc54bccec567a..75046ed2db4ec 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
@@ -44,20 +44,6 @@ public interface WorkloadsClient {
*/
Duration getDefaultPollInterval();
- /**
- * Gets the PhpWorkloadsClient object to access its operations.
- *
- * @return the PhpWorkloadsClient object.
- */
- PhpWorkloadsClient getPhpWorkloads();
-
- /**
- * Gets the WordpressInstancesClient object to access its operations.
- *
- * @return the WordpressInstancesClient object.
- */
- WordpressInstancesClient getWordpressInstances();
-
/**
* Gets the ResourceProvidersClient object to access its operations.
*
@@ -93,13 +79,6 @@ public interface WorkloadsClient {
*/
SapApplicationServerInstancesClient getSapApplicationServerInstances();
- /**
- * Gets the OperationsClient object to access its operations.
- *
- * @return the OperationsClient object.
- */
- OperationsClient getOperations();
-
/**
* Gets the MonitorsClient object to access its operations.
*
@@ -115,9 +94,16 @@ public interface WorkloadsClient {
ProviderInstancesClient getProviderInstances();
/**
- * Gets the SkusClient object to access its operations.
+ * Gets the SapLandscapeMonitorsClient object to access its operations.
*
- * @return the SkusClient object.
+ * @return the SapLandscapeMonitorsClient object.
*/
- SkusClient getSkus();
+ 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 af1f6e216f0b4..5ead140f64c8e 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
@@ -31,12 +31,15 @@ public final class MonitorInner extends Resource {
private MonitorProperties innerProperties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * 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. */
+ public MonitorInner() {
+ }
+
/**
* Get the identity property: Managed service identity (user assigned identities).
*
@@ -157,6 +160,31 @@ public MonitorInner withRoutingPreference(RoutingPreference routingPreference) {
return this;
}
+ /**
+ * 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() {
+ return this.innerProperties() == null ? null : this.innerProperties().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.
+ */
+ public MonitorInner withZoneRedundancyPreference(String zoneRedundancyPreference) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new MonitorProperties();
+ }
+ this.innerProperties().withZoneRedundancyPreference(zoneRedundancyPreference);
+ return this;
+ }
+
/**
* Get the managedResourceGroupConfiguration property: Managed resource group configuration.
*
@@ -238,6 +266,15 @@ public String msiArmId() {
return this.innerProperties() == null ? null : this.innerProperties().msiArmId();
}
+ /**
+ * Get the storageAccountArmId property: The ARM ID of the Storage account used for SAP monitoring.
+ *
+ * @return the storageAccountArmId value.
+ */
+ public String storageAccountArmId() {
+ return this.innerProperties() == null ? null : this.innerProperties().storageAccountArmId();
+ }
+
/**
* Validates the instance.
*
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 8fd2268a33b74..4f1250fe00835 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
@@ -27,19 +27,25 @@ public final class MonitorProperties {
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.
+ * 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.
+ * 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
*/
@@ -47,8 +53,7 @@ public final class MonitorProperties {
private ManagedRGConfiguration managedResourceGroupConfiguration;
/*
- * The ARM ID of the Log Analytics Workspace that is used for SAP
- * monitoring.
+ * The ARM ID of the Log Analytics Workspace that is used for SAP monitoring.
*/
@JsonProperty(value = "logAnalyticsWorkspaceArmId")
private String logAnalyticsWorkspaceArmId;
@@ -65,6 +70,16 @@ public final class MonitorProperties {
@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. */
+ public MonitorProperties() {
+ }
+
/**
* Get the provisioningState property: State of provisioning of the SAP monitor.
*
@@ -127,6 +142,28 @@ public MonitorProperties withRoutingPreference(RoutingPreference routingPreferen
return this;
}
+ /**
+ * 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() {
+ return this.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.
+ */
+ public MonitorProperties withZoneRedundancyPreference(String zoneRedundancyPreference) {
+ this.zoneRedundancyPreference = zoneRedundancyPreference;
+ return this;
+ }
+
/**
* Get the managedResourceGroupConfiguration property: Managed resource group configuration.
*
@@ -199,6 +236,15 @@ public String msiArmId() {
return this.msiArmId;
}
+ /**
+ * Get the storageAccountArmId property: The ARM ID of the Storage account used for SAP monitoring.
+ *
+ * @return the storageAccountArmId value.
+ */
+ public String storageAccountArmId() {
+ return this.storageAccountArmId;
+ }
+
/**
* Validates the instance.
*
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 2d8c1bea3db70..7fab65435ada5 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
@@ -10,20 +10,23 @@
import com.azure.resourcemanager.workloads.models.Origin;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** REST API Operation Details of a REST API operation, returned from the Resource Provider Operations API. */
+/**
+ * REST API Operation
+ *
+ * Details of a REST API operation, returned from the Resource Provider Operations API.
+ */
@Fluent
public final class OperationInner {
/*
- * The name of the operation, as per Resource-Based Access Control (RBAC).
- * Examples: "Microsoft.Compute/virtualMachines/write",
- * "Microsoft.Compute/virtualMachines/capture/action"
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
+ * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private String name;
/*
- * Whether the operation applies to data-plane. This is "true" for
- * data-plane operations and "false" for ARM/control-plane operations.
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for
+ * ARM/control-plane operations.
*/
@JsonProperty(value = "isDataAction", access = JsonProperty.Access.WRITE_ONLY)
private Boolean isDataAction;
@@ -35,19 +38,22 @@ public final class OperationInner {
private OperationDisplay display;
/*
- * The intended executor of the operation; as in Resource Based Access
- * Control (RBAC) and audit logs UX. Default value is "user,system"
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default
+ * value is "user,system"
*/
@JsonProperty(value = "origin", access = JsonProperty.Access.WRITE_ONLY)
private Origin origin;
/*
- * Enum. Indicates the action type. "Internal" refers to actions that are
- * for internal only APIs.
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
*/
@JsonProperty(value = "actionType", access = JsonProperty.Access.WRITE_ONLY)
private ActionType actionType;
+ /** Creates an instance of OperationInner class. */
+ public OperationInner() {
+ }
+
/**
* Get the name property: The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
* "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action".
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/OperationStatusResultInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/OperationStatusResultInner.java
index 6acba2304ee65..54f58574ee5fc 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/OperationStatusResultInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/OperationStatusResultInner.java
@@ -62,6 +62,10 @@ public final class OperationStatusResultInner {
@JsonProperty(value = "error")
private ManagementError error;
+ /** Creates an instance of OperationStatusResultInner class. */
+ public OperationStatusResultInner() {
+ }
+
/**
* Get the id property: Fully qualified ID for the async operation.
*
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/PhpWorkloadResourceInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/PhpWorkloadResourceInner.java
deleted file mode 100644
index 5b2fa23649c58..0000000000000
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/PhpWorkloadResourceInner.java
+++ /dev/null
@@ -1,472 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.workloads.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.workloads.models.BackupProfile;
-import com.azure.resourcemanager.workloads.models.CacheProfile;
-import com.azure.resourcemanager.workloads.models.DatabaseProfile;
-import com.azure.resourcemanager.workloads.models.FileshareProfile;
-import com.azure.resourcemanager.workloads.models.ManagedRGConfiguration;
-import com.azure.resourcemanager.workloads.models.NetworkProfile;
-import com.azure.resourcemanager.workloads.models.NodeProfile;
-import com.azure.resourcemanager.workloads.models.PhpProfile;
-import com.azure.resourcemanager.workloads.models.PhpWorkloadProvisioningState;
-import com.azure.resourcemanager.workloads.models.PhpWorkloadResourceIdentity;
-import com.azure.resourcemanager.workloads.models.SearchProfile;
-import com.azure.resourcemanager.workloads.models.SiteProfile;
-import com.azure.resourcemanager.workloads.models.Sku;
-import com.azure.resourcemanager.workloads.models.UserProfile;
-import com.azure.resourcemanager.workloads.models.VmssNodesProfile;
-import com.azure.resourcemanager.workloads.models.WorkloadKind;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.Map;
-
-/** Php workload resource. */
-@Fluent
-public final class PhpWorkloadResourceInner extends Resource {
- /*
- * Resource properties
- */
- @JsonProperty(value = "properties")
- private PhpWorkloadResourceProperties innerProperties;
-
- /*
- * Indicates which kind of php workload this resource represent e.g
- * WordPress
- */
- @JsonProperty(value = "kind", required = true)
- private WorkloadKind kind;
-
- /*
- * Php workloads SKU
- */
- @JsonProperty(value = "sku")
- private Sku sku;
-
- /*
- * Identity for the resource. Currently not supported
- */
- @JsonProperty(value = "identity")
- private PhpWorkloadResourceIdentity identity;
-
- /**
- * Get the innerProperties property: Resource properties.
- *
- * @return the innerProperties value.
- */
- private PhpWorkloadResourceProperties innerProperties() {
- return this.innerProperties;
- }
-
- /**
- * Get the kind property: Indicates which kind of php workload this resource represent e.g WordPress.
- *
- * @return the kind value.
- */
- public WorkloadKind kind() {
- return this.kind;
- }
-
- /**
- * Set the kind property: Indicates which kind of php workload this resource represent e.g WordPress.
- *
- * @param kind the kind value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withKind(WorkloadKind kind) {
- this.kind = kind;
- return this;
- }
-
- /**
- * Get the sku property: Php workloads SKU.
- *
- * @return the sku value.
- */
- public Sku sku() {
- return this.sku;
- }
-
- /**
- * Set the sku property: Php workloads SKU.
- *
- * @param sku the sku value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withSku(Sku sku) {
- this.sku = sku;
- return this;
- }
-
- /**
- * Get the identity property: Identity for the resource. Currently not supported.
- *
- * @return the identity value.
- */
- public PhpWorkloadResourceIdentity identity() {
- return this.identity;
- }
-
- /**
- * Set the identity property: Identity for the resource. Currently not supported.
- *
- * @param identity the identity value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withIdentity(PhpWorkloadResourceIdentity identity) {
- this.identity = identity;
- return this;
- }
-
- /** {@inheritDoc} */
- @Override
- public PhpWorkloadResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /** {@inheritDoc} */
- @Override
- public PhpWorkloadResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Get the appLocation property: The infra resources for PHP workload will be created in this location.
- *
- * @return the appLocation value.
- */
- public String appLocation() {
- return this.innerProperties() == null ? null : this.innerProperties().appLocation();
- }
-
- /**
- * Set the appLocation property: The infra resources for PHP workload will be created in this location.
- *
- * @param appLocation the appLocation value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withAppLocation(String appLocation) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withAppLocation(appLocation);
- return this;
- }
-
- /**
- * Get the managedResourceGroupConfiguration property: Managed resource group configuration of the workload.
- *
- * @return the managedResourceGroupConfiguration value.
- */
- public ManagedRGConfiguration managedResourceGroupConfiguration() {
- return this.innerProperties() == null ? null : this.innerProperties().managedResourceGroupConfiguration();
- }
-
- /**
- * Set the managedResourceGroupConfiguration property: Managed resource group configuration of the workload.
- *
- * @param managedResourceGroupConfiguration the managedResourceGroupConfiguration value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withManagedResourceGroupConfiguration(
- ManagedRGConfiguration managedResourceGroupConfiguration) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withManagedResourceGroupConfiguration(managedResourceGroupConfiguration);
- return this;
- }
-
- /**
- * Get the adminUserProfile property: Admin user profile used for VM and VMSS.
- *
- * @return the adminUserProfile value.
- */
- public UserProfile adminUserProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().adminUserProfile();
- }
-
- /**
- * Set the adminUserProfile property: Admin user profile used for VM and VMSS.
- *
- * @param adminUserProfile the adminUserProfile value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withAdminUserProfile(UserProfile adminUserProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withAdminUserProfile(adminUserProfile);
- return this;
- }
-
- /**
- * Get the webNodesProfile property: VMSS web nodes profile.
- *
- * @return the webNodesProfile value.
- */
- public VmssNodesProfile webNodesProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().webNodesProfile();
- }
-
- /**
- * Set the webNodesProfile property: VMSS web nodes profile.
- *
- * @param webNodesProfile the webNodesProfile value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withWebNodesProfile(VmssNodesProfile webNodesProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withWebNodesProfile(webNodesProfile);
- return this;
- }
-
- /**
- * Get the controllerProfile property: Controller VM profile.
- *
- * @return the controllerProfile value.
- */
- public NodeProfile controllerProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().controllerProfile();
- }
-
- /**
- * Set the controllerProfile property: Controller VM profile.
- *
- * @param controllerProfile the controllerProfile value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withControllerProfile(NodeProfile controllerProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withControllerProfile(controllerProfile);
- return this;
- }
-
- /**
- * Get the networkProfile property: Network profile.
- *
- * @return the networkProfile value.
- */
- public NetworkProfile networkProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().networkProfile();
- }
-
- /**
- * Set the networkProfile property: Network profile.
- *
- * @param networkProfile the networkProfile value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withNetworkProfile(NetworkProfile networkProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withNetworkProfile(networkProfile);
- return this;
- }
-
- /**
- * Get the databaseProfile property: Database profile.
- *
- * @return the databaseProfile value.
- */
- public DatabaseProfile databaseProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().databaseProfile();
- }
-
- /**
- * Set the databaseProfile property: Database profile.
- *
- * @param databaseProfile the databaseProfile value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withDatabaseProfile(DatabaseProfile databaseProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withDatabaseProfile(databaseProfile);
- return this;
- }
-
- /**
- * Get the siteProfile property: Site profile.
- *
- * @return the siteProfile value.
- */
- public SiteProfile siteProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().siteProfile();
- }
-
- /**
- * Set the siteProfile property: Site profile.
- *
- * @param siteProfile the siteProfile value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withSiteProfile(SiteProfile siteProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withSiteProfile(siteProfile);
- return this;
- }
-
- /**
- * Get the fileshareProfile property: File share profile.
- *
- * @return the fileshareProfile value.
- */
- public FileshareProfile fileshareProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().fileshareProfile();
- }
-
- /**
- * Set the fileshareProfile property: File share profile.
- *
- * @param fileshareProfile the fileshareProfile value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withFileshareProfile(FileshareProfile fileshareProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withFileshareProfile(fileshareProfile);
- return this;
- }
-
- /**
- * Get the phpProfile property: PHP profile.
- *
- * @return the phpProfile value.
- */
- public PhpProfile phpProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().phpProfile();
- }
-
- /**
- * Set the phpProfile property: PHP profile.
- *
- * @param phpProfile the phpProfile value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withPhpProfile(PhpProfile phpProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withPhpProfile(phpProfile);
- return this;
- }
-
- /**
- * Get the searchProfile property: Search profile.
- *
- * @return the searchProfile value.
- */
- public SearchProfile searchProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().searchProfile();
- }
-
- /**
- * Set the searchProfile property: Search profile.
- *
- * @param searchProfile the searchProfile value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withSearchProfile(SearchProfile searchProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withSearchProfile(searchProfile);
- return this;
- }
-
- /**
- * Get the cacheProfile property: Cache profile.
- *
- * @return the cacheProfile value.
- */
- public CacheProfile cacheProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().cacheProfile();
- }
-
- /**
- * Set the cacheProfile property: Cache profile.
- *
- * @param cacheProfile the cacheProfile value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withCacheProfile(CacheProfile cacheProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withCacheProfile(cacheProfile);
- return this;
- }
-
- /**
- * Get the backupProfile property: Backup profile.
- *
- * @return the backupProfile value.
- */
- public BackupProfile backupProfile() {
- return this.innerProperties() == null ? null : this.innerProperties().backupProfile();
- }
-
- /**
- * Set the backupProfile property: Backup profile.
- *
- * @param backupProfile the backupProfile value to set.
- * @return the PhpWorkloadResourceInner object itself.
- */
- public PhpWorkloadResourceInner withBackupProfile(BackupProfile backupProfile) {
- if (this.innerProperties() == null) {
- this.innerProperties = new PhpWorkloadResourceProperties();
- }
- this.innerProperties().withBackupProfile(backupProfile);
- return this;
- }
-
- /**
- * Get the provisioningState property: Php workload resource provisioning state.
- *
- * @return the provisioningState value.
- */
- public PhpWorkloadProvisioningState provisioningState() {
- return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (innerProperties() != null) {
- innerProperties().validate();
- }
- if (kind() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException("Missing required property kind in model PhpWorkloadResourceInner"));
- }
- if (sku() != null) {
- sku().validate();
- }
- if (identity() != null) {
- identity().validate();
- }
- }
-
- private static final ClientLogger LOGGER = new ClientLogger(PhpWorkloadResourceInner.class);
-}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/PhpWorkloadResourceProperties.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/PhpWorkloadResourceProperties.java
deleted file mode 100644
index eeaf3a6031550..0000000000000
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/PhpWorkloadResourceProperties.java
+++ /dev/null
@@ -1,452 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.workloads.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.workloads.models.BackupProfile;
-import com.azure.resourcemanager.workloads.models.CacheProfile;
-import com.azure.resourcemanager.workloads.models.DatabaseProfile;
-import com.azure.resourcemanager.workloads.models.FileshareProfile;
-import com.azure.resourcemanager.workloads.models.ManagedRGConfiguration;
-import com.azure.resourcemanager.workloads.models.NetworkProfile;
-import com.azure.resourcemanager.workloads.models.NodeProfile;
-import com.azure.resourcemanager.workloads.models.PhpProfile;
-import com.azure.resourcemanager.workloads.models.PhpWorkloadProvisioningState;
-import com.azure.resourcemanager.workloads.models.SearchProfile;
-import com.azure.resourcemanager.workloads.models.SiteProfile;
-import com.azure.resourcemanager.workloads.models.UserProfile;
-import com.azure.resourcemanager.workloads.models.VmssNodesProfile;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** PHP workload resource properties. */
-@Fluent
-public final class PhpWorkloadResourceProperties {
- /*
- * The infra resources for PHP workload will be created in this location
- */
- @JsonProperty(value = "appLocation", required = true)
- private String appLocation;
-
- /*
- * Managed resource group configuration of the workload
- */
- @JsonProperty(value = "managedResourceGroupConfiguration")
- private ManagedRGConfiguration managedResourceGroupConfiguration;
-
- /*
- * Admin user profile used for VM and VMSS
- */
- @JsonProperty(value = "adminUserProfile", required = true)
- private UserProfile adminUserProfile;
-
- /*
- * VMSS web nodes profile
- */
- @JsonProperty(value = "webNodesProfile", required = true)
- private VmssNodesProfile webNodesProfile;
-
- /*
- * Controller VM profile
- */
- @JsonProperty(value = "controllerProfile", required = true)
- private NodeProfile controllerProfile;
-
- /*
- * Network profile
- */
- @JsonProperty(value = "networkProfile")
- private NetworkProfile networkProfile;
-
- /*
- * Database profile
- */
- @JsonProperty(value = "databaseProfile", required = true)
- private DatabaseProfile databaseProfile;
-
- /*
- * Site profile
- */
- @JsonProperty(value = "siteProfile")
- private SiteProfile siteProfile;
-
- /*
- * File share profile
- */
- @JsonProperty(value = "fileshareProfile")
- private FileshareProfile fileshareProfile;
-
- /*
- * PHP profile
- */
- @JsonProperty(value = "phpProfile")
- private PhpProfile phpProfile;
-
- /*
- * Search profile
- */
- @JsonProperty(value = "searchProfile")
- private SearchProfile searchProfile;
-
- /*
- * Cache profile
- */
- @JsonProperty(value = "cacheProfile")
- private CacheProfile cacheProfile;
-
- /*
- * Backup profile
- */
- @JsonProperty(value = "backupProfile")
- private BackupProfile backupProfile;
-
- /*
- * Php workload resource provisioning state
- */
- @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
- private PhpWorkloadProvisioningState provisioningState;
-
- /**
- * Get the appLocation property: The infra resources for PHP workload will be created in this location.
- *
- * @return the appLocation value.
- */
- public String appLocation() {
- return this.appLocation;
- }
-
- /**
- * Set the appLocation property: The infra resources for PHP workload will be created in this location.
- *
- * @param appLocation the appLocation value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withAppLocation(String appLocation) {
- this.appLocation = appLocation;
- return this;
- }
-
- /**
- * Get the managedResourceGroupConfiguration property: Managed resource group configuration of the workload.
- *
- * @return the managedResourceGroupConfiguration value.
- */
- public ManagedRGConfiguration managedResourceGroupConfiguration() {
- return this.managedResourceGroupConfiguration;
- }
-
- /**
- * Set the managedResourceGroupConfiguration property: Managed resource group configuration of the workload.
- *
- * @param managedResourceGroupConfiguration the managedResourceGroupConfiguration value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withManagedResourceGroupConfiguration(
- ManagedRGConfiguration managedResourceGroupConfiguration) {
- this.managedResourceGroupConfiguration = managedResourceGroupConfiguration;
- return this;
- }
-
- /**
- * Get the adminUserProfile property: Admin user profile used for VM and VMSS.
- *
- * @return the adminUserProfile value.
- */
- public UserProfile adminUserProfile() {
- return this.adminUserProfile;
- }
-
- /**
- * Set the adminUserProfile property: Admin user profile used for VM and VMSS.
- *
- * @param adminUserProfile the adminUserProfile value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withAdminUserProfile(UserProfile adminUserProfile) {
- this.adminUserProfile = adminUserProfile;
- return this;
- }
-
- /**
- * Get the webNodesProfile property: VMSS web nodes profile.
- *
- * @return the webNodesProfile value.
- */
- public VmssNodesProfile webNodesProfile() {
- return this.webNodesProfile;
- }
-
- /**
- * Set the webNodesProfile property: VMSS web nodes profile.
- *
- * @param webNodesProfile the webNodesProfile value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withWebNodesProfile(VmssNodesProfile webNodesProfile) {
- this.webNodesProfile = webNodesProfile;
- return this;
- }
-
- /**
- * Get the controllerProfile property: Controller VM profile.
- *
- * @return the controllerProfile value.
- */
- public NodeProfile controllerProfile() {
- return this.controllerProfile;
- }
-
- /**
- * Set the controllerProfile property: Controller VM profile.
- *
- * @param controllerProfile the controllerProfile value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withControllerProfile(NodeProfile controllerProfile) {
- this.controllerProfile = controllerProfile;
- return this;
- }
-
- /**
- * Get the networkProfile property: Network profile.
- *
- * @return the networkProfile value.
- */
- public NetworkProfile networkProfile() {
- return this.networkProfile;
- }
-
- /**
- * Set the networkProfile property: Network profile.
- *
- * @param networkProfile the networkProfile value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withNetworkProfile(NetworkProfile networkProfile) {
- this.networkProfile = networkProfile;
- return this;
- }
-
- /**
- * Get the databaseProfile property: Database profile.
- *
- * @return the databaseProfile value.
- */
- public DatabaseProfile databaseProfile() {
- return this.databaseProfile;
- }
-
- /**
- * Set the databaseProfile property: Database profile.
- *
- * @param databaseProfile the databaseProfile value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withDatabaseProfile(DatabaseProfile databaseProfile) {
- this.databaseProfile = databaseProfile;
- return this;
- }
-
- /**
- * Get the siteProfile property: Site profile.
- *
- * @return the siteProfile value.
- */
- public SiteProfile siteProfile() {
- return this.siteProfile;
- }
-
- /**
- * Set the siteProfile property: Site profile.
- *
- * @param siteProfile the siteProfile value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withSiteProfile(SiteProfile siteProfile) {
- this.siteProfile = siteProfile;
- return this;
- }
-
- /**
- * Get the fileshareProfile property: File share profile.
- *
- * @return the fileshareProfile value.
- */
- public FileshareProfile fileshareProfile() {
- return this.fileshareProfile;
- }
-
- /**
- * Set the fileshareProfile property: File share profile.
- *
- * @param fileshareProfile the fileshareProfile value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withFileshareProfile(FileshareProfile fileshareProfile) {
- this.fileshareProfile = fileshareProfile;
- return this;
- }
-
- /**
- * Get the phpProfile property: PHP profile.
- *
- * @return the phpProfile value.
- */
- public PhpProfile phpProfile() {
- return this.phpProfile;
- }
-
- /**
- * Set the phpProfile property: PHP profile.
- *
- * @param phpProfile the phpProfile value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withPhpProfile(PhpProfile phpProfile) {
- this.phpProfile = phpProfile;
- return this;
- }
-
- /**
- * Get the searchProfile property: Search profile.
- *
- * @return the searchProfile value.
- */
- public SearchProfile searchProfile() {
- return this.searchProfile;
- }
-
- /**
- * Set the searchProfile property: Search profile.
- *
- * @param searchProfile the searchProfile value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withSearchProfile(SearchProfile searchProfile) {
- this.searchProfile = searchProfile;
- return this;
- }
-
- /**
- * Get the cacheProfile property: Cache profile.
- *
- * @return the cacheProfile value.
- */
- public CacheProfile cacheProfile() {
- return this.cacheProfile;
- }
-
- /**
- * Set the cacheProfile property: Cache profile.
- *
- * @param cacheProfile the cacheProfile value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withCacheProfile(CacheProfile cacheProfile) {
- this.cacheProfile = cacheProfile;
- return this;
- }
-
- /**
- * Get the backupProfile property: Backup profile.
- *
- * @return the backupProfile value.
- */
- public BackupProfile backupProfile() {
- return this.backupProfile;
- }
-
- /**
- * Set the backupProfile property: Backup profile.
- *
- * @param backupProfile the backupProfile value to set.
- * @return the PhpWorkloadResourceProperties object itself.
- */
- public PhpWorkloadResourceProperties withBackupProfile(BackupProfile backupProfile) {
- this.backupProfile = backupProfile;
- return this;
- }
-
- /**
- * Get the provisioningState property: Php workload resource provisioning state.
- *
- * @return the provisioningState value.
- */
- public PhpWorkloadProvisioningState provisioningState() {
- return this.provisioningState;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (appLocation() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property appLocation in model PhpWorkloadResourceProperties"));
- }
- if (managedResourceGroupConfiguration() != null) {
- managedResourceGroupConfiguration().validate();
- }
- if (adminUserProfile() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property adminUserProfile in model PhpWorkloadResourceProperties"));
- } else {
- adminUserProfile().validate();
- }
- if (webNodesProfile() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property webNodesProfile in model PhpWorkloadResourceProperties"));
- } else {
- webNodesProfile().validate();
- }
- if (controllerProfile() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property controllerProfile in model PhpWorkloadResourceProperties"));
- } else {
- controllerProfile().validate();
- }
- if (networkProfile() != null) {
- networkProfile().validate();
- }
- if (databaseProfile() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property databaseProfile in model PhpWorkloadResourceProperties"));
- } else {
- databaseProfile().validate();
- }
- if (siteProfile() != null) {
- siteProfile().validate();
- }
- if (fileshareProfile() != null) {
- fileshareProfile().validate();
- }
- if (phpProfile() != null) {
- phpProfile().validate();
- }
- if (searchProfile() != null) {
- searchProfile().validate();
- }
- if (cacheProfile() != null) {
- cacheProfile().validate();
- }
- if (backupProfile() != null) {
- backupProfile().validate();
- }
- }
-
- private static final ClientLogger LOGGER = new ClientLogger(PhpWorkloadResourceProperties.class);
-}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/ProviderInstanceInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/ProviderInstanceInner.java
index f4c243d1b516a..944c31292e365 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/ProviderInstanceInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/ProviderInstanceInner.java
@@ -29,12 +29,15 @@ public final class ProviderInstanceInner extends ProxyResource {
private ProviderInstanceProperties innerProperties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of ProviderInstanceInner class. */
+ public ProviderInstanceInner() {
+ }
+
/**
* Get the identity property: Managed service identity (user assigned identities).
*
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/ProviderInstanceProperties.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/ProviderInstanceProperties.java
index b35c2f48d0b56..cf8d97271daff 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/ProviderInstanceProperties.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/ProviderInstanceProperties.java
@@ -31,6 +31,10 @@ public final class ProviderInstanceProperties {
@JsonProperty(value = "providerSettings")
private ProviderSpecificProperties providerSettings;
+ /** Creates an instance of ProviderInstanceProperties class. */
+ public ProviderInstanceProperties() {
+ }
+
/**
* Get the provisioningState property: State of provisioning of the provider instance.
*
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapApplicationServerInstanceInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapApplicationServerInstanceInner.java
index f71b53ccb4893..5d1e4d089cd52 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapApplicationServerInstanceInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapApplicationServerInstanceInner.java
@@ -7,31 +7,37 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.Resource;
import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.workloads.models.ApplicationServerVmDetails;
+import com.azure.resourcemanager.workloads.models.LoadBalancerDetails;
import com.azure.resourcemanager.workloads.models.SapHealthState;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceError;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceProvisioningState;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceStatus;
import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
import java.util.Map;
-/** Define the SAP Application Server Instance. */
+/** Define the SAP Application Server Instance resource. */
@Fluent
public final class SapApplicationServerInstanceInner extends Resource {
/*
- * Defines the SAP Application Server properties.
+ * Defines the SAP Application Server instance properties.
*/
@JsonProperty(value = "properties")
private SapApplicationServerProperties innerProperties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of SapApplicationServerInstanceInner class. */
+ public SapApplicationServerInstanceInner() {
+ }
+
/**
- * Get the innerProperties property: Defines the SAP Application Server properties.
+ * Get the innerProperties property: Defines the SAP Application Server instance properties.
*
* @return the innerProperties value.
*/
@@ -63,7 +69,7 @@ public SapApplicationServerInstanceInner withTags(Map tags) {
}
/**
- * Get the instanceNo property: The application server instance id.
+ * Get the instanceNo property: Application server Instance Number.
*
* @return the instanceNo value.
*/
@@ -72,7 +78,7 @@ public String instanceNo() {
}
/**
- * Get the subnet property: The application server subnet.
+ * Get the subnet property: Application server Subnet.
*
* @return the subnet value.
*/
@@ -81,7 +87,7 @@ public String subnet() {
}
/**
- * Get the hostname property: The application server SAP host name.
+ * Get the hostname property: Application server instance SAP hostname.
*
* @return the hostname value.
*/
@@ -90,7 +96,7 @@ public String hostname() {
}
/**
- * Get the kernelVersion property: The application server SAP kernel version.
+ * Get the kernelVersion property: Application server instance SAP Kernel Version.
*
* @return the kernelVersion value.
*/
@@ -99,7 +105,7 @@ public String kernelVersion() {
}
/**
- * Get the kernelPatch property: The application server SAP kernel patch.
+ * Get the kernelPatch property: Application server instance SAP Kernel Patch level.
*
* @return the kernelPatch value.
*/
@@ -108,7 +114,7 @@ public String kernelPatch() {
}
/**
- * Get the ipAddress property: The application server SAP IP Address.
+ * Get the ipAddress property: Application server instance SAP IP Address.
*
* @return the ipAddress value.
*/
@@ -117,7 +123,7 @@ public String ipAddress() {
}
/**
- * Get the gatewayPort property: The application server gateway Port.
+ * Get the gatewayPort property: Application server instance gateway Port.
*
* @return the gatewayPort value.
*/
@@ -126,7 +132,7 @@ public Long gatewayPort() {
}
/**
- * Get the icmHttpPort property: The application server ICM HTTP Port.
+ * Get the icmHttpPort property: Application server instance ICM HTTP Port.
*
* @return the icmHttpPort value.
*/
@@ -135,7 +141,7 @@ public Long icmHttpPort() {
}
/**
- * Get the icmHttpsPort property: The application server ICM HTTPS Port.
+ * Get the icmHttpsPort property: Application server instance ICM HTTPS Port.
*
* @return the icmHttpsPort value.
*/
@@ -144,12 +150,22 @@ public Long icmHttpsPort() {
}
/**
- * Get the virtualMachineId property: The virtual machine.
+ * Get the loadBalancerDetails property: The Load Balancer details such as LoadBalancer ID attached to Application
+ * Server Virtual Machines.
+ *
+ * @return the loadBalancerDetails value.
+ */
+ public LoadBalancerDetails loadBalancerDetails() {
+ return this.innerProperties() == null ? null : this.innerProperties().loadBalancerDetails();
+ }
+
+ /**
+ * Get the vmDetails property: The list of virtual machines.
*
- * @return the virtualMachineId value.
+ * @return the vmDetails value.
*/
- public String virtualMachineId() {
- return this.innerProperties() == null ? null : this.innerProperties().virtualMachineId();
+ public List vmDetails() {
+ return this.innerProperties() == null ? null : this.innerProperties().vmDetails();
}
/**
@@ -162,7 +178,7 @@ public SapVirtualInstanceStatus status() {
}
/**
- * Get the health property: Defines the SAP Instance health.
+ * Get the health property: Defines the health of SAP Instances.
*
* @return the health value.
*/
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapApplicationServerProperties.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapApplicationServerProperties.java
index 43bfc4739e587..a96f08ebfbec9 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapApplicationServerProperties.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapApplicationServerProperties.java
@@ -5,74 +5,83 @@
package com.azure.resourcemanager.workloads.fluent.models;
import com.azure.core.annotation.Immutable;
+import com.azure.resourcemanager.workloads.models.ApplicationServerVmDetails;
+import com.azure.resourcemanager.workloads.models.LoadBalancerDetails;
import com.azure.resourcemanager.workloads.models.SapHealthState;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceError;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceProvisioningState;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceStatus;
import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
-/** Defines the SAP Application Server properties. */
+/** Defines the SAP Application Server instance properties. */
@Immutable
public final class SapApplicationServerProperties {
/*
- * The application server instance id.
+ * Application server Instance Number.
*/
@JsonProperty(value = "instanceNo", access = JsonProperty.Access.WRITE_ONLY)
private String instanceNo;
/*
- * The application server subnet.
+ * Application server Subnet.
*/
@JsonProperty(value = "subnet", access = JsonProperty.Access.WRITE_ONLY)
private String subnet;
/*
- * The application server SAP host name.
+ * Application server instance SAP hostname.
*/
@JsonProperty(value = "hostname", access = JsonProperty.Access.WRITE_ONLY)
private String hostname;
/*
- * The application server SAP kernel version.
+ * Application server instance SAP Kernel Version.
*/
@JsonProperty(value = "kernelVersion", access = JsonProperty.Access.WRITE_ONLY)
private String kernelVersion;
/*
- * The application server SAP kernel patch.
+ * Application server instance SAP Kernel Patch level.
*/
@JsonProperty(value = "kernelPatch", access = JsonProperty.Access.WRITE_ONLY)
private String kernelPatch;
/*
- * The application server SAP IP Address.
+ * Application server instance SAP IP Address.
*/
@JsonProperty(value = "ipAddress", access = JsonProperty.Access.WRITE_ONLY)
private String ipAddress;
/*
- * The application server gateway Port.
+ * Application server instance gateway Port.
*/
@JsonProperty(value = "gatewayPort", access = JsonProperty.Access.WRITE_ONLY)
private Long gatewayPort;
/*
- * The application server ICM HTTP Port.
+ * Application server instance ICM HTTP Port.
*/
@JsonProperty(value = "icmHttpPort", access = JsonProperty.Access.WRITE_ONLY)
private Long icmHttpPort;
/*
- * The application server ICM HTTPS Port.
+ * Application server instance ICM HTTPS Port.
*/
@JsonProperty(value = "icmHttpsPort", access = JsonProperty.Access.WRITE_ONLY)
private Long icmHttpsPort;
/*
- * The virtual machine.
+ * The Load Balancer details such as LoadBalancer ID attached to Application Server Virtual Machines
*/
- @JsonProperty(value = "virtualMachineId", access = JsonProperty.Access.WRITE_ONLY)
- private String virtualMachineId;
+ @JsonProperty(value = "loadBalancerDetails", access = JsonProperty.Access.WRITE_ONLY)
+ private LoadBalancerDetails loadBalancerDetails;
+
+ /*
+ * The list of virtual machines.
+ */
+ @JsonProperty(value = "vmDetails", access = JsonProperty.Access.WRITE_ONLY)
+ private List vmDetails;
/*
* Defines the SAP Instance status.
@@ -81,7 +90,7 @@ public final class SapApplicationServerProperties {
private SapVirtualInstanceStatus status;
/*
- * Defines the SAP Instance health.
+ * Defines the health of SAP Instances.
*/
@JsonProperty(value = "health", access = JsonProperty.Access.WRITE_ONLY)
private SapHealthState health;
@@ -98,8 +107,12 @@ public final class SapApplicationServerProperties {
@JsonProperty(value = "errors", access = JsonProperty.Access.WRITE_ONLY)
private SapVirtualInstanceError errors;
+ /** Creates an instance of SapApplicationServerProperties class. */
+ public SapApplicationServerProperties() {
+ }
+
/**
- * Get the instanceNo property: The application server instance id.
+ * Get the instanceNo property: Application server Instance Number.
*
* @return the instanceNo value.
*/
@@ -108,7 +121,7 @@ public String instanceNo() {
}
/**
- * Get the subnet property: The application server subnet.
+ * Get the subnet property: Application server Subnet.
*
* @return the subnet value.
*/
@@ -117,7 +130,7 @@ public String subnet() {
}
/**
- * Get the hostname property: The application server SAP host name.
+ * Get the hostname property: Application server instance SAP hostname.
*
* @return the hostname value.
*/
@@ -126,7 +139,7 @@ public String hostname() {
}
/**
- * Get the kernelVersion property: The application server SAP kernel version.
+ * Get the kernelVersion property: Application server instance SAP Kernel Version.
*
* @return the kernelVersion value.
*/
@@ -135,7 +148,7 @@ public String kernelVersion() {
}
/**
- * Get the kernelPatch property: The application server SAP kernel patch.
+ * Get the kernelPatch property: Application server instance SAP Kernel Patch level.
*
* @return the kernelPatch value.
*/
@@ -144,7 +157,7 @@ public String kernelPatch() {
}
/**
- * Get the ipAddress property: The application server SAP IP Address.
+ * Get the ipAddress property: Application server instance SAP IP Address.
*
* @return the ipAddress value.
*/
@@ -153,7 +166,7 @@ public String ipAddress() {
}
/**
- * Get the gatewayPort property: The application server gateway Port.
+ * Get the gatewayPort property: Application server instance gateway Port.
*
* @return the gatewayPort value.
*/
@@ -162,7 +175,7 @@ public Long gatewayPort() {
}
/**
- * Get the icmHttpPort property: The application server ICM HTTP Port.
+ * Get the icmHttpPort property: Application server instance ICM HTTP Port.
*
* @return the icmHttpPort value.
*/
@@ -171,7 +184,7 @@ public Long icmHttpPort() {
}
/**
- * Get the icmHttpsPort property: The application server ICM HTTPS Port.
+ * Get the icmHttpsPort property: Application server instance ICM HTTPS Port.
*
* @return the icmHttpsPort value.
*/
@@ -180,12 +193,22 @@ public Long icmHttpsPort() {
}
/**
- * Get the virtualMachineId property: The virtual machine.
+ * Get the loadBalancerDetails property: The Load Balancer details such as LoadBalancer ID attached to Application
+ * Server Virtual Machines.
+ *
+ * @return the loadBalancerDetails value.
+ */
+ public LoadBalancerDetails loadBalancerDetails() {
+ return this.loadBalancerDetails;
+ }
+
+ /**
+ * Get the vmDetails property: The list of virtual machines.
*
- * @return the virtualMachineId value.
+ * @return the vmDetails value.
*/
- public String virtualMachineId() {
- return this.virtualMachineId;
+ public List vmDetails() {
+ return this.vmDetails;
}
/**
@@ -198,7 +221,7 @@ public SapVirtualInstanceStatus status() {
}
/**
- * Get the health property: Defines the SAP Instance health.
+ * Get the health property: Defines the health of SAP Instances.
*
* @return the health value.
*/
@@ -230,6 +253,12 @@ public SapVirtualInstanceError errors() {
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
+ if (loadBalancerDetails() != null) {
+ loadBalancerDetails().validate();
+ }
+ if (vmDetails() != null) {
+ vmDetails().forEach(e -> e.validate());
+ }
if (errors() != null) {
errors().validate();
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapAvailabilityZoneDetailsResultInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapAvailabilityZoneDetailsResultInner.java
index 1fb1de1c4bcec..d9f76ccef12cd 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapAvailabilityZoneDetailsResultInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapAvailabilityZoneDetailsResultInner.java
@@ -18,6 +18,10 @@ public final class SapAvailabilityZoneDetailsResultInner {
@JsonProperty(value = "availabilityZonePairs")
private List availabilityZonePairs;
+ /** Creates an instance of SapAvailabilityZoneDetailsResultInner class. */
+ public SapAvailabilityZoneDetailsResultInner() {
+ }
+
/**
* Get the availabilityZonePairs property: Gets the list of availability zone pairs.
*
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapCentralServerInstanceInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapCentralServerInstanceInner.java
index e29c48d3ca4a0..73e7d5d91b285 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapCentralServerInstanceInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapCentralServerInstanceInner.java
@@ -11,6 +11,7 @@
import com.azure.resourcemanager.workloads.models.EnqueueReplicationServerProperties;
import com.azure.resourcemanager.workloads.models.EnqueueServerProperties;
import com.azure.resourcemanager.workloads.models.GatewayServerProperties;
+import com.azure.resourcemanager.workloads.models.LoadBalancerDetails;
import com.azure.resourcemanager.workloads.models.MessageServerProperties;
import com.azure.resourcemanager.workloads.models.SapHealthState;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceError;
@@ -20,24 +21,27 @@
import java.util.List;
import java.util.Map;
-/** Define the SAP Central Server Instance. */
+/** Define the SAP Central Services Instance resource. */
@Fluent
public final class SapCentralServerInstanceInner extends Resource {
/*
- * Defines the SAP Central Server properties.
+ * Defines the SAP Central Services Instance properties.
*/
@JsonProperty(value = "properties")
private SapCentralServerProperties innerProperties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of SapCentralServerInstanceInner class. */
+ public SapCentralServerInstanceInner() {
+ }
+
/**
- * Get the innerProperties property: Defines the SAP Central Server properties.
+ * Get the innerProperties property: Defines the SAP Central Services Instance properties.
*
* @return the innerProperties value.
*/
@@ -69,7 +73,7 @@ public SapCentralServerInstanceInner withTags(Map tags) {
}
/**
- * Get the instanceNo property: The central server instance id.
+ * Get the instanceNo property: The central services instance number.
*
* @return the instanceNo value.
*/
@@ -78,7 +82,7 @@ public String instanceNo() {
}
/**
- * Get the subnet property: The central server subnet.
+ * Get the subnet property: The central services instance subnet.
*
* @return the subnet value.
*/
@@ -87,7 +91,7 @@ public String subnet() {
}
/**
- * Get the messageServerProperties property: Defines the SAP message server properties.
+ * Get the messageServerProperties property: Defines the SAP Message Server properties.
*
* @return the messageServerProperties value.
*/
@@ -96,7 +100,7 @@ public MessageServerProperties messageServerProperties() {
}
/**
- * Set the messageServerProperties property: Defines the SAP message server properties.
+ * Set the messageServerProperties property: Defines the SAP Message Server properties.
*
* @param messageServerProperties the messageServerProperties value to set.
* @return the SapCentralServerInstanceInner object itself.
@@ -110,7 +114,7 @@ public SapCentralServerInstanceInner withMessageServerProperties(MessageServerPr
}
/**
- * Get the enqueueServerProperties property: Defines the SAP enqueue server properties.
+ * Get the enqueueServerProperties property: Defines the SAP Enqueue Server properties.
*
* @return the enqueueServerProperties value.
*/
@@ -119,7 +123,7 @@ public EnqueueServerProperties enqueueServerProperties() {
}
/**
- * Set the enqueueServerProperties property: Defines the SAP enqueue server properties.
+ * Set the enqueueServerProperties property: Defines the SAP Enqueue Server properties.
*
* @param enqueueServerProperties the enqueueServerProperties value to set.
* @return the SapCentralServerInstanceInner object itself.
@@ -156,7 +160,7 @@ public SapCentralServerInstanceInner withGatewayServerProperties(GatewayServerPr
}
/**
- * Get the enqueueReplicationServerProperties property: Defines the SAP ERS Server properties.
+ * Get the enqueueReplicationServerProperties property: Defines the SAP Enqueue Replication Server (ERS) properties.
*
* @return the enqueueReplicationServerProperties value.
*/
@@ -165,7 +169,7 @@ public EnqueueReplicationServerProperties enqueueReplicationServerProperties() {
}
/**
- * Set the enqueueReplicationServerProperties property: Defines the SAP ERS Server properties.
+ * Set the enqueueReplicationServerProperties property: Defines the SAP Enqueue Replication Server (ERS) properties.
*
* @param enqueueReplicationServerProperties the enqueueReplicationServerProperties value to set.
* @return the SapCentralServerInstanceInner object itself.
@@ -180,7 +184,7 @@ public SapCentralServerInstanceInner withEnqueueReplicationServerProperties(
}
/**
- * Get the kernelVersion property: The central server kernel version.
+ * Get the kernelVersion property: The central services instance Kernel Version.
*
* @return the kernelVersion value.
*/
@@ -189,7 +193,7 @@ public String kernelVersion() {
}
/**
- * Get the kernelPatch property: The central server kernel patch.
+ * Get the kernelPatch property: The central services instance Kernel Patch level.
*
* @return the kernelPatch value.
*/
@@ -198,7 +202,17 @@ public String kernelPatch() {
}
/**
- * Get the vmDetails property: The list of virtual machines.
+ * Get the loadBalancerDetails property: The Load Balancer details such as LoadBalancer ID attached to ASCS Virtual
+ * Machines.
+ *
+ * @return the loadBalancerDetails value.
+ */
+ public LoadBalancerDetails loadBalancerDetails() {
+ return this.innerProperties() == null ? null : this.innerProperties().loadBalancerDetails();
+ }
+
+ /**
+ * Get the vmDetails property: The list of virtual machines corresponding to the Central Services instance.
*
* @return the vmDetails value.
*/
@@ -216,7 +230,7 @@ public SapVirtualInstanceStatus status() {
}
/**
- * Get the health property: Defines the SAP Instance health.
+ * Get the health property: Defines the health of SAP Instances.
*
* @return the health value.
*/
@@ -234,7 +248,7 @@ public SapVirtualInstanceProvisioningState provisioningState() {
}
/**
- * Get the errors property: Defines the Central Instance errors.
+ * Get the errors property: Defines the errors related to SAP Central Services Instance resource.
*
* @return the errors value.
*/
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapCentralServerProperties.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapCentralServerProperties.java
index d8fdca9d94c0a..e4d78073d6132 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapCentralServerProperties.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapCentralServerProperties.java
@@ -9,6 +9,7 @@
import com.azure.resourcemanager.workloads.models.EnqueueReplicationServerProperties;
import com.azure.resourcemanager.workloads.models.EnqueueServerProperties;
import com.azure.resourcemanager.workloads.models.GatewayServerProperties;
+import com.azure.resourcemanager.workloads.models.LoadBalancerDetails;
import com.azure.resourcemanager.workloads.models.MessageServerProperties;
import com.azure.resourcemanager.workloads.models.SapHealthState;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceError;
@@ -17,29 +18,29 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** Defines the SAP Central Server properties. */
+/** Defines the SAP Central Services Instance properties. */
@Fluent
public final class SapCentralServerProperties {
/*
- * The central server instance id.
+ * The central services instance number.
*/
@JsonProperty(value = "instanceNo", access = JsonProperty.Access.WRITE_ONLY)
private String instanceNo;
/*
- * The central server subnet.
+ * The central services instance subnet.
*/
@JsonProperty(value = "subnet", access = JsonProperty.Access.WRITE_ONLY)
private String subnet;
/*
- * Defines the SAP message server properties.
+ * Defines the SAP Message Server properties.
*/
@JsonProperty(value = "messageServerProperties")
private MessageServerProperties messageServerProperties;
/*
- * Defines the SAP enqueue server properties.
+ * Defines the SAP Enqueue Server properties.
*/
@JsonProperty(value = "enqueueServerProperties")
private EnqueueServerProperties enqueueServerProperties;
@@ -51,25 +52,31 @@ public final class SapCentralServerProperties {
private GatewayServerProperties gatewayServerProperties;
/*
- * Defines the SAP ERS Server properties.
+ * Defines the SAP Enqueue Replication Server (ERS) properties.
*/
@JsonProperty(value = "enqueueReplicationServerProperties")
private EnqueueReplicationServerProperties enqueueReplicationServerProperties;
/*
- * The central server kernel version.
+ * The central services instance Kernel Version.
*/
@JsonProperty(value = "kernelVersion", access = JsonProperty.Access.WRITE_ONLY)
private String kernelVersion;
/*
- * The central server kernel patch.
+ * The central services instance Kernel Patch level.
*/
@JsonProperty(value = "kernelPatch", access = JsonProperty.Access.WRITE_ONLY)
private String kernelPatch;
/*
- * The list of virtual machines.
+ * The Load Balancer details such as LoadBalancer ID attached to ASCS Virtual Machines
+ */
+ @JsonProperty(value = "loadBalancerDetails", access = JsonProperty.Access.WRITE_ONLY)
+ private LoadBalancerDetails loadBalancerDetails;
+
+ /*
+ * The list of virtual machines corresponding to the Central Services instance.
*/
@JsonProperty(value = "vmDetails", access = JsonProperty.Access.WRITE_ONLY)
private List vmDetails;
@@ -81,7 +88,7 @@ public final class SapCentralServerProperties {
private SapVirtualInstanceStatus status;
/*
- * Defines the SAP Instance health.
+ * Defines the health of SAP Instances.
*/
@JsonProperty(value = "health", access = JsonProperty.Access.WRITE_ONLY)
private SapHealthState health;
@@ -93,13 +100,17 @@ public final class SapCentralServerProperties {
private SapVirtualInstanceProvisioningState provisioningState;
/*
- * Defines the Central Instance errors.
+ * Defines the errors related to SAP Central Services Instance resource.
*/
@JsonProperty(value = "errors", access = JsonProperty.Access.WRITE_ONLY)
private SapVirtualInstanceError errors;
+ /** Creates an instance of SapCentralServerProperties class. */
+ public SapCentralServerProperties() {
+ }
+
/**
- * Get the instanceNo property: The central server instance id.
+ * Get the instanceNo property: The central services instance number.
*
* @return the instanceNo value.
*/
@@ -108,7 +119,7 @@ public String instanceNo() {
}
/**
- * Get the subnet property: The central server subnet.
+ * Get the subnet property: The central services instance subnet.
*
* @return the subnet value.
*/
@@ -117,7 +128,7 @@ public String subnet() {
}
/**
- * Get the messageServerProperties property: Defines the SAP message server properties.
+ * Get the messageServerProperties property: Defines the SAP Message Server properties.
*
* @return the messageServerProperties value.
*/
@@ -126,7 +137,7 @@ public MessageServerProperties messageServerProperties() {
}
/**
- * Set the messageServerProperties property: Defines the SAP message server properties.
+ * Set the messageServerProperties property: Defines the SAP Message Server properties.
*
* @param messageServerProperties the messageServerProperties value to set.
* @return the SapCentralServerProperties object itself.
@@ -137,7 +148,7 @@ public SapCentralServerProperties withMessageServerProperties(MessageServerPrope
}
/**
- * Get the enqueueServerProperties property: Defines the SAP enqueue server properties.
+ * Get the enqueueServerProperties property: Defines the SAP Enqueue Server properties.
*
* @return the enqueueServerProperties value.
*/
@@ -146,7 +157,7 @@ public EnqueueServerProperties enqueueServerProperties() {
}
/**
- * Set the enqueueServerProperties property: Defines the SAP enqueue server properties.
+ * Set the enqueueServerProperties property: Defines the SAP Enqueue Server properties.
*
* @param enqueueServerProperties the enqueueServerProperties value to set.
* @return the SapCentralServerProperties object itself.
@@ -177,7 +188,7 @@ public SapCentralServerProperties withGatewayServerProperties(GatewayServerPrope
}
/**
- * Get the enqueueReplicationServerProperties property: Defines the SAP ERS Server properties.
+ * Get the enqueueReplicationServerProperties property: Defines the SAP Enqueue Replication Server (ERS) properties.
*
* @return the enqueueReplicationServerProperties value.
*/
@@ -186,7 +197,7 @@ public EnqueueReplicationServerProperties enqueueReplicationServerProperties() {
}
/**
- * Set the enqueueReplicationServerProperties property: Defines the SAP ERS Server properties.
+ * Set the enqueueReplicationServerProperties property: Defines the SAP Enqueue Replication Server (ERS) properties.
*
* @param enqueueReplicationServerProperties the enqueueReplicationServerProperties value to set.
* @return the SapCentralServerProperties object itself.
@@ -198,7 +209,7 @@ public SapCentralServerProperties withEnqueueReplicationServerProperties(
}
/**
- * Get the kernelVersion property: The central server kernel version.
+ * Get the kernelVersion property: The central services instance Kernel Version.
*
* @return the kernelVersion value.
*/
@@ -207,7 +218,7 @@ public String kernelVersion() {
}
/**
- * Get the kernelPatch property: The central server kernel patch.
+ * Get the kernelPatch property: The central services instance Kernel Patch level.
*
* @return the kernelPatch value.
*/
@@ -216,7 +227,17 @@ public String kernelPatch() {
}
/**
- * Get the vmDetails property: The list of virtual machines.
+ * Get the loadBalancerDetails property: The Load Balancer details such as LoadBalancer ID attached to ASCS Virtual
+ * Machines.
+ *
+ * @return the loadBalancerDetails value.
+ */
+ public LoadBalancerDetails loadBalancerDetails() {
+ return this.loadBalancerDetails;
+ }
+
+ /**
+ * Get the vmDetails property: The list of virtual machines corresponding to the Central Services instance.
*
* @return the vmDetails value.
*/
@@ -234,7 +255,7 @@ public SapVirtualInstanceStatus status() {
}
/**
- * Get the health property: Defines the SAP Instance health.
+ * Get the health property: Defines the health of SAP Instances.
*
* @return the health value.
*/
@@ -252,7 +273,7 @@ public SapVirtualInstanceProvisioningState provisioningState() {
}
/**
- * Get the errors property: Defines the Central Instance errors.
+ * Get the errors property: Defines the errors related to SAP Central Services Instance resource.
*
* @return the errors value.
*/
@@ -278,6 +299,9 @@ public void validate() {
if (enqueueReplicationServerProperties() != null) {
enqueueReplicationServerProperties().validate();
}
+ if (loadBalancerDetails() != null) {
+ loadBalancerDetails().validate();
+ }
if (vmDetails() != null) {
vmDetails().forEach(e -> e.validate());
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDatabaseInstanceInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDatabaseInstanceInner.java
index ec6ff25a8927f..297adc819c989 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDatabaseInstanceInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDatabaseInstanceInner.java
@@ -8,6 +8,7 @@
import com.azure.core.management.Resource;
import com.azure.core.management.SystemData;
import com.azure.resourcemanager.workloads.models.DatabaseVmDetails;
+import com.azure.resourcemanager.workloads.models.LoadBalancerDetails;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceError;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceProvisioningState;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceStatus;
@@ -15,24 +16,27 @@
import java.util.List;
import java.util.Map;
-/** Define the SAP Database Instance. */
+/** Define the Database resource. */
@Fluent
public final class SapDatabaseInstanceInner extends Resource {
/*
- * Defines the SAP Database properties.
+ * Defines the Database properties.
*/
@JsonProperty(value = "properties")
private SapDatabaseProperties innerProperties;
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of SapDatabaseInstanceInner class. */
+ public SapDatabaseInstanceInner() {
+ }
+
/**
- * Get the innerProperties property: Defines the SAP Database properties.
+ * Get the innerProperties property: Defines the Database properties.
*
* @return the innerProperties value.
*/
@@ -64,7 +68,7 @@ public SapDatabaseInstanceInner withTags(Map tags) {
}
/**
- * Get the subnet property: The database subnet.
+ * Get the subnet property: Database subnet.
*
* @return the subnet value.
*/
@@ -73,7 +77,7 @@ public String subnet() {
}
/**
- * Get the databaseSid property: The database SID.
+ * Get the databaseSid property: Database SID name.
*
* @return the databaseSid value.
*/
@@ -82,7 +86,8 @@ public String databaseSid() {
}
/**
- * Get the databaseType property: The SAP database type.
+ * Get the databaseType property: Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL
+ * Server.
*
* @return the databaseType value.
*/
@@ -91,7 +96,7 @@ public String databaseType() {
}
/**
- * Get the ipAddress property: The database IP Address.
+ * Get the ipAddress property: Database IP Address.
*
* @return the ipAddress value.
*/
@@ -100,7 +105,17 @@ public String ipAddress() {
}
/**
- * Get the vmDetails property: The list of virtual machines.
+ * Get the loadBalancerDetails property: The Load Balancer details such as LoadBalancer ID attached to Database
+ * Virtual Machines.
+ *
+ * @return the loadBalancerDetails value.
+ */
+ public LoadBalancerDetails loadBalancerDetails() {
+ return this.innerProperties() == null ? null : this.innerProperties().loadBalancerDetails();
+ }
+
+ /**
+ * Get the vmDetails property: The list of virtual machines corresponding to the Database resource.
*
* @return the vmDetails value.
*/
@@ -127,7 +142,7 @@ public SapVirtualInstanceProvisioningState provisioningState() {
}
/**
- * Get the errors property: Defines the Database Instance errors.
+ * Get the errors property: Defines the errors related to Database resource.
*
* @return the errors value.
*/
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDatabaseProperties.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDatabaseProperties.java
index c658637718395..72dafff00b386 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDatabaseProperties.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDatabaseProperties.java
@@ -6,41 +6,48 @@
import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.workloads.models.DatabaseVmDetails;
+import com.azure.resourcemanager.workloads.models.LoadBalancerDetails;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceError;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceProvisioningState;
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceStatus;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** Defines the SAP Database properties. */
+/** Defines the Database properties. */
@Immutable
public final class SapDatabaseProperties {
/*
- * The database subnet.
+ * Database subnet.
*/
@JsonProperty(value = "subnet", access = JsonProperty.Access.WRITE_ONLY)
private String subnet;
/*
- * The database SID.
+ * Database SID name.
*/
@JsonProperty(value = "databaseSid", access = JsonProperty.Access.WRITE_ONLY)
private String databaseSid;
/*
- * The SAP database type.
+ * Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL Server.
*/
@JsonProperty(value = "databaseType", access = JsonProperty.Access.WRITE_ONLY)
private String databaseType;
/*
- * The database IP Address.
+ * Database IP Address.
*/
@JsonProperty(value = "ipAddress", access = JsonProperty.Access.WRITE_ONLY)
private String ipAddress;
/*
- * The list of virtual machines.
+ * The Load Balancer details such as LoadBalancer ID attached to Database Virtual Machines
+ */
+ @JsonProperty(value = "loadBalancerDetails", access = JsonProperty.Access.WRITE_ONLY)
+ private LoadBalancerDetails loadBalancerDetails;
+
+ /*
+ * The list of virtual machines corresponding to the Database resource.
*/
@JsonProperty(value = "vmDetails", access = JsonProperty.Access.WRITE_ONLY)
private List vmDetails;
@@ -58,13 +65,17 @@ public final class SapDatabaseProperties {
private SapVirtualInstanceProvisioningState provisioningState;
/*
- * Defines the Database Instance errors.
+ * Defines the errors related to Database resource.
*/
@JsonProperty(value = "errors", access = JsonProperty.Access.WRITE_ONLY)
private SapVirtualInstanceError errors;
+ /** Creates an instance of SapDatabaseProperties class. */
+ public SapDatabaseProperties() {
+ }
+
/**
- * Get the subnet property: The database subnet.
+ * Get the subnet property: Database subnet.
*
* @return the subnet value.
*/
@@ -73,7 +84,7 @@ public String subnet() {
}
/**
- * Get the databaseSid property: The database SID.
+ * Get the databaseSid property: Database SID name.
*
* @return the databaseSid value.
*/
@@ -82,7 +93,8 @@ public String databaseSid() {
}
/**
- * Get the databaseType property: The SAP database type.
+ * Get the databaseType property: Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL
+ * Server.
*
* @return the databaseType value.
*/
@@ -91,7 +103,7 @@ public String databaseType() {
}
/**
- * Get the ipAddress property: The database IP Address.
+ * Get the ipAddress property: Database IP Address.
*
* @return the ipAddress value.
*/
@@ -100,7 +112,17 @@ public String ipAddress() {
}
/**
- * Get the vmDetails property: The list of virtual machines.
+ * Get the loadBalancerDetails property: The Load Balancer details such as LoadBalancer ID attached to Database
+ * Virtual Machines.
+ *
+ * @return the loadBalancerDetails value.
+ */
+ public LoadBalancerDetails loadBalancerDetails() {
+ return this.loadBalancerDetails;
+ }
+
+ /**
+ * Get the vmDetails property: The list of virtual machines corresponding to the Database resource.
*
* @return the vmDetails value.
*/
@@ -127,7 +149,7 @@ public SapVirtualInstanceProvisioningState provisioningState() {
}
/**
- * Get the errors property: Defines the Database Instance errors.
+ * Get the errors property: Defines the errors related to Database resource.
*
* @return the errors value.
*/
@@ -141,6 +163,9 @@ public SapVirtualInstanceError errors() {
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
+ if (loadBalancerDetails() != null) {
+ loadBalancerDetails().validate();
+ }
if (vmDetails() != null) {
vmDetails().forEach(e -> e.validate());
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDiskConfigurationsResultInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDiskConfigurationsResultInner.java
index f736eb9f7f78b..58f12f42a97d4 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDiskConfigurationsResultInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapDiskConfigurationsResultInner.java
@@ -6,35 +6,45 @@
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.workloads.models.SapDiskConfiguration;
+import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.List;
+import java.util.Map;
/** The list of disk configuration for vmSku which are part of SAP deployment. */
@Fluent
public final class SapDiskConfigurationsResultInner {
/*
- * Gets the list of Disk Configurations.
+ * The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log',
+ * hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
*/
- @JsonProperty(value = "diskConfigurations")
- private List diskConfigurations;
+ @JsonProperty(value = "volumeConfigurations")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map volumeConfigurations;
+
+ /** Creates an instance of SapDiskConfigurationsResultInner class. */
+ public SapDiskConfigurationsResultInner() {
+ }
/**
- * Get the diskConfigurations property: Gets the list of Disk Configurations.
+ * Get the volumeConfigurations property: The disk configuration for the db volume. For HANA, Required volumes are:
+ * ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
*
- * @return the diskConfigurations value.
+ * @return the volumeConfigurations value.
*/
- public List diskConfigurations() {
- return this.diskConfigurations;
+ public Map volumeConfigurations() {
+ return this.volumeConfigurations;
}
/**
- * Set the diskConfigurations property: Gets the list of Disk Configurations.
+ * Set the volumeConfigurations property: The disk configuration for the db volume. For HANA, Required volumes are:
+ * ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
*
- * @param diskConfigurations the diskConfigurations value to set.
+ * @param volumeConfigurations the volumeConfigurations value to set.
* @return the SapDiskConfigurationsResultInner object itself.
*/
- public SapDiskConfigurationsResultInner withDiskConfigurations(List diskConfigurations) {
- this.diskConfigurations = diskConfigurations;
+ public SapDiskConfigurationsResultInner withVolumeConfigurations(
+ Map volumeConfigurations) {
+ this.volumeConfigurations = volumeConfigurations;
return this;
}
@@ -44,8 +54,15 @@ public SapDiskConfigurationsResultInner withDiskConfigurations(List e.validate());
+ if (volumeConfigurations() != null) {
+ volumeConfigurations()
+ .values()
+ .forEach(
+ e -> {
+ if (e != null) {
+ e.validate();
+ }
+ });
}
}
}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapLandscapeMonitorInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapLandscapeMonitorInner.java
new file mode 100644
index 0000000000000..be8cbc10ad774
--- /dev/null
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapLandscapeMonitorInner.java
@@ -0,0 +1,121 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.workloads.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.workloads.models.SapLandscapeMonitorMetricThresholds;
+import com.azure.resourcemanager.workloads.models.SapLandscapeMonitorPropertiesGrouping;
+import com.azure.resourcemanager.workloads.models.SapLandscapeMonitorProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** configuration associated with SAP Landscape Monitor Dashboard. */
+@Fluent
+public final class SapLandscapeMonitorInner extends ProxyResource {
+ /*
+ * Sap Landscape Monitor properties
+ */
+ @JsonProperty(value = "properties")
+ private SapLandscapeMonitorProperties 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 SapLandscapeMonitorInner class. */
+ public SapLandscapeMonitorInner() {
+ }
+
+ /**
+ * Get the innerProperties property: Sap Landscape Monitor properties.
+ *
+ * @return the innerProperties value.
+ */
+ private SapLandscapeMonitorProperties innerProperties() {
+ return this.innerProperties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the provisioningState property: State of provisioning of the SAP monitor.
+ *
+ * @return the provisioningState value.
+ */
+ public SapLandscapeMonitorProvisioningState provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Get the grouping property: Gets or sets the SID groupings by landscape and Environment.
+ *
+ * @return the grouping value.
+ */
+ public SapLandscapeMonitorPropertiesGrouping grouping() {
+ return this.innerProperties() == null ? null : this.innerProperties().grouping();
+ }
+
+ /**
+ * Set the grouping property: Gets or sets the SID groupings by landscape and Environment.
+ *
+ * @param grouping the grouping value to set.
+ * @return the SapLandscapeMonitorInner object itself.
+ */
+ public SapLandscapeMonitorInner withGrouping(SapLandscapeMonitorPropertiesGrouping grouping) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SapLandscapeMonitorProperties();
+ }
+ this.innerProperties().withGrouping(grouping);
+ return this;
+ }
+
+ /**
+ * Get the topMetricsThresholds property: Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor
+ * Dashboard.
+ *
+ * @return the topMetricsThresholds value.
+ */
+ public List topMetricsThresholds() {
+ return this.innerProperties() == null ? null : this.innerProperties().topMetricsThresholds();
+ }
+
+ /**
+ * Set the topMetricsThresholds property: Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor
+ * Dashboard.
+ *
+ * @param topMetricsThresholds the topMetricsThresholds value to set.
+ * @return the SapLandscapeMonitorInner object itself.
+ */
+ public SapLandscapeMonitorInner withTopMetricsThresholds(
+ List topMetricsThresholds) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SapLandscapeMonitorProperties();
+ }
+ this.innerProperties().withTopMetricsThresholds(topMetricsThresholds);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapLandscapeMonitorListResultInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapLandscapeMonitorListResultInner.java
new file mode 100644
index 0000000000000..913ca74547993
--- /dev/null
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapLandscapeMonitorListResultInner.java
@@ -0,0 +1,80 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.workloads.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** The response from the List SAP Landscape Monitor Dashboard operation. */
+@Fluent
+public final class SapLandscapeMonitorListResultInner {
+ /*
+ * The list of Sap Landscape Monitor configuration.
+ */
+ @JsonProperty(value = "value")
+ private List value;
+
+ /*
+ * The URL to get the next set of SAP Landscape Monitor Dashboard.
+ */
+ @JsonProperty(value = "nextLink")
+ private String nextLink;
+
+ /** Creates an instance of SapLandscapeMonitorListResultInner class. */
+ public SapLandscapeMonitorListResultInner() {
+ }
+
+ /**
+ * Get the value property: The list of Sap Landscape Monitor configuration.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: The list of Sap Landscape Monitor configuration.
+ *
+ * @param value the value value to set.
+ * @return the SapLandscapeMonitorListResultInner object itself.
+ */
+ public SapLandscapeMonitorListResultInner withValue(List value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Get the nextLink property: The URL to get the next set of SAP Landscape Monitor Dashboard.
+ *
+ * @return the nextLink value.
+ */
+ public String nextLink() {
+ return this.nextLink;
+ }
+
+ /**
+ * Set the nextLink property: The URL to get the next set of SAP Landscape Monitor Dashboard.
+ *
+ * @param nextLink the nextLink value to set.
+ * @return the SapLandscapeMonitorListResultInner object itself.
+ */
+ public SapLandscapeMonitorListResultInner withNextLink(String nextLink) {
+ this.nextLink = nextLink;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() != null) {
+ value().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapLandscapeMonitorProperties.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapLandscapeMonitorProperties.java
new file mode 100644
index 0000000000000..9be9f21580565
--- /dev/null
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapLandscapeMonitorProperties.java
@@ -0,0 +1,104 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.workloads.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.workloads.models.SapLandscapeMonitorMetricThresholds;
+import com.azure.resourcemanager.workloads.models.SapLandscapeMonitorPropertiesGrouping;
+import com.azure.resourcemanager.workloads.models.SapLandscapeMonitorProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Gets or sets the properties for Sap Landscape Monitor Dashboard. */
+@Fluent
+public final class SapLandscapeMonitorProperties {
+ /*
+ * State of provisioning of the SAP monitor.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private SapLandscapeMonitorProvisioningState provisioningState;
+
+ /*
+ * Gets or sets the SID groupings by landscape and Environment.
+ */
+ @JsonProperty(value = "grouping")
+ private SapLandscapeMonitorPropertiesGrouping grouping;
+
+ /*
+ * Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
+ */
+ @JsonProperty(value = "topMetricsThresholds")
+ private List topMetricsThresholds;
+
+ /** Creates an instance of SapLandscapeMonitorProperties class. */
+ public SapLandscapeMonitorProperties() {
+ }
+
+ /**
+ * Get the provisioningState property: State of provisioning of the SAP monitor.
+ *
+ * @return the provisioningState value.
+ */
+ public SapLandscapeMonitorProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the grouping property: Gets or sets the SID groupings by landscape and Environment.
+ *
+ * @return the grouping value.
+ */
+ public SapLandscapeMonitorPropertiesGrouping grouping() {
+ return this.grouping;
+ }
+
+ /**
+ * Set the grouping property: Gets or sets the SID groupings by landscape and Environment.
+ *
+ * @param grouping the grouping value to set.
+ * @return the SapLandscapeMonitorProperties object itself.
+ */
+ public SapLandscapeMonitorProperties withGrouping(SapLandscapeMonitorPropertiesGrouping grouping) {
+ this.grouping = grouping;
+ return this;
+ }
+
+ /**
+ * Get the topMetricsThresholds property: Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor
+ * Dashboard.
+ *
+ * @return the topMetricsThresholds value.
+ */
+ public List topMetricsThresholds() {
+ return this.topMetricsThresholds;
+ }
+
+ /**
+ * Set the topMetricsThresholds property: Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor
+ * Dashboard.
+ *
+ * @param topMetricsThresholds the topMetricsThresholds value to set.
+ * @return the SapLandscapeMonitorProperties object itself.
+ */
+ public SapLandscapeMonitorProperties withTopMetricsThresholds(
+ List topMetricsThresholds) {
+ this.topMetricsThresholds = topMetricsThresholds;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (grouping() != null) {
+ grouping().validate();
+ }
+ if (topMetricsThresholds() != null) {
+ topMetricsThresholds().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapSizingRecommendationResultInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapSizingRecommendationResultInner.java
index 9682dd90d4dde..352fb140eed62 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapSizingRecommendationResultInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapSizingRecommendationResultInner.java
@@ -24,6 +24,10 @@
})
@Immutable
public class SapSizingRecommendationResultInner {
+ /** Creates an instance of SapSizingRecommendationResultInner class. */
+ public SapSizingRecommendationResultInner() {
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapSupportedResourceSkusResultInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapSupportedResourceSkusResultInner.java
index e670708a56a24..db246502d4d57 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapSupportedResourceSkusResultInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapSupportedResourceSkusResultInner.java
@@ -18,6 +18,10 @@ public final class SapSupportedResourceSkusResultInner {
@JsonProperty(value = "supportedSkus")
private List supportedSkus;
+ /** Creates an instance of SapSupportedResourceSkusResultInner class. */
+ public SapSupportedResourceSkusResultInner() {
+ }
+
/**
* Get the supportedSkus property: Gets the list of SAP supported SKUs.
*
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapVirtualInstanceInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapVirtualInstanceInner.java
index 2b2e4d95186d9..a4349f3f3d614 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapVirtualInstanceInner.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapVirtualInstanceInner.java
@@ -21,7 +21,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
-/** Define the Virtual Instance for SAP. */
+/** Define the Virtual Instance for SAP solutions resource. */
@Fluent
public final class SapVirtualInstanceInner extends Resource {
/*
@@ -31,18 +31,21 @@ public final class SapVirtualInstanceInner extends Resource {
private UserAssignedServiceIdentity identity;
/*
- * Defines the Virtual Instance for SAP properties.
+ * Defines the Virtual Instance for SAP solutions resource properties.
*/
@JsonProperty(value = "properties", required = true)
private SapVirtualInstanceProperties innerProperties = new SapVirtualInstanceProperties();
/*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of SapVirtualInstanceInner class. */
+ public SapVirtualInstanceInner() {
+ }
+
/**
* Get the identity property: Managed service identity (user assigned identities).
*
@@ -64,7 +67,7 @@ public SapVirtualInstanceInner withIdentity(UserAssignedServiceIdentity identity
}
/**
- * Get the innerProperties property: Defines the Virtual Instance for SAP properties.
+ * Get the innerProperties property: Defines the Virtual Instance for SAP solutions resource properties.
*
* @return the innerProperties value.
*/
@@ -142,8 +145,8 @@ public SapVirtualInstanceInner withSapProduct(SapProductType sapProduct) {
}
/**
- * Get the configuration property: Defines if an existing SAP system is being registered or a new SAP system is
- * being created.
+ * Get the configuration property: Defines if the SAP system is being created using Azure Center for SAP solutions
+ * (ACSS) or if an existing SAP system is being registered with ACSS.
*
* @return the configuration value.
*/
@@ -152,8 +155,8 @@ public SapConfiguration configuration() {
}
/**
- * Set the configuration property: Defines if an existing SAP system is being registered or a new SAP system is
- * being created.
+ * Set the configuration property: Defines if the SAP system is being created using Azure Center for SAP solutions
+ * (ACSS) or if an existing SAP system is being registered with ACSS.
*
* @param configuration the configuration value to set.
* @return the SapVirtualInstanceInner object itself.
@@ -200,7 +203,7 @@ public SapVirtualInstanceStatus status() {
}
/**
- * Get the health property: Defines the SAP Instance health.
+ * Get the health property: Defines the health of SAP Instances.
*
* @return the health value.
*/
@@ -227,7 +230,7 @@ public SapVirtualInstanceProvisioningState provisioningState() {
}
/**
- * Get the errors property: Defines the Virtual Instance for SAP errors.
+ * Get the errors property: Indicates any errors on the Virtual Instance for SAP solutions resource.
*
* @return the errors value.
*/
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapVirtualInstanceProperties.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapVirtualInstanceProperties.java
index 2ea0106371a85..5f68faa5ff1ff 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapVirtualInstanceProperties.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SapVirtualInstanceProperties.java
@@ -17,7 +17,7 @@
import com.azure.resourcemanager.workloads.models.SapVirtualInstanceStatus;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Defines the Virtual Instance for SAP properties. */
+/** Defines the Virtual Instance for SAP solutions resource properties. */
@Fluent
public final class SapVirtualInstanceProperties {
/*
@@ -33,8 +33,8 @@ public final class SapVirtualInstanceProperties {
private SapProductType sapProduct;
/*
- * Defines if an existing SAP system is being registered or a new SAP
- * system is being created
+ * Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP
+ * system is being registered with ACSS
*/
@JsonProperty(value = "configuration", required = true)
private SapConfiguration configuration;
@@ -52,7 +52,7 @@ public final class SapVirtualInstanceProperties {
private SapVirtualInstanceStatus status;
/*
- * Defines the SAP Instance health.
+ * Defines the health of SAP Instances.
*/
@JsonProperty(value = "health", access = JsonProperty.Access.WRITE_ONLY)
private SapHealthState health;
@@ -70,11 +70,15 @@ public final class SapVirtualInstanceProperties {
private SapVirtualInstanceProvisioningState provisioningState;
/*
- * Defines the Virtual Instance for SAP errors.
+ * Indicates any errors on the Virtual Instance for SAP solutions resource.
*/
@JsonProperty(value = "errors", access = JsonProperty.Access.WRITE_ONLY)
private SapVirtualInstanceError errors;
+ /** Creates an instance of SapVirtualInstanceProperties class. */
+ public SapVirtualInstanceProperties() {
+ }
+
/**
* Get the environment property: Defines the environment type - Production/Non Production.
*
@@ -116,8 +120,8 @@ public SapVirtualInstanceProperties withSapProduct(SapProductType sapProduct) {
}
/**
- * Get the configuration property: Defines if an existing SAP system is being registered or a new SAP system is
- * being created.
+ * Get the configuration property: Defines if the SAP system is being created using Azure Center for SAP solutions
+ * (ACSS) or if an existing SAP system is being registered with ACSS.
*
* @return the configuration value.
*/
@@ -126,8 +130,8 @@ public SapConfiguration configuration() {
}
/**
- * Set the configuration property: Defines if an existing SAP system is being registered or a new SAP system is
- * being created.
+ * Set the configuration property: Defines if the SAP system is being created using Azure Center for SAP solutions
+ * (ACSS) or if an existing SAP system is being registered with ACSS.
*
* @param configuration the configuration value to set.
* @return the SapVirtualInstanceProperties object itself.
@@ -168,7 +172,7 @@ public SapVirtualInstanceStatus status() {
}
/**
- * Get the health property: Defines the SAP Instance health.
+ * Get the health property: Defines the health of SAP Instances.
*
* @return the health value.
*/
@@ -195,7 +199,7 @@ public SapVirtualInstanceProvisioningState provisioningState() {
}
/**
- * Get the errors property: Defines the Virtual Instance for SAP errors.
+ * Get the errors property: Indicates any errors on the Virtual Instance for SAP solutions resource.
*
* @return the errors value.
*/
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SkuDefinitionInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SkuDefinitionInner.java
deleted file mode 100644
index d6be559017953..0000000000000
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/SkuDefinitionInner.java
+++ /dev/null
@@ -1,373 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.workloads.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.workloads.models.SkuCapability;
-import com.azure.resourcemanager.workloads.models.SkuCost;
-import com.azure.resourcemanager.workloads.models.SkuLocationAndZones;
-import com.azure.resourcemanager.workloads.models.SkuRestriction;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.List;
-
-/** The SKU definition. */
-@Fluent
-public final class SkuDefinitionInner {
- /*
- * The name of the SKU.
- */
- @JsonProperty(value = "name", required = true)
- private String name;
-
- /*
- * Resource type the SKU applicable for.
- */
- @JsonProperty(value = "resourceType")
- private String resourceType;
-
- /*
- * This field is required to be implemented by the Resource Provider if the
- * service has more than one tier, but is not required on a PUT.
- */
- @JsonProperty(value = "tier")
- private String tier;
-
- /*
- * The SKU size. When the name field is the combination of tier and some
- * other value, this would be the standalone code.
- */
- @JsonProperty(value = "size")
- private String size;
-
- /*
- * If the service has different generations of hardware, for the same SKU,
- * then that can be captured here.
- */
- @JsonProperty(value = "family")
- private String family;
-
- /*
- * If the service has different kinds of hardware, for the same SKU, then
- * that can be captured here.
- */
- @JsonProperty(value = "kind")
- private String kind;
-
- /*
- * List of locations where this SKU is available.
- */
- @JsonProperty(value = "locations")
- private List locations;
-
- /*
- * List of locations where this SKU is available.
- */
- @JsonProperty(value = "locationInfo")
- private List locationInfo;
-
- /*
- * If the SKU supports scale out/in then the capacity integer should be
- * included. If scale out/in is not possible for the resource this may be
- * omitted.
- */
- @JsonProperty(value = "capacity")
- private Object capacity;
-
- /*
- * The SKU costs.
- */
- @JsonProperty(value = "costs")
- private List costs;
-
- /*
- * The SKU capabilities.
- */
- @JsonProperty(value = "capabilities")
- private List capabilities;
-
- /*
- * The SKU restrictions.
- */
- @JsonProperty(value = "restrictions")
- private List restrictions;
-
- /**
- * Get the name property: The name of the SKU.
- *
- * @return the name value.
- */
- public String name() {
- return this.name;
- }
-
- /**
- * Set the name property: The name of the SKU.
- *
- * @param name the name value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withName(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * Get the resourceType property: Resource type the SKU applicable for.
- *
- * @return the resourceType value.
- */
- public String resourceType() {
- return this.resourceType;
- }
-
- /**
- * Set the resourceType property: Resource type the SKU applicable for.
- *
- * @param resourceType the resourceType value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withResourceType(String resourceType) {
- this.resourceType = resourceType;
- return this;
- }
-
- /**
- * Get the tier property: This field is required to be implemented by the Resource Provider if the service has more
- * than one tier, but is not required on a PUT.
- *
- * @return the tier value.
- */
- public String tier() {
- return this.tier;
- }
-
- /**
- * Set the tier property: This field is required to be implemented by the Resource Provider if the service has more
- * than one tier, but is not required on a PUT.
- *
- * @param tier the tier value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withTier(String tier) {
- this.tier = tier;
- return this;
- }
-
- /**
- * Get the size property: The SKU size. When the name field is the combination of tier and some other value, this
- * would be the standalone code.
- *
- * @return the size value.
- */
- public String size() {
- return this.size;
- }
-
- /**
- * Set the size property: The SKU size. When the name field is the combination of tier and some other value, this
- * would be the standalone code.
- *
- * @param size the size value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withSize(String size) {
- this.size = size;
- return this;
- }
-
- /**
- * Get the family property: If the service has different generations of hardware, for the same SKU, then that can be
- * captured here.
- *
- * @return the family value.
- */
- public String family() {
- return this.family;
- }
-
- /**
- * Set the family property: If the service has different generations of hardware, for the same SKU, then that can be
- * captured here.
- *
- * @param family the family value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withFamily(String family) {
- this.family = family;
- return this;
- }
-
- /**
- * Get the kind property: If the service has different kinds of hardware, for the same SKU, then that can be
- * captured here.
- *
- * @return the kind value.
- */
- public String kind() {
- return this.kind;
- }
-
- /**
- * Set the kind property: If the service has different kinds of hardware, for the same SKU, then that can be
- * captured here.
- *
- * @param kind the kind value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withKind(String kind) {
- this.kind = kind;
- return this;
- }
-
- /**
- * Get the locations property: List of locations where this SKU is available.
- *
- * @return the locations value.
- */
- public List locations() {
- return this.locations;
- }
-
- /**
- * Set the locations property: List of locations where this SKU is available.
- *
- * @param locations the locations value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withLocations(List locations) {
- this.locations = locations;
- return this;
- }
-
- /**
- * Get the locationInfo property: List of locations where this SKU is available.
- *
- * @return the locationInfo value.
- */
- public List locationInfo() {
- return this.locationInfo;
- }
-
- /**
- * Set the locationInfo property: List of locations where this SKU is available.
- *
- * @param locationInfo the locationInfo value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withLocationInfo(List locationInfo) {
- this.locationInfo = locationInfo;
- return this;
- }
-
- /**
- * Get the capacity property: If the SKU supports scale out/in then the capacity integer should be included. If
- * scale out/in is not possible for the resource this may be omitted.
- *
- * @return the capacity value.
- */
- public Object capacity() {
- return this.capacity;
- }
-
- /**
- * Set the capacity property: If the SKU supports scale out/in then the capacity integer should be included. If
- * scale out/in is not possible for the resource this may be omitted.
- *
- * @param capacity the capacity value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withCapacity(Object capacity) {
- this.capacity = capacity;
- return this;
- }
-
- /**
- * Get the costs property: The SKU costs.
- *
- * @return the costs value.
- */
- public List costs() {
- return this.costs;
- }
-
- /**
- * Set the costs property: The SKU costs.
- *
- * @param costs the costs value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withCosts(List costs) {
- this.costs = costs;
- return this;
- }
-
- /**
- * Get the capabilities property: The SKU capabilities.
- *
- * @return the capabilities value.
- */
- public List capabilities() {
- return this.capabilities;
- }
-
- /**
- * Set the capabilities property: The SKU capabilities.
- *
- * @param capabilities the capabilities value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withCapabilities(List capabilities) {
- this.capabilities = capabilities;
- return this;
- }
-
- /**
- * Get the restrictions property: The SKU restrictions.
- *
- * @return the restrictions value.
- */
- public List restrictions() {
- return this.restrictions;
- }
-
- /**
- * Set the restrictions property: The SKU restrictions.
- *
- * @param restrictions the restrictions value to set.
- * @return the SkuDefinitionInner object itself.
- */
- public SkuDefinitionInner withRestrictions(List restrictions) {
- this.restrictions = restrictions;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (name() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException("Missing required property name in model SkuDefinitionInner"));
- }
- if (locationInfo() != null) {
- locationInfo().forEach(e -> e.validate());
- }
- if (costs() != null) {
- costs().forEach(e -> e.validate());
- }
- if (capabilities() != null) {
- capabilities().forEach(e -> e.validate());
- }
- if (restrictions() != null) {
- restrictions().forEach(e -> e.validate());
- }
- }
-
- private static final ClientLogger LOGGER = new ClientLogger(SkuDefinitionInner.class);
-}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/WordpressInstanceResourceInner.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/WordpressInstanceResourceInner.java
deleted file mode 100644
index 532596c529a47..0000000000000
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/WordpressInstanceResourceInner.java
+++ /dev/null
@@ -1,128 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.workloads.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.ProxyResource;
-import com.azure.resourcemanager.workloads.models.ApplicationProvisioningState;
-import com.azure.resourcemanager.workloads.models.WordpressVersions;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** WordPress instance resource. */
-@Fluent
-public final class WordpressInstanceResourceInner extends ProxyResource {
- /*
- * Resource properties
- */
- @JsonProperty(value = "properties")
- private WordpressInstanceResourceProperties innerProperties;
-
- /**
- * Get the innerProperties property: Resource properties.
- *
- * @return the innerProperties value.
- */
- private WordpressInstanceResourceProperties innerProperties() {
- return this.innerProperties;
- }
-
- /**
- * Get the version property: Application version.
- *
- * @return the version value.
- */
- public WordpressVersions version() {
- return this.innerProperties() == null ? null : this.innerProperties().version();
- }
-
- /**
- * Set the version property: Application version.
- *
- * @param version the version value to set.
- * @return the WordpressInstanceResourceInner object itself.
- */
- public WordpressInstanceResourceInner withVersion(WordpressVersions version) {
- if (this.innerProperties() == null) {
- this.innerProperties = new WordpressInstanceResourceProperties();
- }
- this.innerProperties().withVersion(version);
- return this;
- }
-
- /**
- * Get the databaseName property: Database name used by the application.
- *
- * @return the databaseName value.
- */
- public String databaseName() {
- return this.innerProperties() == null ? null : this.innerProperties().databaseName();
- }
-
- /**
- * Set the databaseName property: Database name used by the application.
- *
- * @param databaseName the databaseName value to set.
- * @return the WordpressInstanceResourceInner object itself.
- */
- public WordpressInstanceResourceInner withDatabaseName(String databaseName) {
- if (this.innerProperties() == null) {
- this.innerProperties = new WordpressInstanceResourceProperties();
- }
- this.innerProperties().withDatabaseName(databaseName);
- return this;
- }
-
- /**
- * Get the databaseUser property: User name used by the application to connect to database.
- *
- * @return the databaseUser value.
- */
- public String databaseUser() {
- return this.innerProperties() == null ? null : this.innerProperties().databaseUser();
- }
-
- /**
- * Set the databaseUser property: User name used by the application to connect to database.
- *
- * @param databaseUser the databaseUser value to set.
- * @return the WordpressInstanceResourceInner object itself.
- */
- public WordpressInstanceResourceInner withDatabaseUser(String databaseUser) {
- if (this.innerProperties() == null) {
- this.innerProperties = new WordpressInstanceResourceProperties();
- }
- this.innerProperties().withDatabaseUser(databaseUser);
- return this;
- }
-
- /**
- * Get the siteUrl property: Site Url to access the WordPress application.
- *
- * @return the siteUrl value.
- */
- public String siteUrl() {
- return this.innerProperties() == null ? null : this.innerProperties().siteUrl();
- }
-
- /**
- * Get the provisioningState property: WordPress instance provisioning state.
- *
- * @return the provisioningState value.
- */
- public ApplicationProvisioningState provisioningState() {
- return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (innerProperties() != null) {
- innerProperties().validate();
- }
- }
-}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/WordpressInstanceResourceProperties.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/WordpressInstanceResourceProperties.java
deleted file mode 100644
index e53546603543d..0000000000000
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/fluent/models/WordpressInstanceResourceProperties.java
+++ /dev/null
@@ -1,139 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.workloads.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.workloads.models.ApplicationProvisioningState;
-import com.azure.resourcemanager.workloads.models.WordpressVersions;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** WordPress instance properties. */
-@Fluent
-public final class WordpressInstanceResourceProperties {
- /*
- * Application version
- */
- @JsonProperty(value = "version", required = true)
- private WordpressVersions version;
-
- /*
- * Database name used by the application
- */
- @JsonProperty(value = "databaseName")
- private String databaseName;
-
- /*
- * User name used by the application to connect to database
- */
- @JsonProperty(value = "databaseUser")
- private String databaseUser;
-
- /*
- * Site Url to access the WordPress application
- */
- @JsonProperty(value = "siteUrl", access = JsonProperty.Access.WRITE_ONLY)
- private String siteUrl;
-
- /*
- * WordPress instance provisioning state
- */
- @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
- private ApplicationProvisioningState provisioningState;
-
- /**
- * Get the version property: Application version.
- *
- * @return the version value.
- */
- public WordpressVersions version() {
- return this.version;
- }
-
- /**
- * Set the version property: Application version.
- *
- * @param version the version value to set.
- * @return the WordpressInstanceResourceProperties object itself.
- */
- public WordpressInstanceResourceProperties withVersion(WordpressVersions version) {
- this.version = version;
- return this;
- }
-
- /**
- * Get the databaseName property: Database name used by the application.
- *
- * @return the databaseName value.
- */
- public String databaseName() {
- return this.databaseName;
- }
-
- /**
- * Set the databaseName property: Database name used by the application.
- *
- * @param databaseName the databaseName value to set.
- * @return the WordpressInstanceResourceProperties object itself.
- */
- public WordpressInstanceResourceProperties withDatabaseName(String databaseName) {
- this.databaseName = databaseName;
- return this;
- }
-
- /**
- * Get the databaseUser property: User name used by the application to connect to database.
- *
- * @return the databaseUser value.
- */
- public String databaseUser() {
- return this.databaseUser;
- }
-
- /**
- * Set the databaseUser property: User name used by the application to connect to database.
- *
- * @param databaseUser the databaseUser value to set.
- * @return the WordpressInstanceResourceProperties object itself.
- */
- public WordpressInstanceResourceProperties withDatabaseUser(String databaseUser) {
- this.databaseUser = databaseUser;
- return this;
- }
-
- /**
- * Get the siteUrl property: Site Url to access the WordPress application.
- *
- * @return the siteUrl value.
- */
- public String siteUrl() {
- return this.siteUrl;
- }
-
- /**
- * Get the provisioningState property: WordPress instance provisioning state.
- *
- * @return the provisioningState value.
- */
- public ApplicationProvisioningState provisioningState() {
- return this.provisioningState;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (version() == null) {
- throw LOGGER
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property version in model WordpressInstanceResourceProperties"));
- }
- }
-
- private static final ClientLogger LOGGER = new ClientLogger(WordpressInstanceResourceProperties.class);
-}
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/implementation/MonitorImpl.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/implementation/MonitorImpl.java
index 7bee86f50735d..753da3f2929f1 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/implementation/MonitorImpl.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/implementation/MonitorImpl.java
@@ -72,6 +72,10 @@ public RoutingPreference routingPreference() {
return this.innerModel().routingPreference();
}
+ public String zoneRedundancyPreference() {
+ return this.innerModel().zoneRedundancyPreference();
+ }
+
public ManagedRGConfiguration managedResourceGroupConfiguration() {
return this.innerModel().managedResourceGroupConfiguration();
}
@@ -88,6 +92,10 @@ public String msiArmId() {
return this.innerModel().msiArmId();
}
+ public String storageAccountArmId() {
+ return this.innerModel().storageAccountArmId();
+ }
+
public Region region() {
return Region.fromName(this.regionName());
}
@@ -235,6 +243,11 @@ public MonitorImpl withRoutingPreference(RoutingPreference routingPreference) {
return this;
}
+ public MonitorImpl withZoneRedundancyPreference(String zoneRedundancyPreference) {
+ this.innerModel().withZoneRedundancyPreference(zoneRedundancyPreference);
+ return this;
+ }
+
public MonitorImpl withManagedResourceGroupConfiguration(ManagedRGConfiguration managedResourceGroupConfiguration) {
this.innerModel().withManagedResourceGroupConfiguration(managedResourceGroupConfiguration);
return this;
diff --git a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/implementation/MonitorsClientImpl.java b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/implementation/MonitorsClientImpl.java
index b1e8d9c2caed9..62658a97ebf88 100644
--- a/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/implementation/MonitorsClientImpl.java
+++ b/sdk/workloads/azure-resourcemanager-workloads/src/main/java/com/azure/resourcemanager/workloads/implementation/MonitorsClientImpl.java
@@ -65,7 +65,7 @@ public final class MonitorsClientImpl implements MonitorsClient {
*/
@Host("{$host}")
@ServiceInterface(name = "WorkloadsClientMonit")
- private interface MonitorsService {
+ public interface MonitorsService {
@Headers({"Content-Type: application/json"})
@Get("/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/monitors")
@ExpectedResponses({200})
@@ -174,8 +174,10 @@ Mono> listByResourceGroupNext(
}
/**
- * 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.
+ *
+ * Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each
+ * SAP monitor.
*
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -220,8 +222,10 @@ private Mono> listSinglePageAsync() {
}
/**
- * 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.
+ *
+ * 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.
@@ -265,8 +269,10 @@ private Mono> listSinglePageAsync(Context context) {
}
/**
- * 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.
+ *
+ * Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each
+ * SAP monitor.
*
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -278,8 +284,10 @@ private PagedFlux listAsync() {
}
/**
- * 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.
+ *
+ * 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.
@@ -294,8 +302,10 @@ private PagedFlux listAsync(Context context) {
}
/**
- * 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.
+ *
+ * Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each
+ * SAP monitor.
*
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -307,8 +317,10 @@ public PagedIterable list() {
}
/**
- * 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.
+ *
+ * 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.
@@ -322,7 +334,9 @@ public PagedIterable list(Context context) {
}
/**
- * Gets a list of SAP monitors in the specified resource group.
+ * Gets a list of SAP monitors
+ *
+ * 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.
@@ -374,7 +388,9 @@ private Mono> listByResourceGroupSinglePageAsync(Str
}
/**
- * Gets a list of SAP monitors in the specified resource group.
+ * Gets a list of SAP monitors
+ *
+ * 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.
@@ -425,7 +441,9 @@ private Mono> listByResourceGroupSinglePageAsync(
}
/**
- * Gets a list of SAP monitors in the specified resource group.
+ * Gets a list of SAP monitors
+ *
+ * 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.
@@ -441,7 +459,9 @@ private PagedFlux listByResourceGroupAsync(String resourceGroupNam
}
/**
- * Gets a list of SAP monitors in the specified resource group.
+ * Gets a list of SAP monitors
+ *
+ * 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.
@@ -458,7 +478,9 @@ private PagedFlux listByResourceGroupAsync(String resourceGroupNam
}
/**
- * Gets a list of SAP monitors in the specified resource group.
+ * Gets a list of SAP monitors
+ *
+ * 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.
@@ -472,7 +494,9 @@ public PagedIterable listByResourceGroup(String resourceGroupName)
}
/**
- * Gets a list of SAP monitors in the specified resource group.
+ * Gets a list of SAP monitors
+ *
+ * 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.
@@ -487,7 +511,9 @@ public PagedIterable listByResourceGroup(String resourceGroupName,
}
/**
- * Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ * Gets properties of a SAP monitor.
+ *
+ * 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.
@@ -536,7 +562,9 @@ private Mono> getByResourceGroupWithResponseAsync(
}
/**
- * Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ * Gets properties of a SAP monitor.
+ *
+ * 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.
@@ -583,7 +611,9 @@ private Mono> getByResourceGroupWithResponseAsync(
}
/**
- * Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ * Gets properties of a SAP monitor.
+ *
+ * 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.
@@ -600,40 +630,46 @@ private Mono getByResourceGroupAsync(String resourceGroupName, Str
}
/**
- * Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ * Gets properties of a SAP monitor.
+ *
+ * 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.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ * @return properties of a SAP monitor for the specified subscription, resource group, and resource name along with
+ * {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public MonitorInner getByResourceGroup(String resourceGroupName, String monitorName) {
- return getByResourceGroupAsync(resourceGroupName, monitorName).block();
+ public Response getByResourceGroupWithResponse(
+ String resourceGroupName, String monitorName, Context context) {
+ return getByResourceGroupWithResponseAsync(resourceGroupName, monitorName, context).block();
}
/**
- * Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ * Gets properties of a SAP monitor.
+ *
+ * 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.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of a SAP monitor for the specified subscription, resource group, and resource name along with
- * {@link Response}.
+ * @return properties of a SAP monitor for the specified subscription, resource group, and resource name.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response getByResourceGroupWithResponse(
- String resourceGroupName, String monitorName, Context context) {
- return getByResourceGroupWithResponseAsync(resourceGroupName, monitorName, context).block();
+ public MonitorInner getByResourceGroup(String resourceGroupName, String monitorName) {
+ return getByResourceGroupWithResponse(resourceGroupName, monitorName, Context.NONE).getValue();
}
/**
- * Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ * Creates a SAP monitor.
+ *
+ * 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.
@@ -690,7 +726,9 @@ private Mono>> createWithResponseAsync(
}
/**
- * Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ * Creates a SAP monitor.
+ *
+ * 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.
@@ -745,7 +783,9 @@ private Mono>> createWithResponseAsync(
}
/**
- * Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ * Creates a SAP monitor.
+ *
+ * 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.
@@ -768,7 +808,9 @@ private PollerFlux