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 67aea81d96c9dccd5fac51e86077381ed984d360 into f0343961168af6b19ea86dd3aa2429e2ca453db4
  • Loading branch information
SDKAuto committed Jul 16, 2022
1 parent f0b0555 commit 43ad3b8
Show file tree
Hide file tree
Showing 67 changed files with 8,931 additions and 6,665 deletions.
95 changes: 95 additions & 0 deletions sdk/resourcemanager/monitor/armmonitor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,100 @@
# Release History

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

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

### Features Added

- New const `DimensionOperatorExclude`
- New const `KindLogAlert`
- New const `TimeAggregationAverage`
- New const `TimeAggregationMaximum`
- New const `ConditionOperatorEquals`
- New const `TimeAggregationMinimum`
- New const `TimeAggregationCount`
- New const `TimeAggregationTotal`
- New const `DimensionOperatorInclude`
- New const `KindLogToMetric`
- New function `PossibleDimensionOperatorValues() []DimensionOperator`
- New function `PossibleTimeAggregationValues() []TimeAggregation`
- New function `PossibleKindValues() []Kind`
- New struct `Actions`
- New struct `Condition`
- New struct `ConditionFailingPeriods`
- New struct `ErrorResponseAdditionalInfo`
- New struct `ErrorResponseDetails`
- New struct `ScheduledQueryRuleCriteria`
- New struct `ScheduledQueryRuleProperties`
- New struct `ScheduledQueryRuleResource`
- New struct `ScheduledQueryRuleResourceCollection`
- New struct `ScheduledQueryRuleResourcePatch`
- New anonymous field `ScheduledQueryRuleResourceCollection` in struct `ScheduledQueryRulesClientListByResourceGroupResponse`
- New anonymous field `ScheduledQueryRuleResource` in struct `ScheduledQueryRulesClientUpdateResponse`
- New anonymous field `ScheduledQueryRuleResourceCollection` in struct `ScheduledQueryRulesClientListBySubscriptionResponse`
- New anonymous field `ScheduledQueryRuleResource` in struct `ScheduledQueryRulesClientCreateOrUpdateResponse`
- New anonymous field `ScheduledQueryRuleResource` in struct `ScheduledQueryRulesClientGetResponse`


## 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 43ad3b8

Please sign in to comment.