Skip to content

Commit

Permalink
CodeGen from PR 19652 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 581d2598ef61936e120d03263100d5b920bf18a6 into 9ae616c4a5447e9cae43752b68f089bff2e46398
  • Loading branch information
SDKAuto committed Jul 21, 2022
1 parent d401404 commit 90170bd
Show file tree
Hide file tree
Showing 68 changed files with 9,574 additions and 6,686 deletions.
118 changes: 118 additions & 0 deletions sdk/resourcemanager/monitor/armmonitor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,123 @@
# Release History

## 0.8.0 (2022-07-21)
### Breaking Changes

- Function `*DataCollectionEndpointsClient.Create` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionEndpointsClientCreateOptions)` to `(context.Context, string, string, DataCollectionEndpointResource, *DataCollectionEndpointsClientCreateOptions)`
- Function `*DataCollectionRulesClient.Update` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionRulesClientUpdateOptions)` to `(context.Context, string, string, ResourceForUpdate, *DataCollectionRulesClientUpdateOptions)`
- Function `*DataCollectionEndpointsClient.Update` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionEndpointsClientUpdateOptions)` to `(context.Context, string, string, ResourceForUpdate, *DataCollectionEndpointsClientUpdateOptions)`
- Function `*DataCollectionRulesClient.Create` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionRulesClientCreateOptions)` to `(context.Context, string, string, DataCollectionRuleResource, *DataCollectionRulesClientCreateOptions)`
- Function `*ScheduledQueryRulesClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, LogSearchRuleResource, *ScheduledQueryRulesClientCreateOrUpdateOptions)` to `(context.Context, string, string, ScheduledQueryRuleResource, *ScheduledQueryRulesClientCreateOrUpdateOptions)`
- Function `*DataCollectionRuleAssociationsClient.Create` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionRuleAssociationsClientCreateOptions)` to `(context.Context, string, string, DataCollectionRuleAssociationProxyOnlyResource, *DataCollectionRuleAssociationsClientCreateOptions)`
- Function `*ScheduledQueryRulesClient.Update` parameter(s) have been changed from `(context.Context, string, string, LogSearchRuleResourcePatch, *ScheduledQueryRulesClientUpdateOptions)` to `(context.Context, string, string, ScheduledQueryRuleResourcePatch, *ScheduledQueryRulesClientUpdateOptions)`
- Type of `Dimension.Operator` has been changed from `*Operator` to `*DimensionOperator`
- Type of `ErrorContract.Error` has been changed from `*ErrorResponse` to `*ErrorResponseDetails`
- Const `ConditionalOperatorGreaterThanOrEqual` has been removed
- Const `ConditionalOperatorEqual` has been removed
- Const `MetricTriggerTypeConsecutive` has been removed
- Const `ProvisioningStateSucceeded` has been removed
- Const `QueryTypeResultCount` has been removed
- Const `ProvisioningStateCanceled` has been removed
- Const `EnabledTrue` has been removed
- Const `ProvisioningStateFailed` has been removed
- Const `ConditionalOperatorLessThan` has been removed
- Const `ProvisioningStateDeploying` has been removed
- Const `ConditionalOperatorGreaterThan` has been removed
- Const `OperatorInclude` has been removed
- Const `MetricTriggerTypeTotal` has been removed
- Const `EnabledFalse` has been removed
- Const `ConditionalOperatorLessThanOrEqual` has been removed
- Function `*LogToMetricAction.GetAction` has been removed
- Function `PossibleMetricTriggerTypeValues` has been removed
- Function `PossibleQueryTypeValues` has been removed
- Function `*AlertingAction.GetAction` has been removed
- Function `PossibleEnabledValues` has been removed
- Function `PossibleProvisioningStateValues` has been removed
- Function `PossibleConditionalOperatorValues` has been removed
- Function `*Action.GetAction` has been removed
- Struct `Action` has been removed
- Struct `AlertingAction` has been removed
- Struct `AzNsActionGroup` has been removed
- Struct `Criteria` has been removed
- Struct `LogMetricTrigger` has been removed
- Struct `LogSearchRule` has been removed
- Struct `LogSearchRulePatch` has been removed
- Struct `LogSearchRuleResource` has been removed
- Struct `LogSearchRuleResourceCollection` has been removed
- Struct `LogSearchRuleResourcePatch` has been removed
- Struct `LogToMetricAction` has been removed
- Struct `Schedule` has been removed
- Struct `Source` has been removed
- Struct `TrackedEntityResource` has been removed
- Struct `TriggerCondition` has been removed
- Field `LogSearchRuleResource` of struct `ScheduledQueryRulesClientCreateOrUpdateResponse` has been removed
- Field `LogSearchRuleResource` of struct `ScheduledQueryRulesClientUpdateResponse` has been removed
- Field `LogSearchRuleResourceCollection` of struct `ScheduledQueryRulesClientListBySubscriptionResponse` has been removed
- Field `LogSearchRuleResourceCollection` of struct `ScheduledQueryRulesClientListByResourceGroupResponse` has been removed
- Field `Body` of struct `DataCollectionEndpointsClientUpdateOptions` has been removed
- Field `Filter` of struct `ScheduledQueryRulesClientListByResourceGroupOptions` has been removed
- Field `Body` of struct `DataCollectionRuleAssociationsClientCreateOptions` has been removed
- Field `Body` of struct `DataCollectionRulesClientCreateOptions` has been removed
- Field `LogSearchRuleResource` of struct `ScheduledQueryRulesClientGetResponse` has been removed
- Field `Body` of struct `DataCollectionEndpointsClientCreateOptions` has been removed
- Field `Filter` of struct `ScheduledQueryRulesClientListBySubscriptionOptions` has been removed
- Field `Body` of struct `DataCollectionRulesClientUpdateOptions` has been removed

### Features Added

- New const `DimensionOperatorInclude`
- New const `TimeAggregationMinimum`
- New const `PredictiveAutoscalePolicyScaleModeForecastOnly`
- New const `TimeAggregationTotal`
- New const `ConditionOperatorEquals`
- New const `PredictiveAutoscalePolicyScaleModeDisabled`
- New const `PredictiveAutoscalePolicyScaleModeEnabled`
- New const `TimeAggregationCount`
- New const `TimeAggregationAverage`
- New const `KindLogAlert`
- New const `TimeAggregationMaximum`
- New const `DimensionOperatorExclude`
- New const `KindLogToMetric`
- New function `PossibleDimensionOperatorValues() []DimensionOperator`
- New function `PossiblePredictiveAutoscalePolicyScaleModeValues() []PredictiveAutoscalePolicyScaleMode`
- New function `NewPredictiveMetricClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PredictiveMetricClient, error)`
- New function `*PredictiveMetricClient.Get(context.Context, string, string, string, string, string, string, string, *PredictiveMetricClientGetOptions) (PredictiveMetricClientGetResponse, error)`
- New function `PossibleTimeAggregationValues() []TimeAggregation`
- New function `PossibleKindValues() []Kind`
- New struct `Actions`
- New struct `AutoscaleErrorResponse`
- New struct `AutoscaleErrorResponseError`
- New struct `Condition`
- New struct `ConditionFailingPeriods`
- New struct `ErrorResponseAdditionalInfo`
- New struct `ErrorResponseDetails`
- New struct `PredictiveAutoscalePolicy`
- New struct `PredictiveMetricClient`
- New struct `PredictiveMetricClientGetOptions`
- New struct `PredictiveMetricClientGetResponse`
- New struct `PredictiveResponse`
- New struct `PredictiveValue`
- New struct `ResourceAutoGenerated`
- New struct `ResourceAutoGenerated2`
- New struct `ResourceAutoGenerated3`
- New struct `ScheduledQueryRuleCriteria`
- New struct `ScheduledQueryRuleProperties`
- New struct `ScheduledQueryRuleResource`
- New struct `ScheduledQueryRuleResourceCollection`
- New struct `ScheduledQueryRuleResourcePatch`
- New field `SystemData` in struct `Resource`
- New anonymous field `ScheduledQueryRuleResource` in struct `ScheduledQueryRulesClientGetResponse`
- New field `PredictiveAutoscalePolicy` in struct `AutoscaleSetting`
- New anonymous field `ScheduledQueryRuleResource` in struct `ScheduledQueryRulesClientUpdateResponse`
- New anonymous field `ScheduledQueryRuleResource` in struct `ScheduledQueryRulesClientCreateOrUpdateResponse`
- New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientCreateNotificationsAtResourceGroupLevelResponse`
- New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientPostTestNotificationsResponse`
- New anonymous field `ScheduledQueryRuleResourceCollection` in struct `ScheduledQueryRulesClientListByResourceGroupResponse`
- New field `SystemData` in struct `AutoscaleSettingResource`
- New anonymous field `ScheduledQueryRuleResourceCollection` in struct `ScheduledQueryRulesClientListBySubscriptionResponse`
- New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientCreateNotificationsAtActionGroupResourceLevelResponse`


## 0.7.0 (2022-05-17)

The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 0.7.0, which contains breaking changes.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions sdk/resourcemanager/monitor/armmonitor/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/monitor/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/monitor/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/monitor/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/monitor/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 0.7.0
module-version: 0.8.0
```

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 90170bd

Please sign in to comment.