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

[Hub Generated] Review request for Microsoft.KeyVault to add version stable/2022-07-01 #19395

Conversation

adarce
Copy link
Member

@adarce adarce commented Jun 9, 2022

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

ARM API Information (Control Plane)

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.

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.
    By the end of the month (June 2022). Likely in a week or so.

  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
    ETA: 2022-07-01

  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

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 apply 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 copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For 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 you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

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

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

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

adarce and others added 4 commits June 9, 2022 10:12
Changes that were merged include:
- Adding "object" type.
- Fixing description of enableRbacAuthorization (no longer a preview feature).
@openapi-workflow-bot
Copy link

Hi, @adarce 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. [email protected]

    1 similar comment
    @openapi-workflow-bot
    Copy link

    Hi, @adarce 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. [email protected]

    @openapi-workflow-bot
    Copy link

    Hi, @adarce your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]).

    @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 9, 2022
    @openapi-workflow-bot
    Copy link

    Hi, @adarce your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]).

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 9, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 240 Warnings warning [Detail]
    compared swaggers (via Oad v0.9.6)] new version base version
    common.json 2022-07-01(ff63535) 2021-10-01(main)
    common.json 2022-07-01(ff63535) 2021-11-01(main)
    keys.json 2022-07-01(ff63535) 2021-10-01(main)
    keys.json 2022-07-01(ff63535) 2021-11-01(main)
    keyvault.json 2022-07-01(ff63535) 2021-10-01(main)
    keyvault.json 2022-07-01(ff63535) 2021-11-01(main)
    managedHsm.json 2022-07-01(ff63535) 2021-10-01(main)
    managedHsm.json 2022-07-01(ff63535) 2021-11-01(main)
    providers.json 2022-07-01(ff63535) 2021-10-01(main)
    providers.json 2022-07-01(ff63535) 2021-11-01(main)
    secrets.json 2022-07-01(ff63535) 2021-10-01(main)
    secrets.json 2022-07-01(ff63535) 2021-11-01(main)

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

    Rule Message
    ⚠️ 1014 - RemovingHeader The new version removs a required header 'Retry-After'.
    Old: Microsoft.KeyVault/stable/2021-10-01/managedHsm.json#L707:15


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

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

    Rule Message
    ⚠️ 1014 - RemovingHeader The new version removs a required header 'Retry-After'.
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/managedHsm.json#L707:15
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/common.json#L10:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/common.json#L10:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/common.json#L13:9
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/common.json#L13:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/common.json#L20:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/common.json#L19:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/common.json#L35:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/common.json#L33:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keys.json#L69:13
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keys.json#L69:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/common.json#L13:9
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/common.json#L13:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keys.json#L132:13
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keys.json#L132:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keys.json#L189:13
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keys.json#L189:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keys.json#L265:13
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keys.json#L265:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keys.json#L330:13
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keys.json#L330:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1984:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1955:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1968:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1940:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1970:9
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1942:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1899:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1873:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1888:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1863:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1870:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1846:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1872:9
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1848:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1876:9
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1852:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1832:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1810:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1834:9
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1812:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1650:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1635:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/common.json#L20:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/common.json#L19:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/common.json#L10:5
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/common.json#L10:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L44:13
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L44:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1465:9
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1458:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1219:9
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1216:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1225:11
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1222:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1079:9
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1078:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1287:9
    Old: Microsoft.KeyVault/preview/2021-11-01-preview/keyvault.json#L1284:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 1 Warnings warning [Detail]
    compared tags (via openapi-validator v1.13.0) new version base version
    package-2022-07 package-2022-07(ff63535) default(main)

    The following errors/warnings are introduced by current PR:

    Rule Message
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: nameAvailable
    Location: Microsoft.KeyVault/stable/2022-07-01/managedHsm.json#L1494


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.KeyVault/stable/2022-07-01/secrets.json#L306
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.KeyVault/stable/2022-07-01/secrets.json#L312
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.KeyVault/stable/2022-07-01/secrets.json#L318
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.KeyVault/stable/2022-07-01/secrets.json#L324
    R4037 - MissingTypeObject The schema 'MHSMIPRule' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.KeyVault/stable/2022-07-01/managedHsm.json#L1281
    R4037 - MissingTypeObject The schema 'display' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.KeyVault/stable/2022-07-01/providers.json#L88
    R4039 - ParametersOrder The parameters:vaultName,location should be kept in the same order as they present in the path.
    Location: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L512
    R4039 - ParametersOrder The parameters:vaultName,location should be kept in the same order as they present in the path.
    Location: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L568
    R4039 - ParametersOrder The parameters:name,location should be kept in the same order as they present in the path.
    Location: Microsoft.KeyVault/stable/2022-07-01/managedHsm.json#L456
    R4039 - ParametersOrder The parameters:name,location should be kept in the same order as they present in the path.
    Location: Microsoft.KeyVault/stable/2022-07-01/managedHsm.json#L506
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.KeyVault/stable/2022-07-01/keys.json#L553
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1223
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1335
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1397
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1765
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.KeyVault/stable/2022-07-01/managedHsm.json#L999
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.KeyVault/stable/2022-07-01/managedHsm.json#L1263
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.KeyVault/stable/2022-07-01/providers.json#L66
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.KeyVault/stable/2022-07-01/providers.json#L138
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.KeyVault/stable/2022-07-01/providers.json#L145
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.KeyVault/stable/2022-07-01/providers.json#L214
    ⚠️ R1006 - PutInOperationName 'PUT' operation 'Vaults_UpdateAccessPolicy' 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: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L272
    ⚠️ R1006 - PutInOperationName 'PUT' operation 'PrivateEndpointConnections_Put' 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: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L804
    ⚠️ R1006 - PutInOperationName 'PUT' operation 'MHSMPrivateEndpointConnections_Put' 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: Microsoft.KeyVault/stable/2022-07-01/managedHsm.json#L614
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.KeyVault/stable/2022-07-01/keys.json#L499
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1465
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1487
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1518
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1562
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.KeyVault/stable/2022-07-01/keyvault.json#L1591
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️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: 1 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ DeprecatedConfig "readme":"keyvault/resource-manager/readme.md",
    "tag":"package-2022-07",
    "details":"Using directive.0.suppress which is deprecated and will be removed in the future."
    💬 "readme":"keyvault/resource-manager/readme.md",
    "tag":"package-2022-07",
    "details":"AutoRest core version selected from configuration: ^3.2.0."
    💬 "readme":"keyvault/resource-manager/readme.md",
    "tag":"package-2022-07",
    "details":"> Installing AutoRest extension '@microsoft.azure/openapi-validator' (1.11.0 -> 1.11.0)"
    💬 "readme":"keyvault/resource-manager/readme.md",
    "tag":"package-2022-07",
    "details":"> Installed AutoRest extension '@microsoft.azure/openapi-validator' (1.11.0->1.11.0)"
    💬 "readme":"keyvault/resource-manager/readme.md",
    "tag":"package-2022-07",
    "details":"> Installing AutoRest extension '@autorest/modelerfour' (4.21.4 -> 4.21.4)"
    💬 "readme":"keyvault/resource-manager/readme.md",
    "tag":"package-2022-07",
    "details":"> Installed AutoRest extension '@autorest/modelerfour' (4.21.4->4.21.4)"
    💬 "readme":"keyvault/resource-manager/readme.md",
    "tag":"package-2022-07",
    "details":"Autorest completed in 11.77s. 0 files generated."
    ️️✔️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 Jun 9, 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-go-track2 - armkeyvault - 1.1.0
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-keyvault - 10.0.0
    ️✔️azure-sdk-for-go - keyvault/mgmt/2021-10-01/keyvault - v65.0.0
    azure-sdk-for-go - keyvault/mgmt/2019-09-01/keyvault - v65.0.0
    ️✔️azure-sdk-for-go - keyvault/mgmt/2018-02-14/keyvault - v65.0.0
    ️✔️azure-sdk-for-go - keyvault/mgmt/2016-10-01/keyvault - v65.0.0
    ️✔️azure-sdk-for-go - keyvault/mgmt/2015-06-01/keyvault - v65.0.0
    azure-sdk-for-go - preview/keyvault/mgmt/2020-04-01-preview/keyvault - v65.0.0
    azure-sdk-for-js - @azure/arm-keyvault - 3.0.0
    +	Interface MhsmPrivateEndpointConnectionsDeleteHeaders no longer has parameter retryAfter
    ️✔️azure-sdk-for-go - armkeyvault - 1.1.0
    ️⚠️ azure-sdk-for-net-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 2de5136. 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	File azure-sdk-for-net_tmp/initOutput.json not found to read
      command	pwsh ./eng/scripts/Automation-Sdk-Generate.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
      warn	No file changes detected after generation
      warn	Skip detect changed packages
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 2de5136. 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.
    • ️✔️track2_azure-mgmt-keyvault [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 2de5136. 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
    • ️✔️armkeyvault [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `KeyPermissionsSetrotationpolicy`
      info	[Changelog] - New const `ActivationStatusActive`
      info	[Changelog] - New const `KeyPermissionsRelease`
      info	[Changelog] - New const `KeyRotationPolicyActionTypeRotate`
      info	[Changelog] - New const `ActivationStatusNotActivated`
      info	[Changelog] - New const `ActivationStatusFailed`
      info	[Changelog] - New const `KeyPermissionsRotate`
      info	[Changelog] - New const `JSONWebKeyOperationRelease`
      info	[Changelog] - New const `ActivationStatusUnknown`
      info	[Changelog] - New const `KeyPermissionsGetrotationpolicy`
      info	[Changelog] - New const `KeyRotationPolicyActionTypeNotify`
      info	[Changelog] - New function `PossibleKeyRotationPolicyActionTypeValues() []KeyRotationPolicyActionType`
      info	[Changelog] - New function `*ManagedHsmsClient.CheckMhsmNameAvailability(context.Context, CheckMhsmNameAvailabilityParameters, *ManagedHsmsClientCheckMhsmNameAvailabilityOptions) (ManagedHsmsClientCheckMhsmNameAvailabilityResponse, error)`
      info	[Changelog] - New function `PossibleActivationStatusValues() []ActivationStatus`
      info	[Changelog] - New struct `Action`
      info	[Changelog] - New struct `CheckMhsmNameAvailabilityParameters`
      info	[Changelog] - New struct `CheckMhsmNameAvailabilityResult`
      info	[Changelog] - New struct `KeyReleasePolicy`
      info	[Changelog] - New struct `KeyRotationPolicyAttributes`
      info	[Changelog] - New struct `LifetimeAction`
      info	[Changelog] - New struct `ManagedHSMSecurityDomainProperties`
      info	[Changelog] - New struct `ManagedHsmsClientCheckMhsmNameAvailabilityOptions`
      info	[Changelog] - New struct `ManagedHsmsClientCheckMhsmNameAvailabilityResponse`
      info	[Changelog] - New struct `RotationPolicy`
      info	[Changelog] - New struct `Trigger`
      info	[Changelog] - New field `RotationPolicy` in struct `KeyProperties`
      info	[Changelog] - New field `ReleasePolicy` in struct `KeyProperties`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 37 additive change(s).
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 2de5136. 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 [email protected]: The functionality that this package provided is now in @npmcli/arborist
      cmderr	[automation_init.sh]  [email protected]: 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/[email protected]: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh] WARN deprecated @azure/[email protected]: This version has been deprecated, please upgrade to the version tagged as latest
      cmderr	[automation_init.sh] npm WARN @octokit/[email protected] 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-keyvault [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation ManagedHsms.checkMhsmNameAvailability
      info	[Changelog]   - Added Interface Action
      info	[Changelog]   - Added Interface CheckMhsmNameAvailabilityParameters
      info	[Changelog]   - Added Interface CheckMhsmNameAvailabilityResult
      info	[Changelog]   - Added Interface KeyReleasePolicy
      info	[Changelog]   - Added Interface KeyRotationPolicyAttributes
      info	[Changelog]   - Added Interface LifetimeAction
      info	[Changelog]   - Added Interface ManagedHsmsCheckMhsmNameAvailabilityOptionalParams
      info	[Changelog]   - Added Interface ManagedHsmsCreateOrUpdateHeaders
      info	[Changelog]   - Added Interface ManagedHsmsDeleteHeaders
      info	[Changelog]   - Added Interface ManagedHSMSecurityDomainProperties
      info	[Changelog]   - Added Interface ManagedHsmsPurgeDeletedHeaders
      info	[Changelog]   - Added Interface ManagedHsmsUpdateHeaders
      info	[Changelog]   - Added Interface RotationPolicy
      info	[Changelog]   - Added Interface Trigger
      info	[Changelog]   - Added Type Alias ActivationStatus
      info	[Changelog]   - Added Type Alias KeyRotationPolicyActionType
      info	[Changelog]   - Added Type Alias ManagedHsmsCheckMhsmNameAvailabilityResponse
      info	[Changelog]   - Added Type Alias ManagedHsmsPurgeDeletedResponse
      info	[Changelog]   - Interface KeyProperties has a new optional parameter releasePolicy
      info	[Changelog]   - Interface KeyProperties has a new optional parameter rotationPolicy
      info	[Changelog]   - Type Alias Key has a new parameter rotationPolicy
      info	[Changelog]   - Type Alias Key has a new parameter releasePolicy
      info	[Changelog]   - Added Enum KnownActivationStatus
      info	[Changelog]   - Enum KnownJsonWebKeyOperation has a new value Release
      info	[Changelog]   - Enum KnownKeyPermissions has a new value Getrotationpolicy
      info	[Changelog]   - Enum KnownKeyPermissions has a new value Release
      info	[Changelog]   - Enum KnownKeyPermissions has a new value Rotate
      info	[Changelog]   - Enum KnownKeyPermissions has a new value Setrotationpolicy
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Interface MhsmPrivateEndpointConnectionsDeleteHeaders no longer has parameter retryAfter
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 2de5136. 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
    • ️✔️keyvault [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from 2de5136. 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.keyvault [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @adarce, 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.

    1 similar comment
    @openapi-workflow-bot
    Copy link

    Hi @adarce, 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.

    @adarce
    Copy link
    Member Author

    adarce commented Jun 9, 2022

    @heaths and @weidongxu-microsoft : This is intended to be a simple PR that adds the changes from the existing preview control plane API version 2021-11-01-preview to the stable API version 2022-07-01. I used OpenAPI Hub to generate this PR, so I don't expect this PR to have introduced any new CI validation issues. How should the existing CI validation issues in this PR be handled?

    @weidongxu-microsoft
    Copy link
    Member

    @adarce

    Is 7f877af the only change made on 2021-11-01-preview (and it is just merged from GA 2021-10-01)?


    LRO_RESPONSE_HEADER is a relative new check. To fix it, you need to add the LRO header in both swagger 202 response and that example.
    Alternatively, you can suppress it in readme.

    This commit ensures the following invariant in managedHsm.json:
    ```
    If an operation can return a 202 Accepted response, then we insert
    '"x-ms-long-running-operation": true,' directly below the operationId,
    and we insert a Location header in the operation as well as the
    corresponding example.
    ```
    @adarce adarce force-pushed the dev-keyvault-Microsoft.KeyVault-2022-07-01 branch from 7a9aa25 to ca6a761 Compare June 10, 2022 22:09
    @adarce adarce removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jun 10, 2022
    @openapi-workflow-bot openapi-workflow-bot bot added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jun 10, 2022
    Copy link

    @raosuhas raosuhas left a comment

    Choose a reason for hiding this comment

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

    :shipit:

    @raosuhas raosuhas added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Jun 10, 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 10, 2022
    @weidongxu-microsoft weidongxu-microsoft added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Jun 13, 2022
    @riteshchitlangia1
    Copy link
    Contributor

    MHSM changes look good to me.

    @weidongxu-microsoft
    Copy link
    Member

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    Comment on lines +1478 to +1490
    "CheckMhsmNameAvailabilityParameters": {
    "type": "object",
    "properties": {
    "name": {
    "type": "string",
    "description": "The managed hsm name."
    }
    },
    "required": [
    "name"
    ],
    "description": "The parameters used to check the availability of the managed hsm name."
    },

    Choose a reason for hiding this comment

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

    keyvault defined the payload slightly different.

    "VaultCheckNameAvailabilityParameters": {
    "properties": {
    "name": {
    "type": "string",
    "description": "The vault name."
    },
    "type": {
    "type": "string",
    "enum": [
    "Microsoft.KeyVault/vaults"
    ],
    "x-ms-enum": {
    "name": "Type",
    "modelAsString": false
    },
    "description": "The type of resource, Microsoft.KeyVault/vaults"
    }
    },
    "required": [
    "name",
    "type"
    ],
    "description": "The parameters used to check the availability of the vault name.",
    "type": "object"
    },

    I don't think there is requirement from ARM on the schema, so it is up to you.

    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    @neeerajaakula or @riteshchitlangia1 : Please confirm that the slight discrepancies here are acceptable for Managed HSM.

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    This is not relevant for Managed HSM api

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    Yeah, agree with @neeerajaakula 's comment. Above difference between keyvault and mhsm is intentional and fine.

    @adarce
    Copy link
    Member Author

    adarce commented Jun 27, 2022

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @adarce
    Copy link
    Member Author

    adarce commented Jul 8, 2022

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @adarce
    Copy link
    Member Author

    adarce commented Jul 8, 2022

    @weidongxu-microsoft : AKV's service has been deployed to all Public cloud regions, and our ARM manifest has also been applied everywhere. Can you please merge this PR?

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-JavaScript
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants