diff --git a/sdk/resourcemanager/api-specs.json b/sdk/resourcemanager/api-specs.json
index 2f21ef0d5213..b34199ad3cfc 100644
--- a/sdk/resourcemanager/api-specs.json
+++ b/sdk/resourcemanager/api-specs.json
@@ -210,7 +210,7 @@
"dir": "azure-resourcemanager-monitor",
"source": "specification/monitor/resource-manager/readme.md",
"package": "com.azure.resourcemanager.monitor",
- "args": "--payload-flattening-threshold=1 --tag=package-2019-06 --add-inner=AutoscaleProfile,ScaleRule,LocalizableString"
+ "args": "--payload-flattening-threshold=1 --tag=package-2021-04 --add-inner=AutoscaleProfile,ScaleRule,LocalizableString --rename-model=MetricUnit:Unit"
},
"network": {
"dir": "azure-resourcemanager-network",
diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml b/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml
index 96a91183248e..ee6b0466b502 100644
--- a/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml
+++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml
@@ -148,8 +148,6 @@
revapi-maven-plugin
0.11.2
- true
-
-
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md
index 0803327b4fa5..064db6d50903 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md
@@ -2,6 +2,14 @@
## 2.7.0-beta.1 (Unreleased)
+### Dependency Updates
+
+- Updated `api-version` to `2021-04-01`.
+
+### Breaking Changes
+
+- Class `AggregationType` is renamed to `AggregationTypeEnum`.
+- Enum `Unit` changed to subclass of `ExpandableStringEnum`.
## 2.6.0 (2021-06-18)
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml b/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml
index 5b29e9aba237..62ebacdcb351 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml
@@ -178,6 +178,8 @@
revapi-maven-plugin
0.11.2
+ true
+
-
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActionGroupsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActionGroupsClient.java
index f951e12c33d7..d03712cb3838 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActionGroupsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActionGroupsClient.java
@@ -27,7 +27,7 @@ public interface ActionGroupsClient
*
* @param resourceGroupName The name of the resource group.
* @param actionGroupName The name of the action group.
- * @param actionGroup An action group resource.
+ * @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.
@@ -42,7 +42,7 @@ Mono> createOrUpdateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param actionGroupName The name of the action group.
- * @param actionGroup An action group resource.
+ * @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.
@@ -57,7 +57,7 @@ Mono createOrUpdateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param actionGroupName The name of the action group.
- * @param actionGroup An action group resource.
+ * @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.
@@ -72,7 +72,7 @@ ActionGroupResourceInner createOrUpdate(
*
* @param resourceGroupName The name of the resource group.
* @param actionGroupName The name of the action group.
- * @param actionGroup An action group resource.
+ * @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.
@@ -195,7 +195,7 @@ Response getByResourceGroupWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param actionGroupName The name of the action group.
- * @param actionGroupPatch An action group object for the body of patch operations.
+ * @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.
@@ -210,7 +210,7 @@ Mono> updateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param actionGroupName The name of the action group.
- * @param actionGroupPatch An action group object for the body of patch operations.
+ * @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.
@@ -225,7 +225,7 @@ Mono updateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param actionGroupName The name of the action group.
- * @param actionGroupPatch An action group object for the body of patch operations.
+ * @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.
@@ -240,7 +240,7 @@ ActionGroupResourceInner update(
*
* @param resourceGroupName The name of the resource group.
* @param actionGroupName The name of the action group.
- * @param actionGroupPatch An action group object for the body of patch operations.
+ * @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.
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActivityLogAlertsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActivityLogAlertsClient.java
index db739fac4855..95b791192613 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActivityLogAlertsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActivityLogAlertsClient.java
@@ -27,7 +27,7 @@ public interface ActivityLogAlertsClient
*
* @param resourceGroupName The name of the resource group.
* @param activityLogAlertName The name of the activity log alert.
- * @param activityLogAlert An activity log alert resource.
+ * @param activityLogAlert The activity log alert 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.
@@ -42,7 +42,7 @@ Mono> createOrUpdateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param activityLogAlertName The name of the activity log alert.
- * @param activityLogAlert An activity log alert resource.
+ * @param activityLogAlert The activity log alert 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.
@@ -57,7 +57,7 @@ Mono createOrUpdateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param activityLogAlertName The name of the activity log alert.
- * @param activityLogAlert An activity log alert resource.
+ * @param activityLogAlert The activity log alert 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.
@@ -72,7 +72,7 @@ ActivityLogAlertResourceInner createOrUpdate(
*
* @param resourceGroupName The name of the resource group.
* @param activityLogAlertName The name of the activity log alert.
- * @param activityLogAlert An activity log alert resource.
+ * @param activityLogAlert The activity log alert 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.
@@ -198,7 +198,7 @@ Response getByResourceGroupWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param activityLogAlertName The name of the activity log alert.
- * @param activityLogAlertPatch An activity log alert object for the body of patch operations.
+ * @param activityLogAlertPatch 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.
@@ -213,7 +213,7 @@ Mono> updateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param activityLogAlertName The name of the activity log alert.
- * @param activityLogAlertPatch An activity log alert object for the body of patch operations.
+ * @param activityLogAlertPatch 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.
@@ -228,7 +228,7 @@ Mono updateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param activityLogAlertName The name of the activity log alert.
- * @param activityLogAlertPatch An activity log alert object for the body of patch operations.
+ * @param activityLogAlertPatch 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.
@@ -243,7 +243,7 @@ ActivityLogAlertResourceInner update(
*
* @param resourceGroupName The name of the resource group.
* @param activityLogAlertName The name of the activity log alert.
- * @param activityLogAlertPatch An activity log alert object for the body of patch operations.
+ * @param activityLogAlertPatch 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.
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActivityLogsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActivityLogsClient.java
index f9ea72cf34c5..ce9655360166 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActivityLogsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ActivityLogsClient.java
@@ -82,19 +82,13 @@ public interface ActivityLogsClient {
* 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.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String filter, String select, Context context);
+ PagedIterable list(String filter);
/**
* Provides the list of records from the activity logs.
@@ -112,11 +106,17 @@ public interface ActivityLogsClient {
* 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.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String filter);
+ PagedIterable list(String filter, String select, Context context);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/AlertRulesClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/AlertRulesClient.java
index 2eb0a6243189..fc1bcf282920 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/AlertRulesClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/AlertRulesClient.java
@@ -27,7 +27,7 @@ public interface AlertRulesClient
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The alert rule resource.
+ * @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.
@@ -42,7 +42,7 @@ Mono> createOrUpdateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The alert rule resource.
+ * @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.
@@ -57,7 +57,7 @@ Mono createOrUpdateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The alert rule resource.
+ * @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.
@@ -71,7 +71,7 @@ Mono createOrUpdateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The alert rule resource.
+ * @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.
@@ -194,7 +194,7 @@ Response getByResourceGroupWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param alertRulesResource The alert rule object for patch operations.
+ * @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.
@@ -209,7 +209,7 @@ Mono> updateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param alertRulesResource The alert rule object for patch operations.
+ * @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.
@@ -224,7 +224,7 @@ Mono updateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param alertRulesResource The alert rule object for patch operations.
+ * @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.
@@ -238,7 +238,7 @@ Mono updateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param alertRulesResource The alert rule object for patch operations.
+ * @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.
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/AutoscaleSettingsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/AutoscaleSettingsClient.java
index 713f9f21b194..5b12805a43ed 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/AutoscaleSettingsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/AutoscaleSettingsClient.java
@@ -64,7 +64,7 @@ public interface AutoscaleSettingsClient
*
* @param resourceGroupName The name of the resource group.
* @param autoscaleSettingName The autoscale setting name.
- * @param parameters The autoscale setting resource.
+ * @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.
@@ -79,7 +79,7 @@ Mono> createOrUpdateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param autoscaleSettingName The autoscale setting name.
- * @param parameters The autoscale setting resource.
+ * @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.
@@ -94,7 +94,7 @@ Mono createOrUpdateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param autoscaleSettingName The autoscale setting name.
- * @param parameters The autoscale setting resource.
+ * @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.
@@ -109,7 +109,7 @@ AutoscaleSettingResourceInner createOrUpdate(
*
* @param resourceGroupName The name of the resource group.
* @param autoscaleSettingName The autoscale setting name.
- * @param parameters The autoscale setting resource.
+ * @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.
@@ -235,7 +235,7 @@ Response getByResourceGroupWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param autoscaleSettingName The autoscale setting name.
- * @param autoscaleSettingResource The autoscale setting object for patch operations.
+ * @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.
@@ -250,7 +250,7 @@ Mono> updateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param autoscaleSettingName The autoscale setting name.
- * @param autoscaleSettingResource The autoscale setting object for patch operations.
+ * @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.
@@ -265,7 +265,7 @@ Mono updateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param autoscaleSettingName The autoscale setting name.
- * @param autoscaleSettingResource The autoscale setting object for patch operations.
+ * @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.
@@ -280,7 +280,7 @@ AutoscaleSettingResourceInner update(
*
* @param resourceGroupName The name of the resource group.
* @param autoscaleSettingName The autoscale setting name.
- * @param autoscaleSettingResource The autoscale setting object for patch operations.
+ * @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.
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/BaselinesClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/BaselinesClient.java
index 3f8869bb86dc..891060656f48 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/BaselinesClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/BaselinesClient.java
@@ -19,21 +19,24 @@ public interface BaselinesClient {
* **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.
+ * @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.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series
- * of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq
- * ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B =
- * ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata
- * names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B
- * eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq
- * ‘*’ and C eq ‘*’**.
+ * @param 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.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -68,21 +71,36 @@ PagedFlux listAsync(
* **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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @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.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series
- * of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq
- * ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B =
- * ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata
- * names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B
- * eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq
- * ‘*’ and C eq ‘*’**.
+ * @param 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.
@@ -102,16 +120,4 @@ PagedIterable list(
String filter,
ResultType resultType,
Context context);
-
- /**
- * **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.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceUri);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DataCollectionEndpointsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DataCollectionEndpointsClient.java
new file mode 100644
index 000000000000..787d0abe1049
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DataCollectionEndpointsClient.java
@@ -0,0 +1,348 @@
+// 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.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.fluent.models.DataCollectionEndpointResourceInner;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
+import java.util.Map;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in DataCollectionEndpointsClient. */
+public interface DataCollectionEndpointsClient
+ extends InnerSupportsGet,
+ InnerSupportsListing,
+ InnerSupportsDelete {
+ /**
+ * 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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByResourceGroupAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync();
+
+ /**
+ * 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.
+ */
+ @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.
+ */
+ @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)
+ Mono> getByResourceGroupWithResponseAsync(
+ 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono getByResourceGroupAsync(
+ 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @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.
+ * @param body The payload.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return definition of ARM tracked top level resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> createWithResponseAsync(
+ String resourceGroupName, String dataCollectionEndpointName, DataCollectionEndpointResourceInner body);
+
+ /**
+ * 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono createAsync(
+ String resourceGroupName, String dataCollectionEndpointName, DataCollectionEndpointResourceInner body);
+
+ /**
+ * 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)
+ Mono createAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @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.
+ * @param tags Resource tags.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono> updateWithResponseAsync(
+ String resourceGroupName, String dataCollectionEndpointName, Map tags);
+
+ /**
+ * 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 tags Resource tags.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono updateAsync(
+ String resourceGroupName, String dataCollectionEndpointName, Map tags);
+
+ /**
+ * 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)
+ Mono updateAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 tags Resource tags.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Response updateWithResponse(
+ String resourceGroupName, String dataCollectionEndpointName, Map tags, 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.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> deleteWithResponseAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.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 response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String dataCollectionEndpointName, Context context);
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DataCollectionRuleAssociationsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DataCollectionRuleAssociationsClient.java
new file mode 100644
index 000000000000..de8848563c01
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DataCollectionRuleAssociationsClient.java
@@ -0,0 +1,281 @@
+// 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.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.fluent.models.DataCollectionRuleAssociationProxyOnlyResourceInner;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in DataCollectionRuleAssociationsClient. */
+public interface DataCollectionRuleAssociationsClient extends InnerSupportsDelete {
+ /**
+ * 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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByResourceAsync(String resourceUri);
+
+ /**
+ * 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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByRuleAsync(
+ 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByRule(
+ String resourceGroupName, String dataCollectionRuleName, 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)
+ Mono> getWithResponseAsync(
+ 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono getAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @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.
+ * @param body The payload.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return definition of generic ARM proxy resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> createWithResponseAsync(
+ String resourceUri, String associationName, DataCollectionRuleAssociationProxyOnlyResourceInner body);
+
+ /**
+ * 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono createAsync(
+ String resourceUri, String associationName, DataCollectionRuleAssociationProxyOnlyResourceInner body);
+
+ /**
+ * 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)
+ Mono createAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @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.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> deleteWithResponseAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.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 response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceUri, String associationName, Context context);
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DataCollectionRulesClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DataCollectionRulesClient.java
new file mode 100644
index 000000000000..35e7ab09e4bd
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DataCollectionRulesClient.java
@@ -0,0 +1,345 @@
+// 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.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.fluent.models.DataCollectionRuleResourceInner;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
+import java.util.Map;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in DataCollectionRulesClient. */
+public interface DataCollectionRulesClient
+ extends InnerSupportsGet,
+ InnerSupportsListing,
+ InnerSupportsDelete {
+ /**
+ * 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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByResourceGroupAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync();
+
+ /**
+ * 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.
+ */
+ @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.
+ */
+ @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)
+ Mono> getByResourceGroupWithResponseAsync(
+ 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono getByResourceGroupAsync(
+ 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @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.
+ * @param body The payload.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return definition of ARM tracked top level resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> createWithResponseAsync(
+ String resourceGroupName, String dataCollectionRuleName, DataCollectionRuleResourceInner body);
+
+ /**
+ * 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono createAsync(
+ String resourceGroupName, String dataCollectionRuleName, DataCollectionRuleResourceInner body);
+
+ /**
+ * 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)
+ Mono createAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @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.
+ * @param tags Resource tags.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono> updateWithResponseAsync(
+ String resourceGroupName, String dataCollectionRuleName, Map tags);
+
+ /**
+ * 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 tags Resource tags.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono updateAsync(
+ String resourceGroupName, String dataCollectionRuleName, Map tags);
+
+ /**
+ * 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)
+ Mono updateAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 tags Resource tags.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Response updateWithResponse(
+ String resourceGroupName, String dataCollectionRuleName, Map tags, 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.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono> deleteWithResponseAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.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 response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String dataCollectionRuleName, Context context);
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DiagnosticSettingsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DiagnosticSettingsClient.java
index c0eb4947a251..be23589c549f 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DiagnosticSettingsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/DiagnosticSettingsClient.java
@@ -73,7 +73,7 @@ public interface DiagnosticSettingsClient extends InnerSupportsDelete {
*
* @param resourceUri The identifier of the resource.
* @param name The name of the diagnostic setting.
- * @param parameters The diagnostic setting resource.
+ * @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.
@@ -88,7 +88,7 @@ Mono> createOrUpdateWithResponseAsync(
*
* @param resourceUri The identifier of the resource.
* @param name The name of the diagnostic setting.
- * @param parameters The diagnostic setting resource.
+ * @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.
@@ -103,7 +103,7 @@ Mono createOrUpdateAsync(
*
* @param resourceUri The identifier of the resource.
* @param name The name of the diagnostic setting.
- * @param parameters The diagnostic setting resource.
+ * @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.
@@ -118,7 +118,7 @@ DiagnosticSettingsResourceInner createOrUpdate(
*
* @param resourceUri The identifier of the resource.
* @param name The name of the diagnostic setting.
- * @param parameters The diagnostic setting resource.
+ * @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.
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/LogProfilesClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/LogProfilesClient.java
index 9212cd5eb2ea..7a00312a9ca6 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/LogProfilesClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/LogProfilesClient.java
@@ -117,7 +117,7 @@ public interface LogProfilesClient {
* Create or update a log profile in Azure Monitoring REST API.
*
* @param logProfileName The name of the log profile.
- * @param parameters The log profile resource.
+ * @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.
@@ -131,7 +131,7 @@ Mono> createOrUpdateWithResponseAsync(
* Create or update a log profile in Azure Monitoring REST API.
*
* @param logProfileName The name of the log profile.
- * @param parameters The log profile resource.
+ * @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.
@@ -144,7 +144,7 @@ Mono> createOrUpdateWithResponseAsync(
* Create or update a log profile in Azure Monitoring REST API.
*
* @param logProfileName The name of the log profile.
- * @param parameters The log profile resource.
+ * @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.
@@ -157,7 +157,7 @@ Mono> createOrUpdateWithResponseAsync(
* Create or update a log profile in Azure Monitoring REST API.
*
* @param logProfileName The name of the log profile.
- * @param parameters The log profile resource.
+ * @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.
@@ -172,7 +172,7 @@ Response createOrUpdateWithResponse(
* Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.
*
* @param logProfileName The name of the log profile.
- * @param logProfilesResource The log profile resource for patch operations.
+ * @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.
@@ -186,7 +186,7 @@ Mono> updateWithResponseAsync(
* Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.
*
* @param logProfileName The name of the log profile.
- * @param logProfilesResource The log profile resource for patch operations.
+ * @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.
@@ -199,7 +199,7 @@ Mono> updateWithResponseAsync(
* Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.
*
* @param logProfileName The name of the log profile.
- * @param logProfilesResource The log profile resource for patch operations.
+ * @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.
@@ -212,7 +212,7 @@ Mono> updateWithResponseAsync(
* Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.
*
* @param logProfileName The name of the log profile.
- * @param logProfilesResource The log profile resource for patch operations.
+ * @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.
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricAlertsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricAlertsClient.java
index 5f77564f73c0..97ecddf3030a 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricAlertsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricAlertsClient.java
@@ -151,7 +151,7 @@ Response getByResourceGroupWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The metric alert resource.
+ * @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.
@@ -166,7 +166,7 @@ Mono> createOrUpdateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The metric alert resource.
+ * @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.
@@ -181,7 +181,7 @@ Mono createOrUpdateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The metric alert resource.
+ * @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.
@@ -196,7 +196,7 @@ MetricAlertResourceInner createOrUpdate(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The metric alert resource.
+ * @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.
@@ -212,7 +212,7 @@ Response createOrUpdateWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The metric alert resource for patch operations.
+ * @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.
@@ -227,7 +227,7 @@ Mono> updateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The metric alert resource for patch operations.
+ * @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.
@@ -242,7 +242,7 @@ Mono updateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The metric alert resource for patch operations.
+ * @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.
@@ -256,7 +256,7 @@ Mono updateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The metric alert resource for patch operations.
+ * @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.
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricBaselinesClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricBaselinesClient.java
deleted file mode 100644
index d403309a74e6..000000000000
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricBaselinesClient.java
+++ /dev/null
@@ -1,208 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.monitor.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.fluent.models.BaselineResponseInner;
-import com.azure.resourcemanager.monitor.fluent.models.CalculateBaselineResponseInner;
-import com.azure.resourcemanager.monitor.models.ResultType;
-import com.azure.resourcemanager.monitor.models.TimeSeriesInformation;
-import java.time.Duration;
-import reactor.core.publisher.Mono;
-
-/** An instance of this class provides access to all the operations defined in MetricBaselinesClient. */
-public interface MetricBaselinesClient {
- /**
- * **Gets the baseline values for a specific metric**.
- *
- * @param resourceUri The identifier of the resource. It has the following structure:
- * subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
- * For example:
- * subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.
- * @param metricName The name of the metric to retrieve the baseline 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 aggregation type of the metric to retrieve the baseline for.
- * @param sensitivities The list of sensitivities (comma separated) to retrieve.
- * @param resultType Allows retrieving only metadata of the baseline. On data request all information is retrieved.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException 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 baseline query.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> getWithResponseAsync(
- String resourceUri,
- String metricName,
- String timespan,
- Duration interval,
- String aggregation,
- String sensitivities,
- ResultType resultType);
-
- /**
- * **Gets the baseline values for a specific metric**.
- *
- * @param resourceUri The identifier of the resource. It has the following structure:
- * subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
- * For example:
- * subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.
- * @param metricName The name of the metric to retrieve the baseline 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 aggregation type of the metric to retrieve the baseline for.
- * @param sensitivities The list of sensitivities (comma separated) to retrieve.
- * @param resultType Allows retrieving only metadata of the baseline. On data request all information is retrieved.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException 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 baseline query.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono getAsync(
- String resourceUri,
- String metricName,
- String timespan,
- Duration interval,
- String aggregation,
- String sensitivities,
- ResultType resultType);
-
- /**
- * **Gets the baseline values for a specific metric**.
- *
- * @param resourceUri The identifier of the resource. It has the following structure:
- * subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
- * For example:
- * subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.
- * @param metricName The name of the metric to retrieve the baseline for.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException 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 baseline query.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono getAsync(String resourceUri, String metricName);
-
- /**
- * **Gets the baseline values for a specific metric**.
- *
- * @param resourceUri The identifier of the resource. It has the following structure:
- * subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
- * For example:
- * subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.
- * @param metricName The name of the metric to retrieve the baseline for.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException 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 baseline query.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- BaselineResponseInner get(String resourceUri, String metricName);
-
- /**
- * **Gets the baseline values for a specific metric**.
- *
- * @param resourceUri The identifier of the resource. It has the following structure:
- * subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
- * For example:
- * subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.
- * @param metricName The name of the metric to retrieve the baseline 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 aggregation type of the metric to retrieve the baseline for.
- * @param sensitivities The list of sensitivities (comma separated) to retrieve.
- * @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 the response to a baseline query.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceUri,
- String metricName,
- String timespan,
- Duration interval,
- String aggregation,
- String sensitivities,
- ResultType resultType,
- Context context);
-
- /**
- * **Lists the baseline values for a resource**.
- *
- * @param resourceUri The identifier of the resource. It has the following structure:
- * subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
- * For example:
- * subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.
- * @param timeSeriesInformation The time series info needed for calculating the baseline.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException 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 calculate baseline call.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono> calculateBaselineWithResponseAsync(
- String resourceUri, TimeSeriesInformation timeSeriesInformation);
-
- /**
- * **Lists the baseline values for a resource**.
- *
- * @param resourceUri The identifier of the resource. It has the following structure:
- * subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
- * For example:
- * subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.
- * @param timeSeriesInformation The time series info needed for calculating the baseline.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException 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 calculate baseline call.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Mono calculateBaselineAsync(
- String resourceUri, TimeSeriesInformation timeSeriesInformation);
-
- /**
- * **Lists the baseline values for a resource**.
- *
- * @param resourceUri The identifier of the resource. It has the following structure:
- * subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
- * For example:
- * subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.
- * @param timeSeriesInformation The time series info needed for calculating the baseline.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException 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 calculate baseline call.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- CalculateBaselineResponseInner calculateBaseline(String resourceUri, TimeSeriesInformation timeSeriesInformation);
-
- /**
- * **Lists the baseline values for a resource**.
- *
- * @param resourceUri The identifier of the resource. It has the following structure:
- * subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
- * For example:
- * subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.
- * @param timeSeriesInformation The time series info needed for calculating the baseline.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException 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 calculate baseline call.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response calculateBaselineWithResponse(
- String resourceUri, TimeSeriesInformation timeSeriesInformation, Context context);
-}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricDefinitionsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricDefinitionsClient.java
index 2fe17b690ca3..3901d8b31afc 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricDefinitionsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricDefinitionsClient.java
@@ -42,25 +42,25 @@ public interface MetricDefinitionsClient {
* 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.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceUri, String metricnamespace, Context context);
+ 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.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceUri);
+ PagedIterable list(String resourceUri, String metricnamespace, Context context);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricNamespacesClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricNamespacesClient.java
index 99a7716a995f..1759df705267 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricNamespacesClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricNamespacesClient.java
@@ -42,25 +42,25 @@ public interface MetricNamespacesClient {
* 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.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceUri, String startTime, Context context);
+ 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.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceUri);
+ PagedIterable list(String resourceUri, String startTime, Context context);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricsClient.java
index 005c57397805..9d02cb5fbe26 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MetricsClient.java
@@ -22,19 +22,22 @@ public interface MetricsClient {
* @param timespan The timespan of the query. It is a string with the following format
* 'startDateTime_ISO/endDateTime_ISO'.
* @param interval The interval (i.e. timegrain) of the query.
- * @param metricnames The names of the metrics (comma separated) to retrieve.
+ * @param 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.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series
- * of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq
- * ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B =
- * ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata
- * names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B
- * eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq
- * ‘*’ and C eq ‘*’**.
+ * @param 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.
@@ -63,19 +66,22 @@ Mono> listWithResponseAsync(
* @param timespan The timespan of the query. It is a string with the following format
* 'startDateTime_ISO/endDateTime_ISO'.
* @param interval The interval (i.e. timegrain) of the query.
- * @param metricnames The names of the metrics (comma separated) to retrieve.
+ * @param 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.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series
- * of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq
- * ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B =
- * ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata
- * names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B
- * eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq
- * ‘*’ and C eq ‘*’**.
+ * @param 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.
@@ -128,19 +134,22 @@ Mono listAsync(
* @param timespan The timespan of the query. It is a string with the following format
* 'startDateTime_ISO/endDateTime_ISO'.
* @param interval The interval (i.e. timegrain) of the query.
- * @param metricnames The names of the metrics (comma separated) to retrieve.
+ * @param 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.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series
- * of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq
- * ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B =
- * ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata
- * names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B
- * eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq
- * ‘*’ and C eq ‘*’**.
+ * @param 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.
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MonitorClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MonitorClient.java
index bae4e76e865f..1b66bcc3a033 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MonitorClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/MonitorClient.java
@@ -10,7 +10,7 @@
/** The interface for MonitorClient class. */
public interface MonitorClient {
/**
- * Gets The Azure subscription Id.
+ * Gets The ID of the target subscription.
*
* @return the subscriptionId value.
*/
@@ -93,13 +93,6 @@ public interface MonitorClient {
*/
ActionGroupsClient getActionGroups();
- /**
- * Gets the ActivityLogAlertsClient object to access its operations.
- *
- * @return the ActivityLogAlertsClient object.
- */
- ActivityLogAlertsClient getActivityLogAlerts();
-
/**
* Gets the ActivityLogsClient object to access its operations.
*
@@ -135,13 +128,6 @@ public interface MonitorClient {
*/
MetricsClient getMetrics();
- /**
- * Gets the MetricBaselinesClient object to access its operations.
- *
- * @return the MetricBaselinesClient object.
- */
- MetricBaselinesClient getMetricBaselines();
-
/**
* Gets the BaselinesClient object to access its operations.
*
@@ -183,4 +169,67 @@ public interface MonitorClient {
* @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/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateEndpointConnectionsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateEndpointConnectionsClient.java
new file mode 100644
index 000000000000..d48aacb703de
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateEndpointConnectionsClient.java
@@ -0,0 +1,363 @@
+// 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.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.monitor.fluent.models.PrivateEndpointConnectionInner;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/** 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.
+ * @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)
+ Mono> getWithResponseAsync(
+ String resourceGroupName, String scopeName, String privateEndpointConnectionName);
+
+ /**
+ * Gets a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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)
+ Mono getAsync(
+ String resourceGroupName, String scopeName, String privateEndpointConnectionName);
+
+ /**
+ * Gets a private endpoint connection.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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.
+ * @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.
+ */
+ @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.
+ * @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)
+ Mono>> createOrUpdateWithResponseAsync(
+ 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.
+ * @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)
+ PollerFlux, PrivateEndpointConnectionInner> beginCreateOrUpdateAsync(
+ 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.
+ * @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)
+ 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.
+ * @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)
+ 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.
+ * @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)
+ Mono createOrUpdateAsync(
+ 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.
+ * @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.
+ * @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.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteWithResponseAsync(
+ String resourceGroupName, String scopeName, String privateEndpointConnectionName);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PollerFlux, Void> beginDeleteAsync(
+ String resourceGroupName, String scopeName, String privateEndpointConnectionName);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ 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.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ 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.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(String resourceGroupName, String scopeName, String privateEndpointConnectionName);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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.
+ * @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.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all private endpoint connections on a private link scope.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByPrivateLinkScopeAsync(String resourceGroupName, String scopeName);
+
+ /**
+ * Gets all private endpoint connections on a private link scope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all private endpoint connections on a private link scope.
+ */
+ @ServiceMethod(returns = ReturnType.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.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByPrivateLinkScope(
+ String resourceGroupName, String scopeName, Context context);
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkResourcesClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkResourcesClient.java
new file mode 100644
index 000000000000..9e4743502c5a
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkResourcesClient.java
@@ -0,0 +1,117 @@
+// 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.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.fluent.models.PrivateLinkResourceInner;
+import reactor.core.publisher.Mono;
+
+/** 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.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByPrivateLinkScopeAsync(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.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
+ */
+ @ServiceMethod(returns = ReturnType.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.
+ * @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.
+ */
+ @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.
+ * @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)
+ Mono> getWithResponseAsync(
+ 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.
+ * @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)
+ Mono getAsync(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.
+ * @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.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String scopeName, String groupName, Context context);
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkScopeOperationStatusClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkScopeOperationStatusClient.java
new file mode 100644
index 000000000000..cc325e423124
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkScopeOperationStatusClient.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.monitor.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.fluent.models.OperationStatusInner;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in PrivateLinkScopeOperationStatusClient. */
+public interface PrivateLinkScopeOperationStatusClient extends InnerSupportsGet {
+ /**
+ * Get the status of an azure asynchronous operation associated with a private link scope operation.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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)
+ Mono> getByResourceGroupWithResponseAsync(
+ 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.
+ * @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)
+ Mono getByResourceGroupAsync(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.
+ * @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.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String asyncOperationId, Context context);
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkScopedResourcesClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkScopedResourcesClient.java
new file mode 100644
index 000000000000..94132afe74f9
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkScopedResourcesClient.java
@@ -0,0 +1,362 @@
+// 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.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.monitor.fluent.models.ScopedResourceInner;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/** 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.
+ * @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)
+ Mono> getWithResponseAsync(String resourceGroupName, String scopeName, String name);
+
+ /**
+ * Gets a scoped resource in a private link scope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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)
+ Mono getAsync(String resourceGroupName, String scopeName, String name);
+
+ /**
+ * Gets a scoped resource in a private link scope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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.
+ * @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.
+ */
+ @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.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param linkedResourceId The resource id of the scoped Azure monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> createOrUpdateWithResponseAsync(
+ String resourceGroupName, String scopeName, String name, String linkedResourceId);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param linkedResourceId The resource id of the scoped Azure monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PollerFlux, ScopedResourceInner> beginCreateOrUpdateAsync(
+ String resourceGroupName, String scopeName, String name, String linkedResourceId);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param linkedResourceId The resource id of the scoped Azure monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ScopedResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String scopeName, String name, String linkedResourceId);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param linkedResourceId The resource id of the scoped Azure monitor resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, ScopedResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String scopeName, String name, String linkedResourceId, Context context);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param linkedResourceId The resource id of the scoped Azure monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createOrUpdateAsync(
+ String resourceGroupName, String scopeName, String name, String linkedResourceId);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono createOrUpdateAsync(String resourceGroupName, String scopeName, String name);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param linkedResourceId The resource id of the scoped Azure monitor resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ScopedResourceInner createOrUpdate(
+ String resourceGroupName, String scopeName, String name, String linkedResourceId);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ScopedResourceInner createOrUpdate(String resourceGroupName, String scopeName, String name);
+
+ /**
+ * Approve or reject a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param name The name of the scoped resource object.
+ * @param linkedResourceId The resource id of the scoped Azure monitor resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a private link scoped resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ScopedResourceInner createOrUpdate(
+ String resourceGroupName, String scopeName, String name, String linkedResourceId, Context context);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteWithResponseAsync(String resourceGroupName, String scopeName, String name);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String scopeName, String name);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ 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.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ 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.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(String resourceGroupName, String scopeName, String name);
+
+ /**
+ * Deletes a private endpoint connection with a given name.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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.
+ * @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.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all private endpoint connections on a private link scope.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByPrivateLinkScopeAsync(String resourceGroupName, String scopeName);
+
+ /**
+ * Gets all private endpoint connections on a private link scope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all private endpoint connections on a private link scope.
+ */
+ @ServiceMethod(returns = ReturnType.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.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByPrivateLinkScope(
+ String resourceGroupName, String scopeName, Context context);
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkScopesClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkScopesClient.java
new file mode 100644
index 000000000000..56c6f528f2c2
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/PrivateLinkScopesClient.java
@@ -0,0 +1,394 @@
+// 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.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedFlux;
+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.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.monitor.fluent.models.AzureMonitorPrivateLinkScopeInner;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
+import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
+import java.nio.ByteBuffer;
+import java.util.Map;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in PrivateLinkScopesClient. */
+public interface PrivateLinkScopesClient
+ extends InnerSupportsGet,
+ InnerSupportsListing,
+ InnerSupportsDelete {
+ /**
+ * 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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listAsync();
+
+ /**
+ * 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.
+ */
+ @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.
+ */
+ @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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedFlux listByResourceGroupAsync(String resourceGroupName);
+
+ /**
+ * Gets a list of Azure Monitor PrivateLinkScopes within a resource group.
+ *
+ * @param resourceGroupName The name of the resource 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 a list of Azure Monitor PrivateLinkScopes within a resource group.
+ */
+ @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.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Deletes a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono>> deleteWithResponseAsync(String resourceGroupName, String scopeName);
+
+ /**
+ * Deletes a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String scopeName);
+
+ /**
+ * Deletes a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String scopeName);
+
+ /**
+ * Deletes a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String scopeName, Context context);
+
+ /**
+ * Deletes a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 completion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Mono deleteAsync(String resourceGroupName, String scopeName);
+
+ /**
+ * Deletes a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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.
+ * @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.
+ * @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)
+ Mono> getByResourceGroupWithResponseAsync(
+ String resourceGroupName, String scopeName);
+
+ /**
+ * Returns a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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)
+ Mono getByResourceGroupAsync(String resourceGroupName, String scopeName);
+
+ /**
+ * Returns a Azure Monitor PrivateLinkScope.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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.
+ * @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.
+ */
+ @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.
+ * @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)
+ Mono> createOrUpdateWithResponseAsync(
+ 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.
+ * @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)
+ Mono createOrUpdateAsync(
+ 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.
+ * @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.
+ * @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.
+ */
+ @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.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param tags Resource tags.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono> updateTagsWithResponseAsync(
+ String resourceGroupName, String scopeName, Map tags);
+
+ /**
+ * Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param tags Resource tags.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Mono updateTagsAsync(
+ String resourceGroupName, String scopeName, Map tags);
+
+ /**
+ * Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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)
+ Mono updateTagsAsync(String resourceGroupName, String scopeName);
+
+ /**
+ * Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @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 updateTags(String resourceGroupName, String scopeName);
+
+ /**
+ * Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
+ *
+ * @param resourceGroupName The name of the resource group.
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
+ * @param tags Resource tags.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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)
+ Response updateTagsWithResponse(
+ String resourceGroupName, String scopeName, Map tags, Context context);
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ScheduledQueryRulesClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ScheduledQueryRulesClient.java
index d0143c3e50cc..7e4181fbab15 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ScheduledQueryRulesClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/ScheduledQueryRulesClient.java
@@ -27,7 +27,7 @@ public interface ScheduledQueryRulesClient
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The Log Search Rule resource.
+ * @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.
@@ -42,7 +42,7 @@ Mono> createOrUpdateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The Log Search Rule resource.
+ * @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.
@@ -57,7 +57,7 @@ Mono createOrUpdateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The Log Search Rule resource.
+ * @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.
@@ -72,7 +72,7 @@ LogSearchRuleResourceInner createOrUpdate(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The Log Search Rule resource.
+ * @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.
@@ -143,7 +143,7 @@ Response getByResourceGroupWithResponse(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The log search rule resource for patch operations.
+ * @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.
@@ -158,7 +158,7 @@ Mono> updateWithResponseAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The log search rule resource for patch operations.
+ * @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.
@@ -173,7 +173,7 @@ Mono updateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The log search rule resource for patch operations.
+ * @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.
@@ -187,7 +187,7 @@ Mono updateAsync(
*
* @param resourceGroupName The name of the resource group.
* @param ruleName The name of the rule.
- * @param parameters The log search rule resource for patch operations.
+ * @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.
@@ -276,26 +276,26 @@ Response updateWithResponse(
/**
* 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.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String filter, Context context);
+ 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.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
+ PagedIterable list(String filter, Context context);
/**
* List the Log Search rules within a resource group.
@@ -327,27 +327,27 @@ Response updateWithResponse(
* List the Log Search rules within a resource group.
*
* @param resourceGroupName The name of the resource 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.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(
- String resourceGroupName, String filter, Context context);
+ PagedIterable listByResourceGroup(String resourceGroupName);
/**
* List the Log Search rules within a resource group.
*
* @param resourceGroupName The name of the resource 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.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
+ PagedIterable listByResourceGroup(
+ String resourceGroupName, String filter, Context context);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/TenantActivityLogsClient.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/TenantActivityLogsClient.java
index 9be10fe8d861..43ee0f5b3315 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/TenantActivityLogsClient.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/TenantActivityLogsClient.java
@@ -58,6 +58,19 @@ public interface TenantActivityLogsClient {
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux listAsync();
+ /**
+ * 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.
+ */
+ @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
@@ -90,17 +103,4 @@ public interface TenantActivityLogsClient {
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String filter, String select, Context context);
-
- /**
- * 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.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/ActionGroupResourceInner.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/ActionGroupResourceInner.java
index bb2945fd0b28..09af08c960e9 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/ActionGroupResourceInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/ActionGroupResourceInner.java
@@ -6,12 +6,12 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.management.Resource;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.monitor.models.ArmRoleReceiver;
import com.azure.resourcemanager.monitor.models.AutomationRunbookReceiver;
import com.azure.resourcemanager.monitor.models.AzureAppPushReceiver;
import com.azure.resourcemanager.monitor.models.AzureFunctionReceiver;
+import com.azure.resourcemanager.monitor.models.AzureResource;
import com.azure.resourcemanager.monitor.models.EmailReceiver;
import com.azure.resourcemanager.monitor.models.ItsmReceiver;
import com.azure.resourcemanager.monitor.models.LogicAppReceiver;
@@ -21,11 +21,12 @@
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
+import java.util.Map;
/** An action group resource. */
@JsonFlatten
@Fluent
-public class ActionGroupResourceInner extends Resource {
+public class ActionGroupResourceInner extends AzureResource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(ActionGroupResourceInner.class);
/*
@@ -350,12 +351,28 @@ public ActionGroupResourceInner withArmRoleReceivers(List armRo
return this;
}
+ /** {@inheritDoc} */
+ @Override
+ public ActionGroupResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ActionGroupResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
+ @Override
public void validate() {
+ super.validate();
if (emailReceivers() != null) {
emailReceivers().forEach(e -> e.validate());
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/ActivityLogAlertResourceInner.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/ActivityLogAlertResourceInner.java
index 2f844c517839..43f6049a45a9 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/ActivityLogAlertResourceInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/ActivityLogAlertResourceInner.java
@@ -6,18 +6,19 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.management.Resource;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.monitor.models.ActivityLogAlertActionList;
import com.azure.resourcemanager.monitor.models.ActivityLogAlertAllOfCondition;
+import com.azure.resourcemanager.monitor.models.ResourceAutoGenerated2;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
+import java.util.Map;
/** An activity log alert resource. */
@JsonFlatten
@Fluent
-public class ActivityLogAlertResourceInner extends Resource {
+public class ActivityLogAlertResourceInner extends ResourceAutoGenerated2 {
@JsonIgnore private final ClientLogger logger = new ClientLogger(ActivityLogAlertResourceInner.class);
/*
@@ -157,12 +158,28 @@ public ActivityLogAlertResourceInner withDescription(String description) {
return this;
}
+ /** {@inheritDoc} */
+ @Override
+ public ActivityLogAlertResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ActivityLogAlertResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
+ @Override
public void validate() {
+ super.validate();
if (condition() != null) {
condition().validate();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/AlertRuleResourceInner.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/AlertRuleResourceInner.java
index de932079a368..88269c36dc39 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/AlertRuleResourceInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/AlertRuleResourceInner.java
@@ -14,6 +14,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
import java.util.List;
+import java.util.Map;
/** The alert rule resource. */
@JsonFlatten
@@ -34,6 +35,12 @@ public class AlertRuleResourceInner extends Resource {
@JsonProperty(value = "properties.description")
private String description;
+ /*
+ * the provisioning state.
+ */
+ @JsonProperty(value = "properties.provisioningState")
+ private String provisioningState;
+
/*
* the flag that indicates whether the alert rule is enabled.
*/
@@ -46,6 +53,13 @@ public class AlertRuleResourceInner extends Resource {
@JsonProperty(value = "properties.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 = "properties.action")
+ private RuleAction action;
+
/*
* the array of actions that are performed when the alert rule becomes
* active, and when an alert condition is resolved.
@@ -99,6 +113,26 @@ public AlertRuleResourceInner withDescription(String description) {
return this;
}
+ /**
+ * Get the provisioningState property: the provisioning state.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Set the provisioningState property: the provisioning state.
+ *
+ * @param provisioningState the provisioningState value to set.
+ * @return the AlertRuleResourceInner object itself.
+ */
+ public AlertRuleResourceInner withProvisioningState(String provisioningState) {
+ this.provisioningState = provisioningState;
+ return this;
+ }
+
/**
* Get the isEnabled property: the flag that indicates whether the alert rule is enabled.
*
@@ -139,6 +173,28 @@ public AlertRuleResourceInner withCondition(RuleCondition condition) {
return this;
}
+ /**
+ * Get the action property: action that is performed when the alert rule becomes active, and when an alert condition
+ * is resolved.
+ *
+ * @return the action value.
+ */
+ public RuleAction action() {
+ return this.action;
+ }
+
+ /**
+ * Set the action property: action that is performed when the alert rule becomes active, and when an alert condition
+ * is resolved.
+ *
+ * @param action the action value to set.
+ * @return the AlertRuleResourceInner object itself.
+ */
+ public AlertRuleResourceInner withAction(RuleAction action) {
+ this.action = action;
+ return this;
+ }
+
/**
* Get the actions property: the array of actions that are performed when the alert rule becomes active, and when an
* alert condition is resolved.
@@ -170,6 +226,20 @@ public OffsetDateTime lastUpdatedTime() {
return this.lastUpdatedTime;
}
+ /** {@inheritDoc} */
+ @Override
+ public AlertRuleResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public AlertRuleResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -190,6 +260,9 @@ public void validate() {
} else {
condition().validate();
}
+ if (action() != null) {
+ action().validate();
+ }
if (actions() != null) {
actions().forEach(e -> e.validate());
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/AutoscaleSettingResourceInner.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/AutoscaleSettingResourceInner.java
index 18d0927c968e..020cc93666d7 100644
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/AutoscaleSettingResourceInner.java
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/AutoscaleSettingResourceInner.java
@@ -12,6 +12,7 @@
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
+import java.util.Map;
/** The autoscale setting resource. */
@JsonFlatten
@@ -53,6 +54,13 @@ public class AutoscaleSettingResourceInner extends Resource {
@JsonProperty(value = "properties.targetResourceUri")
private String targetResourceUri;
+ /*
+ * the location of the resource that the autoscale setting should be added
+ * to.
+ */
+ @JsonProperty(value = "properties.targetResourceLocation")
+ private String targetResourceLocation;
+
/**
* Get the profiles property: the collection of automatic scaling profiles that specify different scaling parameters
* for different time periods. A maximum of 20 profiles can be specified.
@@ -159,6 +167,42 @@ public AutoscaleSettingResourceInner withTargetResourceUri(String targetResource
return this;
}
+ /**
+ * Get the targetResourceLocation property: the location of the resource that the autoscale setting should be added
+ * to.
+ *
+ * @return the targetResourceLocation value.
+ */
+ public String targetResourceLocation() {
+ return this.targetResourceLocation;
+ }
+
+ /**
+ * Set the targetResourceLocation property: the location of the resource that the autoscale setting should be added
+ * to.
+ *
+ * @param targetResourceLocation the targetResourceLocation value to set.
+ * @return the AutoscaleSettingResourceInner object itself.
+ */
+ public AutoscaleSettingResourceInner withTargetResourceLocation(String targetResourceLocation) {
+ this.targetResourceLocation = targetResourceLocation;
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public AutoscaleSettingResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public AutoscaleSettingResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/AzureMonitorPrivateLinkScopeInner.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/AzureMonitorPrivateLinkScopeInner.java
new file mode 100644
index 000000000000..ef34d5344520
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/AzureMonitorPrivateLinkScopeInner.java
@@ -0,0 +1,83 @@
+// 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.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.monitor.models.PrivateLinkScopesResource;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+import java.util.Map;
+
+/** An Azure Monitor PrivateLinkScope definition. */
+@JsonFlatten
+@Fluent
+public class AzureMonitorPrivateLinkScopeInner extends PrivateLinkScopesResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureMonitorPrivateLinkScopeInner.class);
+
+ /*
+ * Current state of this PrivateLinkScope: whether or not is has been
+ * provisioned within the resource group it is defined. Users cannot change
+ * this value but are able to read from it. Values will include
+ * Provisioning ,Succeeded, Canceled and Failed.
+ */
+ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private String provisioningState;
+
+ /*
+ * List of private endpoint connections.
+ */
+ @JsonProperty(value = "properties.privateEndpointConnections", access = JsonProperty.Access.WRITE_ONLY)
+ private List privateEndpointConnections;
+
+ /**
+ * Get the provisioningState property: Current state of this PrivateLinkScope: whether or not is has been
+ * provisioned within the resource group it is defined. Users cannot change this value but are able to read from it.
+ * Values will include Provisioning ,Succeeded, Canceled and Failed.
+ *
+ * @return the provisioningState value.
+ */
+ public String provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the privateEndpointConnections property: List of private endpoint connections.
+ *
+ * @return the privateEndpointConnections value.
+ */
+ public List privateEndpointConnections() {
+ return this.privateEndpointConnections;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public AzureMonitorPrivateLinkScopeInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public AzureMonitorPrivateLinkScopeInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ @Override
+ public void validate() {
+ super.validate();
+ if (privateEndpointConnections() != null) {
+ privateEndpointConnections().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/BaselineMetadataValueInner.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/BaselineMetadataValueInner.java
deleted file mode 100644
index b878a3d374b6..000000000000
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/BaselineMetadataValueInner.java
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.monitor.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Represents a baseline metadata value. */
-@Fluent
-public final class BaselineMetadataValueInner {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(BaselineMetadataValueInner.class);
-
- /*
- * the name of the metadata.
- */
- @JsonProperty(value = "name")
- private LocalizableStringInner name;
-
- /*
- * the value of the metadata.
- */
- @JsonProperty(value = "value")
- private String value;
-
- /**
- * Get the name property: the name of the metadata.
- *
- * @return the name value.
- */
- public LocalizableStringInner name() {
- return this.name;
- }
-
- /**
- * Set the name property: the name of the metadata.
- *
- * @param name the name value to set.
- * @return the BaselineMetadataValueInner object itself.
- */
- public BaselineMetadataValueInner withName(LocalizableStringInner name) {
- this.name = name;
- return this;
- }
-
- /**
- * Get the value property: the value of the metadata.
- *
- * @return the value value.
- */
- public String value() {
- return this.value;
- }
-
- /**
- * Set the value property: the value of the metadata.
- *
- * @param value the value value to set.
- * @return the BaselineMetadataValueInner object itself.
- */
- public BaselineMetadataValueInner withValue(String value) {
- this.value = value;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (name() != null) {
- name().validate();
- }
- }
-}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/BaselineResponseInner.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/BaselineResponseInner.java
deleted file mode 100644
index da23c2601e51..000000000000
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/BaselineResponseInner.java
+++ /dev/null
@@ -1,254 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.monitor.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.monitor.models.Baseline;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.time.Duration;
-import java.time.OffsetDateTime;
-import java.util.List;
-
-/** The response to a baseline query. */
-@JsonFlatten
-@Fluent
-public class BaselineResponseInner {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(BaselineResponseInner.class);
-
- /*
- * the metric baseline Id.
- */
- @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
- private String id;
-
- /*
- * the resource type of the baseline resource.
- */
- @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
- private String type;
-
- /*
- * the name and the display name of the metric, i.e. it is localizable
- * string.
- */
- @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
- private LocalizableStringInner name;
-
- /*
- * The timespan for which the data was retrieved. Its value consists of two
- * datetimes concatenated, separated by '/'. This may be adjusted in the
- * future and returned back from what was originally requested.
- */
- @JsonProperty(value = "properties.timespan")
- private String timespan;
-
- /*
- * The interval (window size) for which the metric data was returned in.
- * This may be adjusted in the future and returned back from what was
- * originally requested. This is not present if a metadata request was
- * made.
- */
- @JsonProperty(value = "properties.interval")
- private Duration interval;
-
- /*
- * The aggregation type of the metric.
- */
- @JsonProperty(value = "properties.aggregation")
- private String aggregation;
-
- /*
- * the array of timestamps of the baselines.
- */
- @JsonProperty(value = "properties.timestamps")
- private List timestamps;
-
- /*
- * the baseline values for each sensitivity.
- */
- @JsonProperty(value = "properties.baseline")
- private List baseline;
-
- /*
- * the baseline metadata values.
- */
- @JsonProperty(value = "properties.metadata")
- private List metadata;
-
- /**
- * Get the id property: the metric baseline Id.
- *
- * @return the id value.
- */
- public String id() {
- return this.id;
- }
-
- /**
- * Get the type property: the resource type of the baseline resource.
- *
- * @return the type value.
- */
- public String type() {
- return this.type;
- }
-
- /**
- * Get the name property: the name and the display name of the metric, i.e. it is localizable string.
- *
- * @return the name value.
- */
- public LocalizableStringInner name() {
- return this.name;
- }
-
- /**
- * Get the timespan property: The timespan for which the data was retrieved. Its value consists of two datetimes
- * concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally
- * requested.
- *
- * @return the timespan value.
- */
- public String timespan() {
- return this.timespan;
- }
-
- /**
- * Set the timespan property: The timespan for which the data was retrieved. Its value consists of two datetimes
- * concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally
- * requested.
- *
- * @param timespan the timespan value to set.
- * @return the BaselineResponseInner object itself.
- */
- public BaselineResponseInner withTimespan(String timespan) {
- this.timespan = timespan;
- return this;
- }
-
- /**
- * Get the interval property: The interval (window size) for which the metric data was returned in. This may be
- * adjusted in the future and returned back from what was originally requested. This is not present if a metadata
- * request was made.
- *
- * @return the interval value.
- */
- public Duration interval() {
- return this.interval;
- }
-
- /**
- * Set the interval property: The interval (window size) for which the metric data was returned in. This may be
- * adjusted in the future and returned back from what was originally requested. This is not present if a metadata
- * request was made.
- *
- * @param interval the interval value to set.
- * @return the BaselineResponseInner object itself.
- */
- public BaselineResponseInner withInterval(Duration interval) {
- this.interval = interval;
- return this;
- }
-
- /**
- * Get the aggregation property: The aggregation type of the metric.
- *
- * @return the aggregation value.
- */
- public String aggregation() {
- return this.aggregation;
- }
-
- /**
- * Set the aggregation property: The aggregation type of the metric.
- *
- * @param aggregation the aggregation value to set.
- * @return the BaselineResponseInner object itself.
- */
- public BaselineResponseInner withAggregation(String aggregation) {
- this.aggregation = aggregation;
- return this;
- }
-
- /**
- * Get the timestamps property: the array of timestamps of the baselines.
- *
- * @return the timestamps value.
- */
- public List timestamps() {
- return this.timestamps;
- }
-
- /**
- * Set the timestamps property: the array of timestamps of the baselines.
- *
- * @param timestamps the timestamps value to set.
- * @return the BaselineResponseInner object itself.
- */
- public BaselineResponseInner withTimestamps(List timestamps) {
- this.timestamps = timestamps;
- return this;
- }
-
- /**
- * Get the baseline property: the baseline values for each sensitivity.
- *
- * @return the baseline value.
- */
- public List baseline() {
- return this.baseline;
- }
-
- /**
- * Set the baseline property: the baseline values for each sensitivity.
- *
- * @param baseline the baseline value to set.
- * @return the BaselineResponseInner object itself.
- */
- public BaselineResponseInner withBaseline(List baseline) {
- this.baseline = baseline;
- return this;
- }
-
- /**
- * Get the metadata property: the baseline metadata values.
- *
- * @return the metadata value.
- */
- public List metadata() {
- return this.metadata;
- }
-
- /**
- * Set the metadata property: the baseline metadata values.
- *
- * @param metadata the metadata value to set.
- * @return the BaselineResponseInner object itself.
- */
- public BaselineResponseInner withMetadata(List metadata) {
- this.metadata = metadata;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (name() != null) {
- name().validate();
- }
- if (baseline() != null) {
- baseline().forEach(e -> e.validate());
- }
- if (metadata() != null) {
- metadata().forEach(e -> e.validate());
- }
- }
-}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/CalculateBaselineResponseInner.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/CalculateBaselineResponseInner.java
deleted file mode 100644
index caa2f8b1a80f..000000000000
--- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/CalculateBaselineResponseInner.java
+++ /dev/null
@@ -1,119 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.monitor.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.monitor.models.Baseline;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.time.OffsetDateTime;
-import java.util.List;
-
-/** The response to a calculate baseline call. */
-@Fluent
-public final class CalculateBaselineResponseInner {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(CalculateBaselineResponseInner.class);
-
- /*
- * the resource type of the baseline resource.
- */
- @JsonProperty(value = "type", required = true)
- private String type;
-
- /*
- * the array of timestamps of the baselines.
- */
- @JsonProperty(value = "timestamps")
- private List timestamps;
-
- /*
- * the baseline values for each sensitivity.
- */
- @JsonProperty(value = "baseline", required = true)
- private List baseline;
-
- /**
- * Get the type property: the resource type of the baseline resource.
- *
- * @return the type value.
- */
- public String type() {
- return this.type;
- }
-
- /**
- * Set the type property: the resource type of the baseline resource.
- *
- * @param type the type value to set.
- * @return the CalculateBaselineResponseInner object itself.
- */
- public CalculateBaselineResponseInner withType(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * Get the timestamps property: the array of timestamps of the baselines.
- *
- * @return the timestamps value.
- */
- public List timestamps() {
- return this.timestamps;
- }
-
- /**
- * Set the timestamps property: the array of timestamps of the baselines.
- *
- * @param timestamps the timestamps value to set.
- * @return the CalculateBaselineResponseInner object itself.
- */
- public CalculateBaselineResponseInner withTimestamps(List timestamps) {
- this.timestamps = timestamps;
- return this;
- }
-
- /**
- * Get the baseline property: the baseline values for each sensitivity.
- *
- * @return the baseline value.
- */
- public List baseline() {
- return this.baseline;
- }
-
- /**
- * Set the baseline property: the baseline values for each sensitivity.
- *
- * @param baseline the baseline value to set.
- * @return the CalculateBaselineResponseInner object itself.
- */
- public CalculateBaselineResponseInner withBaseline(List baseline) {
- this.baseline = baseline;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (type() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property type in model CalculateBaselineResponseInner"));
- }
- if (baseline() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property baseline in model CalculateBaselineResponseInner"));
- } else {
- baseline().forEach(e -> e.validate());
- }
- }
-}
diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/DataCollectionEndpointResourceInner.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/DataCollectionEndpointResourceInner.java
new file mode 100644
index 000000000000..620e2a0a126d
--- /dev/null
+++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/fluent/models/DataCollectionEndpointResourceInner.java
@@ -0,0 +1,262 @@
+// 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.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.JsonFlatten;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.monitor.models.DataCollectionEndpointConfigurationAccess;
+import com.azure.resourcemanager.monitor.models.DataCollectionEndpointLogsIngestion;
+import com.azure.resourcemanager.monitor.models.DataCollectionEndpointNetworkAcls;
+import com.azure.resourcemanager.monitor.models.KnownDataCollectionEndpointProvisioningState;
+import com.azure.resourcemanager.monitor.models.KnownDataCollectionEndpointResourceKind;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** Definition of ARM tracked top level resource. */
+@JsonFlatten
+@Fluent
+public class DataCollectionEndpointResourceInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(DataCollectionEndpointResourceInner.class);
+
+ /*
+ * The kind of the resource.
+ */
+ @JsonProperty(value = "kind")
+ private KnownDataCollectionEndpointResourceKind kind;
+
+ /*
+ * Resource entity tag (ETag).
+ */
+ @JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
+ private String etag;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /*
+ * Description of the data collection endpoint.
+ */
+ @JsonProperty(value = "properties.description")
+ private String description;
+
+ /*
+ * The immutable ID of this data collection endpoint resource. This
+ * property is READ-ONLY.
+ */
+ @JsonProperty(value = "properties.immutableId")
+ private String immutableId;
+
+ /*
+ * The endpoint used by agents to access their configuration.
+ */
+ @JsonProperty(value = "properties.configurationAccess")
+ private DataCollectionEndpointConfigurationAccess configurationAccess;
+
+ /*
+ * The endpoint used by clients to ingest logs.
+ */
+ @JsonProperty(value = "properties.logsIngestion")
+ private DataCollectionEndpointLogsIngestion logsIngestion;
+
+ /*
+ * Network access control rules for the endpoints.
+ */
+ @JsonProperty(value = "properties.networkAcls")
+ private DataCollectionEndpointNetworkAcls networkAcls;
+
+ /*
+ * The resource provisioning state. This property is READ-ONLY.
+ */
+ @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private KnownDataCollectionEndpointProvisioningState provisioningState;
+
+ /**
+ * Get the kind property: The kind of the resource.
+ *
+ * @return the kind value.
+ */
+ public KnownDataCollectionEndpointResourceKind kind() {
+ return this.kind;
+ }
+
+ /**
+ * Set the kind property: The kind of the resource.
+ *
+ * @param kind the kind value to set.
+ * @return the DataCollectionEndpointResourceInner object itself.
+ */
+ public DataCollectionEndpointResourceInner withKind(KnownDataCollectionEndpointResourceKind kind) {
+ this.kind = kind;
+ return this;
+ }
+
+ /**
+ * Get the etag property: Resource entity tag (ETag).
+ *
+ * @return the etag value.
+ */
+ public String etag() {
+ return this.etag;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the description property: Description of the data collection endpoint.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: Description of the data collection endpoint.
+ *
+ * @param description the description value to set.
+ * @return the DataCollectionEndpointResourceInner object itself.
+ */
+ public DataCollectionEndpointResourceInner withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Get the immutableId property: The immutable ID of this data collection endpoint resource. This property is
+ * READ-ONLY.
+ *
+ * @return the immutableId value.
+ */
+ public String immutableId() {
+ return this.immutableId;
+ }
+
+ /**
+ * Set the immutableId property: The immutable ID of this data collection endpoint resource. This property is
+ * READ-ONLY.
+ *
+ * @param immutableId the immutableId value to set.
+ * @return the DataCollectionEndpointResourceInner object itself.
+ */
+ public DataCollectionEndpointResourceInner withImmutableId(String immutableId) {
+ this.immutableId = immutableId;
+ return this;
+ }
+
+ /**
+ * Get the configurationAccess property: The endpoint used by agents to access their configuration.
+ *
+ * @return the configurationAccess value.
+ */
+ public DataCollectionEndpointConfigurationAccess configurationAccess() {
+ return this.configurationAccess;
+ }
+
+ /**
+ * Set the configurationAccess property: The endpoint used by agents to access their configuration.
+ *
+ * @param configurationAccess the configurationAccess value to set.
+ * @return the DataCollectionEndpointResourceInner object itself.
+ */
+ public DataCollectionEndpointResourceInner withConfigurationAccess(
+ DataCollectionEndpointConfigurationAccess configurationAccess) {
+ this.configurationAccess = configurationAccess;
+ return this;
+ }
+
+ /**
+ * Get the logsIngestion property: The endpoint used by clients to ingest logs.
+ *
+ * @return the logsIngestion value.
+ */
+ public DataCollectionEndpointLogsIngestion logsIngestion() {
+ return this.logsIngestion;
+ }
+
+ /**
+ * Set the logsIngestion property: The endpoint used by clients to ingest logs.
+ *
+ * @param logsIngestion the logsIngestion value to set.
+ * @return the DataCollectionEndpointResourceInner object itself.
+ */
+ public DataCollectionEndpointResourceInner withLogsIngestion(DataCollectionEndpointLogsIngestion logsIngestion) {
+ this.logsIngestion = logsIngestion;
+ return this;
+ }
+
+ /**
+ * Get the networkAcls property: Network access control rules for the endpoints.
+ *
+ * @return the networkAcls value.
+ */
+ public DataCollectionEndpointNetworkAcls networkAcls() {
+ return this.networkAcls;
+ }
+
+ /**
+ * Set the networkAcls property: Network access control rules for the endpoints.
+ *
+ * @param networkAcls the networkAcls value to set.
+ * @return the DataCollectionEndpointResourceInner object itself.
+ */
+ public DataCollectionEndpointResourceInner withNetworkAcls(DataCollectionEndpointNetworkAcls networkAcls) {
+ this.networkAcls = networkAcls;
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: The resource provisioning state. This property is READ-ONLY.
+ *
+ * @return the provisioningState value.
+ */
+ public KnownDataCollectionEndpointProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public DataCollectionEndpointResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public DataCollectionEndpointResourceInner withTags(Map