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

[Microsoft.Workoads] Adding a new Api-version 2023-10-01-preview #25896

Conversation

sushantyadav-msft
Copy link
Contributor

@sushantyadav-msft sushantyadav-msft commented Sep 21, 2023

ARM (Control Plane) API Specification Update Pull Request

PR review workflow diagram

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

diagram

[1] ARM review queue (for merge queues, see [4])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] https://aka.ms/azsdk/support/specreview-channel
[3] List of SDK breaking changes approvers in pinned Teams announcement
[4] public repo merge queue, private repo merge queue (for ARM review queue, [1])

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

Purpose of this PR

This is to add a new api version 2023-10-01-preview for Microsoft.workloads/sapvirtualinstances resource type. This is already present in the private repo.
Couldn't use the Open API hub tool because we're moving to a new folder structure where each RT under the RP will have their own versioning.
The linter check getting failed is a false positive and seems like a bug in the spec validation automation.
Requesting to review the changes in the PR.

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

Due diligence checklist

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

Breaking changes review (Step 1)

  • If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
    you must follow the breaking changes process.
    IMPORTANT This applies even if:
    • The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
    • You believe there is no need for you to request breaking change approval, for any reason.
      Such claims must be reviewed, and the process is the same.

ARM API changes review (Step 2)

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

Viewing API changes

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

Suppressing failures

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

Getting help

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Sep 21, 2023

Next Steps to Merge

✔️ All automated merging requirements have been met! Refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM).

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Sep 21, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️❌Breaking Change(Cross-Version): 36 Errors, 38 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
SAPVirtualInstance.json 2023-10-01-preview(8c46893) 2023-04-01(main)
SAPVirtualInstance.json 2023-10-01-preview(8c46893) 2022-11-01-preview(main)
operations.json 2023-10-01-preview(8c46893) 2023-04-01(main)
operations.json 2023-10-01-preview(8c46893) 2022-11-01-preview(main)

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

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

Rule Message
1011 - AddingResponseCode The new version adds a response code '202'.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L482:11
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L355:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L346:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L412:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L400:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L459:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L440:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L526:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L495:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L655:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L624:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L708:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L677:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L765:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L741:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L823:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L805:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L877:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L859:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L919:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L901:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L972:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L954:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1029:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1018:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1087:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1082:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1141:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1136:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1183:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1178:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1236:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1231:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1293:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1295:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1351:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1359:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1405:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1413:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1457:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1462:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1526:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1514:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1595:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1574:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1667:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1629:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1739:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1692:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1811:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1747:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1883:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1810:9
1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1955:9
Old: Microsoft.Workloads/stable/2023-04-01/SAPVirtualInstance.json#L1865:9


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

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

Rule Message
⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L482:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'exactVersion' renamed or removed?
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L2388:7
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L2264:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'sharedGalleryImageId' renamed or removed?
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L2388:7
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L2264:7
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L355:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L346:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L412:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L400:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L459:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L440:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L526:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L495:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L655:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L624:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L708:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L677:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L765:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L741:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L823:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L805:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L877:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L859:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L919:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L901:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L972:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L954:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1029:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1018:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1087:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1082:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1141:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1136:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1183:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1178:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1236:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1231:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1293:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1295:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1351:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1359:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1405:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1413:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1457:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1462:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1526:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1514:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1595:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1574:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1667:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1629:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1739:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1692:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L1811:9
Old: Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json#L1747:9
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 157 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.6) new version base version
package-preview-2023-10 package-preview-2023-10(8c46893) default(main)
default default(8c46893) default(main)

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

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

Rule Message Related RPC [For API reviewers]
⚠️ PreviewVersionOverOneYear The API version:2022-10-01-preview having been in a preview state over one year , please move it to GA or retire.
Location: Microsoft.Workloads/common-types/v1/commonTypes.json#L4
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: operations/preview/2023-10-01-preview/operations.json#L46
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: operations/preview/2023-10-01-preview/operations.json#L53
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: operations/preview/2023-10-01-preview/operations.json#L59
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'getsizingrecommendations' in:'SAPSizingRecommendations'. Consider updating the operationId
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L43
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L46
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L49
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L52
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L73
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'getsapsupportedsku' in:'SAPSupportedSku'. Consider updating the operationId
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L99
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L102
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L105
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L108
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L129
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'getdiskconfigurations' in:'SAPDiskConfigurations'. Consider updating the operationId
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L155
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L158
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L161
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L164
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L185
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'getavailabilityzonedetails' in:'SAPAvailabilityZoneDetails'. Consider updating the operationId
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L205
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L208
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L211
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L214
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L235
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L357
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L360
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L366
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: SAPVirtualInstance/preview/2023-10-01-preview/SAPVirtualInstance.json#L393
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView 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.
️️✔️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).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Sep 21, 2023

Swagger Generation Artifacts

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

Breaking Changes Tracking




️⚠️ azure-sdk-for-python-track2 warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from ebac93f. 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] notice
    cmderr	[automation_generate.sh]  New major version of npm available! 9.8.1 -> 10.2.0
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.0>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️track2_azure-mgmt-workloads [View full logs]  [Release SDK Changes]
    info	[Changelog]
