Skip to content

Commit

Permalink
CodeGen from PR 26655 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge b755ad5377bf511a67b62d03786bdc36a49735b7 into 7ae8d80917d262746790f86c98c5191bd0ce8eff
  • Loading branch information
SDKAuto committed Nov 21, 2023
1 parent 3d4816b commit 85b6258
Show file tree
Hide file tree
Showing 55 changed files with 1,972 additions and 20,578 deletions.
85 changes: 85 additions & 0 deletions sdk/resourcemanager/monitor/armmonitor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,90 @@
# Release History

## 0.11.0 (2023-11-21)
### Breaking Changes

- Function `*PrivateEndpointConnectionsClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, PrivateEndpointConnection, *PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, string, PrivateEndpointConnectionAutoGenerated, *PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions)`
- Type of `AzureMonitorPrivateLinkScopeProperties.PrivateEndpointConnections` has been changed from `[]*PrivateEndpointConnection` to `[]*PrivateEndpointConnectionAutoGenerated`
- Type of `DefaultErrorResponse.Error` has been changed from `*ErrorDetail` to `*ErrorDetailAutoGenerated`
- Type of `ErrorContract.Error` has been changed from `*ErrorResponse` to `*ErrorResponseAutoGenerated`
- Type of `ErrorResponseCommonV2.Error` has been changed from `*ErrorDetail` to `*ErrorDetailAutoGenerated`
- Type of `MetadataValue.Name` has been changed from `*LocalizableString` to `*LocalizableStringAutoGenerated`
- Type of `Metric.Name` has been changed from `*LocalizableString` to `*LocalizableStringAutoGenerated`
- Type of `Metric.Unit` has been changed from `*Unit` to `*MetricUnit`
- Type of `MetricDefinition.Dimensions` has been changed from `[]*LocalizableString` to `[]*LocalizableStringAutoGenerated`
- Type of `MetricDefinition.Name` has been changed from `*LocalizableString` to `*LocalizableStringAutoGenerated`
- Type of `OperationStatus.Error` has been changed from `*ErrorDetail` to `*ErrorDetailAutoGenerated`
- Type of `PrivateEndpointConnectionListResult.Value` has been changed from `[]*PrivateEndpointConnection` to `[]*PrivateEndpointConnectionAutoGenerated`
- Type of `SubscriptionScopeMetricDefinition.Dimensions` has been changed from `[]*LocalizableString` to `[]*LocalizableStringAutoGenerated`
- Type of `SubscriptionScopeMetricDefinition.Name` has been changed from `*LocalizableString` to `*LocalizableStringAutoGenerated`
- Type of `SubscriptionScopeMetricsRequestBodyParameters.Timespan` has been changed from `*time.Time` to `*string`
- Enum `Unit` has been removed
- Operation `*AzureMonitorWorkspacesClient.Delete` has been changed to LRO, use `*AzureMonitorWorkspacesClient.BeginDelete` instead.
- Operation `*MetricDefinitionsClient.NewListAtSubscriptionScopePager` does not support pagination anymore, use `*MetricDefinitionsClient.ListAtSubscriptionScope` instead.
- Operation `*MetricDefinitionsClient.NewListPager` does not support pagination anymore, use `*MetricDefinitionsClient.List` instead.
- Struct `SubscriptionScopeMetric` has been removed
- Struct `SubscriptionScopeMetricResponse` has been removed
- Field `Code`, `Message` of struct `ErrorResponse` has been removed
- Field `Error` of struct `ErrorResponseAutoGenerated2` has been removed
- Field `SubscriptionScopeMetricResponse` of struct `MetricsClientListAtSubscriptionScopePostResponse` has been removed
- Field `SubscriptionScopeMetricResponse` of struct `MetricsClientListAtSubscriptionScopeResponse` has been removed
- Field `OperationListResult` of struct `OperationsClientListResponse` has been removed
- Field `OperationListResultAutoGenerated` of struct `OperationsForMonitorClientListResponse` has been removed
- Field `PrivateEndpointConnection` of struct `PrivateEndpointConnectionsClientCreateOrUpdateResponse` has been removed
- Field `PrivateEndpointConnection` of struct `PrivateEndpointConnectionsClientGetResponse` has been removed
- Field `Location`, `Tags` of struct `Resource` has been removed
- Field `Location`, `Tags` of struct `ResourceAutoGenerated` has been removed
- Field `SystemData` of struct `ResourceAutoGenerated5` has been removed
- Field `SystemData` of struct `TrackedResourceAutoGenerated` has been removed

