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

Arc+Migrate : Added API refreshArcStatus with version 2024-05-01-preview #29647

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

Conversation

swjai
Copy link

@swjai swjai commented Jul 1, 2024

ARM (Control Plane) API Specification Update Pull Request

Tip

Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram

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

spec_pr_review_workflow_diagram

Purpose of this PR

What's the purpose of this PR? Check the specific option that applies. This is mandatory!

  • New resource provider.
  • New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
  • 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 OpenAPI spec 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
suppressions guide to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
  • 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 Jul 1, 2024

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ This PR is in purview of the ARM review (label: ARMReview). This PR must get ARMSignedOff label from an ARM reviewer.
    This PR is not ready for ARM review (label: NotReadyForARMReview). This PR will not be reviewed by ARM until relevant problems are fixed. Consult the rest of this Next Steps to Merge comment for details.
    Once the blocking problems are addressed, add to the PR a comment with contents /azp run. Automation will re-evaluate this PR and if everything looks good, it will add WaitForARMFeedback label which will put this PR on the ARM review queue.
    For details of the ARM review, see aka.ms/azsdk/pr-arm-review
  • ❌ This PR is NotReadyForARMReview because it has the BreakingChangeReviewRequired label.
  • ❌ This PR has at least one breaking change (label: BreakingChangeReviewRequired).
    To unblock this PR, follow the process at aka.ms/brch.
  • ❌ 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 and consult the aka.ms/ci-fix guide

Copy link

openapi-pipeline-app bot commented Jul 1, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️❌Breaking Change(Cross-Version): 265 Errors, 271 Warnings failed [Detail]
Compared specs (v0.10.12) new version base version
migrate.json 2024-05-01-preview(35f00b7) 2023-06-06(main)
migrate.json 2024-05-01-preview(35f00b7) 2023-10-01-preview(main)

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

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

Rule Message
1011 - AddingResponseCode The new version adds a response code '202'.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L3930:11
1011 - AddingResponseCode The new version adds a response code '202'.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L4645:11
1011 - AddingResponseCode The new version adds a response code '202'.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L11761:11
1023 - TypeFormatChanged The new version has a different format 'uri' than the previous one ''.
New: common-types/resource-management/v5/types.json#L413:9
Old: common-types/resource-management/v3/types.json#L411:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L245:9
Old: Microsoft.OffAzure/stable/2023-06-06/migrate.json#L253:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L279:9
Old: Microsoft.OffAzure/stable/2023-06-06/migrate.json#L295:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L314:9
Old: Microsoft.OffAzure/stable/2023-06-06/migrate.json#L338:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L348:9
Old: Microsoft.OffAzure/stable/2023-06-06/migrate.json#L380:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L383:9
Old: Microsoft.OffAzure/stable/2023-06-06/migrate.json#L423:9
1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L418:9
Old: Microsoft.OffAzure/stable/2023-06-06/migrate.json#L466:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L455:9
Old: Microsoft.OffAzure/stable/2023-06-06/migrate.json#L511:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L495:9
Old: Microsoft.OffAzure/stable/2023-06-06/migrate.json#L559:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L557:9
Old: Microsoft.OffAzure/stable/2023-06-06/migrate.json#L629:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L606:9
Old: Microsoft.OffAzure/stable/2023-06-06/migrate.json#L686:9
1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L648:9
Old: Microsoft.OffAzure/stable/2023-06-06/migrate.json#L736:9


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

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

Rule Message
⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L3930:11
⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L4645:11
⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L11761:11
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uri' than the previous one ''.
New: common-types/resource-management/v5/types.json#L413:9
Old: common-types/resource-management/v3/types.json#L411:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L245:9
Old: Microsoft.OffAzure/preview/2023-10-01-preview/migrate.json#L250:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L279:9
Old: Microsoft.OffAzure/preview/2023-10-01-preview/migrate.json#L289:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L314:9
Old: Microsoft.OffAzure/preview/2023-10-01-preview/migrate.json#L329:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L348:9
Old: Microsoft.OffAzure/preview/2023-10-01-preview/migrate.json#L368:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L383:9
Old: Microsoft.OffAzure/preview/2023-10-01-preview/migrate.json#L408:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: common-types/resource-management/v5/types.json#L14:9
Old: common-types/resource-management/v3/types.json#L14:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L418:9
Old: Microsoft.OffAzure/preview/2023-10-01-preview/migrate.json#L448:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L455:9
Old: Microsoft.OffAzure/preview/2023-10-01-preview/migrate.json#L490:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L495:9
Old: Microsoft.OffAzure/preview/2023-10-01-preview/migrate.json#L535:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L557:9
Old: Microsoft.OffAzure/preview/2023-10-01-preview/migrate.json#L602:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L606:9
Old: Microsoft.OffAzure/preview/2023-10-01-preview/migrate.json#L656:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'uuid' than the previous one ''.
New: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L648:9
Old: Microsoft.OffAzure/preview/2023-10-01-preview/migrate.json#L703:9
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌LintDiff: 3 Errors, 200 Warnings failed [Detail]
Compared specs (v2.2.2) new version base version
package-preview-2024-05 package-preview-2024-05(35f00b7) default(main)

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

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

Rule Message Related RPC [For API reviewers]
ResourceNameRestriction The resource name parameter 'sqlAvailabilityGroupName' should be defined with a 'pattern' restriction.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L5388
RPC-Uri-V1-05
ResourceNameRestriction The resource name parameter 'webServerName' should be defined with a 'pattern' restriction.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L6955
RPC-Uri-V1-05
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L12737
RPC-Policy-V1-05, RPC-Put-V1-23
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L207
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L238
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L273
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L307
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L342
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L376
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L411
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L449
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L489
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L551
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L600
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L642
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L711
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L763
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L811
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L885
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L935
⚠️ XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L986


The following errors/warnings exist before current PR submission:

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

Rule Message
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L477
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L526
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L532
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L588
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L799
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L856
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L862
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L1470
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L1527
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L1533
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L1687
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L1854
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L1911
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L1982
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L2180
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L2508
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L2557
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L2563
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L2619
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L2805
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L3192
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️❌ModelValidation: 400 Errors, 0 Warnings failed [Detail]

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

Rule Message
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in Operations_List.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L207:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervSites_ListBySubscription.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L238:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in ImportSitesController_ListBySubscription.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L273:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in MasterSitesController_ListBySubscription.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L307:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in ServerSitesController_ListBySubscription.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L342:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in SitesController_ListBySubscription.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L376:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervSites_ListByResourceGroup.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L411:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervSitesController_Get.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L449:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervSitesController_Create.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L489:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervSitesController_Update.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L551:16
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervSitesController_Delete.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L600:17
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervDependencyMapController_ClientGroupMembers.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L642:15
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervClusterController_ListByHypervSite.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L711:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervClusterController_GetCluster.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L763:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervClusterController_CreateCluster.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L811:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervClusterController_Delete.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L885:17
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervSitesController_ComputeErrorSummary.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L935:15
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervSitesController_Computeusage.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L986:15
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervSitesController_ExportApplications.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L1037:15
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervDependencyMapController_ExportDependencies.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L1106:15
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in HypervSitesController_ExportMachineErrors.
Url: Microsoft.OffAzure/preview/2024-05-01-preview/migrate.json#L1175:15
️️✔️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 Jul 1, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️🔄 azure-sdk-for-net-track2 inProgress [Detail]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    For more instructions, please refer to the FAQ .
  • ️✔️Succeeded in generating from 7bfa3b9. SDK Automation 14.0.0
    command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️sdk/resourcemanager/migrate/armmigrate [Preview SDK Changes]
️⚠️ azure-sdk-for-python warning [Detail]
    For more instructions, please refer to the FAQ .
  • ⚠️Warning in generating from 7bfa3b9. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
  • ️✔️azure-mgmt-migrate [Preview SDK Changes]
    info	[Changelog]   - Initial Release
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    For more instructions, please refer to the FAQ .
  • ️✔️Succeeded in generating from 7bfa3b9. SDK Automation 14.0.0
    command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
    warn	Warning: File azure-sdk-for-js_tmp/initOutput.json not found to read. Please re-run the pipeline if the error is transitient error or report this issue through https://aka.ms/azsdk/support/specreview-channel.
    command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
  • ️✔️@azure/arm-migrate [Preview SDK Changes]
