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

Todd king msft monitor microsoft.insights 2023 10 01 resolve dups #26927

Always use commontypes v2 ProxyResource definition

363263f
Select commit
Loading
Failed to load commit list.
Closed

Todd king msft monitor microsoft.insights 2023 10 01 resolve dups #26927

Always use commontypes v2 ProxyResource definition
363263f
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Breaking Change(Cross-Version) failed Dec 1, 2023 in 3m 22s

Breaking Change(Cross-Version) failed

CrossVersionBreakingChange: 13 Errors, 41 Warnings
View Azure DevOps build log for more details.

Important

To see the full list of breaking change messages, with all the details available:
In the relevant ADO build (see the link above), find the job CrossVersionBreakingChange, then the task within, also called CrossVersionBreakingChange.
In the task's build log, search for Full list of messages.

Details

compared swaggers (via Oad v0.10.4)] new version base version
metricBatch.json 2023-10-01(363263f) 2023-05-01-preview(main)
metricDefinitions_API.json 2023-10-01(363263f) 2021-05-01(main)
metricDefinitions_API.json 2023-10-01(363263f) 2017-09-01-preview(main)
metrics_API.json 2023-10-01(363263f) 2021-05-01(main)
metrics_API.json 2023-10-01(363263f) 2017-09-01-preview(main)

The following breaking changes have been detected in comparison to the latest stable version

1023 - TypeFormatChanged

Displaying 8 out of 8 occurrences.

Index Description
1 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L121:9
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L121:9
2 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L211:9
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L208:9
3 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L289:9
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L283:9
4 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L293:9
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L288:9
5 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L362:9
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L434:9
6 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L362:9
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L522:9
7 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L397:5
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L626:5
8 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L44:9
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L47:9

1042 - ChangedParameterOrder

Displaying 1 out of 1 occurrences.

Index Description
1 The order of parameter 'body' was changed.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L121:9
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L121:9

1047 - XmsEnumChanged

Displaying 4 out of 4 occurrences.

Index Description
1 The new version has a different x-ms-enum 'modelAsString' than the previous one.
New: monitor/common-types/v2/commonMonitoringTypes.json#L209:9
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L488:9
2 The new version has a different x-ms-enum 'modelAsString' than the previous one.
New: monitor/common-types/v2/commonMonitoringTypes.json#L79:5
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L344:5
3 The new version has a different x-ms-enum 'name' than the previous one.
New: monitor/common-types/v2/commonMonitoringTypes.json#L209:9
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L488:9
4 The new version has a different x-ms-enum 'name' than the previous one.
New: monitor/common-types/v2/commonMonitoringTypes.json#L79:5
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L344:5

⚠️ 1017 - ReferenceRedirection

Displaying 6 out of 6 occurrences.

Index Description
1 The '$ref' property points to different models in the old and new versions.
New: Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json#L226:9
Old: Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json#L229:9
2 The '$ref' property points to different models in the old and new versions.
New: Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json#L316:9
Old: Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json#L313:9
3 The '$ref' property points to different models in the old and new versions.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L100:13
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L100:13
4 The '$ref' property points to different models in the old and new versions.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L185:13
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L182:13
5 The '$ref' property points to different models in the old and new versions.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L376:11
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L537:11
6 The '$ref' property points to different models in the old and new versions.
New: monitor/common-types/v2/commonMonitoringTypes.json#L209:9
Old: Microsoft.Insights/stable/2021-05-01/metrics_API.json#L576:9

💬 1041 - AddedPropertyInResponse

Displaying 4 out of 4 occurrences.

Index Description
1 The new version has a new property 'additionalInfo' in response that was not found in the old version.
New: monitor/common-types/v2/commonMonitoringTypes.json#L245:7
Old: Microsoft.Insights/stable/2021-05-01/commonMonitoringTypes.json#L63:7
2 The new version has a new property 'additionalInfo' in response that was not found in the old version.
New: monitor/common-types/v2/commonMonitoringTypes.json#L245:7
Old: Microsoft.Insights/stable/2021-05-01/commonMonitoringTypes.json#L63:7
3 The new version has a new property 'target' in response that was not found in the old version.
New: monitor/common-types/v2/commonMonitoringTypes.json#L245:7
Old: Microsoft.Insights/stable/2021-05-01/commonMonitoringTypes.json#L63:7
4 The new version has a new property 'target' in response that was not found in the old version.
New: monitor/common-types/v2/commonMonitoringTypes.json#L245:7
Old: Microsoft.Insights/stable/2021-05-01/commonMonitoringTypes.json#L63:7

💬 1043 - AddingOptionalParameter

Displaying 3 out of 3 occurrences.

Index Description
1 The optional parameter 'rollupby' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L121:9
2 The optional parameter 'rollupby' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L211:9
3 The optional parameter 'rollupby' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L44:9

The following breaking changes have been detected in comparison to the latest preview version

⚠️ 1007 - RemovedClientParameter

Displaying 2 out of 2 occurrences.

Index Description
1 The new version is missing a client parameter that was found in the old version. Was 'MetricParameter' removed or renamed?
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L388:3
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L363:3
2 The new version is missing a client parameter that was found in the old version. Was 'ResourceIdList' removed or renamed?
New: Microsoft.Insights/stable/2023-10-01/metricBatch.json#L134:3
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L122:3

⚠️ 1009 - RemovedRequiredParameter

Displaying 1 out of 1 occurrences.

Index Description
1 The required parameter 'resourceIds' was removed in the new version.
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L56:9

⚠️ 1010 - AddingRequiredParameter

Displaying 1 out of 1 occurrences.

Index Description
1 The required parameter 'batchRequest' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metricBatch.json#L93:11

⚠️ 1017 - ReferenceRedirection

Displaying 3 out of 3 occurrences.

Index Description
1 The '$ref' property points to different models in the old and new versions.
New: common-types/resource-management/v5/types.json#L294:11
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L259:15
2 The '$ref' property points to different models in the old and new versions.
New: common-types/resource-management/v5/types.json#L307:9
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L252:9
3 The '$ref' property points to different models in the old and new versions.
New: Microsoft.Insights/stable/2023-10-01/metricBatch.json#L118:13
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L109:13

⚠️ 1023 - TypeFormatChanged

Displaying 7 out of 7 occurrences.

Index Description
1 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metricBatch.json#L135:5
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L132:5
2 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metricBatch.json#L245:15
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L310:15
3 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metricBatch.json#L56:9
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L56:9
4 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L211:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L43:9
5 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L362:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L265:9
6 The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L397:5
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L381:5
7 The new version has a different format than the previous one.
New: monitor/common-types/v2/commonMonitoringTypes.json#L57:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L230:9

⚠️ 1025 - RequiredStatusChange

Displaying 2 out of 2 occurrences.

Index Description
1 The 'required' status changed from the old version('True') to the new version('False').
New: common-types/resource-management/v5/types.json#L263:7
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L255:11
2 The 'required' status changed from the old version('True') to the new version('False').
New: common-types/resource-management/v5/types.json#L306:7
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L251:7

⚠️ 1026 - TypeChanged

Displaying 3 out of 3 occurrences.

Index Description
1 The new version has a different type 'integer' than the previous one 'number'.
New: monitor/common-types/v2/commonMonitoringTypes.json#L359:5
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L406:5
2 The new version has a different type 'number' than the previous one 'integer'.
New: monitor/common-types/v2/commonMonitoringTypes.json#L57:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L230:9
3 The new version has a different type 'object' than the previous one 'string'.
New: common-types/resource-management/v5/types.json#L321:9
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L266:19

⚠️ 1029 - ReadonlyPropertyChanged

Displaying 5 out of 5 occurrences.

Index Description
1 The read only property has changed from 'false' to 'true'.
New: common-types/resource-management/v5/types.json#L264:9
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L273:13
2 The read only property has changed from 'false' to 'true'.
New: common-types/resource-management/v5/types.json#L269:9
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L277:13
3 The read only property has changed from 'false' to 'true'.
New: common-types/resource-management/v5/types.json#L291:9
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L256:13
4 The read only property has changed from 'false' to 'true'.
New: common-types/resource-management/v5/types.json#L316:9
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L262:19
5 The read only property has changed from 'false' to 'true'.
New: common-types/resource-management/v5/types.json#L321:9
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L266:19

⚠️ 1046 - RemovedOptionalParameter

Displaying 3 out of 3 occurrences.

Index Description
1 The optional parameter '$orderby' was removed in the new version.
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L43:9
2 The optional parameter '$top' was removed in the new version.
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L43:9
3 The optional parameter 'metric' was removed in the new version.
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L43:9

⚠️ 1047 - XmsEnumChanged

Displaying 8 out of 8 occurrences.

Index Description
1 The new version has a different x-ms-enum 'modelAsString' than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json#L226:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L255:9
2 The new version has a different x-ms-enum 'modelAsString' than the previous one.
New: monitor/common-types/v2/commonMonitoringTypes.json#L209:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L307:9
3 The new version has a different x-ms-enum 'modelAsString' than the previous one.
New: monitor/common-types/v2/commonMonitoringTypes.json#L79:5
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L197:5
4 The new version has a different x-ms-enum 'modelAsString' than the previous one.
New: monitor/common-types/v2/commonMonitoringTypes.json#L79:5
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L176:5
5 The new version has a different x-ms-enum 'name' than the previous one.
New: Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json#L226:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L255:9
6 The new version has a different x-ms-enum 'name' than the previous one.
New: monitor/common-types/v2/commonMonitoringTypes.json#L209:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L307:9
7 The new version has a different x-ms-enum 'name' than the previous one.
New: monitor/common-types/v2/commonMonitoringTypes.json#L79:5
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L197:5
8 The new version has a different x-ms-enum 'name' than the previous one.
New: monitor/common-types/v2/commonMonitoringTypes.json#L79:5
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L176:5

💬 1038 - AddedPath

Displaying 2 out of 2 occurrences.

Index Description
1 The new version is adding a path that was not found in the old version.
New: Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json#L37:5
2 The new version is adding a path that was not found in the old version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L37:5

💬 1040 - AddedReadOnlyPropertyInResponse

Displaying 2 out of 2 occurrences.

Index Description
1 The new version has a new read-only property 'details' in response that was not found in the old version.
New: common-types/resource-management/v5/types.json#L263:7
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L255:11
2 The new version has a new read-only property 'target' in response that was not found in the old version.
New: common-types/resource-management/v5/types.json#L263:7
Old: Microsoft.Insights/preview/2023-05-01-preview/metricBatch.json#L255:11

💬 1041 - AddedPropertyInResponse

Displaying 10 out of 10 occurrences.

Index Description
1 The new version has a new property 'additionalInfo' in response that was not found in the old version.
New: monitor/common-types/v2/commonMonitoringTypes.json#L245:7
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L310:7
2 The new version has a new property 'additionalInfo' in response that was not found in the old version.
New: monitor/common-types/v2/commonMonitoringTypes.json#L245:7
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L351:7
3 The new version has a new property 'category' in response that was not found in the old version.
New: Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json#L197:7
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L238:7
4 The new version has a new property 'errorMessage' in response that was not found in the old version.
New: monitor/common-types/v2/commonMonitoringTypes.json#L184:7
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L286:7
5 The new version has a new property 'metricClass' in response that was not found in the old version.
New: Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json#L197:7
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L238:7
6 The new version has a new property 'namespace' in response that was not found in the old version.
New: Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json#L197:7
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L238:7
7 The new version has a new property 'namespace' in response that was not found in the old version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L351:7
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L254:7
8 The new version has a new property 'resourceregion' in response that was not found in the old version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L351:7
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L254:7
9 The new version has a new property 'target' in response that was not found in the old version.
New: monitor/common-types/v2/commonMonitoringTypes.json#L245:7
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L310:7
10 The new version has a new property 'target' in response that was not found in the old version.
New: monitor/common-types/v2/commonMonitoringTypes.json#L245:7
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L351:7

💬 1043 - AddingOptionalParameter

Displaying 9 out of 9 occurrences.

Index Description
1 The optional parameter 'AutoAdjustTimegrain' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L211:9
2 The optional parameter 'metricnames' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L211:9
3 The optional parameter 'metricnamespace' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metricDefinitions_API.json#L89:9
4 The optional parameter 'metricnamespace' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L211:9
5 The optional parameter 'orderby' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L211:9
6 The optional parameter 'rollupby' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metricBatch.json#L56:9
7 The optional parameter 'rollupby' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L211:9
8 The optional parameter 'top' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L211:9
9 The optional parameter 'ValidateDimensions' was added in the new version.
New: Microsoft.Insights/stable/2023-10-01/metrics_API.json#L211:9