Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Insights to add version stable/2023-10-01 #26655

Merged

use ErrorResponse from common-types v1 for APIs with legacy error res…

b9216f2
Select commit
Loading
Failed to load commit list.
Merged

[Hub Generated] Review request for Microsoft.Insights to add version stable/2023-10-01 #26655

use ErrorResponse from common-types v1 for APIs with legacy error res…
b9216f2
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger SDK Breaking Change Tracking failed Dec 2, 2023 in 2m 17s

Swagger SDK Breaking Change Tracking failed

UpdateTracking
View more details.

Details

Breaking Changes Tracking

azure-sdk-for-go - sdk/resourcemanager/monitor/armmonitor - 0.12.0
Diff with approved:
+	Enum `Unit` has been removed
+	Field `ActionType`, `IsDataAction`, `Origin` of struct `OperationAutoGenerated` has been removed
+	Field `Code`, `Message` of struct `ErrorResponse` has been removed
+	Field `Description` of struct `OperationDisplayAutoGenerated` has been removed
+	Field `Location`, `Tags` of struct `ResourceAutoGenerated` has been removed
+	Field `Location`, `Tags` of struct `Resource` has been removed
+	Field `OperationListResultAutoGenerated` of struct `OperationsForMonitorClientListResponse` has been removed
+	Field `OperationListResult` of struct `OperationsClientListResponse` has been removed
+	Field `PrivateEndpointConnection` of struct `PrivateEndpointConnectionsClientCreateOrUpdateResponse` has been removed
+	Field `PrivateEndpointConnection` of struct `PrivateEndpointConnectionsClientGetResponse` has been removed
+	Field `SubscriptionScopeMetricResponse` of struct `MetricsClientListAtSubscriptionScopePostResponse` has been removed
+	Field `SubscriptionScopeMetricResponse` of struct `MetricsClientListAtSubscriptionScopeResponse` has been removed
+	Field `SystemData` of struct `ResourceAutoGenerated5` has been removed
+	Field `SystemData` of struct `TrackedResourceAutoGenerated` has been removed
+	Function `*PrivateEndpointConnectionsClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, PrivateEndpointConnection, *PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, string, PrivateEndpointConnectionAutoGenerated, *PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions)`
+	Operation `*AzureMonitorWorkspacesClient.Delete` has been changed to LRO, use `*AzureMonitorWorkspacesClient.BeginDelete` instead.
+	Struct `SubscriptionScopeMetricResponse` has been removed
+	Struct `SubscriptionScopeMetric` has been removed
+	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 `*ErrorResponseAutoGenerated3`
+	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`
Diff with base:
+	Enum `Unit` has been removed
+	Field `ActionType`, `IsDataAction`, `Origin` of struct `OperationAutoGenerated` has been removed
+	Field `Code`, `Message` of struct `ErrorResponse` has been removed
+	Field `Description` of struct `OperationDisplayAutoGenerated` has been removed
+	Field `Location`, `Tags` of struct `ResourceAutoGenerated` has been removed
+	Field `Location`, `Tags` of struct `Resource` has been removed
+	Field `OperationListResultAutoGenerated` of struct `OperationsForMonitorClientListResponse` has been removed
+	Field `OperationListResult` of struct `OperationsClientListResponse` has been removed
+	Field `PrivateEndpointConnection` of struct `PrivateEndpointConnectionsClientCreateOrUpdateResponse` has been removed
+	Field `PrivateEndpointConnection` of struct `PrivateEndpointConnectionsClientGetResponse` has been removed
+	Field `SubscriptionScopeMetricResponse` of struct `MetricsClientListAtSubscriptionScopePostResponse` has been removed
+	Field `SubscriptionScopeMetricResponse` of struct `MetricsClientListAtSubscriptionScopeResponse` has been removed
+	Field `SystemData` of struct `ResourceAutoGenerated5` has been removed
+	Field `SystemData` of struct `TrackedResourceAutoGenerated` has been removed
+	Function `*PrivateEndpointConnectionsClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, PrivateEndpointConnection, *PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, string, PrivateEndpointConnectionAutoGenerated, *PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions)`
+	Operation `*AzureMonitorWorkspacesClient.Delete` has been changed to LRO, use `*AzureMonitorWorkspacesClient.BeginDelete` instead.
+	Struct `SubscriptionScopeMetricResponse` has been removed
+	Struct `SubscriptionScopeMetric` has been removed
+	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 `*ErrorResponseAutoGenerated3`
+	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`
azure-sdk-for-js - @azure/arm-monitor - Approved - 8.0.0-beta.5
Diff with approved:
+	Class MonitorClient has a new signature
+	Class MonitorClient no longer has parameter metrics
+	Enum KnownOperator no longer has value Include
+	Enum KnownProvisioningState no longer has value Deploying
+	Interface ActivityLogsListNextOptionalParams no longer has parameter select
+	Interface AzureResource no longer has parameter identity
+	Interface AzureResource no longer has parameter kind
+	Interface ErrorResponse no longer has parameter code
+	Interface ErrorResponse no longer has parameter message
+	Interface PrivateEndpointConnectionListResult no longer has parameter nextLink
+	Interface PrivateLinkResourceListResult no longer has parameter nextLink
+	Interface Resource no longer has parameter location
+	Interface Resource no longer has parameter tags
+	Interface ResourceAutoGenerated no longer has parameter etag
+	Interface ResourceAutoGenerated no longer has parameter kind
+	Interface ResourceAutoGenerated no longer has parameter location
+	Interface ResourceAutoGenerated no longer has parameter tags
+	Interface ScheduledQueryRulesListByResourceGroupOptionalParams no longer has parameter filter
+	Interface ScheduledQueryRulesListBySubscriptionOptionalParams no longer has parameter filter
+	Interface TenantActivityLogsListNextOptionalParams no longer has parameter filter
+	Interface TenantActivityLogsListNextOptionalParams no longer has parameter select
+	Operation ActivityLogAlerts.update has a new signature
+	Operation PrivateEndpointConnections.beginCreateOrUpdate has a new signature
+	Operation PrivateEndpointConnections.beginCreateOrUpdateAndWait has a new signature
+	Operation ScheduledQueryRules.createOrUpdate has a new signature
+	Operation ScheduledQueryRules.update has a new signature
+	Removed Enum KnownConditionalOperator
+	Removed Enum KnownEnabled
+	Removed Enum KnownMetricTriggerType
+	Removed Enum KnownQueryType
+	Removed operation ActionGroups.beginPostTestNotifications
+	Removed operation ActionGroups.beginPostTestNotificationsAndWait
+	Removed operation ActionGroups.getTestNotifications
+	Removed operation group Metrics
+	Type of parameter dimensions of interface MetricDefinition is changed from LocalizableString[] to LocalizableStringAutoGenerated[]
+	Type of parameter error of interface ErrorContract is changed from ErrorResponse to ErrorResponseAutoGenerated3
+	Type of parameter error of interface ErrorResponseCommonV2 is changed from ErrorDetail to ErrorDetailAutoGenerated
+	Type of parameter error of interface OperationStatus is changed from ErrorResponseCommon to ErrorDetailAutoGenerated
+	Type of parameter name of interface MetadataValue is changed from LocalizableString to LocalizableStringAutoGenerated
+	Type of parameter name of interface Metric is changed from LocalizableString to LocalizableStringAutoGenerated
+	Type of parameter name of interface MetricDefinition is changed from LocalizableString to LocalizableStringAutoGenerated
+	Type of parameter operator of interface Dimension is changed from Operator to DimensionOperator
+	Type of parameter value of interface PrivateEndpointConnectionListResult is changed from PrivateEndpointConnection[] to PrivateEndpointConnectionAutoGenerated[]
Diff with base:
	Class MonitorClient has a new signature
	Class MonitorClient no longer has parameter metrics
	Enum KnownOperator no longer has value Include
	Enum KnownProvisioningState no longer has value Deploying
	Interface ActivityLogsListNextOptionalParams no longer has parameter select
	Interface AzureResource no longer has parameter identity
	Interface AzureResource no longer has parameter kind
	Interface ErrorResponse no longer has parameter code
	Interface ErrorResponse no longer has parameter message
	Interface PrivateEndpointConnectionListResult no longer has parameter nextLink
	Interface PrivateLinkResourceListResult no longer has parameter nextLink
	Interface Resource no longer has parameter location
	Interface Resource no longer has parameter tags
	Interface ResourceAutoGenerated no longer has parameter etag
	Interface ResourceAutoGenerated no longer has parameter kind
	Interface ResourceAutoGenerated no longer has parameter location
	Interface ResourceAutoGenerated no longer has parameter tags
	Interface ScheduledQueryRulesListByResourceGroupOptionalParams no longer has parameter filter
	Interface ScheduledQueryRulesListBySubscriptionOptionalParams no longer has parameter filter
	Interface TenantActivityLogsListNextOptionalParams no longer has parameter filter
	Interface TenantActivityLogsListNextOptionalParams no longer has parameter select
	Operation ActivityLogAlerts.update has a new signature
	Operation PrivateEndpointConnections.beginCreateOrUpdate has a new signature
	Operation PrivateEndpointConnections.beginCreateOrUpdateAndWait has a new signature
	Operation ScheduledQueryRules.createOrUpdate has a new signature
	Operation ScheduledQueryRules.update has a new signature
	Removed Enum KnownConditionalOperator
	Removed Enum KnownEnabled
	Removed Enum KnownMetricTriggerType
	Removed Enum KnownQueryType
	Removed operation ActionGroups.beginPostTestNotifications
	Removed operation ActionGroups.beginPostTestNotificationsAndWait
	Removed operation ActionGroups.getTestNotifications
	Removed operation group Metrics
-	Type of parameter error of interface ErrorContract is changed from ErrorResponse to ErrorResponseAutoGenerated
+	Type of parameter dimensions of interface MetricDefinition is changed from LocalizableString[] to LocalizableStringAutoGenerated[]
+	Type of parameter error of interface ErrorContract is changed from ErrorResponse to ErrorResponseAutoGenerated3
	Type of parameter error of interface ErrorResponseCommonV2 is changed from ErrorDetail to ErrorDetailAutoGenerated
	Type of parameter error of interface OperationStatus is changed from ErrorResponseCommon to ErrorDetailAutoGenerated
+	Type of parameter name of interface MetadataValue is changed from LocalizableString to LocalizableStringAutoGenerated
+	Type of parameter name of interface Metric is changed from LocalizableString to LocalizableStringAutoGenerated
+	Type of parameter name of interface MetricDefinition is changed from LocalizableString to LocalizableStringAutoGenerated
	Type of parameter operator of interface Dimension is changed from Operator to DimensionOperator
-	Type of parameter unit of interface Metric is changed from MetricUnit to Unit
	Type of parameter value of interface PrivateEndpointConnectionListResult is changed from PrivateEndpointConnection[] to PrivateEndpointConnectionAutoGenerated[]