Skip to content

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

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ToddKingMSFT
Copy link
Member

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

ARM (Control Plane) API Specification Update Pull Request

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

Click here to see the details of Step 1

Breaking changes review (Diagram Step 1)

If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:

  • The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
  • You believe there is no need for you to request breaking change approval, for any reason.
    Such claims must be reviewed, and the process is the same.
Click here to see the details of Step 2

ARM API changes review (Diagram Step 2)

  • If this PR is in purview of ARM review then automation will add the ARMReview label.
  • If you want to force ARM review, add the label yourself.
  • Proceed according to the diagram at the top of this comment.
Click here to see the diagram footnotes

Diagram footnotes

[1] ARM review queue (for merge queues, see [2])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])

If you need further help with anything, see Getting help section below.

Purpose of this PR

What's the purpose of this PR? Check all that apply. This is mandatory!

  • New API version. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix swagger quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the Diagram Step 2, "ARM API changes Review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.

Getting help

  • For general PR approval workflow, see the diagram at the top of this comment.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Copy link

openapi-pipeline-app bot commented Nov 28, 2023

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ Your PR has breaking changes in the generated SDK for go (label: CI-BreakingChange-Go). Refer to step 3 in the PR workflow diagram (even if your PR is for data plane, not ARM).
  • ❌ Your PR has breaking changes in the generated SDK for javascript (label: CI-BreakingChange-JavaScript). Refer to step 3 in the PR workflow diagram (even if your PR is for data plane, not ARM).
  • ❌ The required check named Swagger ModelValidation has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it.

Copy link

openapi-pipeline-app bot commented Nov 28, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 10 Warnings warning [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
commonMonitoringTypes.json 2023-11-01(35db80c) 2021-05-01(main)
metricDefinitions_API.json 2023-11-01(35db80c) 2021-05-01(main)
metricDefinitions_API.json 2023-11-01(35db80c) 2017-09-01-preview(main)
metrics_API.json 2023-11-01(35db80c) 2021-05-01(main)
metrics_API.json 2023-11-01(35db80c) 2017-09-01-preview(main)
operations_API.json 2023-11-01(35db80c) 2021-05-01(main)
operations_API.json 2023-11-01(35db80c) 2017-09-01-preview(main)

The following breaking changes are detected by comparison with the latest preview version:

Rule Message
⚠️ 1007 - RemovedClientParameter 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-11-01/metrics_API.json#L617:3
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L363:3
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L229:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L255:9
⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L399:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L230:9
⚠️ 1026 - TypeChanged The new version has a different type 'number' than the previous one 'integer'.
New: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L399:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L230:9
⚠️ 1026 - TypeChanged The new version has a different type 'integer' than the previous one 'number'.
New: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L659:5
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L406:5
⚠️ 1046 - RemovedOptionalParameter The optional parameter 'metric' was removed in the new version.
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L43:9
⚠️ 1046 - RemovedOptionalParameter The optional parameter '$top' was removed in the new version.
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L43:9
⚠️ 1046 - RemovedOptionalParameter The optional parameter '$orderby' was removed in the new version.
Old: Microsoft.Insights/preview/2017-09-01-preview/metrics_API.json#L43:9
⚠️ 1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
New: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L229:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L255:9
⚠️ 1047 - XmsEnumChanged The new version has a different x-ms-enum 'modelAsString' than the previous one.
New: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L229:9
Old: Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json#L255:9
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌LintDiff: 4 Errors, 4 Warnings failed [Detail]
compared tags (via openapi-validator v2.1.6) new version base version
package-2023-11 package-2023-11(35db80c) default(main)

[must fix]The following errors/warnings are introduced by current PR:

Rule Message Related RPC [For API reviewers]
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/operations_API.json#L79
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/operations_API.json#L152
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/operations_API.json#L159
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/operations_API.json#L243
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Insights/stable/2023-11-01/operations_API.json#L100
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Insights/stable/2023-11-01/operations_API.json#L250
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Insights/stable/2023-11-01/operations_API.json#L272
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Insights/stable/2023-11-01/operations_API.json#L276


The following errors/warnings exist before current PR submission:

Only 30 items are listed, please refer to log for more details.

Rule Message
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L70
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L112
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L244
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L255
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L328
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L339
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L100
ParametersInPost region is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
ParametersInPost timespan is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
ParametersInPost interval is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
ParametersInPost metricnames is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
ParametersInPost aggregation is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
ParametersInPost top is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
ParametersInPost orderby is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
ParametersInPost $filter is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
ParametersInPost resultType is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
ParametersInPost metricnamespace is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
ParametersInPost AutoAdjustTimegrain is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
ParametersInPost ValidateDimensions is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L121
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L258
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L492
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L580
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L600
XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L607
OperationsApiSchemaUsesCommonTypes Operations API path must follow the schema provided in the common types.
Location: Microsoft.Insights/stable/2023-11-01/operations_API.json#L61
⚠️ DeprecatedXmsCodeGenerationSetting The x-ms-code-generation-setting extension is being deprecated. Please remove it and move settings to readme file for code generation.
Location: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L7
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L49
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L52
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L97
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Insights/stable/2023-11-01/metricDefinitions_API.json#L201
️❌Avocado: 48 Errors, 0 Warnings failed [Detail]

Only 30 items are listed, please refer to log for more details.

Rule Message
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourcegroups/{}/providers/Microsoft.Insights/alertrules/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2016-03-01/alertRules_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourcegroups/{}/providers/Microsoft.Insights/alertrules is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2016-03-01/alertRules_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/providers/Microsoft.Insights/alertrules is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2016-03-01/alertRules_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourcegroups/{}/providers/Microsoft.Insights/autoscalesettings is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2022-10-01/autoscale_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourcegroups/{}/providers/Microsoft.Insights/autoscalesettings/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2022-10-01/autoscale_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/providers/Microsoft.Insights/autoscalesettings is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2022-10-01/autoscale_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/providers/Microsoft.Insights/eventtypes/management/values is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /providers/Microsoft.Insights/eventcategories is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /providers/Microsoft.Insights/eventtypes/management/values is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/alertrules/{}/incidents/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/alertrules/{}/incidents is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/providers/Microsoft.Insights/logprofiles/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/providers/Microsoft.Insights/logprofiles is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /{}/providers/microsoft.insights/metricDefinitions is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /{}/providers/microsoft.insights/metrics is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2016-09-01/metrics_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/providers/Microsoft.Insights/metricAlerts is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/metricAlerts is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/metricAlerts/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/metricAlerts/{}/status is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/metricAlerts/{}/status/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/providers/Microsoft.Insights/scheduledQueryRules is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2022-06-15/scheduledQueryRule_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /{}/providers/Microsoft.Insights/metricBaselines is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/activityLogAlerts/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/providers/Microsoft.Insights/activityLogAlerts is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/activityLogAlerts is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionEndpoints is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2022-06-01/dataCollectionEndpoints_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/providers/Microsoft.Insights/dataCollectionEndpoints is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2022-06-01/dataCollectionEndpoints_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionEndpoints/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2022-06-01/dataCollectionEndpoints_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /{}/providers/Microsoft.Insights/dataCollectionRuleAssociations is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2022-06-01/dataCollectionRuleAssociations_API.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionRules/{}/associations is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/monitor/resource-manager/readme.md
json: Microsoft.Insights/stable/2022-06-01/dataCollectionRuleAssociations_API.json
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️❌ModelValidation: 4 Errors, 0 Warnings failed [Detail]
Rule Message
INVALID_FORMAT Object didn't pass validation for format time: 2021-06-08T19:00:00Z/2021-06-12T01:00:00Z
Url: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L283:21
ExampleUrl: stable/2023-11-01/examples/PostMultiResourceMetricBody.json
INVALID_FORMAT Object didn't pass validation for format duration: FULL
Url: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L626:26
ExampleUrl: stable/2023-11-01/examples/GetMetricError.json#L8:17
INVALID_FORMAT Object didn't pass validation for format time: 2021-06-08T19:00:00Z/2021-06-12T01:00:00Z
Url: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L283:21
ExampleUrl: stable/2023-11-01/examples/PostMultiResourceMetricBody.json
INVALID_FORMAT Object didn't pass validation for format duration: FULL
Url: Microsoft.Insights/stable/2023-11-01/metrics_API.json#L626:26
ExampleUrl: stable/2023-11-01/examples/GetMetricError.json#L8:17
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Nov 28, 2023

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]

Only 0 items are rendered, please refer to log for more details.

️❌SDK Breaking Change Tracking failed [Detail]

Only 0 items are rendered, please refer to log for more details.

️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]

Only 0 items are rendered, please refer to log for more details.

️⚠️ azure-sdk-for-python-track2 warning [Detail]

Only 0 items are rendered, please refer to log for more details.

️⚠️ azure-sdk-for-java warning [Detail]

Only 0 items are rendered, please refer to log for more details.

️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]

Only 0 items are rendered, please refer to log for more details.

️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]

Only 0 items are rendered, please refer to log for more details.

️❌ azure-resource-manager-schemas failed [Detail]

Only 0 items are rendered, please refer to log for more details.

️❌ azure-powershell failed [Detail]

Only 0 items are rendered, please refer to log for more details.

Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Nov 28, 2023

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/monitor/armmonitor https://apiview.dev/Assemblies/Review/11c7bcddf73d413eb90710678e636e2a
Java azure-resourcemanager-monitor-generated https://apiview.dev/Assemblies/Review/09b20bb51864403faf90c652e33ca14c
JavaScript @azure/arm-monitor https://apiview.dev/Assemblies/Review/0233204d543b4040a192291af340dac3
.Net Azure.ResourceManager.Monitor There is no API change compared with the previous version
Swagger Microsoft.Insights https://apiview.dev/Assemblies/Review/38d4aab2f4414631b114850d6b72f68a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants