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 d58f80070f821c23c1d25776d2da3a05d0e89897 into a960d5bbc48507716518a94f5bb0f4640bf69beb
  • Loading branch information
SDKAuto committed Jul 13, 2022
1 parent a83cc8c commit e9b5b21
Show file tree
Hide file tree
Showing 67 changed files with 8,994 additions and 6,655 deletions.
99 changes: 99 additions & 0 deletions sdk/resourcemanager/monitor/armmonitor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,104 @@
# Release History

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

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

### Features Added

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


## 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 e9b5b21

Please sign in to comment.