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

CloudService 2022-04-04 release #19468

Merged
merged 3 commits into from
Jun 23, 2022
Merged

CloudService 2022-04-04 release #19468

merged 3 commits into from
Jun 23, 2022

Conversation

grizzlytheodore
Copy link
Member

@grizzlytheodore grizzlytheodore commented Jun 15, 2022

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

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.

Theodore Chang and others added 2 commits June 15, 2022 16:40
* set up feature branch

* Update cloud service swagger file and examples (#19311)

* Update cloud service swagger file and examples

* Update cloudService.json

Co-authored-by: Arpit Khandelwal <arkhande@microsoft.com>

* move systemData object to common.json

* Add CloudServiceSlotType to swagger api 2022-04-04 (#19361)

Co-authored-by: Arpit Khandelwal <arkhande@microsoft.com>

* update with prettier

* resolve readme input

* add missing example

* fix example error, update common with latest change.

* set up branch

* change folder name

* change folder name

Co-authored-by: Arpit Khandelwal <arpitkhandelwal@hotmail.com>
Co-authored-by: Arpit Khandelwal <arkhande@microsoft.com>
Co-authored-by: Theodore Chang <theodore.l.chang@gmail.com>
@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 Jun 15, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 94 Warnings warning [Detail]
    The following breaking changes are detected by comparison with the latest stable version:

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

    Rule Message
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L76:13
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L59:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: Microsoft.Compute/stable/2022-04-04/common.json#L71:9
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L1730:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: Microsoft.Compute/stable/2022-04-04/common.json#L81:11
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L1700:11
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: Microsoft.Compute/stable/2022-04-04/common.json#L90:9
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L1708:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L1733:11
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L1768:11
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L149:13
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L127:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L206:13
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L182:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L270:13
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L244:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L330:13
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L302:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L388:13
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L358:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L446:13
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L414:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L507:13
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L474:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L565:13
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L524:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L615:13
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L572:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2021:9
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L2048:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2057:9
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L2084:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2061:9
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L2088:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2156:9
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L2166:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one 'string'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2196:9
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L2203:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one 'string'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2200:9
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L2207:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2165:9
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L2175:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L676:13
    Old: Microsoft.Compute/stable/2021-03-01/cloudService.json#L639:13


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

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

    Rule Message
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L76:13
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L50:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: Microsoft.Compute/stable/2022-04-04/common.json#L71:9
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1412:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: Microsoft.Compute/stable/2022-04-04/common.json#L81:11
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1386:11
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: Microsoft.Compute/stable/2022-04-04/common.json#L90:9
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1390:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L1733:11
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1450:11
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L149:13
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L115:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L206:13
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L165:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L270:13
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L221:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L330:13
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L274:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L388:13
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L325:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L446:13
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L376:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L507:13
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L430:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L565:13
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L481:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L615:13
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L524:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2021:9
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1726:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2057:9
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1756:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2061:9
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1759:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2156:9
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1815:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one 'string'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2196:9
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1851:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one 'string'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2200:9
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1855:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L2165:9
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1823:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: stable/2022-04-04/CloudServiceRP/cloudService.json#L676:13
    Old: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L580:13
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 2 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ R4021 - DescriptionAndTitleMissing 'SubResource' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L144
    ⚠️ R4030 - UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: Get Cloud Service Role
    Location: stable/2022-04-04/CloudServiceRP/cloudService.json#L576


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    R4037 - MissingTypeObject The schema 'ApiErrorBase' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L38
    R4037 - MissingTypeObject The schema 'ApiErrorBase' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L38
    R4037 - MissingTypeObject The schema 'InnerError' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L55
    R4037 - MissingTypeObject The schema 'InnerError' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L55
    R4037 - MissingTypeObject The schema 'CloudError' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L68
    R4037 - MissingTypeObject The schema 'CloudError' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L68
    R4037 - MissingTypeObject The schema 'ApiError' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L77
    R4037 - MissingTypeObject The schema 'ApiError' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L77
    R4037 - MissingTypeObject The schema 'Resource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L109
    R4037 - MissingTypeObject The schema 'SubResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L144
    R4037 - MissingTypeObject The schema 'SubResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L144
    R4037 - MissingTypeObject The schema 'SubResourceReadOnly' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L153
    R4037 - MissingTypeObject The schema 'ExtendedLocation' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Compute/stable/2022-04-04/common.json#L207
    R4039 - ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: stable/2022-04-04/CloudServiceRP/cloudService.json#L38
    R4039 - ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: stable/2022-04-04/CloudServiceRP/cloudService.json#L97
    R4039 - ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: stable/2022-04-04/CloudServiceRP/cloudService.json#L168
    R4039 - ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: stable/2022-04-04/CloudServiceRP/cloudService.json#L292
    R4039 - ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: stable/2022-04-04/CloudServiceRP/cloudService.json#L350
    R4039 - ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: stable/2022-04-04/CloudServiceRP/cloudService.json#L408
    R4039 - ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: stable/2022-04-04/CloudServiceRP/cloudService.json#L466
    R4039 - ParametersOrder The parameters:roleName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: stable/2022-04-04/CloudServiceRP/cloudService.json#L527
    ⚠️ R1006 - PutInOperationName 'PUT' operation 'CloudServicesUpdateDomain_WalkUpdateDomain' should use method name 'Create'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: stable/2022-04-04/CloudServiceRP/cloudService.json#L1346
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/compute/resource-manager/readme.md
    tag: specification/compute/resource-manager/readme.md#tag-package-2022-04-04
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️❌SDK Track2 Validation: 3 Errors, 99 Warnings failed [Detail]
    The following errors/warnings are introduced by current PR:

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

    Rule Message
    "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Process() cancelled due to failure "
    "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"!Error: Plugin prechecker reported failure."
    "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Autorest completed with an error. If you think the error message is unclear,
    or is a bug,
    please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.0.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.1.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.2.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.3.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.4.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.5.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.6.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.7.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.8.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.9.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.10.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.11.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.12.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.13.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.14.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.15.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.16.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.17.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"compute/resource-manager/readme.md",
    "tag":"package-2022-04-04",
    "details":"Using directive.18.suppress which is deprecated and will be removed in the future."
    ️️✔️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).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 15, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-compute - 27.1.0
    azure-sdk-for-go - armcompute - Approved - 3.0.0
    +	Type of `CloudServiceExtensionProperties.ProtectedSettings` has been changed from `*string` to `interface{}`
    +	Type of `CloudServiceExtensionProperties.Settings` has been changed from `*string` to `interface{}`
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from e502654. 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 e502654. 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.
    • ️✔️track2_azure-mgmt-compute [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from e502654. 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] deprecated read-package-tree@5.1.6: The functionality that this package provided is now in @npmcli/arborist
      cmderr	[automation_init.sh] npm WARN 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] npm WARN deprecated @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]  [Release SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added Interface SystemData
      info	[Changelog]   - Added Type Alias CloudServiceSlotType
      info	[Changelog]   - Interface CloudService has a new optional parameter systemData
      info	[Changelog]   - Interface CloudServiceNetworkProfile has a new optional parameter slotType
      info	[Changelog]   - Added Enum KnownCloudServiceSlotType
      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 e502654. 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] - Function `*CloudServicesClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, *CloudServicesClientBeginUpdateOptions)` to `(context.Context, string, string, CloudServiceUpdate, *CloudServicesClientBeginUpdateOptions)`
      info	[Changelog] - Function `*CloudServicesUpdateDomainClient.BeginWalkUpdateDomain` parameter(s) have been changed from `(context.Context, string, string, int32, *CloudServicesUpdateDomainClientBeginWalkUpdateDomainOptions)` to `(context.Context, string, string, int32, UpdateDomain, *CloudServicesUpdateDomainClientBeginWalkUpdateDomainOptions)`
      info	[Changelog] - Function `*CloudServicesClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, *CloudServicesClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, CloudService, *CloudServicesClientBeginCreateOrUpdateOptions)`
      info	[Changelog] - Type of `CloudServiceExtensionProperties.ProtectedSettings` has been changed from `*string` to `interface{}`
      info	[Changelog] - Type of `CloudServiceExtensionProperties.Settings` has been changed from `*string` to `interface{}`
      info	[Changelog] - Field `Parameters` of struct `CloudServicesUpdateDomainClientBeginWalkUpdateDomainOptions` has been removed
      info	[Changelog] - Field `Parameters` of struct `CloudServicesClientBeginUpdateOptions` has been removed
      info	[Changelog] - Field `Parameters` of struct `CloudServicesClientBeginCreateOrUpdateOptions` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `CloudServiceSlotTypeStaging`
      info	[Changelog] - New const `CloudServiceSlotTypeProduction`
      info	[Changelog] - New function `PossibleCloudServiceSlotTypeValues() []CloudServiceSlotType`
      info	[Changelog] - New function `*VirtualMachineImagesClient.ListByEdgeZone(context.Context, string, string, *VirtualMachineImagesClientListByEdgeZoneOptions) (VirtualMachineImagesClientListByEdgeZoneResponse, error)`
      info	[Changelog] - New struct `SystemData`
      info	[Changelog] - New struct `VMImagesInEdgeZoneListResult`
      info	[Changelog] - New struct `VirtualMachineImagesClientListByEdgeZoneOptions`
      info	[Changelog] - New struct `VirtualMachineImagesClientListByEdgeZoneResponse`
      info	[Changelog] - New field `SlotType` in struct `CloudServiceNetworkProfile`
      info	[Changelog] - New field `SystemData` in struct `CloudService`
      info	[Changelog]
      info	[Changelog] Total 7 breaking change(s), 14 additive change(s).
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from e502654. 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 e502654. 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?

    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jun 15, 2022
    @openapi-workflow-bot
    Copy link

    Hi, @grizzlytheodore your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com).

    @grizzlytheodore
    Copy link
    Member Author

    @zizw123 please review. this is a new PR with clean commit history to help you review more efficiently. The original PR is:
    #19354

    @grizzlytheodore
    Copy link
    Member Author

    breaking change approved in: #19311

    @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.

    },
    "description": "Api error."
    },
    "Resource": {
    Copy link

    @zizw123 zizw123 Jun 16, 2022

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Copy link
    Member Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    there's about 100 references to this object for all the resources in compute, so we will keep it as is

    Copy link
    Member Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jun 16, 2022
    @grizzlytheodore grizzlytheodore added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jun 17, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jun 17, 2022
    @grizzlytheodore
    Copy link
    Member Author

    @zizw123

    @rkmanda rkmanda added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jun 21, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jun 21, 2022
    Copy link
    Member

    @rkmanda rkmanda left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    :shipit:

    @rkmanda rkmanda added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Jun 21, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jun 21, 2022
    @ArcturusZhang
    Copy link
    Member

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @tadelesh
    Copy link
    Member

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @tadelesh tadelesh added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Jun 22, 2022
    @grizzlytheodore
    Copy link
    Member Author

    this is ready for merge

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants