This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
+ *
+ * @param retryOptions the retry options for the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryOptions(RetryOptions retryOptions) {
+ this.retryOptions = Objects.requireNonNull(retryOptions, "'retryOptions' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the default poll interval, used when service does not provide "Retry-After" header.
+ *
+ * @param defaultPollInterval the default poll interval.
+ * @return the configurable object itself.
+ */
+ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval =
+ Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
+ if (this.defaultPollInterval.isNegative()) {
+ throw LOGGER
+ .logExceptionAsError(new IllegalArgumentException("'defaultPollInterval' cannot be negative"));
+ }
+ return this;
+ }
+
+ /**
+ * Creates an instance of Workloads service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the Workloads service API instance.
+ */
+ public WorkloadsManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+
+ StringBuilder userAgentBuilder = new StringBuilder();
+ userAgentBuilder
+ .append("azsdk-java")
+ .append("-")
+ .append("com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors")
+ .append("/")
+ .append("1.0.0-beta.1");
+ if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
+ userAgentBuilder
+ .append(" (")
+ .append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.name"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version"))
+ .append("; auto-generated)");
+ } else {
+ userAgentBuilder.append(" (auto-generated)");
+ }
+
+ if (scopes.isEmpty()) {
+ scopes.add(profile.getEnvironment().getManagementEndpoint() + "/.default");
+ }
+ if (retryPolicy == null) {
+ if (retryOptions != null) {
+ retryPolicy = new RetryPolicy(retryOptions);
+ } else {
+ retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ }
+ }
+ List Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each
+ * SAP monitor.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each
+ * SAP monitor.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable Gets a list of SAP monitors in the specified resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable Gets a list of SAP monitors in the specified resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable 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}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MonitorInner getByResourceGroup(String resourceGroupName, String monitorName);
+
+ /**
+ * 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.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of sAP monitor info on Azure (ARM properties and SAP monitor
+ * properties).
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @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 sAP monitor info on Azure (ARM properties and SAP monitor
+ * properties).
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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).
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MonitorInner create(String resourceGroupName, String monitorName, MonitorInner monitorParameter);
+
+ /**
+ * 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.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @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).
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MonitorInner create(String resourceGroupName, String monitorName, MonitorInner monitorParameter, Context context);
+
+ /**
+ * 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.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);
+
+ /**
+ * 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.
+ * @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 monitorName, Context context);
+
+ /**
+ * Patches the Tags field of a SAP monitor.
+ *
+ * Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name.
+ *
+ * @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}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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).
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MonitorInner update(String resourceGroupName, String monitorName, UpdateMonitorRequest body);
+}
diff --git a/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/OperationsClient.java b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/OperationsClient.java
new file mode 100644
index 000000000000..0deccb0387bf
--- /dev/null
+++ b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/OperationsClient.java
@@ -0,0 +1,38 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.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.workloadsmicrosoftworkloadsmonitors.fluent.models.OperationInner;
+
+/** An instance of this class provides access to all the operations defined in OperationsClient. */
+public interface OperationsClient {
+ /**
+ * Lists all the available API operations under this PR.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of REST API operations supported by an Azure Resource Provider as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of
+ * each provider instances.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of provider instances in the specified SAP monitor as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of
+ * each provider instances.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of provider instances in the specified SAP monitor as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable 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}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ProviderInstanceInner get(String resourceGroupName, String monitorName, String providerInstanceName);
+
+ /**
+ * Creates a provider instance.
+ *
+ * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @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 providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of a provider instance associated with SAP monitor.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of a provider instance associated with SAP monitor.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 provider instance associated with SAP monitor.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ProviderInstanceInner create(
+ String resourceGroupName,
+ String monitorName,
+ String providerInstanceName,
+ ProviderInstanceInner providerInstanceParameter);
+
+ /**
+ * Creates a provider instance.
+ *
+ * Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @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 providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a provider instance associated with SAP monitor.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ProviderInstanceInner create(
+ String resourceGroupName,
+ String monitorName,
+ String providerInstanceName,
+ ProviderInstanceInner providerInstanceParameter,
+ Context context);
+
+ /**
+ * Deletes a provider instance.
+ *
+ * Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @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 Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.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, String providerInstanceName);
+
+ /**
+ * 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.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String monitorName, String providerInstanceName, Context context);
+}
diff --git a/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/SapLandscapeMonitorsClient.java b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/SapLandscapeMonitorsClient.java
new file mode 100644
index 000000000000..57ccbb17916a
--- /dev/null
+++ b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/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.workloadsmicrosoftworkloadsmonitors.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.workloadsmicrosoftworkloadsmonitors.fluent.models.SapLandscapeMonitorInner;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.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 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 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 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 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 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/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/WorkloadsClient.java b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/WorkloadsClient.java
new file mode 100644
index 000000000000..5e9d1664c94f
--- /dev/null
+++ b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/WorkloadsClient.java
@@ -0,0 +1,74 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for WorkloadsClient class. */
+public interface WorkloadsClient {
+ /**
+ * Gets The ID of the target subscription.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ String getEndpoint();
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ String getApiVersion();
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ HttpPipeline getHttpPipeline();
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ Duration getDefaultPollInterval();
+
+ /**
+ * Gets the MonitorsClient object to access its operations.
+ *
+ * @return the MonitorsClient object.
+ */
+ MonitorsClient getMonitors();
+
+ /**
+ * Gets the ProviderInstancesClient object to access its operations.
+ *
+ * @return the ProviderInstancesClient object.
+ */
+ ProviderInstancesClient getProviderInstances();
+
+ /**
+ * Gets the SapLandscapeMonitorsClient object to access its operations.
+ *
+ * @return the SapLandscapeMonitorsClient object.
+ */
+ SapLandscapeMonitorsClient getSapLandscapeMonitors();
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ OperationsClient getOperations();
+}
diff --git a/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/models/MonitorInner.java b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/models/MonitorInner.java
new file mode 100644
index 000000000000..6ac09bacc3cd
--- /dev/null
+++ b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/models/MonitorInner.java
@@ -0,0 +1,291 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.ManagedRGConfiguration;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.MonitorPropertiesErrors;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.RoutingPreference;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.WorkloadMonitorProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** SAP monitor info on Azure (ARM properties and SAP monitor properties). */
+@Fluent
+public final class MonitorInner extends Resource {
+ /*
+ * The Managed service identity.
+ */
+ @JsonProperty(value = "identity")
+ private ManagedServiceIdentity identity;
+
+ /*
+ * SAP monitor properties
+ */
+ @JsonProperty(value = "properties")
+ private MonitorProperties innerProperties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of MonitorInner class. */
+ public MonitorInner() {
+ }
+
+ /**
+ * Get the identity property: The Managed service identity.
+ *
+ * @return the identity value.
+ */
+ public ManagedServiceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: The Managed service identity.
+ *
+ * @param identity the identity value to set.
+ * @return the MonitorInner object itself.
+ */
+ public MonitorInner withIdentity(ManagedServiceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the innerProperties property: SAP monitor properties.
+ *
+ * @return the innerProperties value.
+ */
+ private MonitorProperties 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;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public MonitorInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public MonitorInner withTags(Map 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"
+ */
+ @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.
+ */
+ @JsonProperty(value = "isDataAction", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean isDataAction;
+
+ /*
+ * Localized display information for this particular operation.
+ */
+ @JsonProperty(value = "display")
+ 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"
+ */
+ @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.
+ */
+ @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".
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane
+ * operations and "false" for ARM/control-plane operations.
+ *
+ * @return the isDataAction value.
+ */
+ public Boolean isDataAction() {
+ return this.isDataAction;
+ }
+
+ /**
+ * Get the display property: Localized display information for this particular operation.
+ *
+ * @return the display value.
+ */
+ public OperationDisplay display() {
+ return this.display;
+ }
+
+ /**
+ * Set the display property: Localized display information for this particular operation.
+ *
+ * @param display the display value to set.
+ * @return the OperationInner object itself.
+ */
+ public OperationInner withDisplay(OperationDisplay display) {
+ this.display = display;
+ return this;
+ }
+
+ /**
+ * Get the origin property: The intended executor of the operation; as in Resource Based Access Control (RBAC) and
+ * audit logs UX. Default value is "user,system".
+ *
+ * @return the origin value.
+ */
+ public Origin origin() {
+ return this.origin;
+ }
+
+ /**
+ * Get the actionType property: Enum. Indicates the action type. "Internal" refers to actions that are for internal
+ * only APIs.
+ *
+ * @return the actionType value.
+ */
+ public ActionType actionType() {
+ return this.actionType;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (display() != null) {
+ display().validate();
+ }
+ }
+}
diff --git a/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/models/ProviderInstanceInner.java b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/models/ProviderInstanceInner.java
new file mode 100644
index 000000000000..9395911cae9b
--- /dev/null
+++ b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/models/ProviderInstanceInner.java
@@ -0,0 +1,113 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.Health;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.ProviderInstancePropertiesErrors;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.ProviderSpecificProperties;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.WorkloadMonitorProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** A provider instance associated with SAP monitor. */
+@Fluent
+public final class ProviderInstanceInner extends ProxyResource {
+ /*
+ * Provider Instance properties
+ */
+ @JsonProperty(value = "properties")
+ private ProviderInstanceProperties 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 ProviderInstanceInner class. */
+ public ProviderInstanceInner() {
+ }
+
+ /**
+ * Get the innerProperties property: Provider Instance properties.
+ *
+ * @return the innerProperties value.
+ */
+ private ProviderInstanceProperties 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 provider instance.
+ *
+ * @return the provisioningState value.
+ */
+ public WorkloadMonitorProvisioningState provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Get the health property: Resource health details.
+ *
+ * @return the health value.
+ */
+ public Health health() {
+ return this.innerProperties() == null ? null : this.innerProperties().health();
+ }
+
+ /**
+ * Get the errors property: Defines the provider instance errors.
+ *
+ * @return the errors value.
+ */
+ public ProviderInstancePropertiesErrors errors() {
+ return this.innerProperties() == null ? null : this.innerProperties().errors();
+ }
+
+ /**
+ * Get the providerSettings property: Defines the provider specific properties.
+ *
+ * @return the providerSettings value.
+ */
+ public ProviderSpecificProperties providerSettings() {
+ return this.innerProperties() == null ? null : this.innerProperties().providerSettings();
+ }
+
+ /**
+ * Set the providerSettings property: Defines the provider specific properties.
+ *
+ * @param providerSettings the providerSettings value to set.
+ * @return the ProviderInstanceInner object itself.
+ */
+ public ProviderInstanceInner withProviderSettings(ProviderSpecificProperties providerSettings) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ProviderInstanceProperties();
+ }
+ this.innerProperties().withProviderSettings(providerSettings);
+ 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/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/models/ProviderInstanceProperties.java b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/models/ProviderInstanceProperties.java
new file mode 100644
index 000000000000..ed274f6a871b
--- /dev/null
+++ b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/models/ProviderInstanceProperties.java
@@ -0,0 +1,108 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.Health;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.ProviderInstancePropertiesErrors;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.ProviderSpecificProperties;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.WorkloadMonitorProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Describes the properties of a provider instance. */
+@Fluent
+public final class ProviderInstanceProperties {
+ /*
+ * State of provisioning of the provider instance
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private WorkloadMonitorProvisioningState provisioningState;
+
+ /*
+ * Resource health details
+ */
+ @JsonProperty(value = "health", access = JsonProperty.Access.WRITE_ONLY)
+ private Health health;
+
+ /*
+ * Defines the provider instance errors.
+ */
+ @JsonProperty(value = "errors", access = JsonProperty.Access.WRITE_ONLY)
+ private ProviderInstancePropertiesErrors errors;
+
+ /*
+ * Defines the provider specific properties.
+ */
+ @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.
+ *
+ * @return the provisioningState value.
+ */
+ public WorkloadMonitorProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the health property: Resource health details.
+ *
+ * @return the health value.
+ */
+ public Health health() {
+ return this.health;
+ }
+
+ /**
+ * Get the errors property: Defines the provider instance errors.
+ *
+ * @return the errors value.
+ */
+ public ProviderInstancePropertiesErrors errors() {
+ return this.errors;
+ }
+
+ /**
+ * Get the providerSettings property: Defines the provider specific properties.
+ *
+ * @return the providerSettings value.
+ */
+ public ProviderSpecificProperties providerSettings() {
+ return this.providerSettings;
+ }
+
+ /**
+ * Set the providerSettings property: Defines the provider specific properties.
+ *
+ * @param providerSettings the providerSettings value to set.
+ * @return the ProviderInstanceProperties object itself.
+ */
+ public ProviderInstanceProperties withProviderSettings(ProviderSpecificProperties providerSettings) {
+ this.providerSettings = providerSettings;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (health() != null) {
+ health().validate();
+ }
+ if (errors() != null) {
+ errors().validate();
+ }
+ if (providerSettings() != null) {
+ providerSettings().validate();
+ }
+ }
+}
diff --git a/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/models/SapLandscapeMonitorInner.java b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/fluent/models/SapLandscapeMonitorInner.java
new file mode 100644
index 000000000000..278fddae8eca
--- /dev/null
+++ b/sdk/workloadsmicrosoftworkloadsmonitors/azure-resourcemanager-workloadsmicrosoftworkloadsmonitors/src/main/java/com/azure/resourcemanager/workloadsmicrosoftworkloadsmonitors/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.workloadsmicrosoftworkloadsmonitors.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.SapLandscapeMonitorMetricThresholds;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.models.SapLandscapeMonitorPropertiesGrouping;
+import com.azure.resourcemanager.workloadsmicrosoftworkloadsmonitors.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 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.
+ * @return a list of SAP monitors in the specified subscription along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each
+ * SAP monitor.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified subscription along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono 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.
+ * @return a list of SAP monitors in the specified subscription as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each
+ * SAP monitor.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified subscription as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux 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.
+ * @return a list of SAP monitors in the specified subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each
+ * SAP monitor.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable Gets a list of SAP monitors in the specified resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified resource group along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Gets a list of SAP monitors in the specified resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified resource group along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Gets a list of SAP monitors in the specified resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified resource group as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux Gets a list of SAP monitors in the specified resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified resource group as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux Gets a list of SAP monitors in the specified resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable Gets a list of SAP monitors in the specified resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of SAP monitors in the specified resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @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} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono 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} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @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 on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono 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}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public MonitorInner getByResourceGroup(String resourceGroupName, String monitorName) {
+ return getByResourceGroupWithResponse(resourceGroupName, monitorName, Context.NONE).getValue();
+ }
+
+ /**
+ * 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.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @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 sAP monitor info on Azure (ARM properties and SAP monitor properties) along with {@link Response} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @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 sAP monitor info on Azure (ARM properties and SAP monitor properties) along with {@link Response} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of sAP monitor info on Azure (ARM properties and SAP monitor
+ * properties).
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @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 the {@link PollerFlux} for polling of sAP monitor info on Azure (ARM properties and SAP monitor
+ * properties).
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of sAP monitor info on Azure (ARM properties and SAP monitor
+ * properties).
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @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 the {@link SyncPoller} for polling of sAP monitor info on Azure (ARM properties and SAP monitor
+ * properties).
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @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 sAP monitor info on Azure (ARM properties and SAP monitor properties) on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @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 sAP monitor info on Azure (ARM properties and SAP monitor properties) on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Creates a SAP monitor for the specified subscription, resource group, and resource name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @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 sAP monitor info on Azure (ARM properties and SAP monitor properties).
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public MonitorInner create(String resourceGroupName, String monitorName, MonitorInner monitorParameter) {
+ return createAsync(resourceGroupName, monitorName, monitorParameter).block();
+ }
+
+ /**
+ * 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.
+ * @param monitorParameter Request body representing a SAP monitor.
+ * @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 sAP monitor info on Azure (ARM properties and SAP monitor properties).
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public MonitorInner create(
+ String resourceGroupName, String monitorName, MonitorInner monitorParameter, Context context) {
+ return createAsync(resourceGroupName, monitorName, monitorParameter, context).block();
+ }
+
+ /**
+ * 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws 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)
+ public void delete(String resourceGroupName, String monitorName) {
+ deleteAsync(resourceGroupName, monitorName).block();
+ }
+
+ /**
+ * 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.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String resourceGroupName, String monitorName, Context context) {
+ deleteAsync(resourceGroupName, monitorName, context).block();
+ }
+
+ /**
+ * 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.
+ * @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 sAP monitor info on Azure (ARM properties and SAP monitor properties) along with {@link Response} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono 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 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} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono 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.
+ * @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 sAP monitor info on Azure (ARM properties and SAP monitor properties) on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono 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 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}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response 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.
+ * @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 sAP monitor info on Azure (ARM properties and SAP monitor properties).
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public MonitorInner update(String resourceGroupName, String monitorName, UpdateMonitorRequest body) {
+ return updateWithResponse(resourceGroupName, monitorName, body, Context.NONE).getValue();
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items
+ * The nextLink parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response from the List SAP monitors operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono The nextLink parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response from the List SAP monitors operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono The nextLink parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response from the List SAP monitors operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono The nextLink parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response from the List SAP monitors operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono The nextLink parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of REST API operations supported by an Azure Resource Provider along with {@link PagedResponse} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono The nextLink parameter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of REST API operations supported by an Azure Resource Provider along with {@link PagedResponse} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of
+ * each provider instances.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of provider instances in the specified SAP monitor along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of
+ * each provider instances.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of provider instances in the specified SAP monitor along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of
+ * each provider instances.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of provider instances in the specified SAP monitor as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of
+ * each provider instances.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of provider instances in the specified SAP monitor as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of
+ * each provider instances.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of provider instances in the specified SAP monitor as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of
+ * each provider instances.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of provider instances in the specified SAP monitor as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable 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.
+ * @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 provider instance for the specified subscription, resource group, SAP monitor name, and
+ * resource name along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono 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 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} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono 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.
+ * @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 provider instance for the specified subscription, resource group, SAP monitor name, and
+ * resource name on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono 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 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}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response 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.
+ * @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 provider instance for the specified subscription, resource group, SAP monitor name, and
+ * resource name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ProviderInstanceInner get(String resourceGroupName, String monitorName, String providerInstanceName) {
+ return getWithResponse(resourceGroupName, monitorName, providerInstanceName, Context.NONE).getValue();
+ }
+
+ /**
+ * 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.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a provider instance associated with SAP monitor along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a provider instance associated with SAP monitor along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of a provider instance associated with SAP monitor.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @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 the {@link PollerFlux} for polling of a provider instance associated with SAP monitor.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of a provider instance associated with SAP monitor.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @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 the {@link SyncPoller} for polling of a provider instance associated with SAP monitor.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a provider instance associated with SAP monitor on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a provider instance associated with SAP monitor on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a provider instance associated with SAP monitor.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ProviderInstanceInner create(
+ String resourceGroupName,
+ String monitorName,
+ String providerInstanceName,
+ ProviderInstanceInner providerInstanceParameter) {
+ return createAsync(resourceGroupName, monitorName, providerInstanceName, providerInstanceParameter).block();
+ }
+
+ /**
+ * 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.
+ * @param providerInstanceName Name of the provider instance.
+ * @param providerInstanceParameter Request body representing a provider instance associated with a SAP monitor.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a provider instance associated with SAP monitor.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ProviderInstanceInner create(
+ String resourceGroupName,
+ String monitorName,
+ String providerInstanceName,
+ ProviderInstanceInner providerInstanceParameter,
+ Context context) {
+ return createAsync(resourceGroupName, monitorName, providerInstanceName, providerInstanceParameter, context)
+ .block();
+ }
+
+ /**
+ * 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.
+ * @param providerInstanceName Name of the provider instance.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @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 the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource
+ * name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param monitorName Name of the SAP monitor resource.
+ * @param providerInstanceName Name of the provider instance.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux