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 6e7d042975f3823c483ac775fc736e5ca059c1c6 into 049107d4b086d4bfbcc6c94846e834cadb3886a6
  • Loading branch information
SDKAuto committed Aug 31, 2022
1 parent 661e008 commit 02ae972
Show file tree
Hide file tree
Showing 68 changed files with 10,019 additions and 6,862 deletions.
173 changes: 173 additions & 0 deletions sdk/resourcemanager/monitor/armmonitor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,178 @@
# Release History

## 0.8.0 (2022-08-31)
### Breaking Changes

- Type alias `AlertSeverity` type has been changed from `string` to `int64`
- Function `*ScheduledQueryRulesClient.Update` parameter(s) have been changed from `(context.Context, string, string, LogSearchRuleResourcePatch, *ScheduledQueryRulesClientUpdateOptions)` to `(context.Context, string, string, ScheduledQueryRuleResourcePatch, *ScheduledQueryRulesClientUpdateOptions)`
- Function `*ScheduledQueryRulesClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, LogSearchRuleResource, *ScheduledQueryRulesClientCreateOrUpdateOptions)` to `(context.Context, string, string, ScheduledQueryRuleResource, *ScheduledQueryRulesClientCreateOrUpdateOptions)`
- Type of `PrivateEndpointConnectionProperties.PrivateLinkServiceConnectionState` has been changed from `*PrivateLinkServiceConnectionStateProperty` to `*PrivateLinkServiceConnectionState`
- Type of `PrivateEndpointConnectionProperties.PrivateEndpoint` has been changed from `*PrivateEndpointProperty` to `*PrivateEndpoint`
- Type of `PrivateEndpointConnectionProperties.ProvisioningState` has been changed from `*string` to `*PrivateEndpointConnectionProvisioningState`
- Type of `Dimension.Operator` has been changed from `*Operator` to `*DimensionOperator`
- Type of `ErrorContract.Error` has been changed from `*ErrorResponse` to `*ErrorResponseDetails`
- Type of `OperationStatus.Error` has been changed from `*ErrorResponseCommon` to `*ErrorDetail`
- Const `QueryTypeResultCount` has been removed
- Const `OperatorInclude` has been removed
- Const `MetricTriggerTypeTotal` has been removed
- Const `EnabledFalse` has been removed
- Const `ConditionalOperatorGreaterThan` has been removed
- Const `ConditionalOperatorLessThan` has been removed
- Const `ProvisioningStateCanceled` has been removed
- Const `ProvisioningStateSucceeded` has been removed
- Const `ProvisioningStateFailed` has been removed
- Const `ConditionalOperatorGreaterThanOrEqual` has been removed
- Const `ConditionalOperatorLessThanOrEqual` has been removed
- Const `MetricTriggerTypeConsecutive` has been removed
- Const `EnabledTrue` has been removed
- Const `ProvisioningStateDeploying` has been removed
- Const `ConditionalOperatorEqual` has been removed
- Type alias `QueryType` has been removed
- Type alias `MetricTriggerType` has been removed
- Type alias `ProvisioningState` has been removed
- Type alias `Enabled` has been removed
- Type alias `ConditionalOperator` has been removed
- Function `*PrivateEndpointConnectionsClient.NewListByPrivateLinkScopePager` has been removed
- Function `PossibleProvisioningStateValues` has been removed
- Function `*PrivateLinkResourcesClient.NewListByPrivateLinkScopePager` has been removed
- Function `PossibleMetricTriggerTypeValues` has been removed
- Function `*DiagnosticSettingsClient.List` has been removed
- Function `*AlertingAction.GetAction` has been removed
- Function `PossibleConditionalOperatorValues` has been removed
- Function `*DiagnosticSettingsCategoryClient.List` has been removed
- Function `PossibleQueryTypeValues` has been removed
- Function `PossibleEnabledValues` has been removed
- Function `*Action.GetAction` has been removed
- Function `*LogToMetricAction.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 `ErrorResponseCommon` 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 `PrivateEndpointProperty` has been removed
- Struct `PrivateLinkScopesResource` has been removed
- Struct `PrivateLinkServiceConnectionStateProperty` has been removed
- Struct `ProxyOnlyResource` has been removed
- Struct `Schedule` has been removed
- Struct `Source` has been removed
- Struct `TrackedEntityResource` has been removed
- Struct `TriggerCondition` has been removed
- Field `Identity` of struct `AzureResource` has been removed
- Field `Kind` of struct `AzureResource` has been removed
- Field `LogSearchRuleResourceCollection` of struct `ScheduledQueryRulesClientListBySubscriptionResponse` has been removed
- Field `Filter` of struct `ScheduledQueryRulesClientListByResourceGroupOptions` has been removed
- Field `LogSearchRuleResource` of struct `ScheduledQueryRulesClientUpdateResponse` has been removed
- Field `LogSearchRuleResourceCollection` of struct `ScheduledQueryRulesClientListByResourceGroupResponse` has been removed
- Field `Filter` of struct `ScheduledQueryRulesClientListBySubscriptionOptions` has been removed
- Field `NextLink` of struct `PrivateLinkResourceListResult` has been removed
- Field `NextLink` of struct `PrivateEndpointConnectionListResult` has been removed
- Field `LogSearchRuleResource` of struct `ScheduledQueryRulesClientGetResponse` has been removed
- Field `Identity` of struct `ActionGroupResource` has been removed
- Field `Kind` of struct `ActionGroupResource` has been removed
- Field `LogSearchRuleResource` of struct `ScheduledQueryRulesClientCreateOrUpdateResponse` has been removed

### Features Added

- New const `AccessModePrivateOnly`
- New const `PrivateEndpointConnectionProvisioningStateCreating`
- New const `PrivateEndpointConnectionProvisioningStateSucceeded`
- New const `DimensionOperatorExclude`
- New const `TimeAggregationAverage`
- New const `PrivateEndpointServiceConnectionStatusPending`
- New const `PrivateEndpointServiceConnectionStatusRejected`
- New const `TimeAggregationTotal`
- New const `ConditionOperatorEquals`
- New const `KindLogAlert`
- New const `DimensionOperatorInclude`
- New const `PrivateEndpointConnectionProvisioningStateFailed`
- New const `PredictiveAutoscalePolicyScaleModeForecastOnly`
- New const `PrivateEndpointConnectionProvisioningStateDeleting`
- New const `TimeAggregationMaximum`
- New const `PrivateEndpointServiceConnectionStatusApproved`
- New const `AccessModeOpen`
- New const `TimeAggregationMinimum`
- New const `TimeAggregationCount`
- New const `KindLogToMetric`
- New const `PredictiveAutoscalePolicyScaleModeEnabled`
- New const `PredictiveAutoscalePolicyScaleModeDisabled`
- New type alias `PrivateEndpointConnectionProvisioningState`
- New type alias `DimensionOperator`
- New type alias `PredictiveAutoscalePolicyScaleMode`
- New type alias `Kind`
- New type alias `AccessMode`
- New type alias `PrivateEndpointServiceConnectionStatus`
- New type alias `TimeAggregation`
- New function `PossibleTimeAggregationValues() []TimeAggregation`
- New function `PossibleDimensionOperatorValues() []DimensionOperator`
- New function `*DiagnosticSettingsClient.NewListPager(string, *DiagnosticSettingsClientListOptions) *runtime.Pager[DiagnosticSettingsClientListResponse]`
- New function `PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus`
- New function `*PrivateLinkResourcesClient.ListByPrivateLinkScope(context.Context, string, string, *PrivateLinkResourcesClientListByPrivateLinkScopeOptions) (PrivateLinkResourcesClientListByPrivateLinkScopeResponse, error)`
- New function `PossibleKindValues() []Kind`
- New function `PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState`
- New function `*PrivateEndpointConnectionsClient.ListByPrivateLinkScope(context.Context, string, string, *PrivateEndpointConnectionsClientListByPrivateLinkScopeOptions) (PrivateEndpointConnectionsClientListByPrivateLinkScopeResponse, error)`
- New function `PossiblePredictiveAutoscalePolicyScaleModeValues() []PredictiveAutoscalePolicyScaleMode`
- New function `*DiagnosticSettingsCategoryClient.NewListPager(string, *DiagnosticSettingsCategoryClientListOptions) *runtime.Pager[DiagnosticSettingsCategoryClientListResponse]`
- New function `PossibleAccessModeValues() []AccessMode`
- New function `*PredictiveMetricClient.Get(context.Context, string, string, string, string, string, string, string, *PredictiveMetricClientGetOptions) (PredictiveMetricClientGetResponse, error)`
- New function `NewPredictiveMetricClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PredictiveMetricClient, error)`
- New struct `AccessModeSettings`
- New struct `AccessModeSettingsExclusion`
- New struct `Actions`
- New struct `AutoscaleErrorResponse`
- New struct `AutoscaleErrorResponseError`
- New struct `Condition`
- New struct `ConditionFailingPeriods`
- New struct `DefaultErrorResponse`
- 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 `PrivateEndpoint`
- New struct `PrivateLinkServiceConnectionState`
- New struct `ProxyResourceAutoGenerated`
- New struct `ResourceAutoGenerated`
- New struct `ResourceAutoGenerated2`
- New struct `ResourceAutoGenerated3`
- New struct `ResourceAutoGenerated4`
- New struct `ScheduledQueryRuleCriteria`
- New struct `ScheduledQueryRuleProperties`
- New struct `ScheduledQueryRuleResource`
- New struct `ScheduledQueryRuleResourceCollection`
- New struct `ScheduledQueryRuleResourcePatch`
- New struct `TrackedResource`
- New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientCreateNotificationsAtResourceGroupLevelResponse`
- New field `RequiredZoneNames` in struct `PrivateLinkResourceProperties`
- New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientPostTestNotificationsResponse`
- New field `SystemData` in struct `DiagnosticSettingsResource`
- New field `PredictiveAutoscalePolicy` in struct `AutoscaleSetting`
- New field `CategoryGroups` in struct `DiagnosticSettingsCategory`
- New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientCreateNotificationsAtActionGroupResourceLevelResponse`
- New field `SystemData` in struct `DiagnosticSettingsCategoryResource`
- New field `SystemData` in struct `ScopedResource`
- New field `SystemData` in struct `AutoscaleSettingResource`
- New anonymous field `ScheduledQueryRuleResourceCollection` in struct `ScheduledQueryRulesClientListBySubscriptionResponse`
- New field `SystemData` in struct `AzureMonitorPrivateLinkScope`
- New field `CategoryGroup` in struct `LogSettings`
- New anonymous field `ScheduledQueryRuleResource` in struct `ScheduledQueryRulesClientGetResponse`
- New anonymous field `ScheduledQueryRuleResource` in struct `ScheduledQueryRulesClientUpdateResponse`
- New anonymous field `ScheduledQueryRuleResource` in struct `ScheduledQueryRulesClientCreateOrUpdateResponse`
- New field `SystemData` in struct `Resource`
- New field `AccessModeSettings` in struct `AzureMonitorPrivateLinkScopeProperties`
- New field `MarketplacePartnerID` in struct `DiagnosticSettings`
- 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
```
Loading

0 comments on commit 02ae972

Please sign in to comment.