scopes = new ArrayList<>();
+ private RetryPolicy retryPolicy;
+ private RetryOptions retryOptions;
+ private Duration defaultPollInterval;
+
+ private Configurable() {
+ }
+
+ /**
+ * Sets the http client.
+ *
+ * @param httpClient the HTTP client.
+ * @return the configurable object itself.
+ */
+ public Configurable withHttpClient(HttpClient httpClient) {
+ this.httpClient = Objects.requireNonNull(httpClient, "'httpClient' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the logging options to the HTTP pipeline.
+ *
+ * @param httpLogOptions the HTTP log options.
+ * @return the configurable object itself.
+ */
+ public Configurable withLogOptions(HttpLogOptions httpLogOptions) {
+ this.httpLogOptions = Objects.requireNonNull(httpLogOptions, "'httpLogOptions' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Adds the pipeline policy to the HTTP pipeline.
+ *
+ * @param policy the HTTP pipeline policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withPolicy(HttpPipelinePolicy policy) {
+ this.policies.add(Objects.requireNonNull(policy, "'policy' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Adds the scope to permission sets.
+ *
+ * @param scope the scope.
+ * @return the configurable object itself.
+ */
+ public Configurable withScope(String scope) {
+ this.scopes.add(Objects.requireNonNull(scope, "'scope' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Sets the retry policy to the HTTP pipeline.
+ *
+ * @param retryPolicy the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
+ this.retryPolicy = Objects.requireNonNull(retryPolicy, "'retryPolicy' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the retry options for the HTTP pipeline retry policy.
+ *
+ * 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 Monitor service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the Monitor service API instance.
+ */
+ public MonitorManager 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.monitor.generated")
+ .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 policies = new ArrayList<>();
+ policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
+ policies.add(new AddHeadersFromContextPolicy());
+ policies.add(new RequestIdPolicy());
+ policies
+ .addAll(
+ this
+ .policies
+ .stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
+ HttpPolicyProviders.addBeforeRetryPolicies(policies);
+ policies.add(retryPolicy);
+ policies.add(new AddDatePolicy());
+ policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
+ policies
+ .addAll(
+ this
+ .policies
+ .stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
+ .collect(Collectors.toList()));
+ HttpPolicyProviders.addAfterRetryPolicies(policies);
+ policies.add(new HttpLoggingPolicy(httpLogOptions));
+ HttpPipeline httpPipeline =
+ new HttpPipelineBuilder()
+ .httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
+ return new MonitorManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /**
+ * Gets the resource collection API of AzureMonitorWorkspaces. It manages AzureMonitorWorkspaceResource.
+ *
+ * @return Resource collection API of AzureMonitorWorkspaces.
+ */
+ public AzureMonitorWorkspaces azureMonitorWorkspaces() {
+ if (this.azureMonitorWorkspaces == null) {
+ this.azureMonitorWorkspaces =
+ new AzureMonitorWorkspacesImpl(clientObject.getAzureMonitorWorkspaces(), this);
+ }
+ return azureMonitorWorkspaces;
+ }
+
+ /**
+ * Gets the resource collection API of MonitorOperations.
+ *
+ * @return Resource collection API of MonitorOperations.
+ */
+ public MonitorOperations monitorOperations() {
+ if (this.monitorOperations == null) {
+ this.monitorOperations = new MonitorOperationsImpl(clientObject.getMonitorOperations(), this);
+ }
+ return monitorOperations;
+ }
+
+ /**
+ * Gets the resource collection API of AutoscaleSettings. It manages AutoscaleSettingResource.
+ *
+ * @return Resource collection API of AutoscaleSettings.
+ */
+ public AutoscaleSettings autoscaleSettings() {
+ if (this.autoscaleSettings == null) {
+ this.autoscaleSettings = new AutoscaleSettingsImpl(clientObject.getAutoscaleSettings(), this);
+ }
+ return autoscaleSettings;
+ }
+
+ /**
+ * Gets the resource collection API of PredictiveMetrics.
+ *
+ * @return Resource collection API of PredictiveMetrics.
+ */
+ public PredictiveMetrics predictiveMetrics() {
+ if (this.predictiveMetrics == null) {
+ this.predictiveMetrics = new PredictiveMetricsImpl(clientObject.getPredictiveMetrics(), this);
+ }
+ return predictiveMetrics;
+ }
+
+ /**
+ * Gets the resource collection API of Operations.
+ *
+ * @return Resource collection API of Operations.
+ */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ }
+ return operations;
+ }
+
+ /**
+ * Gets the resource collection API of AlertRuleIncidents.
+ *
+ * @return Resource collection API of AlertRuleIncidents.
+ */
+ public AlertRuleIncidents alertRuleIncidents() {
+ if (this.alertRuleIncidents == null) {
+ this.alertRuleIncidents = new AlertRuleIncidentsImpl(clientObject.getAlertRuleIncidents(), this);
+ }
+ return alertRuleIncidents;
+ }
+
+ /**
+ * Gets the resource collection API of AlertRules. It manages AlertRuleResource.
+ *
+ * @return Resource collection API of AlertRules.
+ */
+ public AlertRules alertRules() {
+ if (this.alertRules == null) {
+ this.alertRules = new AlertRulesImpl(clientObject.getAlertRules(), this);
+ }
+ return alertRules;
+ }
+
+ /**
+ * Gets the resource collection API of LogProfiles. It manages LogProfileResource.
+ *
+ * @return Resource collection API of LogProfiles.
+ */
+ public LogProfiles logProfiles() {
+ if (this.logProfiles == null) {
+ this.logProfiles = new LogProfilesImpl(clientObject.getLogProfiles(), this);
+ }
+ return logProfiles;
+ }
+
+ /**
+ * Gets the resource collection API of DiagnosticSettingsOperations. It manages DiagnosticSettingsResource.
+ *
+ * @return Resource collection API of DiagnosticSettingsOperations.
+ */
+ public DiagnosticSettingsOperations diagnosticSettingsOperations() {
+ if (this.diagnosticSettingsOperations == null) {
+ this.diagnosticSettingsOperations =
+ new DiagnosticSettingsOperationsImpl(clientObject.getDiagnosticSettingsOperations(), this);
+ }
+ return diagnosticSettingsOperations;
+ }
+
+ /**
+ * Gets the resource collection API of DiagnosticSettingsCategories.
+ *
+ * @return Resource collection API of DiagnosticSettingsCategories.
+ */
+ public DiagnosticSettingsCategories diagnosticSettingsCategories() {
+ if (this.diagnosticSettingsCategories == null) {
+ this.diagnosticSettingsCategories =
+ new DiagnosticSettingsCategoriesImpl(clientObject.getDiagnosticSettingsCategories(), this);
+ }
+ return diagnosticSettingsCategories;
+ }
+
+ /**
+ * Gets the resource collection API of ActionGroups. It manages ActionGroupResource.
+ *
+ * @return Resource collection API of ActionGroups.
+ */
+ public ActionGroups actionGroups() {
+ if (this.actionGroups == null) {
+ this.actionGroups = new ActionGroupsImpl(clientObject.getActionGroups(), this);
+ }
+ return actionGroups;
+ }
+
+ /**
+ * Gets the resource collection API of TenantActionGroups.
+ *
+ * @return Resource collection API of TenantActionGroups.
+ */
+ public TenantActionGroups tenantActionGroups() {
+ if (this.tenantActionGroups == null) {
+ this.tenantActionGroups = new TenantActionGroupsImpl(clientObject.getTenantActionGroups(), this);
+ }
+ return tenantActionGroups;
+ }
+
+ /**
+ * Gets the resource collection API of ResourceProviders.
+ *
+ * @return Resource collection API of ResourceProviders.
+ */
+ public ResourceProviders resourceProviders() {
+ if (this.resourceProviders == null) {
+ this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
+ }
+ return resourceProviders;
+ }
+
+ /**
+ * Gets the resource collection API of ActivityLogs.
+ *
+ * @return Resource collection API of ActivityLogs.
+ */
+ public ActivityLogs activityLogs() {
+ if (this.activityLogs == null) {
+ this.activityLogs = new ActivityLogsImpl(clientObject.getActivityLogs(), this);
+ }
+ return activityLogs;
+ }
+
+ /**
+ * Gets the resource collection API of EventCategories.
+ *
+ * @return Resource collection API of EventCategories.
+ */
+ public EventCategories eventCategories() {
+ if (this.eventCategories == null) {
+ this.eventCategories = new EventCategoriesImpl(clientObject.getEventCategories(), this);
+ }
+ return eventCategories;
+ }
+
+ /**
+ * Gets the resource collection API of TenantActivityLogs.
+ *
+ * @return Resource collection API of TenantActivityLogs.
+ */
+ public TenantActivityLogs tenantActivityLogs() {
+ if (this.tenantActivityLogs == null) {
+ this.tenantActivityLogs = new TenantActivityLogsImpl(clientObject.getTenantActivityLogs(), this);
+ }
+ return tenantActivityLogs;
+ }
+
+ /**
+ * Gets the resource collection API of MetricDefinitions.
+ *
+ * @return Resource collection API of MetricDefinitions.
+ */
+ public MetricDefinitions metricDefinitions() {
+ if (this.metricDefinitions == null) {
+ this.metricDefinitions = new MetricDefinitionsImpl(clientObject.getMetricDefinitions(), this);
+ }
+ return metricDefinitions;
+ }
+
+ /**
+ * Gets the resource collection API of MetricsOperations.
+ *
+ * @return Resource collection API of MetricsOperations.
+ */
+ public MetricsOperations metricsOperations() {
+ if (this.metricsOperations == null) {
+ this.metricsOperations = new MetricsOperationsImpl(clientObject.getMetricsOperations(), this);
+ }
+ return metricsOperations;
+ }
+
+ /**
+ * Gets the resource collection API of Baselines.
+ *
+ * @return Resource collection API of Baselines.
+ */
+ public Baselines baselines() {
+ if (this.baselines == null) {
+ this.baselines = new BaselinesImpl(clientObject.getBaselines(), this);
+ }
+ return baselines;
+ }
+
+ /**
+ * Gets the resource collection API of MetricAlerts. It manages MetricAlertResource.
+ *
+ * @return Resource collection API of MetricAlerts.
+ */
+ public MetricAlerts metricAlerts() {
+ if (this.metricAlerts == null) {
+ this.metricAlerts = new MetricAlertsImpl(clientObject.getMetricAlerts(), this);
+ }
+ return metricAlerts;
+ }
+
+ /**
+ * Gets the resource collection API of MetricAlertsStatus.
+ *
+ * @return Resource collection API of MetricAlertsStatus.
+ */
+ public MetricAlertsStatus metricAlertsStatus() {
+ if (this.metricAlertsStatus == null) {
+ this.metricAlertsStatus = new MetricAlertsStatusImpl(clientObject.getMetricAlertsStatus(), this);
+ }
+ return metricAlertsStatus;
+ }
+
+ /**
+ * Gets the resource collection API of ScheduledQueryRules. It manages ScheduledQueryRuleResource.
+ *
+ * @return Resource collection API of ScheduledQueryRules.
+ */
+ public ScheduledQueryRules scheduledQueryRules() {
+ if (this.scheduledQueryRules == null) {
+ this.scheduledQueryRules = new ScheduledQueryRulesImpl(clientObject.getScheduledQueryRules(), this);
+ }
+ return scheduledQueryRules;
+ }
+
+ /**
+ * Gets the resource collection API of MetricNamespaces.
+ *
+ * @return Resource collection API of MetricNamespaces.
+ */
+ public MetricNamespaces metricNamespaces() {
+ if (this.metricNamespaces == null) {
+ this.metricNamespaces = new MetricNamespacesImpl(clientObject.getMetricNamespaces(), this);
+ }
+ return metricNamespaces;
+ }
+
+ /**
+ * Gets the resource collection API of VMInsights.
+ *
+ * @return Resource collection API of VMInsights.
+ */
+ public VMInsights vMInsights() {
+ if (this.vMInsights == null) {
+ this.vMInsights = new VMInsightsImpl(clientObject.getVMInsights(), this);
+ }
+ return vMInsights;
+ }
+
+ /**
+ * Gets the resource collection API of PrivateLinkScopes. It manages AzureMonitorPrivateLinkScope.
+ *
+ * @return Resource collection API of PrivateLinkScopes.
+ */
+ public PrivateLinkScopes privateLinkScopes() {
+ if (this.privateLinkScopes == null) {
+ this.privateLinkScopes = new PrivateLinkScopesImpl(clientObject.getPrivateLinkScopes(), this);
+ }
+ return privateLinkScopes;
+ }
+
+ /**
+ * Gets the resource collection API of PrivateLinkScopeOperationStatus.
+ *
+ * @return Resource collection API of PrivateLinkScopeOperationStatus.
+ */
+ public PrivateLinkScopeOperationStatus privateLinkScopeOperationStatus() {
+ if (this.privateLinkScopeOperationStatus == null) {
+ this.privateLinkScopeOperationStatus =
+ new PrivateLinkScopeOperationStatusImpl(clientObject.getPrivateLinkScopeOperationStatus(), this);
+ }
+ return privateLinkScopeOperationStatus;
+ }
+
+ /**
+ * Gets the resource collection API of PrivateLinkResources.
+ *
+ * @return Resource collection API of PrivateLinkResources.
+ */
+ public PrivateLinkResources privateLinkResources() {
+ if (this.privateLinkResources == null) {
+ this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this);
+ }
+ return privateLinkResources;
+ }
+
+ /**
+ * Gets the resource collection API of PrivateEndpointConnections. It manages
+ * PrivateEndpointConnectionAutoGenerated.
+ *
+ * @return Resource collection API of PrivateEndpointConnections.
+ */
+ public PrivateEndpointConnections privateEndpointConnections() {
+ if (this.privateEndpointConnections == null) {
+ this.privateEndpointConnections =
+ new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
+ }
+ return privateEndpointConnections;
+ }
+
+ /**
+ * Gets the resource collection API of PrivateLinkScopedResources. It manages ScopedResource.
+ *
+ * @return Resource collection API of PrivateLinkScopedResources.
+ */
+ public PrivateLinkScopedResources privateLinkScopedResources() {
+ if (this.privateLinkScopedResources == null) {
+ this.privateLinkScopedResources =
+ new PrivateLinkScopedResourcesImpl(clientObject.getPrivateLinkScopedResources(), this);
+ }
+ return privateLinkScopedResources;
+ }
+
+ /**
+ * Gets the resource collection API of ActivityLogAlerts. It manages ActivityLogAlertResource.
+ *
+ * @return Resource collection API of ActivityLogAlerts.
+ */
+ public ActivityLogAlerts activityLogAlerts() {
+ if (this.activityLogAlerts == null) {
+ this.activityLogAlerts = new ActivityLogAlertsImpl(clientObject.getActivityLogAlerts(), this);
+ }
+ return activityLogAlerts;
+ }
+
+ /**
+ * Gets the resource collection API of DataCollectionEndpoints. It manages DataCollectionEndpointResource.
+ *
+ * @return Resource collection API of DataCollectionEndpoints.
+ */
+ public DataCollectionEndpoints dataCollectionEndpoints() {
+ if (this.dataCollectionEndpoints == null) {
+ this.dataCollectionEndpoints =
+ new DataCollectionEndpointsImpl(clientObject.getDataCollectionEndpoints(), this);
+ }
+ return dataCollectionEndpoints;
+ }
+
+ /**
+ * Gets the resource collection API of DataCollectionRuleAssociations. It manages
+ * DataCollectionRuleAssociationProxyOnlyResource.
+ *
+ * @return Resource collection API of DataCollectionRuleAssociations.
+ */
+ public DataCollectionRuleAssociations dataCollectionRuleAssociations() {
+ if (this.dataCollectionRuleAssociations == null) {
+ this.dataCollectionRuleAssociations =
+ new DataCollectionRuleAssociationsImpl(clientObject.getDataCollectionRuleAssociations(), this);
+ }
+ return dataCollectionRuleAssociations;
+ }
+
+ /**
+ * Gets the resource collection API of DataCollectionRules. It manages DataCollectionRuleResource.
+ *
+ * @return Resource collection API of DataCollectionRules.
+ */
+ public DataCollectionRules dataCollectionRules() {
+ if (this.dataCollectionRules == null) {
+ this.dataCollectionRules = new DataCollectionRulesImpl(clientObject.getDataCollectionRules(), this);
+ }
+ return dataCollectionRules;
+ }
+
+ /**
+ * @return Wrapped service client MonitorClient providing direct access to the underlying auto-generated API
+ * implementation, based on Azure REST API.
+ */
+ public MonitorClient serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ActionGroupsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ActionGroupsClient.java
new file mode 100644
index 0000000000000..7e5f5eb711197
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ActionGroupsClient.java
@@ -0,0 +1,317 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.monitor.generated.fluent.models.ActionGroupResourceInner;
+import com.azure.resourcemanager.monitor.generated.fluent.models.TestNotificationDetailsResponseInner;
+import com.azure.resourcemanager.monitor.generated.models.ActionGroupPatchBody;
+import com.azure.resourcemanager.monitor.generated.models.EnableRequest;
+import com.azure.resourcemanager.monitor.generated.models.NotificationRequestBody;
+
+/** An instance of this class provides access to all the operations defined in ActionGroupsClient. */
+public interface ActionGroupsClient {
+ /**
+ * Create a new action group or update an existing one.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param actionGroup The action group to create or use for the update.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an action group resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName, String actionGroupName, ActionGroupResourceInner actionGroup, Context context);
+
+ /**
+ * Create a new action group or update an existing one.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param actionGroup The action group to create or use for the update.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an action group resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ActionGroupResourceInner createOrUpdate(
+ String resourceGroupName, String actionGroupName, ActionGroupResourceInner actionGroup);
+
+ /**
+ * Get an action group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an action group along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String actionGroupName, Context context);
+
+ /**
+ * Get an action group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an action group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ActionGroupResourceInner getByResourceGroup(String resourceGroupName, String actionGroupName);
+
+ /**
+ * Delete an action group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String actionGroupName, Context context);
+
+ /**
+ * Delete an action group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @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 actionGroupName);
+
+ /**
+ * Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param actionGroupPatch Parameters supplied to the operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an action group resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName, String actionGroupName, ActionGroupPatchBody actionGroupPatch, Context context);
+
+ /**
+ * Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param actionGroupPatch Parameters supplied to the operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an action group resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ActionGroupResourceInner update(
+ String resourceGroupName, String actionGroupName, ActionGroupPatchBody actionGroupPatch);
+
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param notificationRequest The notification request body which includes the contact details.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the details of the test notification results.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, TestNotificationDetailsResponseInner>
+ beginCreateNotificationsAtActionGroupResourceLevel(
+ String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest);
+
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param notificationRequest The notification request body which includes the contact details.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the details of the test notification results.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, TestNotificationDetailsResponseInner>
+ beginCreateNotificationsAtActionGroupResourceLevel(
+ String resourceGroupName,
+ String actionGroupName,
+ NotificationRequestBody notificationRequest,
+ Context context);
+
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param notificationRequest The notification request body which includes the contact details.
+ * @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 details of the test notification results.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TestNotificationDetailsResponseInner createNotificationsAtActionGroupResourceLevel(
+ String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest);
+
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param notificationRequest The notification request body which includes the contact details.
+ * @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 details of the test notification results.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TestNotificationDetailsResponseInner createNotificationsAtActionGroupResourceLevel(
+ String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest, Context context);
+
+ /**
+ * Get the test notifications by the notification id.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param notificationId The notification id.
+ * @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 test notifications by the notification id along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getTestNotificationsAtActionGroupResourceLevelWithResponse(
+ String resourceGroupName, String actionGroupName, String notificationId, Context context);
+
+ /**
+ * Get the test notifications by the notification id.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param notificationId The notification id.
+ * @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 test notifications by the notification id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TestNotificationDetailsResponseInner getTestNotificationsAtActionGroupResourceLevel(
+ String resourceGroupName, String actionGroupName, String notificationId);
+
+ /**
+ * Get a list of all action groups in a subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of all action groups in a subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Get a list of all action groups in a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of all action groups in a subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Get a list of all action groups in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of all action groups in a resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Get a list of all action groups in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of all action groups in a resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation
+ * is only supported for Email or SMS receivers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param enableRequest The receiver to re-enable.
+ * @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 com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
+ * status code 409.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response enableReceiverWithResponse(
+ String resourceGroupName, String actionGroupName, EnableRequest enableRequest, Context context);
+
+ /**
+ * Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation
+ * is only supported for Email or SMS receivers.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param actionGroupName The name of the action group.
+ * @param enableRequest The receiver to re-enable.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server on
+ * status code 409.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void enableReceiver(String resourceGroupName, String actionGroupName, EnableRequest enableRequest);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ActivityLogAlertsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ActivityLogAlertsClient.java
new file mode 100644
index 0000000000000..2069c80f72ffd
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ActivityLogAlertsClient.java
@@ -0,0 +1,191 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.ActivityLogAlertResourceInner;
+import com.azure.resourcemanager.monitor.generated.models.AlertRulePatchObject;
+
+/** An instance of this class provides access to all the operations defined in ActivityLogAlertsClient. */
+public interface ActivityLogAlertsClient {
+ /**
+ * Create a new Activity Log Alert rule or update an existing one.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
+ * @param activityLogAlertRule The Activity Log Alert rule to create or use for the update.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Activity Log Alert rule resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String activityLogAlertName,
+ ActivityLogAlertResourceInner activityLogAlertRule,
+ Context context);
+
+ /**
+ * Create a new Activity Log Alert rule or update an existing one.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
+ * @param activityLogAlertRule The Activity Log Alert rule to create or use for the update.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Activity Log Alert rule resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ActivityLogAlertResourceInner createOrUpdate(
+ String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule);
+
+ /**
+ * Get an Activity Log Alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Activity Log Alert rule along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String activityLogAlertName, Context context);
+
+ /**
+ * Get an Activity Log Alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Activity Log Alert rule.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ActivityLogAlertResourceInner getByResourceGroup(String resourceGroupName, String activityLogAlertName);
+
+ /**
+ * Delete an Activity Log Alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String activityLogAlertName, Context context);
+
+ /**
+ * Delete an Activity Log Alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
+ * @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 activityLogAlertName);
+
+ /**
+ * Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags,
+ * and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
+ * @param activityLogAlertRulePatch Parameters supplied to the operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Activity Log Alert rule resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName,
+ String activityLogAlertName,
+ AlertRulePatchObject activityLogAlertRulePatch,
+ Context context);
+
+ /**
+ * Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags,
+ * and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
+ * @param activityLogAlertRulePatch Parameters supplied to the operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Activity Log Alert rule resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ActivityLogAlertResourceInner update(
+ String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch);
+
+ /**
+ * Get a list of all Activity Log Alert rules in a subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of all Activity Log Alert rules in a subscription as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Get a list of all Activity Log Alert rules in a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of all Activity Log Alert rules in a subscription as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Get a list of all Activity Log Alert rules in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of all Activity Log Alert rules in a resource group as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Get a list of all Activity Log Alert rules in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of all Activity Log Alert rules in a resource group as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ActivityLogsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ActivityLogsClient.java
new file mode 100644
index 0000000000000..bf91ecfa86ed5
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ActivityLogsClient.java
@@ -0,0 +1,68 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.EventDataInner;
+
+/** An instance of this class provides access to all the operations defined in ActivityLogsClient. */
+public interface ActivityLogsClient {
+ /**
+ * Provides the list of records from the activity logs.
+ *
+ * @param filter Reduces the set of data collected.<br>This argument is required and it also requires at least
+ * the start date/time.<br>The **$filter** argument is very restricted and allows only the following
+ * patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge
+ * '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq
+ * 'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp ge
+ * '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq
+ * 'resourceURI'.<br>- *List events for a subscription in a time range*: $filter=eventTimestamp ge
+ * '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.<br>- *List events
+ * for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
+ * '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.<br>- *List events for a
+ * correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
+ * '2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.<br><br>**NOTE**: No other
+ * syntax is allowed.
+ * @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 represents collection of events as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String filter);
+
+ /**
+ * Provides the list of records from the activity logs.
+ *
+ * @param filter Reduces the set of data collected.<br>This argument is required and it also requires at least
+ * the start date/time.<br>The **$filter** argument is very restricted and allows only the following
+ * patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge
+ * '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq
+ * 'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp ge
+ * '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq
+ * 'resourceURI'.<br>- *List events for a subscription in a time range*: $filter=eventTimestamp ge
+ * '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.<br>- *List events
+ * for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
+ * '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.<br>- *List events for a
+ * correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
+ * '2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.<br><br>**NOTE**: No other
+ * syntax is allowed.
+ * @param select Used to fetch events with only the given properties.<br>The **$select** argument is a comma
+ * separated list of property names to be returned. Possible values are: *authorization*, *claims*,
+ * *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, *httpRequest*, *level*,
+ * *operationId*, *operationName*, *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*,
+ * *status*, *submissionTimestamp*, *subStatus*, *subscriptionId*.
+ * @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 represents collection of events as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String filter, String select, Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AlertRuleIncidentsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AlertRuleIncidentsClient.java
new file mode 100644
index 0000000000000..d3fb57ef22b81
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AlertRuleIncidentsClient.java
@@ -0,0 +1,72 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.IncidentInner;
+
+/** An instance of this class provides access to all the operations defined in AlertRuleIncidentsClient. */
+public interface AlertRuleIncidentsClient {
+ /**
+ * Gets an incident associated to an alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param incidentName The name of the incident to retrieve.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an incident associated to an alert rule along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String ruleName, String incidentName, Context context);
+
+ /**
+ * Gets an incident associated to an alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param incidentName The name of the incident to retrieve.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an incident associated to an alert rule.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ IncidentInner get(String resourceGroupName, String ruleName, String incidentName);
+
+ /**
+ * Gets a list of incidents associated to an alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 incidents associated to an alert rule as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByAlertRule(String resourceGroupName, String ruleName);
+
+ /**
+ * Gets a list of incidents associated to an alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 incidents associated to an alert rule as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByAlertRule(String resourceGroupName, String ruleName, Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AlertRulesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AlertRulesClient.java
new file mode 100644
index 0000000000000..2b913c23acf72
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AlertRulesClient.java
@@ -0,0 +1,177 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.AlertRuleResourceInner;
+import com.azure.resourcemanager.monitor.generated.models.AlertRuleResourcePatch;
+
+/** An instance of this class provides access to all the operations defined in AlertRulesClient. */
+public interface AlertRulesClient {
+ /**
+ * Creates or updates a classic metric alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param parameters The parameters of the rule to create or update.
+ * @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 alert rule resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName, String ruleName, AlertRuleResourceInner parameters, Context context);
+
+ /**
+ * Creates or updates a classic metric alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param parameters The parameters of the rule to create or update.
+ * @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 alert rule resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AlertRuleResourceInner createOrUpdate(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters);
+
+ /**
+ * Deletes a classic metric alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String ruleName, Context context);
+
+ /**
+ * Deletes a classic metric alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 ruleName);
+
+ /**
+ * Gets a classic metric alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 classic metric alert rule along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String ruleName, Context context);
+
+ /**
+ * Gets a classic metric alert rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 classic metric alert rule.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AlertRuleResourceInner getByResourceGroup(String resourceGroupName, String ruleName);
+
+ /**
+ * Updates an existing classic metric AlertRuleResource. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param alertRulesResource Parameters supplied to the operation.
+ * @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 alert rule resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource, Context context);
+
+ /**
+ * Updates an existing classic metric AlertRuleResource. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param alertRulesResource Parameters supplied to the 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 alert rule resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AlertRuleResourceInner update(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource);
+
+ /**
+ * List the classic metric alert rules within a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of alert rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List the classic metric alert rules within a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of alert rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * List the classic metric alert rules within a subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of alert rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List the classic metric alert rules within a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of alert rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AutoscaleSettingsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AutoscaleSettingsClient.java
new file mode 100644
index 0000000000000..a63e82ba0e0d4
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AutoscaleSettingsClient.java
@@ -0,0 +1,185 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.AutoscaleSettingResourceInner;
+import com.azure.resourcemanager.monitor.generated.models.AutoscaleSettingResourcePatch;
+
+/** An instance of this class provides access to all the operations defined in AutoscaleSettingsClient. */
+public interface AutoscaleSettingsClient {
+ /**
+ * Lists the autoscale settings for a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of autoscale setting resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Lists the autoscale settings for a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of autoscale setting resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Creates or updates an autoscale setting.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autoscaleSettingName The autoscale setting name.
+ * @param parameters Parameters supplied to the operation.
+ * @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 autoscale setting resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String autoscaleSettingName,
+ AutoscaleSettingResourceInner parameters,
+ Context context);
+
+ /**
+ * Creates or updates an autoscale setting.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autoscaleSettingName The autoscale setting name.
+ * @param parameters Parameters supplied to the 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 autoscale setting resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AutoscaleSettingResourceInner createOrUpdate(
+ String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourceInner parameters);
+
+ /**
+ * Deletes and autoscale setting.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autoscaleSettingName The autoscale setting name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String autoscaleSettingName, Context context);
+
+ /**
+ * Deletes and autoscale setting.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autoscaleSettingName The autoscale setting name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String autoscaleSettingName);
+
+ /**
+ * Gets an autoscale setting.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autoscaleSettingName The autoscale setting name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an autoscale setting along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String autoscaleSettingName, Context context);
+
+ /**
+ * Gets an autoscale setting.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autoscaleSettingName The autoscale setting name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an autoscale setting.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AutoscaleSettingResourceInner getByResourceGroup(String resourceGroupName, String autoscaleSettingName);
+
+ /**
+ * Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autoscaleSettingName The autoscale setting name.
+ * @param autoscaleSettingResource Parameters supplied to the operation.
+ * @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 autoscale setting resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName,
+ String autoscaleSettingName,
+ AutoscaleSettingResourcePatch autoscaleSettingResource,
+ Context context);
+
+ /**
+ * Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autoscaleSettingName The autoscale setting name.
+ * @param autoscaleSettingResource Parameters supplied to the 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 autoscale setting resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AutoscaleSettingResourceInner update(
+ String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourcePatch autoscaleSettingResource);
+
+ /**
+ * Lists the autoscale settings for a subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of autoscale setting resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists the autoscale settings for a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of autoscale setting resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AzureMonitorWorkspacesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AzureMonitorWorkspacesClient.java
new file mode 100644
index 0000000000000..10c0c28c099d6
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/AzureMonitorWorkspacesClient.java
@@ -0,0 +1,214 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.monitor.generated.fluent.models.AzureMonitorWorkspaceResourceInner;
+import com.azure.resourcemanager.monitor.generated.models.AzureMonitorWorkspaceResourceForUpdate;
+
+/** An instance of this class provides access to all the operations defined in AzureMonitorWorkspacesClient. */
+public interface AzureMonitorWorkspacesClient {
+ /**
+ * Lists all workspaces 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Lists all workspaces 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Lists all workspaces in the specified subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists all workspaces in the specified subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Returns the specific Azure Monitor workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. 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 an Azure Monitor Workspace definition along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String azureMonitorWorkspaceName, Context context);
+
+ /**
+ * Returns the specific Azure Monitor workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. 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 an Azure Monitor Workspace definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AzureMonitorWorkspaceResourceInner getByResourceGroup(String resourceGroupName, String azureMonitorWorkspaceName);
+
+ /**
+ * Create or update a workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. The name is case insensitive.
+ * @param azureMonitorWorkspaceProperties Properties that need to be specified to create a new workspace.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Azure Monitor Workspace definition along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createWithResponse(
+ String resourceGroupName,
+ String azureMonitorWorkspaceName,
+ AzureMonitorWorkspaceResourceInner azureMonitorWorkspaceProperties,
+ Context context);
+
+ /**
+ * Create or update a workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. The name is case insensitive.
+ * @param azureMonitorWorkspaceProperties Properties that need to be specified to create a new workspace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Azure Monitor Workspace definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AzureMonitorWorkspaceResourceInner create(
+ String resourceGroupName,
+ String azureMonitorWorkspaceName,
+ AzureMonitorWorkspaceResourceInner azureMonitorWorkspaceProperties);
+
+ /**
+ * Updates part of a workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. The name is case insensitive.
+ * @param azureMonitorWorkspaceProperties The payload.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Azure Monitor Workspace definition along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName,
+ String azureMonitorWorkspaceName,
+ AzureMonitorWorkspaceResourceForUpdate azureMonitorWorkspaceProperties,
+ Context context);
+
+ /**
+ * Updates part of a workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. 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 an Azure Monitor Workspace definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AzureMonitorWorkspaceResourceInner update(String resourceGroupName, String azureMonitorWorkspaceName);
+
+ /**
+ * Delete a workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. 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 the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String azureMonitorWorkspaceName);
+
+ /**
+ * Delete a workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. 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 the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String azureMonitorWorkspaceName, Context context);
+
+ /**
+ * Delete a workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String azureMonitorWorkspaceName);
+
+ /**
+ * Delete a workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String azureMonitorWorkspaceName, Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/BaselinesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/BaselinesClient.java
new file mode 100644
index 0000000000000..f7c89c4823316
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/BaselinesClient.java
@@ -0,0 +1,70 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.SingleMetricBaselineInner;
+import com.azure.resourcemanager.monitor.generated.models.ResultType;
+import java.time.Duration;
+
+/** An instance of this class provides access to all the operations defined in BaselinesClient. */
+public interface BaselinesClient {
+ /**
+ * **Lists the metric baseline values for a resource**.
+ *
+ * @param resourceUri The identifier of the 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 metric baselines as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceUri);
+
+ /**
+ * **Lists the metric baseline values for a resource**.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param metricnames The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself
+ * has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'**.
+ * @param metricnamespace Metric namespace to query metric definitions for.
+ * @param timespan The timespan of the query. It is a string with the following format
+ * 'startDateTime_ISO/endDateTime_ISO'.
+ * @param interval The interval (i.e. timegrain) of the query.
+ * @param aggregation The list of aggregation types (comma separated) to retrieve.
+ * @param sensitivities The list of sensitivities (comma separated) to retrieve.
+ * @param filter The **$filter** is used to reduce the set of metric data returned. Example: Metric contains
+ * metadata A, B and C. - Return all time series of C where A = a1 and B = b1 or b2 **$filter=A eq 'a1' and B eq
+ * 'b1' or B eq 'b2' and C eq '*'** - Invalid variant: **$filter=A eq 'a1' and B eq 'b1' and C eq '*' or B =
+ * 'b2'** This is invalid because the logical or operator cannot separate two different metadata names. - Return
+ * all time series where A = a1, B = b1 and C = c1: **$filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** - Return
+ * all time series where A = a1 **$filter=A eq 'a1' and B eq '*' and C eq '*'**. Special case: When dimension
+ * name or dimension value uses round brackets. Eg: When dimension name is **dim (test) 1** Instead of using
+ * $filter= "dim (test) 1 eq '*' " use **$filter= "dim %2528test%2529 1 eq '*' "** When dimension name is **dim
+ * (test) 3** and dimension value is **dim3 (test) val** Instead of using $filter= "dim (test) 3 eq 'dim3 (test)
+ * val' " use **$filter= "dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' "**.
+ * @param resultType Allows retrieving only metadata of the baseline. On data request all information is retrieved.
+ * @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 metric baselines as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceUri,
+ String metricnames,
+ String metricnamespace,
+ String timespan,
+ Duration interval,
+ String aggregation,
+ String sensitivities,
+ String filter,
+ ResultType resultType,
+ Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DataCollectionEndpointsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DataCollectionEndpointsClient.java
new file mode 100644
index 0000000000000..a41b0bbfc2479
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DataCollectionEndpointsClient.java
@@ -0,0 +1,178 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.DataCollectionEndpointResourceInner;
+import com.azure.resourcemanager.monitor.generated.models.ResourceForUpdate;
+
+/** An instance of this class provides access to all the operations defined in DataCollectionEndpointsClient. */
+public interface DataCollectionEndpointsClient {
+ /**
+ * Lists all data collection endpoints 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Lists all data collection endpoints 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Lists all data collection endpoints in the specified subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists all data collection endpoints in the specified subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Returns the specified data collection endpoint.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionEndpointName The name of the data collection endpoint. 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 definition of ARM tracked top level resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String dataCollectionEndpointName, Context context);
+
+ /**
+ * Returns the specified data collection endpoint.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionEndpointName The name of the data collection endpoint. 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 definition of ARM tracked top level resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataCollectionEndpointResourceInner getByResourceGroup(String resourceGroupName, String dataCollectionEndpointName);
+
+ /**
+ * Creates or updates a data collection endpoint.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionEndpointName The name of the data collection endpoint. The name is case insensitive.
+ * @param body The payload.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return definition of ARM tracked top level resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createWithResponse(
+ String resourceGroupName,
+ String dataCollectionEndpointName,
+ DataCollectionEndpointResourceInner body,
+ Context context);
+
+ /**
+ * Creates or updates a data collection endpoint.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionEndpointName The name of the data collection endpoint. 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 definition of ARM tracked top level resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataCollectionEndpointResourceInner create(String resourceGroupName, String dataCollectionEndpointName);
+
+ /**
+ * Updates part of a data collection endpoint.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionEndpointName The name of the data collection endpoint. The name is case insensitive.
+ * @param body The payload.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return definition of ARM tracked top level resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName, String dataCollectionEndpointName, ResourceForUpdate body, Context context);
+
+ /**
+ * Updates part of a data collection endpoint.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionEndpointName The name of the data collection endpoint. 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 definition of ARM tracked top level resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataCollectionEndpointResourceInner update(String resourceGroupName, String dataCollectionEndpointName);
+
+ /**
+ * Deletes a data collection endpoint.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionEndpointName The name of the data collection endpoint. 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 the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String dataCollectionEndpointName, Context context);
+
+ /**
+ * Deletes a data collection endpoint.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionEndpointName The name of the data collection endpoint. 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String dataCollectionEndpointName);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DataCollectionRuleAssociationsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DataCollectionRuleAssociationsClient.java
new file mode 100644
index 0000000000000..7d789f9cb745e
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DataCollectionRuleAssociationsClient.java
@@ -0,0 +1,185 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.DataCollectionRuleAssociationProxyOnlyResourceInner;
+
+/** An instance of this class provides access to all the operations defined in DataCollectionRuleAssociationsClient. */
+public interface DataCollectionRuleAssociationsClient {
+ /**
+ * Lists associations for the specified resource.
+ *
+ * @param resourceUri The identifier of the 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResource(String resourceUri);
+
+ /**
+ * Lists associations for the specified resource.
+ *
+ * @param resourceUri The identifier of the 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResource(
+ String resourceUri, Context context);
+
+ /**
+ * Lists associations for the specified data collection rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionRuleName The name of the data collection rule. 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByRule(
+ String resourceGroupName, String dataCollectionRuleName);
+
+ /**
+ * Lists associations for the specified data collection rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionRuleName The name of the data collection rule. 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByRule(
+ String resourceGroupName, String dataCollectionRuleName, Context context);
+
+ /**
+ * Lists associations for the specified data collection endpoint.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionEndpointName The name of the data collection endpoint. 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByDataCollectionEndpoint(
+ String resourceGroupName, String dataCollectionEndpointName);
+
+ /**
+ * Lists associations for the specified data collection endpoint.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionEndpointName The name of the data collection endpoint. 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByDataCollectionEndpoint(
+ String resourceGroupName, String dataCollectionEndpointName, Context context);
+
+ /**
+ * Returns the specified association.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param associationName The name of the association. 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 definition of generic ARM proxy resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceUri, String associationName, Context context);
+
+ /**
+ * Returns the specified association.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param associationName The name of the association. 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 definition of generic ARM proxy resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataCollectionRuleAssociationProxyOnlyResourceInner get(String resourceUri, String associationName);
+
+ /**
+ * Creates or updates an association.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param associationName The name of the association. The name is case insensitive.
+ * @param body The payload.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return definition of generic ARM proxy resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createWithResponse(
+ String resourceUri,
+ String associationName,
+ DataCollectionRuleAssociationProxyOnlyResourceInner body,
+ Context context);
+
+ /**
+ * Creates or updates an association.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param associationName The name of the association. 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 definition of generic ARM proxy resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataCollectionRuleAssociationProxyOnlyResourceInner create(String resourceUri, String associationName);
+
+ /**
+ * Deletes an association.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param associationName The name of the association. 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 the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceUri, String associationName, Context context);
+
+ /**
+ * Deletes an association.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param associationName The name of the association. 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceUri, String associationName);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DataCollectionRulesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DataCollectionRulesClient.java
new file mode 100644
index 0000000000000..6d9c53ad53d7b
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DataCollectionRulesClient.java
@@ -0,0 +1,175 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.DataCollectionRuleResourceInner;
+import com.azure.resourcemanager.monitor.generated.models.ResourceForUpdate;
+
+/** An instance of this class provides access to all the operations defined in DataCollectionRulesClient. */
+public interface DataCollectionRulesClient {
+ /**
+ * Lists all data collection rules 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Lists all data collection rules 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 pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Lists all data collection rules in the specified subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists all data collection rules in the specified subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a pageable list of resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Returns the specified data collection rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionRuleName The name of the data collection rule. 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 definition of ARM tracked top level resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String dataCollectionRuleName, Context context);
+
+ /**
+ * Returns the specified data collection rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionRuleName The name of the data collection rule. 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 definition of ARM tracked top level resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataCollectionRuleResourceInner getByResourceGroup(String resourceGroupName, String dataCollectionRuleName);
+
+ /**
+ * Creates or updates a data collection rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionRuleName The name of the data collection rule. The name is case insensitive.
+ * @param body The payload.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return definition of ARM tracked top level resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createWithResponse(
+ String resourceGroupName, String dataCollectionRuleName, DataCollectionRuleResourceInner body, Context context);
+
+ /**
+ * Creates or updates a data collection rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionRuleName The name of the data collection rule. 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 definition of ARM tracked top level resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataCollectionRuleResourceInner create(String resourceGroupName, String dataCollectionRuleName);
+
+ /**
+ * Updates part of a data collection rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionRuleName The name of the data collection rule. The name is case insensitive.
+ * @param body The payload.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return definition of ARM tracked top level resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName, String dataCollectionRuleName, ResourceForUpdate body, Context context);
+
+ /**
+ * Updates part of a data collection rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionRuleName The name of the data collection rule. 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 definition of ARM tracked top level resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataCollectionRuleResourceInner update(String resourceGroupName, String dataCollectionRuleName);
+
+ /**
+ * Deletes a data collection rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionRuleName The name of the data collection rule. 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 the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String dataCollectionRuleName, Context context);
+
+ /**
+ * Deletes a data collection rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param dataCollectionRuleName The name of the data collection rule. 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String dataCollectionRuleName);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DiagnosticSettingsCategoriesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DiagnosticSettingsCategoriesClient.java
new file mode 100644
index 0000000000000..b0a501b7418cc
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DiagnosticSettingsCategoriesClient.java
@@ -0,0 +1,69 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.DiagnosticSettingsCategoryResourceInner;
+
+/** An instance of this class provides access to all the operations defined in DiagnosticSettingsCategoriesClient. */
+public interface DiagnosticSettingsCategoriesClient {
+ /**
+ * Gets the diagnostic settings category for the specified resource.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param name The name of the diagnostic setting.
+ * @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 diagnostic settings category for the specified resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceUri, String name, Context context);
+
+ /**
+ * Gets the diagnostic settings category for the specified resource.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param name The name of the diagnostic setting.
+ * @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 diagnostic settings category for the specified resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DiagnosticSettingsCategoryResourceInner get(String resourceUri, String name);
+
+ /**
+ * Lists the diagnostic settings categories for the specified resource.
+ *
+ * @param resourceUri The identifier of the 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 represents a collection of diagnostic setting category resources as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceUri);
+
+ /**
+ * Lists the diagnostic settings categories for the specified resource.
+ *
+ * @param resourceUri The identifier of the 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 represents a collection of diagnostic setting category resources as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceUri, Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DiagnosticSettingsOperationsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DiagnosticSettingsOperationsClient.java
new file mode 100644
index 0000000000000..ce21a5c36b592
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DiagnosticSettingsOperationsClient.java
@@ -0,0 +1,126 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.DiagnosticSettingsResourceInner;
+
+/** An instance of this class provides access to all the operations defined in DiagnosticSettingsOperationsClient. */
+public interface DiagnosticSettingsOperationsClient {
+ /**
+ * Gets the active diagnostic settings for the specified resource.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param name The name of the diagnostic setting.
+ * @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 active diagnostic settings for the specified resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceUri, String name, Context context);
+
+ /**
+ * Gets the active diagnostic settings for the specified resource.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param name The name of the diagnostic setting.
+ * @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 active diagnostic settings for the specified resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DiagnosticSettingsResourceInner get(String resourceUri, String name);
+
+ /**
+ * Creates or updates diagnostic settings for the specified resource.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param name The name of the diagnostic setting.
+ * @param parameters Parameters supplied to the operation.
+ * @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 diagnostic setting resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceUri, String name, DiagnosticSettingsResourceInner parameters, Context context);
+
+ /**
+ * Creates or updates diagnostic settings for the specified resource.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param name The name of the diagnostic setting.
+ * @param parameters Parameters supplied to the 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 diagnostic setting resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DiagnosticSettingsResourceInner createOrUpdate(
+ String resourceUri, String name, DiagnosticSettingsResourceInner parameters);
+
+ /**
+ * Deletes existing diagnostic settings for the specified resource.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param name The name of the diagnostic setting.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceUri, String name, Context context);
+
+ /**
+ * Deletes existing diagnostic settings for the specified resource.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param name The name of the diagnostic setting.
+ * @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 resourceUri, String name);
+
+ /**
+ * Gets the active diagnostic settings list for the specified resource.
+ *
+ * @param resourceUri The identifier of the 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 active diagnostic settings list for the specified resource as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceUri);
+
+ /**
+ * Gets the active diagnostic settings list for the specified resource.
+ *
+ * @param resourceUri The identifier of the 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 active diagnostic settings list for the specified resource as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceUri, Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/EventCategoriesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/EventCategoriesClient.java
new file mode 100644
index 0000000000000..ab97dcb9521af
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/EventCategoriesClient.java
@@ -0,0 +1,42 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.LocalizableStringInner;
+
+/** An instance of this class provides access to all the operations defined in EventCategoriesClient. */
+public interface EventCategoriesClient {
+ /**
+ * Get the list of available event categories supported in the Activity Logs Service.<br>The current list
+ * includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
+ *
+ * @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 list of available event categories supported in the Activity Logs Service.<br>The current list
+ * includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy as paginated
+ * response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Get the list of available event categories supported in the Activity Logs Service.<br>The current list
+ * includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
+ *
+ * @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 list of available event categories supported in the Activity Logs Service.<br>The current list
+ * includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy as paginated
+ * response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/LogProfilesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/LogProfilesClient.java
new file mode 100644
index 0000000000000..338668e6dffe4
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/LogProfilesClient.java
@@ -0,0 +1,143 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.LogProfileResourceInner;
+import com.azure.resourcemanager.monitor.generated.models.LogProfileResourcePatch;
+
+/** An instance of this class provides access to all the operations defined in LogProfilesClient. */
+public interface LogProfilesClient {
+ /**
+ * Deletes the log profile.
+ *
+ * @param logProfileName The name of the log profile.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String logProfileName, Context context);
+
+ /**
+ * Deletes the log profile.
+ *
+ * @param logProfileName The name of the log profile.
+ * @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 logProfileName);
+
+ /**
+ * Gets the log profile.
+ *
+ * @param logProfileName The name of the log profile.
+ * @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 log profile along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String logProfileName, Context context);
+
+ /**
+ * Gets the log profile.
+ *
+ * @param logProfileName The name of the log profile.
+ * @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 log profile.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LogProfileResourceInner get(String logProfileName);
+
+ /**
+ * Create or update a log profile in Azure Monitoring REST API.
+ *
+ * @param logProfileName The name of the log profile.
+ * @param parameters Parameters supplied to the operation.
+ * @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 log profile resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String logProfileName, LogProfileResourceInner parameters, Context context);
+
+ /**
+ * Create or update a log profile in Azure Monitoring REST API.
+ *
+ * @param logProfileName The name of the log profile.
+ * @param parameters Parameters supplied to the 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 log profile resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LogProfileResourceInner createOrUpdate(String logProfileName, LogProfileResourceInner parameters);
+
+ /**
+ * Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.
+ *
+ * @param logProfileName The name of the log profile.
+ * @param logProfilesResource Parameters supplied to the operation.
+ * @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 log profile resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String logProfileName, LogProfileResourcePatch logProfilesResource, Context context);
+
+ /**
+ * Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.
+ *
+ * @param logProfileName The name of the log profile.
+ * @param logProfilesResource Parameters supplied to the 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 log profile resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LogProfileResourceInner update(String logProfileName, LogProfileResourcePatch logProfilesResource);
+
+ /**
+ * List the log profiles.
+ *
+ * @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 represents a collection of log profiles as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List the log profiles.
+ *
+ * @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 represents a collection of log profiles as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricAlertsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricAlertsClient.java
new file mode 100644
index 0000000000000..14f9f51b0ba9e
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricAlertsClient.java
@@ -0,0 +1,178 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.MetricAlertResourceInner;
+import com.azure.resourcemanager.monitor.generated.models.MetricAlertResourcePatch;
+
+/** An instance of this class provides access to all the operations defined in MetricAlertsClient. */
+public interface MetricAlertsClient {
+ /**
+ * Retrieve alert rule definitions in a subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of alert rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Retrieve alert rule definitions in a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of alert rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Retrieve alert rule definitions in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of alert rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Retrieve alert rule definitions in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of alert rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Retrieve an alert rule definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 metric alert resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String ruleName, Context context);
+
+ /**
+ * Retrieve an alert rule definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 metric alert resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MetricAlertResourceInner getByResourceGroup(String resourceGroupName, String ruleName);
+
+ /**
+ * Create or update an metric alert definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param parameters The parameters of the rule to create or update.
+ * @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 metric alert resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName, String ruleName, MetricAlertResourceInner parameters, Context context);
+
+ /**
+ * Create or update an metric alert definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param parameters The parameters of the rule to create or update.
+ * @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 metric alert resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MetricAlertResourceInner createOrUpdate(
+ String resourceGroupName, String ruleName, MetricAlertResourceInner parameters);
+
+ /**
+ * Update an metric alert definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param parameters The parameters of the rule to update.
+ * @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 metric alert resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName, String ruleName, MetricAlertResourcePatch parameters, Context context);
+
+ /**
+ * Update an metric alert definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param parameters The parameters of the rule to update.
+ * @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 metric alert resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MetricAlertResourceInner update(String resourceGroupName, String ruleName, MetricAlertResourcePatch parameters);
+
+ /**
+ * Delete an alert rule definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String ruleName, Context context);
+
+ /**
+ * Delete an alert rule definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 ruleName);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricAlertsStatusClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricAlertsStatusClient.java
new file mode 100644
index 0000000000000..d92db8fe26b1a
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricAlertsStatusClient.java
@@ -0,0 +1,72 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.MetricAlertStatusCollectionInner;
+
+/** An instance of this class provides access to all the operations defined in MetricAlertsStatusClient. */
+public interface MetricAlertsStatusClient {
+ /**
+ * Retrieve an alert rule status.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 represents a collection of alert rule resources along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWithResponse(
+ String resourceGroupName, String ruleName, Context context);
+
+ /**
+ * Retrieve an alert rule status.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 represents a collection of alert rule resources.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MetricAlertStatusCollectionInner list(String resourceGroupName, String ruleName);
+
+ /**
+ * Retrieve an alert rule status.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param statusName The name of the status.
+ * @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 represents a collection of alert rule resources along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listByNameWithResponse(
+ String resourceGroupName, String ruleName, String statusName, Context context);
+
+ /**
+ * Retrieve an alert rule status.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param statusName The name of the status.
+ * @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 represents a collection of alert rule resources.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MetricAlertStatusCollectionInner listByName(String resourceGroupName, String ruleName, String statusName);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricDefinitionsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricDefinitionsClient.java
new file mode 100644
index 0000000000000..4c4dd94fb969b
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricDefinitionsClient.java
@@ -0,0 +1,68 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.MetricDefinitionInner;
+import com.azure.resourcemanager.monitor.generated.fluent.models.SubscriptionScopeMetricDefinitionInner;
+
+/** An instance of this class provides access to all the operations defined in MetricDefinitionsClient. */
+public interface MetricDefinitionsClient {
+ /**
+ * Lists the metric definitions for the subscription.
+ *
+ * @param region The region where the metrics you want reside.
+ * @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 represents collection of metric definitions as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listAtSubscriptionScope(String region);
+
+ /**
+ * Lists the metric definitions for the subscription.
+ *
+ * @param region The region where the metrics you want reside.
+ * @param metricnamespace Metric namespace where the metrics you want reside.
+ * @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 represents collection of metric definitions as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listAtSubscriptionScope(
+ String region, String metricnamespace, Context context);
+
+ /**
+ * Lists the metric definitions for the resource.
+ *
+ * @param resourceUri The identifier of the 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 represents collection of metric definitions as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceUri);
+
+ /**
+ * Lists the metric definitions for the resource.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param metricnamespace Metric namespace where the metrics you want reside.
+ * @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 represents collection of metric definitions as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceUri, String metricnamespace, Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricNamespacesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricNamespacesClient.java
new file mode 100644
index 0000000000000..924ab3f34e5f6
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricNamespacesClient.java
@@ -0,0 +1,40 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.MetricNamespaceInner;
+
+/** An instance of this class provides access to all the operations defined in MetricNamespacesClient. */
+public interface MetricNamespacesClient {
+ /**
+ * Lists the metric namespaces for the resource.
+ *
+ * @param resourceUri The identifier of the 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 represents collection of metric namespaces as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceUri);
+
+ /**
+ * Lists the metric namespaces for the resource.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param startTime The ISO 8601 conform Date start time from which to query for metric namespaces.
+ * @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 represents collection of metric namespaces as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceUri, String startTime, Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricsOperationsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricsOperationsClient.java
new file mode 100644
index 0000000000000..05a8c9740764b
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricsOperationsClient.java
@@ -0,0 +1,207 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.ResponseInner;
+import com.azure.resourcemanager.monitor.generated.fluent.models.SubscriptionScopeMetricResponseInner;
+import com.azure.resourcemanager.monitor.generated.models.MetricResultType;
+import com.azure.resourcemanager.monitor.generated.models.ResultType;
+import com.azure.resourcemanager.monitor.generated.models.SubscriptionScopeMetricsRequestBodyParameters;
+import java.time.Duration;
+
+/** An instance of this class provides access to all the operations defined in MetricsOperationsClient. */
+public interface MetricsOperationsClient {
+ /**
+ * **Lists the metric data for a subscription**.
+ *
+ * @param region The region where the metrics you want reside.
+ * @param timespan The timespan of the query. It is a string with the following format
+ * 'startDateTime_ISO/endDateTime_ISO'.
+ * @param interval The interval (i.e. timegrain) of the query.
+ * @param metricnames The names of the metrics (comma separated) to retrieve.
+ * @param aggregation The list of aggregation types (comma separated) to retrieve.
+ * @param top The maximum number of records to retrieve. Valid only if $filter is specified. Defaults to 10.
+ * @param orderBy The aggregation to use for sorting results and the direction of the sort. Only one order can be
+ * specified. Examples: sum asc.
+ * @param filter The **$filter** is used to reduce the set of metric data
+ * returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series
+ * of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq
+ * ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B =
+ * ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata
+ * names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B
+ * eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq
+ * ‘*’ and C eq ‘*’**.
+ * @param resultType Reduces the set of data collected. The syntax allowed depends on the operation. See the
+ * operation's description for details.
+ * @param metricnamespace Metric namespace where the metrics you want reside.
+ * @param autoAdjustTimegrain When set to true, if the timespan passed in is not supported by this metric, the API
+ * will return the result using the closest supported timespan. When set to false, an error is returned for
+ * invalid timespan parameters. Defaults to false.
+ * @param validateDimensions When set to false, invalid filter parameter values will be ignored. When set to true,
+ * an error is returned for invalid filter parameters. Defaults to true.
+ * @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 response to a subscription scope metrics query along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listAtSubscriptionScopeWithResponse(
+ String region,
+ String timespan,
+ Duration interval,
+ String metricnames,
+ String aggregation,
+ Integer top,
+ String orderBy,
+ String filter,
+ MetricResultType resultType,
+ String metricnamespace,
+ Boolean autoAdjustTimegrain,
+ Boolean validateDimensions,
+ Context context);
+
+ /**
+ * **Lists the metric data for a subscription**.
+ *
+ * @param region The region where the metrics you want reside.
+ * @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 response to a subscription scope metrics query.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SubscriptionScopeMetricResponseInner listAtSubscriptionScope(String region);
+
+ /**
+ * **Lists the metric data for a subscription**. Parameters can be specified on either query params or the body.
+ *
+ * @param region The region where the metrics you want reside.
+ * @param timespan The timespan of the query. It is a string with the following format
+ * 'startDateTime_ISO/endDateTime_ISO'.
+ * @param interval The interval (i.e. timegrain) of the query.
+ * @param metricnames The names of the metrics (comma separated) to retrieve.
+ * @param aggregation The list of aggregation types (comma separated) to retrieve.
+ * @param top The maximum number of records to retrieve. Valid only if $filter is specified. Defaults to 10.
+ * @param orderBy The aggregation to use for sorting results and the direction of the sort. Only one order can be
+ * specified. Examples: sum asc.
+ * @param filter The **$filter** is used to reduce the set of metric data
+ * returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series
+ * of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq
+ * ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B =
+ * ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata
+ * names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B
+ * eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq
+ * ‘*’ and C eq ‘*’**.
+ * @param resultType Reduces the set of data collected. The syntax allowed depends on the operation. See the
+ * operation's description for details.
+ * @param metricnamespace Metric namespace where the metrics you want reside.
+ * @param autoAdjustTimegrain When set to true, if the timespan passed in is not supported by this metric, the API
+ * will return the result using the closest supported timespan. When set to false, an error is returned for
+ * invalid timespan parameters. Defaults to false.
+ * @param validateDimensions When set to false, invalid filter parameter values will be ignored. When set to true,
+ * an error is returned for invalid filter parameters. Defaults to true.
+ * @param body Parameters serialized in the body.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response to a subscription scope metrics query along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listAtSubscriptionScopePostWithResponse(
+ String region,
+ String timespan,
+ Duration interval,
+ String metricnames,
+ String aggregation,
+ Integer top,
+ String orderBy,
+ String filter,
+ MetricResultType resultType,
+ String metricnamespace,
+ Boolean autoAdjustTimegrain,
+ Boolean validateDimensions,
+ SubscriptionScopeMetricsRequestBodyParameters body,
+ Context context);
+
+ /**
+ * **Lists the metric data for a subscription**. Parameters can be specified on either query params or the body.
+ *
+ * @param region The region where the metrics you want reside.
+ * @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 response to a subscription scope metrics query.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SubscriptionScopeMetricResponseInner listAtSubscriptionScopePost(String region);
+
+ /**
+ * **Lists the metric values for a resource**.
+ *
+ * @param resourceUri The identifier of the resource.
+ * @param timespan The timespan of the query. It is a string with the following format
+ * 'startDateTime_ISO/endDateTime_ISO'.
+ * @param interval The interval (i.e. timegrain) of the query.
+ * @param metricnames The names of the metrics (comma separated) to retrieve.
+ * @param aggregation The list of aggregation types (comma separated) to retrieve.
+ * @param top The maximum number of records to retrieve. Valid only if $filter is specified. Defaults to 10.
+ * @param orderBy The aggregation to use for sorting results and the direction of the sort. Only one order can be
+ * specified. Examples: sum asc.
+ * @param filter The **$filter** is used to reduce the set of metric data
+ * returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series
+ * of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq
+ * ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B =
+ * ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata
+ * names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B
+ * eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq
+ * ‘*’ and C eq ‘*’**.
+ * @param resultType Reduces the set of data collected. The syntax allowed depends on the operation. See the
+ * operation's description for details.
+ * @param metricnamespace Metric namespace where the metrics you want reside.
+ * @param autoAdjustTimegrain When set to true, if the timespan passed in is not supported by this metric, the API
+ * will return the result using the closest supported timespan. When set to false, an error is returned for
+ * invalid timespan parameters. Defaults to false.
+ * @param validateDimensions When set to false, invalid filter parameter values will be ignored. When set to true,
+ * an error is returned for invalid filter parameters. Defaults to true.
+ * @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 response to a metrics query along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWithResponse(
+ String resourceUri,
+ String timespan,
+ Duration interval,
+ String metricnames,
+ String aggregation,
+ Integer top,
+ String orderBy,
+ String filter,
+ ResultType resultType,
+ String metricnamespace,
+ Boolean autoAdjustTimegrain,
+ Boolean validateDimensions,
+ Context context);
+
+ /**
+ * **Lists the metric values for a resource**.
+ *
+ * @param resourceUri The identifier of the 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 response to a metrics query.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ResponseInner list(String resourceUri);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MonitorClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MonitorClient.java
new file mode 100644
index 0000000000000..10c5b0ec7887e
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MonitorClient.java
@@ -0,0 +1,270 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for MonitorClient class. */
+public interface MonitorClient {
+ /**
+ * Gets The ID of the target subscription.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ String getEndpoint();
+
+ /**
+ * 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 AzureMonitorWorkspacesClient object to access its operations.
+ *
+ * @return the AzureMonitorWorkspacesClient object.
+ */
+ AzureMonitorWorkspacesClient getAzureMonitorWorkspaces();
+
+ /**
+ * Gets the MonitorOperationsClient object to access its operations.
+ *
+ * @return the MonitorOperationsClient object.
+ */
+ MonitorOperationsClient getMonitorOperations();
+
+ /**
+ * Gets the AutoscaleSettingsClient object to access its operations.
+ *
+ * @return the AutoscaleSettingsClient object.
+ */
+ AutoscaleSettingsClient getAutoscaleSettings();
+
+ /**
+ * Gets the PredictiveMetricsClient object to access its operations.
+ *
+ * @return the PredictiveMetricsClient object.
+ */
+ PredictiveMetricsClient getPredictiveMetrics();
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ OperationsClient getOperations();
+
+ /**
+ * Gets the AlertRuleIncidentsClient object to access its operations.
+ *
+ * @return the AlertRuleIncidentsClient object.
+ */
+ AlertRuleIncidentsClient getAlertRuleIncidents();
+
+ /**
+ * Gets the AlertRulesClient object to access its operations.
+ *
+ * @return the AlertRulesClient object.
+ */
+ AlertRulesClient getAlertRules();
+
+ /**
+ * Gets the LogProfilesClient object to access its operations.
+ *
+ * @return the LogProfilesClient object.
+ */
+ LogProfilesClient getLogProfiles();
+
+ /**
+ * Gets the DiagnosticSettingsOperationsClient object to access its operations.
+ *
+ * @return the DiagnosticSettingsOperationsClient object.
+ */
+ DiagnosticSettingsOperationsClient getDiagnosticSettingsOperations();
+
+ /**
+ * Gets the DiagnosticSettingsCategoriesClient object to access its operations.
+ *
+ * @return the DiagnosticSettingsCategoriesClient object.
+ */
+ DiagnosticSettingsCategoriesClient getDiagnosticSettingsCategories();
+
+ /**
+ * Gets the ActionGroupsClient object to access its operations.
+ *
+ * @return the ActionGroupsClient object.
+ */
+ ActionGroupsClient getActionGroups();
+
+ /**
+ * Gets the TenantActionGroupsClient object to access its operations.
+ *
+ * @return the TenantActionGroupsClient object.
+ */
+ TenantActionGroupsClient getTenantActionGroups();
+
+ /**
+ * Gets the ResourceProvidersClient object to access its operations.
+ *
+ * @return the ResourceProvidersClient object.
+ */
+ ResourceProvidersClient getResourceProviders();
+
+ /**
+ * Gets the ActivityLogsClient object to access its operations.
+ *
+ * @return the ActivityLogsClient object.
+ */
+ ActivityLogsClient getActivityLogs();
+
+ /**
+ * Gets the EventCategoriesClient object to access its operations.
+ *
+ * @return the EventCategoriesClient object.
+ */
+ EventCategoriesClient getEventCategories();
+
+ /**
+ * Gets the TenantActivityLogsClient object to access its operations.
+ *
+ * @return the TenantActivityLogsClient object.
+ */
+ TenantActivityLogsClient getTenantActivityLogs();
+
+ /**
+ * Gets the MetricDefinitionsClient object to access its operations.
+ *
+ * @return the MetricDefinitionsClient object.
+ */
+ MetricDefinitionsClient getMetricDefinitions();
+
+ /**
+ * Gets the MetricsOperationsClient object to access its operations.
+ *
+ * @return the MetricsOperationsClient object.
+ */
+ MetricsOperationsClient getMetricsOperations();
+
+ /**
+ * Gets the BaselinesClient object to access its operations.
+ *
+ * @return the BaselinesClient object.
+ */
+ BaselinesClient getBaselines();
+
+ /**
+ * Gets the MetricAlertsClient object to access its operations.
+ *
+ * @return the MetricAlertsClient object.
+ */
+ MetricAlertsClient getMetricAlerts();
+
+ /**
+ * Gets the MetricAlertsStatusClient object to access its operations.
+ *
+ * @return the MetricAlertsStatusClient object.
+ */
+ MetricAlertsStatusClient getMetricAlertsStatus();
+
+ /**
+ * Gets the ScheduledQueryRulesClient object to access its operations.
+ *
+ * @return the ScheduledQueryRulesClient object.
+ */
+ ScheduledQueryRulesClient getScheduledQueryRules();
+
+ /**
+ * Gets the MetricNamespacesClient object to access its operations.
+ *
+ * @return the MetricNamespacesClient object.
+ */
+ MetricNamespacesClient getMetricNamespaces();
+
+ /**
+ * Gets the VMInsightsClient object to access its operations.
+ *
+ * @return the VMInsightsClient object.
+ */
+ VMInsightsClient getVMInsights();
+
+ /**
+ * Gets the PrivateLinkScopesClient object to access its operations.
+ *
+ * @return the PrivateLinkScopesClient object.
+ */
+ PrivateLinkScopesClient getPrivateLinkScopes();
+
+ /**
+ * Gets the PrivateLinkScopeOperationStatusClient object to access its operations.
+ *
+ * @return the PrivateLinkScopeOperationStatusClient object.
+ */
+ PrivateLinkScopeOperationStatusClient getPrivateLinkScopeOperationStatus();
+
+ /**
+ * Gets the PrivateLinkResourcesClient object to access its operations.
+ *
+ * @return the PrivateLinkResourcesClient object.
+ */
+ PrivateLinkResourcesClient getPrivateLinkResources();
+
+ /**
+ * Gets the PrivateEndpointConnectionsClient object to access its operations.
+ *
+ * @return the PrivateEndpointConnectionsClient object.
+ */
+ PrivateEndpointConnectionsClient getPrivateEndpointConnections();
+
+ /**
+ * Gets the PrivateLinkScopedResourcesClient object to access its operations.
+ *
+ * @return the PrivateLinkScopedResourcesClient object.
+ */
+ PrivateLinkScopedResourcesClient getPrivateLinkScopedResources();
+
+ /**
+ * Gets the ActivityLogAlertsClient object to access its operations.
+ *
+ * @return the ActivityLogAlertsClient object.
+ */
+ ActivityLogAlertsClient getActivityLogAlerts();
+
+ /**
+ * Gets the DataCollectionEndpointsClient object to access its operations.
+ *
+ * @return the DataCollectionEndpointsClient object.
+ */
+ DataCollectionEndpointsClient getDataCollectionEndpoints();
+
+ /**
+ * Gets the DataCollectionRuleAssociationsClient object to access its operations.
+ *
+ * @return the DataCollectionRuleAssociationsClient object.
+ */
+ DataCollectionRuleAssociationsClient getDataCollectionRuleAssociations();
+
+ /**
+ * Gets the DataCollectionRulesClient object to access its operations.
+ *
+ * @return the DataCollectionRulesClient object.
+ */
+ DataCollectionRulesClient getDataCollectionRules();
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MonitorOperationsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MonitorOperationsClient.java
new file mode 100644
index 0000000000000..3cd510e6021b9
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MonitorOperationsClient.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.monitor.generated.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.monitor.generated.fluent.models.OperationInner;
+
+/** An instance of this class provides access to all the operations defined in MonitorOperationsClient. */
+public interface MonitorOperationsClient {
+ /**
+ * Lists available Operations for this Resource Provider.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of REST API operations supported by an Azure Resource Provider as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists available Operations for this Resource Provider.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of REST API operations supported by an Azure Resource Provider as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/OperationsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/OperationsClient.java
new file mode 100644
index 0000000000000..0bb6c9707e3e8
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/OperationsClient.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.OperationListResultAutoGeneratedInner;
+
+/** An instance of this class provides access to all the operations defined in OperationsClient. */
+public interface OperationsClient {
+ /**
+ * Lists all of the available operations from Microsoft.Insights provider.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of the request to list Microsoft.Insights operations along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWithResponse(Context context);
+
+ /**
+ * Lists all of the available operations from Microsoft.Insights provider.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return result of the request to list Microsoft.Insights operations.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OperationListResultAutoGeneratedInner list();
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PredictiveMetricsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PredictiveMetricsClient.java
new file mode 100644
index 0000000000000..e6def45d5c16d
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PredictiveMetricsClient.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.PredictiveResponseInner;
+import java.time.Duration;
+
+/** An instance of this class provides access to all the operations defined in PredictiveMetricsClient. */
+public interface PredictiveMetricsClient {
+ /**
+ * get predictive autoscale metric future data.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autoscaleSettingName The autoscale setting name.
+ * @param timespan The timespan of the query. It is a string with the following format
+ * 'startDateTime_ISO/endDateTime_ISO'.
+ * @param interval The interval (i.e. timegrain) of the query.
+ * @param metricNamespace Metric namespace to query metric definitions for.
+ * @param metricName The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself
+ * has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'**.
+ * @param aggregation The list of aggregation types (comma separated) to retrieve.
+ * @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 predictive autoscale metric future data along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName,
+ String autoscaleSettingName,
+ String timespan,
+ Duration interval,
+ String metricNamespace,
+ String metricName,
+ String aggregation,
+ Context context);
+
+ /**
+ * get predictive autoscale metric future data.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autoscaleSettingName The autoscale setting name.
+ * @param timespan The timespan of the query. It is a string with the following format
+ * 'startDateTime_ISO/endDateTime_ISO'.
+ * @param interval The interval (i.e. timegrain) of the query.
+ * @param metricNamespace Metric namespace to query metric definitions for.
+ * @param metricName The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself
+ * has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'**.
+ * @param aggregation The list of aggregation types (comma separated) to retrieve.
+ * @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 predictive autoscale metric future data.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PredictiveResponseInner get(
+ String resourceGroupName,
+ String autoscaleSettingName,
+ String timespan,
+ Duration interval,
+ String metricNamespace,
+ String metricName,
+ String aggregation);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateEndpointConnectionsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateEndpointConnectionsClient.java
new file mode 100644
index 0000000000000..e3a61a0b4f83c
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateEndpointConnectionsClient.java
@@ -0,0 +1,216 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.monitor.generated.fluent.models.PrivateEndpointConnectionAutoGeneratedInner;
+import com.azure.resourcemanager.monitor.generated.fluent.models.PrivateEndpointConnectionListResultInner;
+
+/** An instance of this class provides access to all the operations defined in PrivateEndpointConnectionsClient. */
+public interface PrivateEndpointConnectionsClient {
+ /**
+ * Gets a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 private endpoint connection along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String scopeName, String privateEndpointConnectionName, Context context);
+
+ /**
+ * Gets a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 private endpoint connection.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateEndpointConnectionAutoGeneratedInner get(
+ String resourceGroupName, String scopeName, String privateEndpointConnectionName);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @param parameters The Private Endpoint Connection resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the Private Endpoint Connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PrivateEndpointConnectionAutoGeneratedInner>
+ beginCreateOrUpdate(
+ String resourceGroupName,
+ String scopeName,
+ String privateEndpointConnectionName,
+ PrivateEndpointConnectionAutoGeneratedInner parameters);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @param parameters The Private Endpoint Connection resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the Private Endpoint Connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PrivateEndpointConnectionAutoGeneratedInner>
+ beginCreateOrUpdate(
+ String resourceGroupName,
+ String scopeName,
+ String privateEndpointConnectionName,
+ PrivateEndpointConnectionAutoGeneratedInner parameters,
+ Context context);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @param parameters The Private Endpoint Connection 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 Private Endpoint Connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateEndpointConnectionAutoGeneratedInner createOrUpdate(
+ String resourceGroupName,
+ String scopeName,
+ String privateEndpointConnectionName,
+ PrivateEndpointConnectionAutoGeneratedInner parameters);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @param parameters The Private Endpoint Connection 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 Private Endpoint Connection resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateEndpointConnectionAutoGeneratedInner createOrUpdate(
+ String resourceGroupName,
+ String scopeName,
+ String privateEndpointConnectionName,
+ PrivateEndpointConnectionAutoGeneratedInner parameters,
+ Context context);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String scopeName, String privateEndpointConnectionName);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String scopeName, String privateEndpointConnectionName, Context context);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 scopeName, String privateEndpointConnectionName);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
+ * @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 scopeName, String privateEndpointConnectionName, Context context);
+
+ /**
+ * Gets all private endpoint connections on a private link scope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope 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 all private endpoint connections on a private link scope along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listByPrivateLinkScopeWithResponse(
+ String resourceGroupName, String scopeName, Context context);
+
+ /**
+ * Gets all private endpoint connections on a private link scope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope 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 all private endpoint connections on a private link scope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateEndpointConnectionListResultInner listByPrivateLinkScope(String resourceGroupName, String scopeName);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkResourcesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkResourcesClient.java
new file mode 100644
index 0000000000000..02e2cea0f531b
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkResourcesClient.java
@@ -0,0 +1,75 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.PrivateLinkResourceInner;
+import com.azure.resourcemanager.monitor.generated.fluent.models.PrivateLinkResourceListResultInner;
+
+/** An instance of this class provides access to all the operations defined in PrivateLinkResourcesClient. */
+public interface PrivateLinkResourcesClient {
+ /**
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope 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 private link resources that need to be created for a Azure Monitor PrivateLinkScope along with {@link
+ * Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listByPrivateLinkScopeWithResponse(
+ String resourceGroupName, String scopeName, Context context);
+
+ /**
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope 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 private link resources that need to be created for a Azure Monitor PrivateLinkScope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateLinkResourceListResultInner listByPrivateLinkScope(String resourceGroupName, String scopeName);
+
+ /**
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param groupName The name of the private link 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 private link resources that need to be created for a Azure Monitor PrivateLinkScope along with {@link
+ * Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String scopeName, String groupName, Context context);
+
+ /**
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param groupName The name of the private link 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 private link resources that need to be created for a Azure Monitor PrivateLinkScope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateLinkResourceInner get(String resourceGroupName, String scopeName, String groupName);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkScopeOperationStatusClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkScopeOperationStatusClient.java
new file mode 100644
index 0000000000000..e7fa5af260935
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkScopeOperationStatusClient.java
@@ -0,0 +1,43 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.OperationStatusInner;
+
+/** An instance of this class provides access to all the operations defined in PrivateLinkScopeOperationStatusClient. */
+public interface PrivateLinkScopeOperationStatusClient {
+ /**
+ * Get the status of an azure asynchronous operation associated with a private link scope operation.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param asyncOperationId The operation Id.
+ * @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 status of an azure asynchronous operation associated with a private link scope operation along with
+ * {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String asyncOperationId, Context context);
+
+ /**
+ * Get the status of an azure asynchronous operation associated with a private link scope operation.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param asyncOperationId The operation Id.
+ * @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 status of an azure asynchronous operation associated with a private link scope operation.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OperationStatusInner getByResourceGroup(String resourceGroupName, String asyncOperationId);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkScopedResourcesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkScopedResourcesClient.java
new file mode 100644
index 0000000000000..aa26241549195
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkScopedResourcesClient.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.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.monitor.generated.fluent.models.ScopedResourceInner;
+
+/** An instance of this class provides access to all the operations defined in PrivateLinkScopedResourcesClient. */
+public interface PrivateLinkScopedResourcesClient {
+ /**
+ * Gets a scoped resource in a private link scope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @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 scoped resource in a private link scope along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String scopeName, String name, Context context);
+
+ /**
+ * Gets a scoped resource in a private link scope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @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 scoped resource in a private link scope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ScopedResourceInner get(String resourceGroupName, String scopeName, String name);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param parameters A private link scoped 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 a private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ScopedResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param parameters A private link scoped 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 a private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ScopedResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters, Context context);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param parameters A private link scoped 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 private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ScopedResourceInner createOrUpdate(
+ String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param parameters A private link scoped 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 private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ScopedResourceInner createOrUpdate(
+ String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters, Context context);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String scopeName, String name);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String scopeName, String name, Context context);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @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 scopeName, String name);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @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 scopeName, String name, Context context);
+
+ /**
+ * Gets all private endpoint connections on a private link scope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope 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 all private endpoint connections on a private link scope as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByPrivateLinkScope(String resourceGroupName, String scopeName);
+
+ /**
+ * Gets all private endpoint connections on a private link scope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope 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 all private endpoint connections on a private link scope as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByPrivateLinkScope(
+ String resourceGroupName, String scopeName, Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkScopesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkScopesClient.java
new file mode 100644
index 0000000000000..dc8d356a55a68
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkScopesClient.java
@@ -0,0 +1,220 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.monitor.generated.fluent.models.AzureMonitorPrivateLinkScopeInner;
+import com.azure.resourcemanager.monitor.generated.models.TagsResource;
+
+/** An instance of this class provides access to all the operations defined in PrivateLinkScopesClient. */
+public interface PrivateLinkScopesClient {
+ /**
+ * Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of all Azure Monitor PrivateLinkScopes within a subscription as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of all Azure Monitor PrivateLinkScopes within a subscription as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Gets a list of Azure Monitor PrivateLinkScopes within a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Azure Monitor PrivateLinkScopes within a resource group as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Gets a list of Azure Monitor PrivateLinkScopes within a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of Azure Monitor PrivateLinkScopes within a resource group as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Deletes a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String scopeName);
+
+ /**
+ * Deletes a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String scopeName, Context context);
+
+ /**
+ * Deletes a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope 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 scopeName);
+
+ /**
+ * Deletes a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope 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 scopeName, Context context);
+
+ /**
+ * Returns a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Azure Monitor PrivateLinkScope definition along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String scopeName, Context context);
+
+ /**
+ * Returns a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Azure Monitor PrivateLinkScope definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AzureMonitorPrivateLinkScopeInner getByResourceGroup(String resourceGroupName, String scopeName);
+
+ /**
+ * Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for
+ * InstrumentationKey nor AppId in the Put operation.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param azureMonitorPrivateLinkScopePayload Properties that need to be specified to create or update a Azure
+ * Monitor PrivateLinkScope.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Azure Monitor PrivateLinkScope definition along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String scopeName,
+ AzureMonitorPrivateLinkScopeInner azureMonitorPrivateLinkScopePayload,
+ Context context);
+
+ /**
+ * Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for
+ * InstrumentationKey nor AppId in the Put operation.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param azureMonitorPrivateLinkScopePayload Properties that need to be specified to create or update a Azure
+ * Monitor PrivateLinkScope.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Azure Monitor PrivateLinkScope definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AzureMonitorPrivateLinkScopeInner createOrUpdate(
+ String resourceGroupName,
+ String scopeName,
+ AzureMonitorPrivateLinkScopeInner azureMonitorPrivateLinkScopePayload);
+
+ /**
+ * Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateLinkScopeTags Updated tag information to set into the PrivateLinkScope 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 an Azure Monitor PrivateLinkScope definition along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateTagsWithResponse(
+ String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags, Context context);
+
+ /**
+ * Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param privateLinkScopeTags Updated tag information to set into the PrivateLinkScope 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 an Azure Monitor PrivateLinkScope definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AzureMonitorPrivateLinkScopeInner updateTags(
+ String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ResourceProvidersClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ResourceProvidersClient.java
new file mode 100644
index 0000000000000..cd870bc50ddce
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ResourceProvidersClient.java
@@ -0,0 +1,141 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.monitor.generated.fluent.models.TestNotificationDetailsResponseAutoGeneratedInner;
+import com.azure.resourcemanager.monitor.generated.models.TenantNotificationRequestBody;
+
+/** An instance of this class provides access to all the operations defined in ResourceProvidersClient. */
+public interface ResourceProvidersClient {
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @param notificationRequest The notification request body which includes the contact details.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the details of the test notification results.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller<
+ PollResult,
+ TestNotificationDetailsResponseAutoGeneratedInner>
+ beginCreateNotificationsAtTenantActionGroupResourceLevel(
+ String managementGroupId,
+ String tenantActionGroupName,
+ String xMsClientTenantId,
+ TenantNotificationRequestBody notificationRequest);
+
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @param notificationRequest The notification request body which includes the contact details.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the details of the test notification results.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller<
+ PollResult,
+ TestNotificationDetailsResponseAutoGeneratedInner>
+ beginCreateNotificationsAtTenantActionGroupResourceLevel(
+ String managementGroupId,
+ String tenantActionGroupName,
+ String xMsClientTenantId,
+ TenantNotificationRequestBody notificationRequest,
+ Context context);
+
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @param notificationRequest The notification request body which includes the contact details.
+ * @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 details of the test notification results.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TestNotificationDetailsResponseAutoGeneratedInner createNotificationsAtTenantActionGroupResourceLevel(
+ String managementGroupId,
+ String tenantActionGroupName,
+ String xMsClientTenantId,
+ TenantNotificationRequestBody notificationRequest);
+
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @param notificationRequest The notification request body which includes the contact details.
+ * @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 details of the test notification results.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TestNotificationDetailsResponseAutoGeneratedInner createNotificationsAtTenantActionGroupResourceLevel(
+ String managementGroupId,
+ String tenantActionGroupName,
+ String xMsClientTenantId,
+ TenantNotificationRequestBody notificationRequest,
+ Context context);
+
+ /**
+ * Get the test notifications by the notification id.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @param notificationId The notification id.
+ * @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 test notifications by the notification id along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response
+ getTestNotificationsAtTenantActionGroupResourceLevelWithResponse(
+ String managementGroupId,
+ String tenantActionGroupName,
+ String xMsClientTenantId,
+ String notificationId,
+ Context context);
+
+ /**
+ * Get the test notifications by the notification id.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @param notificationId The notification id.
+ * @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 test notifications by the notification id.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TestNotificationDetailsResponseAutoGeneratedInner getTestNotificationsAtTenantActionGroupResourceLevel(
+ String managementGroupId, String tenantActionGroupName, String xMsClientTenantId, String notificationId);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ScheduledQueryRulesClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ScheduledQueryRulesClient.java
new file mode 100644
index 0000000000000..11927bb90dfed
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ScheduledQueryRulesClient.java
@@ -0,0 +1,183 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.ScheduledQueryRuleResourceInner;
+import com.azure.resourcemanager.monitor.generated.models.ScheduledQueryRuleResourcePatch;
+
+/** An instance of this class provides access to all the operations defined in ScheduledQueryRulesClient. */
+public interface ScheduledQueryRulesClient {
+ /**
+ * Retrieve a scheduled query rule definitions in a subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of scheduled query rule resources as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Retrieve a scheduled query rule definitions in a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of scheduled query rule resources as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Retrieve scheduled query rule definitions in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of scheduled query rule resources as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Retrieve scheduled query rule definitions in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return represents a collection of scheduled query rule resources as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Retrieve an scheduled query rule definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 scheduled query rule resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String ruleName, Context context);
+
+ /**
+ * Retrieve an scheduled query rule definition.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 scheduled query rule resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ScheduledQueryRuleResourceInner getByResourceGroup(String resourceGroupName, String ruleName);
+
+ /**
+ * Creates or updates a scheduled query rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param parameters The parameters of the rule to create or update.
+ * @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 scheduled query rule resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName, String ruleName, ScheduledQueryRuleResourceInner parameters, Context context);
+
+ /**
+ * Creates or updates a scheduled query rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param parameters The parameters of the rule to create or update.
+ * @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 scheduled query rule resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ScheduledQueryRuleResourceInner createOrUpdate(
+ String resourceGroupName, String ruleName, ScheduledQueryRuleResourceInner parameters);
+
+ /**
+ * Update a scheduled query rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param parameters The parameters of the rule to update.
+ * @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 scheduled query rule resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName, String ruleName, ScheduledQueryRuleResourcePatch parameters, Context context);
+
+ /**
+ * Update a scheduled query rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param parameters The parameters of the rule to update.
+ * @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 scheduled query rule resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ScheduledQueryRuleResourceInner update(
+ String resourceGroupName, String ruleName, ScheduledQueryRuleResourcePatch parameters);
+
+ /**
+ * Deletes a scheduled query rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String ruleName, Context context);
+
+ /**
+ * Deletes a scheduled query rule.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ruleName The name of the rule.
+ * @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 ruleName);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/TenantActionGroupsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/TenantActionGroupsClient.java
new file mode 100644
index 0000000000000..ea3312ed364d0
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/TenantActionGroupsClient.java
@@ -0,0 +1,187 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.monitor.generated.fluent.models.TenantActionGroupResourceInner;
+import com.azure.resourcemanager.monitor.generated.models.ActionGroupPatchBodyAutoGenerated;
+
+/** An instance of this class provides access to all the operations defined in TenantActionGroupsClient. */
+public interface TenantActionGroupsClient {
+ /**
+ * Create a new tenant action group or update an existing one.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @param actionGroup The tenant action group to create or use for the update.
+ * @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 tenant action group resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String managementGroupId,
+ String tenantActionGroupName,
+ String xMsClientTenantId,
+ TenantActionGroupResourceInner actionGroup,
+ Context context);
+
+ /**
+ * Create a new tenant action group or update an existing one.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @param actionGroup The tenant action group to create or use for the update.
+ * @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 tenant action group resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TenantActionGroupResourceInner createOrUpdate(
+ String managementGroupId,
+ String tenantActionGroupName,
+ String xMsClientTenantId,
+ TenantActionGroupResourceInner actionGroup);
+
+ /**
+ * Get a tenant action group.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @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 tenant action group along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String managementGroupId, String tenantActionGroupName, String xMsClientTenantId, Context context);
+
+ /**
+ * Get a tenant action group.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a tenant action group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TenantActionGroupResourceInner get(
+ String managementGroupId, String tenantActionGroupName, String xMsClientTenantId);
+
+ /**
+ * Delete a tenant action group.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String managementGroupId, String tenantActionGroupName, String xMsClientTenantId, Context context);
+
+ /**
+ * Delete a tenant action group.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String managementGroupId, String tenantActionGroupName, String xMsClientTenantId);
+
+ /**
+ * Updates an existing tenant action group's tags. To update other fields use the CreateOrUpdate method.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @param tenantActionGroupPatch Parameters supplied to the operation.
+ * @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 tenant action group resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String managementGroupId,
+ String tenantActionGroupName,
+ String xMsClientTenantId,
+ ActionGroupPatchBodyAutoGenerated tenantActionGroupPatch,
+ Context context);
+
+ /**
+ * Updates an existing tenant action group's tags. To update other fields use the CreateOrUpdate method.
+ *
+ * @param managementGroupId The management group id.
+ * @param tenantActionGroupName The name of the action group.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @param tenantActionGroupPatch Parameters supplied to the 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 tenant action group resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TenantActionGroupResourceInner update(
+ String managementGroupId,
+ String tenantActionGroupName,
+ String xMsClientTenantId,
+ ActionGroupPatchBodyAutoGenerated tenantActionGroupPatch);
+
+ /**
+ * Get a list of all tenant action groups in a management group.
+ *
+ * @param managementGroupId The management group id.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of all tenant action groups in a management group as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByManagementGroupId(
+ String managementGroupId, String xMsClientTenantId);
+
+ /**
+ * Get a list of all tenant action groups in a management group.
+ *
+ * @param managementGroupId The management group id.
+ * @param xMsClientTenantId The tenant ID of the client making the request.
+ * @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 all tenant action groups in a management group as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByManagementGroupId(
+ String managementGroupId, String xMsClientTenantId, Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/TenantActivityLogsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/TenantActivityLogsClient.java
new file mode 100644
index 0000000000000..982a93f34da57
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/TenantActivityLogsClient.java
@@ -0,0 +1,68 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.EventDataInner;
+
+/** An instance of this class provides access to all the operations defined in TenantActivityLogsClient. */
+public interface TenantActivityLogsClient {
+ /**
+ * Gets the Activity Logs for the Tenant.<br>Everything that is applicable to the API to get the Activity Logs
+ * for the subscription is applicable to this API (the parameters, $filter, etc.).<br>One thing to point out
+ * here is that this API does *not* retrieve the logs at the individual subscription of the tenant but only surfaces
+ * the logs that were generated at the tenant level.
+ *
+ * @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 Activity Logs for the Tenant.<br>Everything that is applicable to the API to get the Activity
+ * Logs for the subscription is applicable to this API (the parameters, $filter, etc.).<br>One thing to
+ * point out here is that this API does *not* retrieve the logs at the individual subscription of the tenant but
+ * only surfaces the logs that were generated at the tenant level as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Gets the Activity Logs for the Tenant.<br>Everything that is applicable to the API to get the Activity Logs
+ * for the subscription is applicable to this API (the parameters, $filter, etc.).<br>One thing to point out
+ * here is that this API does *not* retrieve the logs at the individual subscription of the tenant but only surfaces
+ * the logs that were generated at the tenant level.
+ *
+ * @param filter Reduces the set of data collected. <br>The **$filter** is very restricted and allows only the
+ * following patterns.<br>- List events for a resource group: $filter=eventTimestamp ge '<Start
+ * Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and
+ * resourceGroupName eq '<ResourceGroupName>'.<br>- List events for resource: $filter=eventTimestamp
+ * ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and
+ * resourceUri eq '<ResourceURI>'.<br>- List events for a subscription: $filter=eventTimestamp ge
+ * '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin,
+ * Operation'.<br>- List events for a resource provider: $filter=eventTimestamp ge '<Start Time>'
+ * and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and resourceProvider eq
+ * '<ResourceProviderName>'.<br>- List events for a correlation Id:
+ * api-version=2014-04-01&$filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
+ * '2014-07-20T04:36:37.6407898Z' and eventChannels eq 'Admin, Operation' and correlationId eq
+ * '<CorrelationID>'.<br>**NOTE**: No other syntax is allowed.
+ * @param select Used to fetch events with only the given properties.<br>The **$select** argument is a comma
+ * separated list of property names to be returned. Possible values are: *authorization*, *claims*,
+ * *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, *httpRequest*, *level*,
+ * *operationId*, *operationName*, *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*,
+ * *status*, *submissionTimestamp*, *subStatus*, *subscriptionId*.
+ * @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 Activity Logs for the Tenant.<br>Everything that is applicable to the API to get the Activity
+ * Logs for the subscription is applicable to this API (the parameters, $filter, etc.).<br>One thing to
+ * point out here is that this API does *not* retrieve the logs at the individual subscription of the tenant but
+ * only surfaces the logs that were generated at the tenant level as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String filter, String select, Context context);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/VMInsightsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/VMInsightsClient.java
new file mode 100644
index 0000000000000..7b83633a073ee
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/VMInsightsClient.java
@@ -0,0 +1,41 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.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.monitor.generated.fluent.models.VMInsightsOnboardingStatusInner;
+
+/** An instance of this class provides access to all the operations defined in VMInsightsClient. */
+public interface VMInsightsClient {
+ /**
+ * Retrieves the VM Insights onboarding status for the specified resource or resource scope.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource, or scope, whose status
+ * to retrieve.
+ * @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 vM Insights onboarding status for a resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getOnboardingStatusWithResponse(String resourceUri, Context context);
+
+ /**
+ * Retrieves the VM Insights onboarding status for the specified resource or resource scope.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource, or scope, whose status
+ * to retrieve.
+ * @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 vM Insights onboarding status for a resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ VMInsightsOnboardingStatusInner getOnboardingStatus(String resourceUri);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActionGroup.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActionGroup.java
new file mode 100644
index 0000000000000..0024e4d669c1f
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActionGroup.java
@@ -0,0 +1,423 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.monitor.generated.models.ArmRoleReceiver;
+import com.azure.resourcemanager.monitor.generated.models.AutomationRunbookReceiver;
+import com.azure.resourcemanager.monitor.generated.models.AzureAppPushReceiver;
+import com.azure.resourcemanager.monitor.generated.models.AzureFunctionReceiver;
+import com.azure.resourcemanager.monitor.generated.models.EmailReceiver;
+import com.azure.resourcemanager.monitor.generated.models.EventHubReceiver;
+import com.azure.resourcemanager.monitor.generated.models.ItsmReceiver;
+import com.azure.resourcemanager.monitor.generated.models.LogicAppReceiver;
+import com.azure.resourcemanager.monitor.generated.models.SmsReceiver;
+import com.azure.resourcemanager.monitor.generated.models.VoiceReceiver;
+import com.azure.resourcemanager.monitor.generated.models.WebhookReceiver;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** An Azure action group. */
+@Fluent
+public final class ActionGroup {
+ /*
+ * The short name of the action group. This will be used in SMS messages.
+ */
+ @JsonProperty(value = "groupShortName", required = true)
+ private String groupShortName;
+
+ /*
+ * Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers
+ * will receive communications.
+ */
+ @JsonProperty(value = "enabled", required = true)
+ private boolean enabled;
+
+ /*
+ * The list of email receivers that are part of this action group.
+ */
+ @JsonProperty(value = "emailReceivers")
+ private List emailReceivers;
+
+ /*
+ * The list of SMS receivers that are part of this action group.
+ */
+ @JsonProperty(value = "smsReceivers")
+ private List smsReceivers;
+
+ /*
+ * The list of webhook receivers that are part of this action group.
+ */
+ @JsonProperty(value = "webhookReceivers")
+ private List webhookReceivers;
+
+ /*
+ * The list of ITSM receivers that are part of this action group.
+ */
+ @JsonProperty(value = "itsmReceivers")
+ private List itsmReceivers;
+
+ /*
+ * The list of AzureAppPush receivers that are part of this action group.
+ */
+ @JsonProperty(value = "azureAppPushReceivers")
+ private List azureAppPushReceivers;
+
+ /*
+ * The list of AutomationRunbook receivers that are part of this action group.
+ */
+ @JsonProperty(value = "automationRunbookReceivers")
+ private List automationRunbookReceivers;
+
+ /*
+ * The list of voice receivers that are part of this action group.
+ */
+ @JsonProperty(value = "voiceReceivers")
+ private List voiceReceivers;
+
+ /*
+ * The list of logic app receivers that are part of this action group.
+ */
+ @JsonProperty(value = "logicAppReceivers")
+ private List logicAppReceivers;
+
+ /*
+ * The list of azure function receivers that are part of this action group.
+ */
+ @JsonProperty(value = "azureFunctionReceivers")
+ private List azureFunctionReceivers;
+
+ /*
+ * The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in
+ * roles are supported.
+ */
+ @JsonProperty(value = "armRoleReceivers")
+ private List armRoleReceivers;
+
+ /*
+ * The list of event hub receivers that are part of this action group.
+ */
+ @JsonProperty(value = "eventHubReceivers")
+ private List eventHubReceivers;
+
+ /** Creates an instance of ActionGroup class. */
+ public ActionGroup() {
+ }
+
+ /**
+ * Get the groupShortName property: The short name of the action group. This will be used in SMS messages.
+ *
+ * @return the groupShortName value.
+ */
+ public String groupShortName() {
+ return this.groupShortName;
+ }
+
+ /**
+ * Set the groupShortName property: The short name of the action group. This will be used in SMS messages.
+ *
+ * @param groupShortName the groupShortName value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withGroupShortName(String groupShortName) {
+ this.groupShortName = groupShortName;
+ return this;
+ }
+
+ /**
+ * Get the enabled property: Indicates whether this action group is enabled. If an action group is not enabled, then
+ * none of its receivers will receive communications.
+ *
+ * @return the enabled value.
+ */
+ public boolean enabled() {
+ return this.enabled;
+ }
+
+ /**
+ * Set the enabled property: Indicates whether this action group is enabled. If an action group is not enabled, then
+ * none of its receivers will receive communications.
+ *
+ * @param enabled the enabled value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withEnabled(boolean enabled) {
+ this.enabled = enabled;
+ return this;
+ }
+
+ /**
+ * Get the emailReceivers property: The list of email receivers that are part of this action group.
+ *
+ * @return the emailReceivers value.
+ */
+ public List emailReceivers() {
+ return this.emailReceivers;
+ }
+
+ /**
+ * Set the emailReceivers property: The list of email receivers that are part of this action group.
+ *
+ * @param emailReceivers the emailReceivers value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withEmailReceivers(List emailReceivers) {
+ this.emailReceivers = emailReceivers;
+ return this;
+ }
+
+ /**
+ * Get the smsReceivers property: The list of SMS receivers that are part of this action group.
+ *
+ * @return the smsReceivers value.
+ */
+ public List smsReceivers() {
+ return this.smsReceivers;
+ }
+
+ /**
+ * Set the smsReceivers property: The list of SMS receivers that are part of this action group.
+ *
+ * @param smsReceivers the smsReceivers value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withSmsReceivers(List smsReceivers) {
+ this.smsReceivers = smsReceivers;
+ return this;
+ }
+
+ /**
+ * Get the webhookReceivers property: The list of webhook receivers that are part of this action group.
+ *
+ * @return the webhookReceivers value.
+ */
+ public List webhookReceivers() {
+ return this.webhookReceivers;
+ }
+
+ /**
+ * Set the webhookReceivers property: The list of webhook receivers that are part of this action group.
+ *
+ * @param webhookReceivers the webhookReceivers value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withWebhookReceivers(List webhookReceivers) {
+ this.webhookReceivers = webhookReceivers;
+ return this;
+ }
+
+ /**
+ * Get the itsmReceivers property: The list of ITSM receivers that are part of this action group.
+ *
+ * @return the itsmReceivers value.
+ */
+ public List itsmReceivers() {
+ return this.itsmReceivers;
+ }
+
+ /**
+ * Set the itsmReceivers property: The list of ITSM receivers that are part of this action group.
+ *
+ * @param itsmReceivers the itsmReceivers value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withItsmReceivers(List itsmReceivers) {
+ this.itsmReceivers = itsmReceivers;
+ return this;
+ }
+
+ /**
+ * Get the azureAppPushReceivers property: The list of AzureAppPush receivers that are part of this action group.
+ *
+ * @return the azureAppPushReceivers value.
+ */
+ public List azureAppPushReceivers() {
+ return this.azureAppPushReceivers;
+ }
+
+ /**
+ * Set the azureAppPushReceivers property: The list of AzureAppPush receivers that are part of this action group.
+ *
+ * @param azureAppPushReceivers the azureAppPushReceivers value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withAzureAppPushReceivers(List azureAppPushReceivers) {
+ this.azureAppPushReceivers = azureAppPushReceivers;
+ return this;
+ }
+
+ /**
+ * Get the automationRunbookReceivers property: The list of AutomationRunbook receivers that are part of this action
+ * group.
+ *
+ * @return the automationRunbookReceivers value.
+ */
+ public List automationRunbookReceivers() {
+ return this.automationRunbookReceivers;
+ }
+
+ /**
+ * Set the automationRunbookReceivers property: The list of AutomationRunbook receivers that are part of this action
+ * group.
+ *
+ * @param automationRunbookReceivers the automationRunbookReceivers value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withAutomationRunbookReceivers(List automationRunbookReceivers) {
+ this.automationRunbookReceivers = automationRunbookReceivers;
+ return this;
+ }
+
+ /**
+ * Get the voiceReceivers property: The list of voice receivers that are part of this action group.
+ *
+ * @return the voiceReceivers value.
+ */
+ public List voiceReceivers() {
+ return this.voiceReceivers;
+ }
+
+ /**
+ * Set the voiceReceivers property: The list of voice receivers that are part of this action group.
+ *
+ * @param voiceReceivers the voiceReceivers value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withVoiceReceivers(List voiceReceivers) {
+ this.voiceReceivers = voiceReceivers;
+ return this;
+ }
+
+ /**
+ * Get the logicAppReceivers property: The list of logic app receivers that are part of this action group.
+ *
+ * @return the logicAppReceivers value.
+ */
+ public List logicAppReceivers() {
+ return this.logicAppReceivers;
+ }
+
+ /**
+ * Set the logicAppReceivers property: The list of logic app receivers that are part of this action group.
+ *
+ * @param logicAppReceivers the logicAppReceivers value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withLogicAppReceivers(List