️❌ azure-resource-manager-schemas failed [Detail]
    For more instructions, please refer to the FAQ .
  • Code Generator Failed in generating from 7bfa3b9. Schema Automation 14.0.0
    command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
    cmderr	[initScript.sh] Submodule 'bicep-types-az' (https://github.com/Azure/bicep-types-az) registered for path 'bicep-types-az'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az'...
    cmderr	[initScript.sh] Submodule 'bicep-types' (https://github.com/Azure/bicep-types) registered for path 'bicep-types-az/bicep-types'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az/bicep-types'...
    cmderr	[initScript.sh] npm notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.7.0 -> 10.8.1
    cmderr	[initScript.sh] npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
    cmderr	[initScript.sh] npm notice To update run: npm install -g [email protected]
    cmderr	[initScript.sh] npm notice
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/initScript.sh
    warn	Warning: File azure-resource-manager-schemas_tmp/initOutput.json not found to read. Please re-run the pipeline if the error is transitient error or report this issue through https://aka.ms/azsdk/support/specreview-channel.
    command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    cmderr	[generateScript.sh] /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected][email protected]/node_modules/ts-node/src/index.ts:500
    cmderr	[generateScript.sh]     return new TSError(diagnosticText, diagnosticCodes)
    cmderr	[generateScript.sh]            ^
    cmderr	[generateScript.sh] TSError: ⨯ Unable to compile TypeScript:
    cmderr	[generateScript.sh] cmd/generateall.ts(6,20): error TS2307: Cannot find module 'colors' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(10,19): error TS2307: Cannot find module 'yargs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(11,18): error TS2307: Cannot find module 'path' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(13,35): error TS2307: Cannot find module 'fs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(14,23): error TS2307: Cannot find module 'strip-ansi' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(42,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(53,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(69,67): error TS7006: Parameter 'x' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(70,49): error TS7006: Parameter 'f' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(94,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(105,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(106,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(157,13): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    cmderr	[generateScript.sh]     at createTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected][email protected]/node_modules/ts-node/src/index.ts:500:12)
    cmderr	[generateScript.sh]     at reportTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected][email protected]/node_modules/ts-node/src/index.ts:504:19)
    cmderr	[generateScript.sh]     at getOutput (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected][email protected]/node_modules/ts-node/src/index.ts:739:36)
    cmderr	[generateScript.sh]     at Object.compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected][email protected]/node_modules/ts-node/src/index.ts:955:32)
    cmderr	[generateScript.sh]     at Module.m._compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected][email protected]/node_modules/ts-node/src/index.ts:1043:43)
    cmderr	[generateScript.sh]     at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    cmderr	[generateScript.sh]     at Object.require.extensions.<computed> [as .ts] (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected][email protected]/node_modules/ts-node/src/index.ts:1046:12)
    cmderr	[generateScript.sh]     at Module.load (node:internal/modules/cjs/loader:1203:32)
    cmderr	[generateScript.sh]     at Function.Module._load (node:internal/modules/cjs/loader:1019:12)
    cmderr	[generateScript.sh]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/generateScript.sh
    warn	Warning: Package processing is skipped as the SDK generation fails. Please look into the above generation errors or report this issue through https://aka.ms/azsdk/support/specreview-channel.
️⚠️ azure-powershell warning [Detail]
    For more instructions, please refer to the FAQ .
  • ⚠️Warning in generating from 7bfa3b9. SDK Automation 14.0.0
    command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
    command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
  • ⚠️Az.migrate.DefaultTag [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Jul 1, 2024
Copy link
Contributor

Thank you for your contribution swjai! We will review the pull request and get back to you soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMReview BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required customer-reported Issues that are reported by GitHub users external to the Azure organization. new-api-version NotReadyForARMReview resource-manager TypeSpec Authored with TypeSpec
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants