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

Compute update folder structure #19723

Merged
merged 45 commits into from
Aug 1, 2022
Merged

Conversation

grizzlytheodore
Copy link
Member

@grizzlytheodore grizzlytheodore commented Jul 8, 2022

Swagger folders restructure for to follow Swagger team’s guideline and for improvement in developer experience.

What is happening in this PR is we are moving all the versions in the Microsoft.Compute to "previous-versions" folder so that going forward, we can distinguish different RP's folders from the Microsoft.Compute folder THEN go into different versions.

We have few releases, that are adopting this already, 2022-08-01 CRP release https://github.com/Azure/azure-rest-api-specs/tree/feature/cplat-2022-08-01
and 2022-03-03 galleryRP release https://github.com/Azure/azure-rest-api-specs/tree/feature/gallery-2022-03-03-2nd
which are both being worked on, but they both have 3000+ changes because of moving the files around. So we wanted to do it in this separate PR to keep new version changes, and restructing changes isolated.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following appy to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

Please follow the link to find more details on PR review process.

@openapi-workflow-bot
Copy link

Hi, @grizzlytheodore Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 8, 2022

    Swagger Validation Report

    ️🔄BreakingChange inProgress [Detail]
    ️🔄Breaking Change(Cross-Version) inProgress [Detail]
    ️⌛CredScan pending [Detail]
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v1.13.0) new version base version
    package-2016-03 package-2016-03(7008521) package-2016-03(main)
    package-2015-06-preview package-2015-06-preview(7008521) package-2015-06-preview(main)
    profile-hybrid-2020-09-01 profile-hybrid-2020-09-01(7008521) profile-hybrid-2020-09-01(main)
    package-2016-04-preview package-2016-04-preview(7008521) package-2016-04-preview(main)
    package-2017-03 package-2017-03(7008521) package-2017-03(main)
    package-2020-12-01 package-2020-12-01(7008521) package-2020-12-01(main)
    package-2018-04-01 package-2018-04-01(7008521) package-2018-04-01(main)
    package-2018-04 package-2018-04(7008521) package-2018-04(main)
    package-2017-12 package-2017-12(7008521) package-2017-12(main)
    package-2020-06-30 package-2020-06-30(7008521) package-2020-06-30(main)
    package-2020-06-01 package-2020-06-01(7008521) package-2020-06-01(main)
    package-2020-05-01 package-2020-05-01(7008521) package-2020-05-01(main)
    package-2019-12-01 package-2019-12-01(7008521) package-2019-12-01(main)
    package-2019-11-01 package-2019-11-01(7008521) package-2019-11-01(main)
    package-2019-07 package-2019-07(7008521) package-2019-07(main)
    package-2019-07-01 package-2019-07-01(7008521) package-2019-07-01(main)
    package-2019-03-01 package-2019-03-01(7008521) package-2019-03-01(main)
    package-2018-10-01-Disks package-2018-10-01-Disks(7008521) package-2018-10-01-Disks(main)
    package-2018-10-01 package-2018-10-01(7008521) package-2018-10-01(main)
    package-2018-06 package-2018-06(7008521) package-2018-06(main)
    package-2018-06-01 package-2018-06-01(7008521) package-2018-06-01(main)
    package-2021-04-01 package-2021-04-01(7008521) package-2021-04-01(main)
    package-2021-03-01 package-2021-03-01(7008521) package-2021-03-01(main)
    package-2020-10-01-preview package-2020-10-01-preview(7008521) package-2020-10-01-preview(main)
    package-2020-09-30 package-2020-09-30(7008521) package-2020-09-30(main)
    package-2021-11-01 package-2021-11-01(7008521) package-2021-11-01(main)
    package-2021-08-01 package-2021-08-01(7008521) package-2021-08-01(main)
    package-2021-10-01 package-2021-10-01(7008521) package-2021-10-01(main)
    package-2021-07-01 package-2021-07-01(7008521) package-2021-07-01(main)
    package-2021-06-01-preview package-2021-06-01-preview(7008521) package-2021-06-01-preview(main)
    package-2022-03-01 package-2022-03-01(7008521) package-2022-03-01(main)
    package-2022-01-03 package-2022-01-03(7008521) package-2022-01-03(main)
    package-2022-04-04 package-2022-04-04(7008521) package-2022-04-04(main)
    package-2022-03-02 package-2022-03-02(7008521) package-2022-03-02(main)

    The following errors/warnings exist before current PR submission:

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

    Rule Message
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L12
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: ComputeRP/preview/2016-04-30-preview/compute.json#L36
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: ComputeRP/stable/2015-06-15/compute.json#L36
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: ComputeRP/stable/2016-03-30/compute.json#L36
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: ComputeRP/stable/2017-03-30/compute.json#L36
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: ComputeRP/stable/2017-12-01/compute.json#L36
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: ComputeRP/stable/2017-12-01/compute.json#L36
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: ComputeRP/stable/2018-04-01/compute.json#L36
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: ComputeRP/stable/2018-04-01/compute.json#L36
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'VirtualMachineScaleSetVMs_RunCommand'
    Location: ComputeRP/stable/2018-04-01/runCommands.json#L186
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'VirtualMachineScaleSetVMs_RunCommand'
    Location: ComputeRP/stable/2018-04-01/runCommands.json#L186
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: ComputeRP/stable/2018-06-01/compute.json#L36
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'VirtualMachineScaleSetVMs_RunCommand'
    Location: ComputeRP/stable/2018-06-01/runCommands.json#L186
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: ComputeRP/stable/2018-10-01/compute.json#L36
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations.
    Location: ComputeRP/stable/2018-10-01/compute.json#L36
    D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'VirtualMachineScaleSetVMs_RunCommand'
    Location: ComputeRP/stable/2018-10-01/runCommands.json#L186
    ️❌Avocado: 20 Errors, 2 Warnings failed [Detail]

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

    Rule Message
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: preview/2016-04-30-preview/examples/ListAvailabilitySetsInASubscription.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-06-01/examples/CreateALinuxVmWithoutExtensions.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-06-01/examples/CreateALinuxVmWithoutGuestAgent.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-06-01/examples/CreateAWindowsVmWithoutExtensions.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-06-01/examples/CreateAWindowsVmWithoutGuestAgent.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-10-01/examples/CreateALinuxVmWithoutExtensions.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-10-01/examples/CreateALinuxVmWithoutGuestAgent.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-10-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-10-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-10-01/examples/CreateASnapshotFromAnExistingSnapshot.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-10-01/examples/CreateAWindowsVmWithoutExtensions.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-10-01/examples/CreateAWindowsVmWithoutGuestAgent.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-10-01/examples/GetInformationAboutASnapshot.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-10-01/examples/ListSnapshotsInAResourceGroup.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2018-10-01/examples/ListSnapshotsInASubscription.json
    UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
    readme: specification/compute/resource-manager/readme.md
    json: stable/2019-03-01/examples/CreateALinuxVmWithoutExtensions.json
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️🔄ModelValidation inProgress [Detail]
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️⌛PoliCheck pending [Detail]
    ️⚠️SDK Track2 Validation: 0 Warnings warning [Detail]
    • The following tags are being changed in this PR
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2022-04-04">compute/resource-manager/readme.md#package-2022-04-04
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2022-04-04-only">compute/resource-manager/readme.md#package-2022-04-04-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2022-03-02">compute/resource-manager/readme.md#package-2022-03-02
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2022-03-02-only">compute/resource-manager/readme.md#package-2022-03-02-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2022-01-03">compute/resource-manager/readme.md#package-2022-01-03
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2022-01-03-only">compute/resource-manager/readme.md#package-2022-01-03-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2022-03-01">compute/resource-manager/readme.md#package-2022-03-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2022-03-01-only">compute/resource-manager/readme.md#package-2022-03-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-12-01">compute/resource-manager/readme.md#package-2021-12-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-12-01-only">compute/resource-manager/readme.md#package-2021-12-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-11-01">compute/resource-manager/readme.md#package-2021-11-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-11-01-only">compute/resource-manager/readme.md#package-2021-11-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-08-01-only">compute/resource-manager/readme.md#package-2021-08-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-08-01">compute/resource-manager/readme.md#package-2021-08-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-10-01">compute/resource-manager/readme.md#package-2021-10-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-10-01-only">compute/resource-manager/readme.md#package-2021-10-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-07-01">compute/resource-manager/readme.md#package-2021-07-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-07-01-only">compute/resource-manager/readme.md#package-2021-07-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-06-01-preview">compute/resource-manager/readme.md#package-2021-06-01-preview
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-06-01-preview-only">compute/resource-manager/readme.md#package-2021-06-01-preview-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-04-01">compute/resource-manager/readme.md#package-2021-04-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-04-01-only">compute/resource-manager/readme.md#package-2021-04-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-03-01">compute/resource-manager/readme.md#package-2021-03-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2021-03-01-only">compute/resource-manager/readme.md#package-2021-03-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-12-01">compute/resource-manager/readme.md#package-2020-12-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-12-01-only">compute/resource-manager/readme.md#package-2020-12-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-10-01-preview">compute/resource-manager/readme.md#package-2020-10-01-preview
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-10-01-preview-only">compute/resource-manager/readme.md#package-2020-10-01-preview-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-09-30">compute/resource-manager/readme.md#package-2020-09-30
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-09-30-only">compute/resource-manager/readme.md#package-2020-09-30-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-06-30">compute/resource-manager/readme.md#package-2020-06-30
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-06-30-only">compute/resource-manager/readme.md#package-2020-06-30-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-06-01">compute/resource-manager/readme.md#package-2020-06-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-06-01-only">compute/resource-manager/readme.md#package-2020-06-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-05-01">compute/resource-manager/readme.md#package-2020-05-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2020-05-01-only">compute/resource-manager/readme.md#package-2020-05-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2019-12-01">compute/resource-manager/readme.md#package-2019-12-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2019-12-01-only">compute/resource-manager/readme.md#package-2019-12-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2019-11-01">compute/resource-manager/readme.md#package-2019-11-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2019-11-01-only">compute/resource-manager/readme.md#package-2019-11-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2019-07">compute/resource-manager/readme.md#package-2019-07
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2019-07-01">compute/resource-manager/readme.md#package-2019-07-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2019-07-01-only">compute/resource-manager/readme.md#package-2019-07-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2019-03-01">compute/resource-manager/readme.md#package-2019-03-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2019-04-01-only">compute/resource-manager/readme.md#package-2019-04-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2019-03-01-only">compute/resource-manager/readme.md#package-2019-03-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2018-10-01-Disks">compute/resource-manager/readme.md#package-2018-10-01-Disks
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2018-10-01">compute/resource-manager/readme.md#package-2018-10-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2018-10-01-only">compute/resource-manager/readme.md#package-2018-10-01-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2018-09-30-only">compute/resource-manager/readme.md#package-2018-09-30-only
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2018-06-exclude-gallery">compute/resource-manager/readme.md#package-2018-06-exclude-gallery
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2018-06">compute/resource-manager/readme.md#package-2018-06
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2018-06-01">compute/resource-manager/readme.md#package-2018-06-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-compute-only-2018-06">compute/resource-manager/readme.md#package-compute-only-2018-06
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2018-04-01">compute/resource-manager/readme.md#package-2018-04-01
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2018-04">compute/resource-manager/readme.md#package-2018-04
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-compute-2018-04">compute/resource-manager/readme.md#package-compute-2018-04
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-disks-2018-04">compute/resource-manager/readme.md#package-disks-2018-04
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2017-12">compute/resource-manager/readme.md#package-2017-12
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-compute-2017-12">compute/resource-manager/readme.md#package-compute-2017-12
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-compute-only-2017-12">compute/resource-manager/readme.md#package-compute-only-2017-12
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-skus-2017-09">compute/resource-manager/readme.md#package-skus-2017-09
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2017-03">compute/resource-manager/readme.md#package-2017-03
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-compute-2017-03">compute/resource-manager/readme.md#package-compute-2017-03
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2016-04-preview">compute/resource-manager/readme.md#package-2016-04-preview
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-compute-2016-04-preview">compute/resource-manager/readme.md#package-compute-2016-04-preview
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2016-03">compute/resource-manager/readme.md#package-2016-03
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-compute-2016-03">compute/resource-manager/readme.md#package-compute-2016-03
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-compute-2015-06">compute/resource-manager/readme.md#package-compute-2015-06
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-package-2015-06-preview">compute/resource-manager/readme.md#package-2015-06-preview
      • "https://github.com/Azure/azure-rest-api-specs/blob/7008521f461dff0e4fcf1600622e63b754c8dbb6/specification/compute/resource-manager/readme.md#tag-profile-hybrid-2020-09-01">compute/resource-manager/readme.md#profile-hybrid-2020-09-01
    The following errors/warnings exist before current PR submission:

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

    Rule Message
    PreCheck/DuplicateSchema "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Duplicate Schema named 'PurchasePlan' (1 differences):\n - properties.promotionCode: => "$ref":"#/components/schemas/schemas:1403",
    "description":"The Offer Promotion Code."; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Error: 1 errors occured -- cannot continue."
    PreCheck/DuplicateSchema "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-03-02",
    "details":"Duplicate Schema named 'PurchasePlan' (1 differences):\n - properties.promotionCode: => "$ref":"#/components/schemas/schemas:1400",
    "description":"The Offer Promotion Code."; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-03-02",
    "details":"Error: 1 errors occured -- cannot continue."
    PreCheck/DuplicateSchema "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-01-03",
    "details":"Duplicate Schema named 'PurchasePlan' (1 differences):\n - properties.promotionCode: => "$ref":"#/components/schemas/schemas:1495",
    "description":"The Offer Promotion Code."; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-01-03",
    "details":"Error: 1 errors occured -- cannot continue."
    PreCheck/DuplicateSchema "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-03-01",
    "details":"Duplicate Schema named 'PurchasePlan' (1 differences):\n - properties.promotionCode: => "$ref":"#/components/schemas/schemas:1535",
    "description":"The Offer Promotion Code."; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-03-01",
    "details":"Error: 1 errors occured -- cannot continue."
    PreCheck/DuplicateSchema "readme":"compute/resource-manager/readme.md",
    "tag":"package-2021-12-01",
    "details":"Duplicate Schema named 'PurchasePlan' (1 differences):\n - properties.promotionCode: => "$ref":"#/components/schemas/schemas:1549",
    "description":"The Offer Promotion Code."; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    "readme":"compute/resource-manager/readme.md",
    "tag":"package-2021-12-01",
    "details":"Error: 1 errors occured -- cannot continue."
    PreCheck/DuplicateSchema "readme":"compute/resource-manager/readme.md",
    "tag":"package-2021-11-01",
    "details":"Duplicate Schema named 'PurchasePlan' (1 differences):\n - properties.promotionCode: => "$ref":"#/components/schemas/schemas:1548",
    "description":"The Offer Promotion Code."; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    "readme":"compute/resource-manager/readme.md",
    "tag":"package-2021-11-01",
    "details":"Error: 1 errors occured -- cannot continue."
    PreCheck/DuplicateSchema "readme":"compute/resource-manager/readme.md",
    "tag":"package-2021-08-01",
    "details":"Duplicate Schema named 'PurchasePlan' (1 differences):\n - properties.promotionCode: => "$ref":"#/components/schemas/schemas:1519",
    "description":"The Offer Promotion Code."; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    "readme":"compute/resource-manager/readme.md",
    "tag":"package-2021-08-01",
    "details":"Error: 1 errors occured -- cannot continue."
    PreCheck/DuplicateSchema "readme":"compute/resource-manager/readme.md",
    "tag":"package-2021-10-01",
    "details":"Duplicate Schema named 'PurchasePlan' (1 differences):\n - properties.promotionCode: => "$ref":"#/components/schemas/schemas:1518",
    "description":"The Offer Promotion Code."; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    "readme":"compute/resource-manager/readme.md",
    "tag":"package-2021-10-01",
    "details":"Error: 1 errors occured -- cannot continue."
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 8, 2022

    Swagger Generation Artifacts

    ️❌ApiDocPreview: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    RestBuild error "logUrl":"https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=304267&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b",
    "detail":"Run.ps1 failed with exit code 1 "
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    ️✔️azure-sdk-for-go - armcompute - 4.0.0
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-compute - 27.2.0
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs] Generate from 56a0519e4d01e256b0f4f76587223523011e8de5. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/compute/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] No usable version of the libssl was found
      cmderr	[Autorest] FATAL: csharp/simplifier - FAILED
      cmderr	[Autorest] FATAL: Error: [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      cmderr	[Autorest] Process() cancelled due to exception : [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from 56a0519e4d01e256b0f4f76587223523011e8de5. 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] 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
      cmderr	[automation_generate.sh]  config global `--global`, `--local` are deprecated. Use `--location=global` instead.
      cmderr	[automation_generate.sh]
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.11.0 -> 8.13.2
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.13.2>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.13.2` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-compute [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs] Generate from 56a0519e4d01e256b0f4f76587223523011e8de5. 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
      cmderr	[automation_init.sh] WARN deprecated read-package-tree@5.1.6: The functionality that this package provided is now in @npmcli/arborist
      cmderr	[automation_init.sh] deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      cmderr	[automation_init.sh]  @opentelemetry/types@0.2.0: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh]  deprecated @azure/storage-blob@10.5.0: This version has been deprecated, please upgrade to the version tagged as latest
      cmderr	[automation_init.sh] npm WARN @octokit/plugin-request-log@1.0.4 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-compute [View full logs]  [Preview SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added Type Alias AvailabilitySet
      info	[Changelog]   - Added Type Alias AvailabilitySetUpdate
      info	[Changelog]   - Added Type Alias CapacityReservation
      info	[Changelog]   - Added Type Alias CapacityReservationGroup
      info	[Changelog]   - Added Type Alias CapacityReservationGroupUpdate
      info	[Changelog]   - Added Type Alias CapacityReservationInstanceViewWithName
      info	[Changelog]   - Added Type Alias CapacityReservationUpdate
      info	[Changelog]   - Added Type Alias CommunityGallery
      info	[Changelog]   - Added Type Alias CommunityGalleryImage
      info	[Changelog]   - Added Type Alias CommunityGalleryImageVersion
      info	[Changelog]   - Added Type Alias DataDiskImageEncryption
      info	[Changelog]   - Added Type Alias DedicatedHost
      info	[Changelog]   - Added Type Alias DedicatedHostGroup
      info	[Changelog]   - Added Type Alias DedicatedHostGroupUpdate
      info	[Changelog]   - Added Type Alias DedicatedHostInstanceViewWithName
      info	[Changelog]   - Added Type Alias DedicatedHostUpdate
      info	[Changelog]   - Added Type Alias Disk
      info	[Changelog]   - Added Type Alias DiskAccess
      info	[Changelog]   - Added Type Alias DiskEncryptionSet
      info	[Changelog]   - Added Type Alias DiskEncryptionSetParameters
      info	[Changelog]   - Added Type Alias DiskRestorePoint
      info	[Changelog]   - Added Type Alias Gallery
      info	[Changelog]   - Added Type Alias GalleryApplication
      info	[Changelog]   - Added Type Alias GalleryApplicationUpdate
      info	[Changelog]   - Added Type Alias GalleryApplicationVersion
      info	[Changelog]   - Added Type Alias GalleryApplicationVersionPublishingProfile
      info	[Changelog]   - Added Type Alias GalleryApplicationVersionUpdate
      info	[Changelog]   - Added Type Alias GalleryDataDiskImage
      info	[Changelog]   - Added Type Alias GalleryImage
      info	[Changelog]   - Added Type Alias GalleryImageUpdate
      info	[Changelog]   - Added Type Alias GalleryImageVersion
      info	[Changelog]   - Added Type Alias GalleryImageVersionPublishingProfile
      info	[Changelog]   - Added Type Alias GalleryImageVersionUpdate
      info	[Changelog]   - Added Type Alias GalleryOSDiskImage
      info	[Changelog]   - Added Type Alias GalleryUpdate
      info	[Changelog]   - Added Type Alias Image_2
      info	[Changelog]   - Added Type Alias ImageDataDisk
      info	[Changelog]   - Added Type Alias ImageOSDisk
      info	[Changelog]   - Added Type Alias ImageReference
      info	[Changelog]   - Added Type Alias ImageUpdate
      info	[Changelog]   - Added Type Alias ManagedDiskParameters
      info	[Changelog]   - Added Type Alias NetworkInterfaceReference
      info	[Changelog]   - Added Type Alias OSDiskImageEncryption
      info	[Changelog]   - Added Type Alias PirSharedGalleryResource
      info	[Changelog]   - Added Type Alias ProximityPlacementGroup
      info	[Changelog]   - Added Type Alias ProximityPlacementGroupUpdate
      info	[Changelog]   - Added Type Alias RequestRateByIntervalInput
      info	[Changelog]   - Added Type Alias RestorePoint
      info	[Changelog]   - Added Type Alias RestorePointCollection
      info	[Changelog]   - Added Type Alias RestorePointCollectionUpdate
      info	[Changelog]   - Added Type Alias RollingUpgradeStatusInfo
      info	[Changelog]   - Added Type Alias RunCommandDocument
      info	[Changelog]   - Added Type Alias SharedGallery
      info	[Changelog]   - Added Type Alias SharedGalleryDataDiskImage
      info	[Changelog]   - Added Type Alias SharedGalleryImage
      info	[Changelog]   - Added Type Alias SharedGalleryImageVersion
      info	[Changelog]   - Added Type Alias SharedGalleryOSDiskImage
      info	[Changelog]   - Added Type Alias Snapshot
      info	[Changelog]   - Added Type Alias SshPublicKeyResource
      info	[Changelog]   - Added Type Alias SshPublicKeyUpdateResource
      info	[Changelog]   - Added Type Alias SubResourceWithColocationStatus
      info	[Changelog]   - Added Type Alias ThrottledRequestsInput
      info	[Changelog]   - Added Type Alias VirtualMachine
      info	[Changelog]   - Added Type Alias VirtualMachineCaptureResult
      info	[Changelog]   - Added Type Alias VirtualMachineExtension
      info	[Changelog]   - Added Type Alias VirtualMachineExtensionImage
      info	[Changelog]   - Added Type Alias VirtualMachineExtensionUpdate
      info	[Changelog]   - Added Type Alias VirtualMachineImage
      info	[Changelog]   - Added Type Alias VirtualMachineImageResource
      info	[Changelog]   - Added Type Alias VirtualMachineRunCommand
      info	[Changelog]   - Added Type Alias VirtualMachineRunCommandUpdate
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSet
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetExtension
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetExtensionUpdate
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetIPConfiguration
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetNetworkConfiguration
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetReimageParameters
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetUpdate
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetUpdateIPConfiguration
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetUpdateNetworkConfiguration
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetVM
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetVMExtension
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetVMExtensionUpdate
      info	[Changelog]   - Added Type Alias VirtualMachineScaleSetVMReimageParameters
      info	[Changelog]   - Added Type Alias VirtualMachineUpdate
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 56a0519e4d01e256b0f4f76587223523011e8de5. 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
    • ️✔️armcompute [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Type of `SharingProfile.CommunityGalleryInfo` has been changed from `interface{}` to `*CommunityGalleryInfo`
      info	[Changelog]
      info	[Changelog] Total 1 breaking change(s), 0 additive change(s).
    ️🔄 azure-resource-manager-schemas inProgress [Detail]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs] Generate from 56a0519e4d01e256b0f4f76587223523011e8de5. 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.compute [View full logs]  [Preview SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @grizzlytheodore, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @openapi-workflow-bot
    Copy link

    Hi @grizzlytheodore, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review.
    Action: To initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    @grizzlytheodore
    Copy link
    Member Author

    CI failures seems to be false alarm/stale warnings from versions long ago, by changing the path of all versions

    @grizzlytheodore
    Copy link
    Member Author

    I am able to generate SDK and it shows no change

    @grizzlytheodore
    Copy link
    Member Author

    please review @ArcturusZhang

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 9, 2022

    Swagger Generation Artifacts

    ️❌ApiDocPreview: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    RestBuild error "logUrl":"https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=307979&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b",
    "detail":"Run.ps1 failed with exit code 1 "
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-go - armcompute - 4.0.0
    +	Type of `SharingProfile.CommunityGalleryInfo` has been changed from `interface{}` to `*CommunityGalleryInfo`
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-compute - 27.2.0
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 2dcad6d. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/compute/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] No usable version of the libssl was found
      cmderr	[Autorest] FATAL: csharp/simplifier - FAILED
      cmderr	[Autorest] FATAL: Error: [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      cmderr	[Autorest] Process() cancelled due to exception : [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 2dcad6d. 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] 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
      cmderr	[automation_generate.sh]  WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
      cmderr	[automation_generate.sh]
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.11.0 -> 8.15.1
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.15.1>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.15.1` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-compute [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 2dcad6d. 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	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
      cmderr	[automation_generate.sh] npm[ERROR] Cannot generate changelog because the codes of local and npm may be the same.
    • ️✔️@azure/arm-compute [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 2dcad6d. 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
    • ️✔️armcompute [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Type of `SharingProfile.CommunityGalleryInfo` has been changed from `interface{}` to `*CommunityGalleryInfo`
      info	[Changelog]
      info	[Changelog] Total 1 breaking change(s), 0 additive change(s).
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 2dcad6d. 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]  old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️compute [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from 2dcad6d. 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.compute [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @grizzlytheodore grizzlytheodore requested review from tg-msft and rysweet and removed request for a team July 25, 2022 19:12
    @ArcturusZhang
    Copy link
    Member

    The model validation and avocado are all reported in old api-versions.

    @ArcturusZhang
    Copy link
    Member

    Also suppress the breaking change alarm - this PR only changes the structure of files, no file content changes.

    @ArcturusZhang
    Copy link
    Member

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @akning-ms akning-ms merged commit 2dcad6d into main Aug 1, 2022
    @akning-ms akning-ms deleted the feature/cplat-swaggerRestructure branch August 1, 2022 01:47
    thoHeinze pushed a commit to thoHeinze/bosh-azure-cpi-release that referenced this pull request Apr 15, 2023
    * in the PR Azure/azure-rest-api-specs#19723 the
    Azure REST API specs got restructured, e.g. disk and compute related
    files got split
    * this PR updates all broken links to make them work again
    thoHeinze added a commit to thoHeinze/bosh-azure-cpi-release that referenced this pull request Apr 15, 2023
    * in the PR Azure/azure-rest-api-specs#19723 the
    Azure REST API specs got restructured, e.g. disk and compute related
    files got split
    * this PR updates all broken links to make them work again
    thoHeinze added a commit to thoHeinze/bosh-azure-cpi-release that referenced this pull request Apr 15, 2023
    * in the PR Azure/azure-rest-api-specs#19723 the
    Azure REST API specs got restructured, e.g. disk and compute related
    files got split
    * this PR updates all broken links to make them work again
    thoHeinze added a commit to thoHeinze/bosh-azure-cpi-release that referenced this pull request Apr 15, 2023
    * in the PR Azure/azure-rest-api-specs#19723 the
    Azure REST API specs got restructured, e.g. disk and compute related
    files got split
    * this PR updates all broken links to make them work again
    thoHeinze added a commit to thoHeinze/bosh-azure-cpi-release that referenced this pull request Apr 17, 2023
    * in the PR Azure/azure-rest-api-specs#19723 the
    Azure REST API specs got restructured, e.g. disk and compute related
    files got split
    * this PR updates all broken links to make them work again
    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.