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);
+ }
+ }
+
+ /** @return Resource collection API of AutoscaleSettings. */
+ public AutoscaleSettings autoscaleSettings() {
+ if (this.autoscaleSettings == null) {
+ this.autoscaleSettings = new AutoscaleSettingsImpl(clientObject.getAutoscaleSettings(), this);
+ }
+ return autoscaleSettings;
+ }
+
+ /** @return Resource collection API of Operations. */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ }
+ return operations;
+ }
+
+ /** @return Resource collection API of AlertRuleIncidents. */
+ public AlertRuleIncidents alertRuleIncidents() {
+ if (this.alertRuleIncidents == null) {
+ this.alertRuleIncidents = new AlertRuleIncidentsImpl(clientObject.getAlertRuleIncidents(), this);
+ }
+ return alertRuleIncidents;
+ }
+
+ /** @return Resource collection API of AlertRules. */
+ public AlertRules alertRules() {
+ if (this.alertRules == null) {
+ this.alertRules = new AlertRulesImpl(clientObject.getAlertRules(), this);
+ }
+ return alertRules;
+ }
+
+ /** @return Resource collection API of LogProfiles. */
+ public LogProfiles logProfiles() {
+ if (this.logProfiles == null) {
+ this.logProfiles = new LogProfilesImpl(clientObject.getLogProfiles(), this);
+ }
+ return logProfiles;
+ }
+
+ /** @return Resource collection API of DiagnosticSettingsOperations. */
+ public DiagnosticSettingsOperations diagnosticSettingsOperations() {
+ if (this.diagnosticSettingsOperations == null) {
+ this.diagnosticSettingsOperations =
+ new DiagnosticSettingsOperationsImpl(clientObject.getDiagnosticSettingsOperations(), this);
+ }
+ return diagnosticSettingsOperations;
+ }
+
+ /** @return Resource collection API of DiagnosticSettingsCategories. */
+ public DiagnosticSettingsCategories diagnosticSettingsCategories() {
+ if (this.diagnosticSettingsCategories == null) {
+ this.diagnosticSettingsCategories =
+ new DiagnosticSettingsCategoriesImpl(clientObject.getDiagnosticSettingsCategories(), this);
+ }
+ return diagnosticSettingsCategories;
+ }
+
+ /** @return Resource collection API of ActionGroups. */
+ public ActionGroups actionGroups() {
+ if (this.actionGroups == null) {
+ this.actionGroups = new ActionGroupsImpl(clientObject.getActionGroups(), this);
+ }
+ return actionGroups;
+ }
+
+ /** @return Resource collection API of ActivityLogs. */
+ public ActivityLogs activityLogs() {
+ if (this.activityLogs == null) {
+ this.activityLogs = new ActivityLogsImpl(clientObject.getActivityLogs(), this);
+ }
+ return activityLogs;
+ }
+
+ /** @return Resource collection API of EventCategories. */
+ public EventCategories eventCategories() {
+ if (this.eventCategories == null) {
+ this.eventCategories = new EventCategoriesImpl(clientObject.getEventCategories(), this);
+ }
+ return eventCategories;
+ }
+
+ /** @return Resource collection API of TenantActivityLogs. */
+ public TenantActivityLogs tenantActivityLogs() {
+ if (this.tenantActivityLogs == null) {
+ this.tenantActivityLogs = new TenantActivityLogsImpl(clientObject.getTenantActivityLogs(), this);
+ }
+ return tenantActivityLogs;
+ }
+
+ /** @return Resource collection API of MetricDefinitions. */
+ public MetricDefinitions metricDefinitions() {
+ if (this.metricDefinitions == null) {
+ this.metricDefinitions = new MetricDefinitionsImpl(clientObject.getMetricDefinitions(), this);
+ }
+ return metricDefinitions;
+ }
+
+ /** @return Resource collection API of Metrics. */
+ public Metrics metrics() {
+ if (this.metrics == null) {
+ this.metrics = new MetricsImpl(clientObject.getMetrics(), this);
+ }
+ return metrics;
+ }
+
+ /** @return Resource collection API of Baselines. */
+ public Baselines baselines() {
+ if (this.baselines == null) {
+ this.baselines = new BaselinesImpl(clientObject.getBaselines(), this);
+ }
+ return baselines;
+ }
+
+ /** @return Resource collection API of MetricAlerts. */
+ public MetricAlerts metricAlerts() {
+ if (this.metricAlerts == null) {
+ this.metricAlerts = new MetricAlertsImpl(clientObject.getMetricAlerts(), this);
+ }
+ return metricAlerts;
+ }
+
+ /** @return Resource collection API of MetricAlertsStatus. */
+ public MetricAlertsStatus metricAlertsStatus() {
+ if (this.metricAlertsStatus == null) {
+ this.metricAlertsStatus = new MetricAlertsStatusImpl(clientObject.getMetricAlertsStatus(), this);
+ }
+ return metricAlertsStatus;
+ }
+
+ /** @return Resource collection API of ScheduledQueryRules. */
+ public ScheduledQueryRules scheduledQueryRules() {
+ if (this.scheduledQueryRules == null) {
+ this.scheduledQueryRules = new ScheduledQueryRulesImpl(clientObject.getScheduledQueryRules(), this);
+ }
+ return scheduledQueryRules;
+ }
+
+ /** @return Resource collection API of MetricNamespaces. */
+ public MetricNamespaces metricNamespaces() {
+ if (this.metricNamespaces == null) {
+ this.metricNamespaces = new MetricNamespacesImpl(clientObject.getMetricNamespaces(), this);
+ }
+ return metricNamespaces;
+ }
+
+ /** @return Resource collection API of VMInsights. */
+ public VMInsights vMInsights() {
+ if (this.vMInsights == null) {
+ this.vMInsights = new VMInsightsImpl(clientObject.getVMInsights(), this);
+ }
+ return vMInsights;
+ }
+
+ /** @return Resource collection API of PrivateLinkScopes. */
+ public PrivateLinkScopes privateLinkScopes() {
+ if (this.privateLinkScopes == null) {
+ this.privateLinkScopes = new PrivateLinkScopesImpl(clientObject.getPrivateLinkScopes(), this);
+ }
+ return privateLinkScopes;
+ }
+
+ /** @return Resource collection API of PrivateLinkScopeOperationStatus. */
+ public PrivateLinkScopeOperationStatus privateLinkScopeOperationStatus() {
+ if (this.privateLinkScopeOperationStatus == null) {
+ this.privateLinkScopeOperationStatus =
+ new PrivateLinkScopeOperationStatusImpl(clientObject.getPrivateLinkScopeOperationStatus(), this);
+ }
+ return privateLinkScopeOperationStatus;
+ }
+
+ /** @return Resource collection API of PrivateLinkResources. */
+ public PrivateLinkResources privateLinkResources() {
+ if (this.privateLinkResources == null) {
+ this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this);
+ }
+ return privateLinkResources;
+ }
+
+ /** @return Resource collection API of PrivateEndpointConnections. */
+ public PrivateEndpointConnections privateEndpointConnections() {
+ if (this.privateEndpointConnections == null) {
+ this.privateEndpointConnections =
+ new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
+ }
+ return privateEndpointConnections;
+ }
+
+ /** @return Resource collection API of PrivateLinkScopedResources. */
+ public PrivateLinkScopedResources privateLinkScopedResources() {
+ if (this.privateLinkScopedResources == null) {
+ this.privateLinkScopedResources =
+ new PrivateLinkScopedResourcesImpl(clientObject.getPrivateLinkScopedResources(), this);
+ }
+ return privateLinkScopedResources;
+ }
+
+ /** @return Resource collection API of ActivityLogAlerts. */
+ public ActivityLogAlerts activityLogAlerts() {
+ if (this.activityLogAlerts == null) {
+ this.activityLogAlerts = new ActivityLogAlertsImpl(clientObject.getActivityLogAlerts(), this);
+ }
+ return activityLogAlerts;
+ }
+
+ /** @return Resource collection API of DataCollectionEndpoints. */
+ public DataCollectionEndpoints dataCollectionEndpoints() {
+ if (this.dataCollectionEndpoints == null) {
+ this.dataCollectionEndpoints =
+ new DataCollectionEndpointsImpl(clientObject.getDataCollectionEndpoints(), this);
+ }
+ return dataCollectionEndpoints;
+ }
+
+ /** @return Resource collection API of DataCollectionRuleAssociations. */
+ public DataCollectionRuleAssociations dataCollectionRuleAssociations() {
+ if (this.dataCollectionRuleAssociations == null) {
+ this.dataCollectionRuleAssociations =
+ new DataCollectionRuleAssociationsImpl(clientObject.getDataCollectionRuleAssociations(), this);
+ }
+ return dataCollectionRuleAssociations;
+ }
+
+ /** @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..f673586d8146a
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/ActionGroupsClient.java
@@ -0,0 +1,374 @@
+// 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @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 long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginPostTestNotifications(NotificationRequestBody notificationRequest);
+
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @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 long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginPostTestNotifications(
+ NotificationRequestBody notificationRequest, Context context);
+
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void postTestNotifications(NotificationRequestBody notificationRequest);
+
+ /**
+ * Send test notifications to a set of provided receivers.
+ *
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void postTestNotifications(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 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 long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginCreateNotificationsAtResourceGroupLevel(
+ String resourceGroupName, 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 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 long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginCreateNotificationsAtResourceGroupLevel(
+ String resourceGroupName, 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 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void createNotificationsAtResourceGroupLevel(String resourceGroupName, 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 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void createNotificationsAtResourceGroupLevel(
+ String resourceGroupName, NotificationRequestBody notificationRequest, Context context);
+
+ /**
+ * Get the test notifications by the notification id.
+ *
+ * @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 getTestNotifications(String notificationId);
+
+ /**
+ * Get the test notifications by the notification id.
+ *
+ * @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 getTestNotificationsWithResponse(
+ 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 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 getTestNotificationsAtResourceGroupLevel(
+ String resourceGroupName, String notificationId);
+
+ /**
+ * Get the test notifications by the notification id.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 getTestNotificationsAtResourceGroupLevelWithResponse(
+ String resourceGroupName, String notificationId, Context context);
+
+ /**
+ * 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.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 enableReceiver(String resourceGroupName, String actionGroupName, EnableRequest enableRequest);
+
+ /**
+ * 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 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);
+}
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..e243dbaea16ca
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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..3d39b8074e953
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 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 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..a1da41fb51cd0
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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..7fd8fdc4e8077
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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/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..b5cd2efbaf038
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+}
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..4d1d62713bb1a
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+}
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..3ba6ad84ae723
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+}
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..1ebb3614d5935
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DiagnosticSettingsCategoriesClient.java
@@ -0,0 +1,67 @@
+// 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.DiagnosticSettingsCategoryResourceCollectionInner;
+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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DiagnosticSettingsCategoryResourceCollectionInner 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 along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWithResponse(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..25134b1ca5690
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/DiagnosticSettingsOperationsClient.java
@@ -0,0 +1,124 @@
+// 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.DiagnosticSettingsResourceCollectionInner;
+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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DiagnosticSettingsResourceCollectionInner 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 along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listWithResponse(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..3a05b4c7d7e16
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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..b230ab97ce172
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+}
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..be9730e1be00b
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 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.
+ * @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);
+
+ /**
+ * 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);
+}
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..f970e2ce23d59
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricDefinitionsClient.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.MetricDefinitionInner;
+
+/** An instance of this class provides access to all the operations defined in MetricDefinitionsClient. */
+public interface MetricDefinitionsClient {
+ /**
+ * 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 to query metric definitions for.
+ * @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/MetricsClient.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricsClient.java
new file mode 100644
index 0000000000000..053d8c76e518d
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MetricsClient.java
@@ -0,0 +1,74 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.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.models.ResultType;
+import java.time.Duration;
+
+/** An instance of this class provides access to all the operations defined in MetricsClient. */
+public interface MetricsClient {
+ /**
+ * **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);
+
+ /**
+ * **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. 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 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. 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 Reduces the set of data collected. The syntax allowed depends on the operation. See the
+ * operation's description for details.
+ * @param metricnamespace Metric namespace to query metric definitions for.
+ * @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,
+ Context context);
+}
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..b805c3869586f
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/MonitorClient.java
@@ -0,0 +1,235 @@
+// 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 AutoscaleSettingsClient object to access its operations.
+ *
+ * @return the AutoscaleSettingsClient object.
+ */
+ AutoscaleSettingsClient getAutoscaleSettings();
+
+ /**
+ * 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 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 MetricsClient object to access its operations.
+ *
+ * @return the MetricsClient object.
+ */
+ MetricsClient getMetrics();
+
+ /**
+ * 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/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..6a7c030bab64b
--- /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.OperationListResultInner;
+
+/** 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.
+ *
+ * @throws com.azure.core.management.exception.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)
+ OperationListResultInner list();
+
+ /**
+ * 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);
+}
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..0de75eaa79b48
--- /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.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.PrivateEndpointConnectionInner;
+
+/** 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ PrivateEndpointConnectionInner get(
+ String resourceGroupName, String scopeName, String privateEndpointConnectionName);
+
+ /**
+ * 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);
+
+ /**
+ * 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 A 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 a private endpoint connection.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PrivateEndpointConnectionInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String scopeName,
+ String privateEndpointConnectionName,
+ PrivateEndpointConnectionInner 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 A 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 a private endpoint connection.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, PrivateEndpointConnectionInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String scopeName,
+ String privateEndpointConnectionName,
+ PrivateEndpointConnectionInner 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 A 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)
+ PrivateEndpointConnectionInner createOrUpdate(
+ String resourceGroupName,
+ String scopeName,
+ String privateEndpointConnectionName,
+ PrivateEndpointConnectionInner 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 A 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PrivateEndpointConnectionInner createOrUpdate(
+ String resourceGroupName,
+ String scopeName,
+ String privateEndpointConnectionName,
+ PrivateEndpointConnectionInner 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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/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..2d1450b38f82b
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/PrivateLinkResourcesClient.java
@@ -0,0 +1,76 @@
+// 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.PrivateLinkResourceInner;
+
+/** 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 as paginated
+ * response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable 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 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 as paginated
+ * response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByPrivateLinkScope(
+ 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.
+ * @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);
+
+ /**
+ * 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);
+}
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..df539129bf2a6
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+}
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..a60070a943dae
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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..fd3d8d0602923
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+
+ /**
+ * 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);
+}
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..4fa07b874a9f7
--- /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.LogSearchRuleResourceInner;
+import com.azure.resourcemanager.monitor.generated.models.LogSearchRuleResourcePatch;
+
+/** An instance of this class provides access to all the operations defined in ScheduledQueryRulesClient. */
+public interface ScheduledQueryRulesClient {
+ /**
+ * Creates or updates an log search 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 Log Search Rule resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LogSearchRuleResourceInner createOrUpdate(
+ String resourceGroupName, String ruleName, LogSearchRuleResourceInner parameters);
+
+ /**
+ * Creates or updates an log search 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 Log Search Rule resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName, String ruleName, LogSearchRuleResourceInner parameters, Context context);
+
+ /**
+ * Gets an Log Search 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 an Log Search rule.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LogSearchRuleResourceInner getByResourceGroup(String resourceGroupName, String ruleName);
+
+ /**
+ * Gets an Log Search 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 an Log Search rule along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String ruleName, Context context);
+
+ /**
+ * Update log search 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 Log Search Rule resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LogSearchRuleResourceInner update(String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters);
+
+ /**
+ * Update log search 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 Log Search Rule resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(
+ String resourceGroupName, String ruleName, LogSearchRuleResourcePatch parameters, Context context);
+
+ /**
+ * Deletes a Log Search 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);
+
+ /**
+ * Deletes a Log Search 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);
+
+ /**
+ * List the Log Search rules within a subscription group.
+ *
+ * @throws com.azure.core.management.exception.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 Search rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List the Log Search rules within a subscription group.
+ *
+ * @param filter The filter to apply on the operation. For more information please see
+ * https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx.
+ * @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 Search rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String filter, Context context);
+
+ /**
+ * List the Log Search 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 Log Search rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List the Log Search rules within a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param filter The filter to apply on the operation. For more information please see
+ * https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx.
+ * @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 Search rule resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(
+ String resourceGroupName, String filter, 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..37faad1c387ba
--- /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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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);
+
+ /**
+ * 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);
+}
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..cc68b08673e7e
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActionGroup.java
@@ -0,0 +1,420 @@
+// 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;
+
+ /**
+ * 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 logicAppReceivers) {
+ this.logicAppReceivers = logicAppReceivers;
+ return this;
+ }
+
+ /**
+ * Get the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.
+ *
+ * @return the azureFunctionReceivers value.
+ */
+ public List azureFunctionReceivers() {
+ return this.azureFunctionReceivers;
+ }
+
+ /**
+ * Set the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.
+ *
+ * @param azureFunctionReceivers the azureFunctionReceivers value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withAzureFunctionReceivers(List azureFunctionReceivers) {
+ this.azureFunctionReceivers = azureFunctionReceivers;
+ return this;
+ }
+
+ /**
+ * Get the armRoleReceivers property: 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.
+ *
+ * @return the armRoleReceivers value.
+ */
+ public List armRoleReceivers() {
+ return this.armRoleReceivers;
+ }
+
+ /**
+ * Set the armRoleReceivers property: 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.
+ *
+ * @param armRoleReceivers the armRoleReceivers value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withArmRoleReceivers(List armRoleReceivers) {
+ this.armRoleReceivers = armRoleReceivers;
+ return this;
+ }
+
+ /**
+ * Get the eventHubReceivers property: The list of event hub receivers that are part of this action group.
+ *
+ * @return the eventHubReceivers value.
+ */
+ public List eventHubReceivers() {
+ return this.eventHubReceivers;
+ }
+
+ /**
+ * Set the eventHubReceivers property: The list of event hub receivers that are part of this action group.
+ *
+ * @param eventHubReceivers the eventHubReceivers value to set.
+ * @return the ActionGroup object itself.
+ */
+ public ActionGroup withEventHubReceivers(List eventHubReceivers) {
+ this.eventHubReceivers = eventHubReceivers;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (groupShortName() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException("Missing required property groupShortName in model ActionGroup"));
+ }
+ if (emailReceivers() != null) {
+ emailReceivers().forEach(e -> e.validate());
+ }
+ if (smsReceivers() != null) {
+ smsReceivers().forEach(e -> e.validate());
+ }
+ if (webhookReceivers() != null) {
+ webhookReceivers().forEach(e -> e.validate());
+ }
+ if (itsmReceivers() != null) {
+ itsmReceivers().forEach(e -> e.validate());
+ }
+ if (azureAppPushReceivers() != null) {
+ azureAppPushReceivers().forEach(e -> e.validate());
+ }
+ if (automationRunbookReceivers() != null) {
+ automationRunbookReceivers().forEach(e -> e.validate());
+ }
+ if (voiceReceivers() != null) {
+ voiceReceivers().forEach(e -> e.validate());
+ }
+ if (logicAppReceivers() != null) {
+ logicAppReceivers().forEach(e -> e.validate());
+ }
+ if (azureFunctionReceivers() != null) {
+ azureFunctionReceivers().forEach(e -> e.validate());
+ }
+ if (armRoleReceivers() != null) {
+ armRoleReceivers().forEach(e -> e.validate());
+ }
+ if (eventHubReceivers() != null) {
+ eventHubReceivers().forEach(e -> e.validate());
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(ActionGroup.class);
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActionGroupPatch.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActionGroupPatch.java
new file mode 100644
index 0000000000000..d01f3ffb62bc8
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActionGroupPatch.java
@@ -0,0 +1,49 @@
+// 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.fasterxml.jackson.annotation.JsonProperty;
+
+/** An Azure action group for patch operations. */
+@Fluent
+public final class ActionGroupPatch {
+ /*
+ * Indicates whether this action group is enabled. If an action group is
+ * not enabled, then none of its actions will be activated.
+ */
+ @JsonProperty(value = "enabled")
+ private Boolean enabled;
+
+ /**
+ * Get the enabled property: Indicates whether this action group is enabled. If an action group is not enabled, then
+ * none of its actions will be activated.
+ *
+ * @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 actions will be activated.
+ *
+ * @param enabled the enabled value to set.
+ * @return the ActionGroupPatch object itself.
+ */
+ public ActionGroupPatch withEnabled(Boolean enabled) {
+ this.enabled = enabled;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActionGroupResourceInner.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActionGroupResourceInner.java
new file mode 100644
index 0000000000000..8a80e5e971922
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActionGroupResourceInner.java
@@ -0,0 +1,374 @@
+// 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.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.AzureResource;
+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;
+import java.util.Map;
+
+/** An action group resource. */
+@Fluent
+public final class ActionGroupResourceInner extends AzureResource {
+ /*
+ * The action groups properties of the resource.
+ */
+ @JsonProperty(value = "properties")
+ private ActionGroup innerProperties;
+
+ /**
+ * Get the innerProperties property: The action groups properties of the resource.
+ *
+ * @return the innerProperties value.
+ */
+ private ActionGroup innerProperties() {
+ return this.innerProperties;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ActionGroupResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ActionGroupResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * 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.innerProperties() == null ? null : this.innerProperties().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 ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withGroupShortName(String groupShortName) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withGroupShortName(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.innerProperties() == null ? null : this.innerProperties().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 ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withEnabled(Boolean enabled) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withEnabled(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.innerProperties() == null ? null : this.innerProperties().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 ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withEmailReceivers(List emailReceivers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withEmailReceivers(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.innerProperties() == null ? null : this.innerProperties().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 ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withSmsReceivers(List smsReceivers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withSmsReceivers(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.innerProperties() == null ? null : this.innerProperties().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 ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withWebhookReceivers(List webhookReceivers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withWebhookReceivers(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.innerProperties() == null ? null : this.innerProperties().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 ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withItsmReceivers(List itsmReceivers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withItsmReceivers(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.innerProperties() == null ? null : this.innerProperties().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 ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withAzureAppPushReceivers(List azureAppPushReceivers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withAzureAppPushReceivers(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.innerProperties() == null ? null : this.innerProperties().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 ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withAutomationRunbookReceivers(
+ List automationRunbookReceivers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withAutomationRunbookReceivers(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.innerProperties() == null ? null : this.innerProperties().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 ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withVoiceReceivers(List voiceReceivers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withVoiceReceivers(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.innerProperties() == null ? null : this.innerProperties().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 ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withLogicAppReceivers(List logicAppReceivers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withLogicAppReceivers(logicAppReceivers);
+ return this;
+ }
+
+ /**
+ * Get the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.
+ *
+ * @return the azureFunctionReceivers value.
+ */
+ public List azureFunctionReceivers() {
+ return this.innerProperties() == null ? null : this.innerProperties().azureFunctionReceivers();
+ }
+
+ /**
+ * Set the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.
+ *
+ * @param azureFunctionReceivers the azureFunctionReceivers value to set.
+ * @return the ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withAzureFunctionReceivers(List azureFunctionReceivers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withAzureFunctionReceivers(azureFunctionReceivers);
+ return this;
+ }
+
+ /**
+ * Get the armRoleReceivers property: 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.
+ *
+ * @return the armRoleReceivers value.
+ */
+ public List armRoleReceivers() {
+ return this.innerProperties() == null ? null : this.innerProperties().armRoleReceivers();
+ }
+
+ /**
+ * Set the armRoleReceivers property: 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.
+ *
+ * @param armRoleReceivers the armRoleReceivers value to set.
+ * @return the ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withArmRoleReceivers(List armRoleReceivers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withArmRoleReceivers(armRoleReceivers);
+ return this;
+ }
+
+ /**
+ * Get the eventHubReceivers property: The list of event hub receivers that are part of this action group.
+ *
+ * @return the eventHubReceivers value.
+ */
+ public List eventHubReceivers() {
+ return this.innerProperties() == null ? null : this.innerProperties().eventHubReceivers();
+ }
+
+ /**
+ * Set the eventHubReceivers property: The list of event hub receivers that are part of this action group.
+ *
+ * @param eventHubReceivers the eventHubReceivers value to set.
+ * @return the ActionGroupResourceInner object itself.
+ */
+ public ActionGroupResourceInner withEventHubReceivers(List eventHubReceivers) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ActionGroup();
+ }
+ this.innerProperties().withEventHubReceivers(eventHubReceivers);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ @Override
+ public void validate() {
+ super.validate();
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActivityLogAlertResourceInner.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActivityLogAlertResourceInner.java
new file mode 100644
index 0000000000000..18568d5220a95
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/ActivityLogAlertResourceInner.java
@@ -0,0 +1,180 @@
+// 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.resourcemanager.monitor.generated.models.ActionList;
+import com.azure.resourcemanager.monitor.generated.models.AlertRuleAllOfCondition;
+import com.azure.resourcemanager.monitor.generated.models.AzureResourceAutoGenerated;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import java.util.Map;
+
+/** An Activity Log Alert rule resource. */
+@Fluent
+public final class ActivityLogAlertResourceInner extends AzureResourceAutoGenerated {
+ /*
+ * The Activity Log Alert rule properties of the resource.
+ */
+ @JsonProperty(value = "properties")
+ private AlertRuleProperties innerProperties;
+
+ /**
+ * Get the innerProperties property: The Activity Log Alert rule properties of the resource.
+ *
+ * @return the innerProperties value.
+ */
+ private AlertRuleProperties innerProperties() {
+ return this.innerProperties;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ActivityLogAlertResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ActivityLogAlertResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Get the scopes property: A list of resource IDs that will be used as prefixes. The alert will only apply to
+ * Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one
+ * item.
+ *
+ * @return the scopes value.
+ */
+ public List scopes() {
+ return this.innerProperties() == null ? null : this.innerProperties().scopes();
+ }
+
+ /**
+ * Set the scopes property: A list of resource IDs that will be used as prefixes. The alert will only apply to
+ * Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one
+ * item.
+ *
+ * @param scopes the scopes value to set.
+ * @return the ActivityLogAlertResourceInner object itself.
+ */
+ public ActivityLogAlertResourceInner withScopes(List scopes) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AlertRuleProperties();
+ }
+ this.innerProperties().withScopes(scopes);
+ return this;
+ }
+
+ /**
+ * Get the condition property: The condition that will cause this alert to activate.
+ *
+ * @return the condition value.
+ */
+ public AlertRuleAllOfCondition condition() {
+ return this.innerProperties() == null ? null : this.innerProperties().condition();
+ }
+
+ /**
+ * Set the condition property: The condition that will cause this alert to activate.
+ *
+ * @param condition the condition value to set.
+ * @return the ActivityLogAlertResourceInner object itself.
+ */
+ public ActivityLogAlertResourceInner withCondition(AlertRuleAllOfCondition condition) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AlertRuleProperties();
+ }
+ this.innerProperties().withCondition(condition);
+ return this;
+ }
+
+ /**
+ * Get the actions property: The actions that will activate when the condition is met.
+ *
+ * @return the actions value.
+ */
+ public ActionList actions() {
+ return this.innerProperties() == null ? null : this.innerProperties().actions();
+ }
+
+ /**
+ * Set the actions property: The actions that will activate when the condition is met.
+ *
+ * @param actions the actions value to set.
+ * @return the ActivityLogAlertResourceInner object itself.
+ */
+ public ActivityLogAlertResourceInner withActions(ActionList actions) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AlertRuleProperties();
+ }
+ this.innerProperties().withActions(actions);
+ return this;
+ }
+
+ /**
+ * Get the enabled property: Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert
+ * rule is not enabled, then none of its actions will be activated.
+ *
+ * @return the enabled value.
+ */
+ public Boolean enabled() {
+ return this.innerProperties() == null ? null : this.innerProperties().enabled();
+ }
+
+ /**
+ * Set the enabled property: Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert
+ * rule is not enabled, then none of its actions will be activated.
+ *
+ * @param enabled the enabled value to set.
+ * @return the ActivityLogAlertResourceInner object itself.
+ */
+ public ActivityLogAlertResourceInner withEnabled(Boolean enabled) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AlertRuleProperties();
+ }
+ this.innerProperties().withEnabled(enabled);
+ return this;
+ }
+
+ /**
+ * Get the description property: A description of this Activity Log Alert rule.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.innerProperties() == null ? null : this.innerProperties().description();
+ }
+
+ /**
+ * Set the description property: A description of this Activity Log Alert rule.
+ *
+ * @param description the description value to set.
+ * @return the ActivityLogAlertResourceInner object itself.
+ */
+ public ActivityLogAlertResourceInner withDescription(String description) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AlertRuleProperties();
+ }
+ this.innerProperties().withDescription(description);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ @Override
+ public void validate() {
+ super.validate();
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/AlertRule.java b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/AlertRule.java
new file mode 100644
index 0000000000000..0c1bf74b5516f
--- /dev/null
+++ b/sdk/monitor/azure-resourcemanager-monitor-generated/src/main/java/com/azure/resourcemanager/monitor/generated/fluent/models/AlertRule.java
@@ -0,0 +1,248 @@
+// 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.RuleAction;
+import com.azure.resourcemanager.monitor.generated.models.RuleCondition;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
+import java.util.List;
+
+/** An alert rule. */
+@Fluent
+public final class AlertRule {
+ /*
+ * the name of the alert rule.
+ */
+ @JsonProperty(value = "name", required = true)
+ private String name;
+
+ /*
+ * the description of the alert rule that will be included in the alert
+ * email.
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /*
+ * the provisioning state.
+ */
+ @JsonProperty(value = "provisioningState")
+ private String provisioningState;
+
+ /*
+ * the flag that indicates whether the alert rule is enabled.
+ */
+ @JsonProperty(value = "isEnabled", required = true)
+ private boolean isEnabled;
+
+ /*
+ * the condition that results in the alert rule being activated.
+ */
+ @JsonProperty(value = "condition", required = true)
+ private RuleCondition condition;
+
+ /*
+ * action that is performed when the alert rule becomes active, and when an
+ * alert condition is resolved.
+ */
+ @JsonProperty(value = "action")
+ private RuleAction action;
+
+ /*
+ * the array of actions that are performed when the alert rule becomes
+ * active, and when an alert condition is resolved.
+ */
+ @JsonProperty(value = "actions")
+ private List