️⚠️ azure-sdk-for-java warning [Detail]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from ebac93f. SDK Automation 14.0.0
    command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️sdk/resourcemanager/workloads/armsapvirtualinstance [View full logs]  [Release SDK Changes]
    info	[Changelog] This is a new package
    info	[Changelog]
  • ️✔️sdk/resourcemanager/workloads/armworkloads [View full logs]  [Release SDK Changes]
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from ebac93f. 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
  • ️✔️@azure/arm-workloads-sapvirtualinstance [View full logs]  [Release SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
  • ️✔️@azure/arm-workloads [View full logs]  [Release SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from ebac93f. SDK Automation 14.0.0
    command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
    warn		specification/workloads/resource-manager/readme.md skipped due to azure-sdk-for-net not found in swagger-to-sdk
    command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/readme.md
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
  • ️✔️Microsoft.Workloads.SAPVirtualInstance [View full logs]  [Release SDK Changes]
    warn	Skip artifact folder because it doesn't exist: artifacts/packages
️❌ azure-resource-manager-schemas failed [Detail]
  • Pipeline Framework Failed [Logs]Release - Generate from ebac93f. 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]
    cmderr	[initScript.sh] npm notice New major version of npm available! 8.19.4 -> 10.2.0
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.0>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    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
    cannot force update branch 'sdkAuto/workloads' as it is the current HEAD of the repository.
    Error: cannot force update branch 'sdkAuto/workloads' as it is the current HEAD of the repository.
  • ️✔️workloads [View full logs]  [Release Schema Changes]
  • ️✔️workloads [View full logs
    error	Fatal error: cannot force update branch 'sdkAuto/workloads' as it is the current HEAD of the repository.
    error	The following packages are still pending:
    error		workloads
    error		workloads
️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from ebac93f. SDK Automation 14.0.0
    command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
    warn		specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
    command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
  • ️✔️Azure.ResourceManager.Workloads [View full logs]  [Release SDK Changes]
    info	[Changelog]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Sep 21, 2023

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/workloads/armsapvirtualinstance https://apiview.dev/Assemblies/Review/2892165a0128482190d8a67f713a0fd1
Go sdk/resourcemanager/workloads/armworkloads There is no API change compared with the previous version
.Net Azure.ResourceManager.Workloads There is no API change compared with the previous version
Java azure-resourcemanager-workloads There is no API change compared with the previous version
Java azure-resourcemanager-workloadsmicrosoftworkloadssapvirtualinstance https://apiview.dev/Assemblies/Review/38b9931e060d4a5fa0dcb967cb34bf84
JavaScript @azure/arm-workloads-sapvirtualinstance https://apiview.dev/Assemblies/Review/23958c6d6e5642988767da49fc740812
JavaScript @azure/arm-workloads There is no API change compared with the previous version

@openapi-workflow-bot
Copy link

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

@openapi-workflow-bot
Copy link

Hi @sushantyadav-msft! For review efficiency consideration, when creating a new API version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version.
For more details refer to the wiki.

Copy link

@kalyaninamuduri kalyaninamuduri left a comment

Choose a reason for hiding this comment

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

Suggested changes

@sushantyadav-msft sushantyadav-msft force-pushed the sushantyadav-msft-workloads-Microsoft.Workloads-new-2023-10-01-preview branch from 51ad193 to 70a364a Compare October 10, 2023 10:03
@sushantyadav-msft sushantyadav-msft added MergeRequested and removed DoNotMerge <valid label in PR review process> use to hold merge after approval labels Oct 11, 2023
@ms-zhenhua
Copy link
Contributor

please remove 200 from DELETE to fix lint error in https://github.com/Azure/azure-rest-api-specs/pull/25896/checks?check_run_id=17558768092. Then readd MergeRequest label

@AzureRestAPISpecReview AzureRestAPISpecReview added the ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test label Oct 12, 2023
@ms-zhenhua ms-zhenhua merged commit ebac93f into main Oct 12, 2023
29 of 31 checks passed
@ms-zhenhua ms-zhenhua deleted the sushantyadav-msft-workloads-Microsoft.Workloads-new-2023-10-01-preview branch October 12, 2023 08:07
@openapi-pipeline-app
Copy link

Swagger pipeline restarted successfully, please wait for status update in this comment.

jnlycklama pushed a commit that referenced this pull request Nov 8, 2023
)

* Copying the previous version to the new version folder

* Changed the swagger version to the new one

* Updating the new version changes

* Updated examples for the new versions

* Reverting change in the existing version swagger

* Fixing the semantic validation error

* upgrading to v5 for common file

* Adding x-ms-long-running-operation in Patch call

* Updated the return code from 201 to 202 for Patch calls

* Fixes for model validation

* Fixing prettier check

* Added patch call schema

* Update the patch update sap instance property structure

* Update location in examples and object description changes

* Removed 200 code for Delete to fix the linter check

* Removed 200 code for child instance delete calls
"SAPRecommendations"
],
"description": "Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier",
"operationId": "SAPSizingRecommendations",
Copy link
Contributor

@kazrael2119 kazrael2119 Dec 26, 2023

Choose a reason for hiding this comment

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

follow https://github.com/Azure/azure-openapi-validator/blob/main/docs/operation-id.md#output-message,
I don't think this operation ID is valid here

same issue in L99, L155 and L205

Copy link
Member

Choose a reason for hiding this comment

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

The operationId seems wired to me, but it is released in previous version. @weidongxu-microsoft how do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-MissingBaseCommit new-api-version ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager RPaaS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants