Skip to content

Commit

Permalink
CodeGen from PR 20064 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 8be5e3c65e03b673dca5f44299c7599fa795a4a7 into 705bc5cfea866c838692f4aa0a1197c51bfd2d79
  • Loading branch information
SDKAuto committed Aug 2, 2022
1 parent 24bcaf5 commit ac558ec
Show file tree
Hide file tree
Showing 68 changed files with 9,791 additions and 6,507 deletions.
93 changes: 93 additions & 0 deletions sdk/resourcemanager/monitor/armmonitor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,98 @@
# Release History

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

- 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 `*DataCollectionEndpointsClient.Create` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionEndpointsClientCreateOptions)` to `(context.Context, string, string, DataCollectionEndpointResource, *DataCollectionEndpointsClientCreateOptions)`
- Function `*DataCollectionRulesClient.Create` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionRulesClientCreateOptions)` to `(context.Context, string, string, DataCollectionRuleResource, *DataCollectionRulesClientCreateOptions)`
- Function `*DataCollectionRuleAssociationsClient.Create` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionRuleAssociationsClientCreateOptions)` to `(context.Context, string, string, DataCollectionRuleAssociationProxyOnlyResource, *DataCollectionRuleAssociationsClientCreateOptions)`
- Type of `OperationStatus.Error` has been changed from `*ErrorResponseCommon` to `*ErrorDetail`
- Type of `PrivateEndpointConnectionProperties.PrivateEndpoint` has been changed from `*PrivateEndpointProperty` to `*PrivateEndpoint`
- Type of `PrivateEndpointConnectionProperties.ProvisioningState` has been changed from `*string` to `*PrivateEndpointConnectionProvisioningState`
- Type of `PrivateEndpointConnectionProperties.PrivateLinkServiceConnectionState` has been changed from `*PrivateLinkServiceConnectionStateProperty` to `*PrivateLinkServiceConnectionState`
- Function `*DiagnosticSettingsCategoryClient.List` has been removed
- Function `*DiagnosticSettingsClient.List` has been removed
- Function `*PrivateEndpointConnectionsClient.NewListByPrivateLinkScopePager` has been removed
- Function `*PrivateLinkResourcesClient.NewListByPrivateLinkScopePager` has been removed
- Struct `ErrorResponseCommon` has been removed
- Struct `PrivateEndpointProperty` has been removed
- Struct `PrivateLinkScopesResource` has been removed
- Struct `PrivateLinkServiceConnectionStateProperty` has been removed
- Struct `ProxyOnlyResource` has been removed
- Field `NextLink` of struct `PrivateEndpointConnectionListResult` has been removed
- Field `Body` of struct `DataCollectionRulesClientUpdateOptions` has been removed
- Field `Body` of struct `DataCollectionEndpointsClientUpdateOptions` has been removed
- Field `Body` of struct `DataCollectionRuleAssociationsClientCreateOptions` has been removed
- Field `Identity` of struct `AzureResource` has been removed
- Field `Kind` of struct `AzureResource` has been removed
- Field `Body` of struct `DataCollectionEndpointsClientCreateOptions` has been removed
- Field `Body` of struct `DataCollectionRulesClientCreateOptions` has been removed
- Field `NextLink` of struct `PrivateLinkResourceListResult` has been removed
- Field `Kind` of struct `ActionGroupResource` has been removed
- Field `Identity` of struct `ActionGroupResource` has been removed

### Features Added

- New const `PrivateEndpointConnectionProvisioningStateSucceeded`
- New const `PrivateEndpointServiceConnectionStatusRejected`
- New const `AccessModePrivateOnly`
- New const `PrivateEndpointServiceConnectionStatusApproved`
- New const `AccessModeOpen`
- New const `PrivateEndpointConnectionProvisioningStateFailed`
- New const `PrivateEndpointConnectionProvisioningStateCreating`
- New const `PredictiveAutoscalePolicyScaleModeForecastOnly`
- New const `PrivateEndpointServiceConnectionStatusPending`
- New const `PredictiveAutoscalePolicyScaleModeEnabled`
- New const `PredictiveAutoscalePolicyScaleModeDisabled`
- New const `PrivateEndpointConnectionProvisioningStateDeleting`
- New function `PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState`
- New function `*PrivateEndpointConnectionsClient.ListByPrivateLinkScope(context.Context, string, string, *PrivateEndpointConnectionsClientListByPrivateLinkScopeOptions) (PrivateEndpointConnectionsClientListByPrivateLinkScopeResponse, error)`
- New function `*PredictiveMetricClient.Get(context.Context, string, string, string, string, string, string, string, *PredictiveMetricClientGetOptions) (PredictiveMetricClientGetResponse, error)`
- New function `PossibleAccessModeValues() []AccessMode`
- New function `*DiagnosticSettingsCategoryClient.NewListPager(string, *DiagnosticSettingsCategoryClientListOptions) *runtime.Pager[DiagnosticSettingsCategoryClientListResponse]`
- New function `*DiagnosticSettingsClient.NewListPager(string, *DiagnosticSettingsClientListOptions) *runtime.Pager[DiagnosticSettingsClientListResponse]`
- New function `PossiblePredictiveAutoscalePolicyScaleModeValues() []PredictiveAutoscalePolicyScaleMode`
- New function `*PrivateLinkResourcesClient.ListByPrivateLinkScope(context.Context, string, string, *PrivateLinkResourcesClientListByPrivateLinkScopeOptions) (PrivateLinkResourcesClientListByPrivateLinkScopeResponse, error)`
- New function `PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus`
- New function `NewPredictiveMetricClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PredictiveMetricClient, error)`
- New struct `AccessModeSettings`
- New struct `AccessModeSettingsExclusion`
- New struct `AutoscaleErrorResponse`
- New struct `AutoscaleErrorResponseError`
- New struct `DefaultErrorResponse`
- 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 `TrackedResource`
- New field `PredictiveAutoscalePolicy` in struct `AutoscaleSetting`
- New field `CategoryGroups` in struct `DiagnosticSettingsCategory`
- New field `MarketplacePartnerID` in struct `DiagnosticSettings`
- New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientPostTestNotificationsResponse`
- New field `SystemData` in struct `DiagnosticSettingsResource`
- New field `SystemData` in struct `AzureMonitorPrivateLinkScope`
- New field `SystemData` in struct `Resource`
- New field `AccessModeSettings` in struct `AzureMonitorPrivateLinkScopeProperties`
- New field `SystemData` in struct `DiagnosticSettingsCategoryResource`
- New field `RequiredZoneNames` in struct `PrivateLinkResourceProperties`
- New field `SystemData` in struct `ScopedResource`
- New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientCreateNotificationsAtResourceGroupLevelResponse`
- New field `SystemData` in struct `AutoscaleSettingResource`
- New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientCreateNotificationsAtActionGroupResourceLevelResponse`
- New field `CategoryGroup` in struct `LogSettings`


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

Please sign in to comment.