### Features Added

- New function `NewClient(azcore.TokenCredential, *arm.ClientOptions) (*Client, error)`
- New function `*Client.BeginCreateNotificationsAtTenantActionGroupResourceLevel(context.Context, string, string, string, TenantNotificationRequestBody, *ClientBeginCreateNotificationsAtTenantActionGroupResourceLevelOptions) (*runtime.Poller[ClientCreateNotificationsAtTenantActionGroupResourceLevelResponse], error)`
- New function `*Client.GetTestNotificationsAtTenantActionGroupResourceLevel(context.Context, string, string, string, string, *ClientGetTestNotificationsAtTenantActionGroupResourceLevelOptions) (ClientGetTestNotificationsAtTenantActionGroupResourceLevelResponse, error)`
- New function `*ClientFactory.NewClient() *Client`
- New struct `ActionDetailAutoGenerated`
- New struct `DimensionProperties`
- New struct `ErrorResponseAdditionalInfoItem`
- New struct `ErrorResponseAutoGenerated3`
- New struct `ErrorResponseAutoGenerated4`
- New struct `LocalizableStringAutoGenerated`
- New struct `LogSpecification`
- New struct `MetricSpecification`
- New struct `OperationProperties`
- New struct `PrivateEndpointAutoGenerated`
- New struct `PrivateEndpointConnectionAutoGenerated`
- New struct `PrivateEndpointConnectionPropertiesAutoGenerated`
- New struct `ResourceAutoGenerated6`
- New struct `ServiceSpecification`
- New struct `TenantNotificationRequestBody`
- New struct `TestNotificationDetailsResponseAutoGenerated`
- New field `PrivateEndpointConnections`, `PublicNetworkAccess` in struct `AzureMonitorWorkspace`
- New field `PrivateEndpointConnections`, `PublicNetworkAccess` in struct `AzureMonitorWorkspaceResourceProperties`
- New field `Error` in struct `ErrorResponse`
- New field `AdditionalInfo`, `Target` in struct `ErrorResponseAutoGenerated`
- New field `Code`, `Message` in struct `ErrorResponseAutoGenerated2`
- New field `Rollupby` in struct `MetricsClientListAtSubscriptionScopeOptions`
- New field `Rollupby` in struct `MetricsClientListAtSubscriptionScopePostOptions`
- New anonymous field `Response` in struct `MetricsClientListAtSubscriptionScopePostResponse`
- New anonymous field `Response` in struct `MetricsClientListAtSubscriptionScopeResponse`
- New field `Rollupby` in struct `MetricsClientListOptions`
- New field `ActionType`, `IsDataAction`, `Origin` in struct `Operation`
- New field `OperationProperties` in struct `OperationAutoGenerated`
- New field `Description` in struct `OperationDisplay`
- New field `Publisher` in struct `OperationDisplayAutoGenerated`
- New anonymous field `OperationListResultAutoGenerated` in struct `OperationsClientListResponse`
- New anonymous field `OperationListResult` in struct `OperationsForMonitorClientListResponse`
- New field `SystemData` in struct `PrivateEndpointConnection`
- New field `GroupIDs` in struct `PrivateEndpointConnectionProperties`
- New anonymous field `PrivateEndpointConnectionAutoGenerated` in struct `PrivateEndpointConnectionsClientCreateOrUpdateResponse`
- New anonymous field `PrivateEndpointConnectionAutoGenerated` in struct `PrivateEndpointConnectionsClientGetResponse`
- New field `SystemData` in struct `ResourceAutoGenerated`
- New field `SystemData` in struct `ResourceAutoGenerated2`
- New field `Location`, `Tags` in struct `ResourceAutoGenerated3`
- New field `SystemData` in struct `TrackedResource`


## 0.10.2 (2023-10-09)

### Other Changes
Expand Down
Loading

0 comments on commit 85b6258

Please sign in to comment.