Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/resourcemanager/api-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@
<artifactId>revapi-maven-plugin</artifactId>
<version>0.11.2</version> <!-- {x-version-update;org.revapi:revapi-maven-plugin;external_dependency} -->
<configuration>
<skip>true</skip>

<analysisConfiguration>
<revapi.ignore>
<item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 2 additions & 0 deletions sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
<artifactId>revapi-maven-plugin</artifactId>
<version>0.11.2</version> <!-- {x-version-update;org.revapi:revapi-maven-plugin;external_dependency} -->
<configuration>
<skip>true</skip>

<analysisConfiguration>
<revapi.ignore>
<item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -42,7 +42,7 @@ Mono<Response<ActionGroupResourceInner>> 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.
Expand All @@ -57,7 +57,7 @@ Mono<ActionGroupResourceInner> 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.
Expand All @@ -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.
Expand Down Expand Up @@ -195,7 +195,7 @@ Response<ActionGroupResourceInner> 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.
Expand All @@ -210,7 +210,7 @@ Mono<Response<ActionGroupResourceInner>> 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.
Expand All @@ -225,7 +225,7 @@ Mono<ActionGroupResourceInner> 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.
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -42,7 +42,7 @@ Mono<Response<ActivityLogAlertResourceInner>> 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.
Expand All @@ -57,7 +57,7 @@ Mono<ActivityLogAlertResourceInner> 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.
Expand All @@ -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.
Expand Down Expand Up @@ -198,7 +198,7 @@ Response<ActivityLogAlertResourceInner> 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.
Expand All @@ -213,7 +213,7 @@ Mono<Response<ActivityLogAlertResourceInner>> 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.
Expand All @@ -228,7 +228,7 @@ Mono<ActivityLogAlertResourceInner> 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.
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.&lt;br&gt;&lt;br&gt;**NOTE**: No other
* syntax is allowed.
* @param select Used to fetch events with only the given properties.&lt;br&gt;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<EventDataInner> list(String filter, String select, Context context);
PagedIterable<EventDataInner> list(String filter);

/**
* Provides the list of records from the activity logs.
Expand All @@ -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'.&lt;br&gt;&lt;br&gt;**NOTE**: No other
* syntax is allowed.
* @param select Used to fetch events with only the given properties.&lt;br&gt;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<EventDataInner> list(String filter);
PagedIterable<EventDataInner> list(String filter, String select, Context context);
}
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -42,7 +42,7 @@ Mono<Response<AlertRuleResourceInner>> 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.
Expand All @@ -57,7 +57,7 @@ Mono<AlertRuleResourceInner> 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.
Expand All @@ -71,7 +71,7 @@ Mono<AlertRuleResourceInner> 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.
Expand Down Expand Up @@ -194,7 +194,7 @@ Response<AlertRuleResourceInner> 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.
Expand All @@ -209,7 +209,7 @@ Mono<Response<AlertRuleResourceInner>> 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.
Expand All @@ -224,7 +224,7 @@ Mono<AlertRuleResourceInner> 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.
Expand All @@ -238,7 +238,7 @@ Mono<AlertRuleResourceInner> 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.
Expand Down
Loading