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.DataProtection to add version preview/2023-04-01-preview #23391

Conversation

amchandn
Copy link
Contributor

@amchandn amchandn commented Apr 2, 2023

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.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  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.

@openapi-workflow-bot
Copy link

Hi, @amchandn 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 Apr 2, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 88 Warnings warning [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    dataprotection.json 2023-04-01-preview(dbb52b2) 2023-01-01(main)
    dataprotection.json 2023-04-01-preview(dbb52b2) 2022-11-01-preview(main)

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

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

    Rule Message
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'SubscriptionId' removed or renamed?
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L7912:3
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L7402:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ResourceGroupName' removed or renamed?
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L7912:3
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L7402:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ApiVersion' removed or renamed?
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L7912:3
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L7402:3
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'DppResourceGuardProxy_Put' to 'DppResourceGuardProxy_CreateOrUpdate'. This will impact generated code.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L3948:7
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L3648:7
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '201'.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L3036:11
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L3180:13
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L2884:13
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'SnapshotStore' from the old version.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L7448:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L6945:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L31:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L31:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L73:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L73:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L143:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L143:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L194:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L194:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L245:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L245:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L293:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L293:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L338:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L338:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L387:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L387:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L449:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L449:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L496:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L495:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L553:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L552:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L622:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L621:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L680:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L679:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L771:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L770:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L819:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L818:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L869:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L868:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L928:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L927:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L979:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L978:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 18 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.1) new version base version
    package-preview-2023-04 package-preview-2023-04(dbb52b2) default(main)

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

    Rule Message Related RPC [For API reviewers]
    ⚠️ ListInOperationName Since operation response has model definition in array type, it should be of the form '_list'.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1532
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'fetchsecondaryrecoverypoints' in:'SecondaryRPs_Fetch'. Consider updating the operationId
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1537
    ⚠️ ParameterDescription Parameter should have a description.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1551
    ⚠️ OperationSummaryOrDescription Operation should have a summary or description.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1607
    ⚠️ ParameterDescription Parameter should have a description.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1625
    ⚠️ OperationSummaryOrDescription Operation should have a summary or description.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1685
    ⚠️ ParameterDescription Parameter should have a description.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1703
    ⚠️ OperationSummaryOrDescription Operation should have a summary or description.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1763
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'fetchcrossregionrestorejob' in:'CrossRegionRestoreJob_Get'. Consider updating the operationId
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1767
    ⚠️ ParameterDescription Parameter should have a description.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1781
    ⚠️ OperationSummaryOrDescription Operation should have a summary or description.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1819
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'fetchcrossregionrestorejobs' in:'CrossRegionRestoreJobs_List'. Consider updating the operationId
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1823
    ⚠️ ParameterDescription Parameter should have a description.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1837
    ⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L4522
    ⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L4541
    ⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L4743
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L4746
    ⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L5580


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    ParametersOrder The parameters:operationId,location should be kept in the same order as they present in the path.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L64
    GetOperation200 The get operation should only return 200.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L100
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L184
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L328
    CreateOperationAsyncResponseValidation An async PUT operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L375
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L440
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L467
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L526
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L544
    GetOperation200 The get operation should only return 200.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L580
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L761
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L809
    ResourceNameRestriction The resource name parameter 'backupPolicyName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L809
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L969
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1017
    ResourceNameRestriction The resource name parameter 'backupInstanceName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1017
    CreateOperationAsyncResponseValidation An async PUT operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1064
    CreateOperationAsyncResponseValidation Only 201 is the supported response code for PUT async response.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1112
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1139
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1205
    ResourceNameRestriction The resource name parameter 'backupInstanceName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1205
    PostOperationAsyncResponseValidation An async POST operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1206
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1281
    PostOperationAsyncResponseValidation An async POST operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1282
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/preview/2023-04-01-preview/dataprotection.json#L1354
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️❌~[Staging] ServiceAPIReadinessTest: 49 Errors, 0 Warnings failed [Detail]

    Tag package-preview-2023-04; Prod region: Deployed

    Test run on region: westcentralus; Operation coverage: total: 72, untested: 0, failed: 49, passed: 23

    Service API Readiness Test failed. Check pipeline artifact for detail report.

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

    Rule Message
    CLIENT_ERROR statusCode: 400,
    errorCode: BMSUserErrorInvalidInput,
    errorMessage: User input provided for the call is invalid
    Source: runtime
    OperationId: BackupVaults_CreateOrUpdate
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupVaults_Get
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupVaults_Update
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupInstances_CreateOrUpdate
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupInstances_List
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupInstances_GetBackupInstanceOperationResult
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupInstances_Get
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupInstances_AdhocBackup
    CLIENT_ERROR statusCode: 403,
    errorCode: LinkedAuthorizationFailed,
    errorMessage: The client '7904a8be-825f-480e-a728-80a70579dba4' with object id '7904a8be-825f-480e-a728-80a70579dba4' has permission to perform action 'Microsoft.DataProtection/backupVaults/backupInstances/validateRestore/action' on scope '/subscriptions/db5eb68e-73e2-4fa8-b18a-46cd1be4cce5/resourceGroups/apiTest-ugReAG-23391/providers/Microsoft.DataProtection/backupVaults/vaultnam39acn5/backupInstances/backupin1fsqij'; however, it does not have permission to perform action 'read' on the linked scope(s) '/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb' or the linked scope(s) are invalid.
    Source: runtime
    OperationId: BackupInstances_ValidateForRestore
    CLIENT_ERROR statusCode: 403,
    errorCode: LinkedAuthorizationFailed,
    errorMessage: The client '7904a8be-825f-480e-a728-80a70579dba4' with object id '7904a8be-825f-480e-a728-80a70579dba4' has permission to perform action 'Microsoft.DataProtection/locations/validateCrossRegionRestore/action' on scope '/subscriptions/db5eb68e-73e2-4fa8-b18a-46cd1be4cce5/resourceGroups/apiTest-ugReAG-23391/providers/Microsoft.DataProtection/locations/westcentralus'; however, it does not have permission to perform action 'write' on the linked scope(s) '/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb' or the linked scope(s) are invalid.
    Source: runtime
    OperationId: BackupInstances_ValidateCrossRegionRestore
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupInstances_SyncBackupInstance
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupInstances_StopProtection
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupInstances_SuspendBackups
    CLIENT_ERROR statusCode: 403,
    errorCode: LinkedAuthorizationFailed,
    errorMessage: The client '7904a8be-825f-480e-a728-80a70579dba4' with object id '7904a8be-825f-480e-a728-80a70579dba4' has permission to perform action 'Microsoft.DataProtection/locations/crossRegionRestore/action' on scope '/subscriptions/db5eb68e-73e2-4fa8-b18a-46cd1be4cce5/resourceGroups/apiTest-ugReAG-23391/providers/Microsoft.DataProtection/locations/westcentralus'; however, it does not have permission to perform action 'write' on the linked scope(s) '/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb' or the linked scope(s) are invalid.
    Source: runtime
    OperationId: BackupInstances_TriggerCrossRegionRestore
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupInstances_ResumeBackups
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupInstances_ResumeProtection
    CLIENT_ERROR statusCode: 403,
    errorCode: LinkedAuthorizationFailed,
    errorMessage: The client '7904a8be-825f-480e-a728-80a70579dba4' with object id '7904a8be-825f-480e-a728-80a70579dba4' has permission to perform action 'Microsoft.DataProtection/backupVaults/backupInstances/restore/action' on scope '/subscriptions/db5eb68e-73e2-4fa8-b18a-46cd1be4cce5/resourceGroups/apiTest-ugReAG-23391/providers/Microsoft.DataProtection/backupVaults/vaultnam39acn5/backupInstances/backupin1fsqij'; however, it does not have permission to perform action 'read' on the linked scope(s) '/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb' or the linked scope(s) are invalid.
    Source: runtime
    OperationId: BackupInstances_TriggerRestore
    CLIENT_ERROR statusCode: 403,
    errorCode: LinkedAuthorizationFailed,
    errorMessage: The client '7904a8be-825f-480e-a728-80a70579dba4' with object id '7904a8be-825f-480e-a728-80a70579dba4' has permission to perform action 'Microsoft.DataProtection/backupVaults/validateForBackup/action' on scope '/subscriptions/db5eb68e-73e2-4fa8-b18a-46cd1be4cce5/resourceGroups/apiTest-ugReAG-23391/providers/Microsoft.DataProtection/backupVaults/vaultnam39acn5'; however, it does not have permission to perform action 'read' on the linked scope(s) '/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest' or the linked scope(s) are invalid.
    Source: runtime
    OperationId: BackupInstances_ValidateForBackup
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupInstances_TriggerRehydrate
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: DppResourceGuardProxy_CreateOrUpdate
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: DppResourceGuardProxy_List
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: DppResourceGuardProxy_Get
    CLIENT_ERROR statusCode: 403,
    errorCode: LinkedAuthorizationFailed,
    errorMessage: The client has permission to perform action 'Microsoft.DataProtection/resourceGuards/deleteBackupInstanceRequests/approve/action' on scope '/subscriptions/db5eb68e-73e2-4fa8-b18a-46cd1be4cce5/resourceGroups/apiTest-ugReAG-23391/providers/Microsoft.DataProtection/backupVaults/vaultnam39acn5/backupResourceGuardProxies/resourceclrkhd', however the linked subscription 'f9e67185-f313-4e79-aa71-6458d429369d' was not found.
    Source: runtime
    OperationId: DppResourceGuardProxy_UnlockDelete
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupPolicies_CreateOrUpdate
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.DataProtection/BackupVaults/vaultnam39acn5' under resource group 'apiTest-ugReAG-23391' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: BackupPolicies_List
    ️❌SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
    ️️✔️CadlAPIView 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).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 2, 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-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from 06bf50b. 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
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:712
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 712 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to build sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    • Azure.ResourceManager.DataProtectionBackup [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] Breaking Changes: /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public System.Nullable<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupCrossSubscriptionRestoreState> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupVaultProperties.CrossSubscriptionRestoreState.get()' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/src/Azure.ResourceManager.DataProtectionBackup.csproj::TargetFramework=netstandard2.0],
      info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public void Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupVaultProperties.CrossSubscriptionRestoreState.set(System.Nullable<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupCrossSubscriptionRestoreState>)' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/src/Azure.ResourceManager.DataProtectionBackup.csproj::TargetFramework=netstandard2.0],
      info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(96,5): error : ApiCompat failed for '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/bin/Azure.ResourceManager.DataProtectionBackup/Debug/netstandard2.0/Azure.ResourceManager.DataProtectionBackup.dll' [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/src/Azure.ResourceManager.DataProtectionBackup.csproj::TargetFramework=netstandard2.0]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 06bf50b. 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] npm notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.5.1 -> 9.6.6
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.6>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.6.6` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-dataprotection [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation BackupInstancesOperations.begin_trigger_cross_region_restore
      info	[Changelog]   - Added operation BackupInstancesOperations.begin_validate_cross_region_restore
      info	[Changelog]   - Added operation group BackupInstancesExtensionRoutingOperations
      info	[Changelog]   - Added operation group CrossRegionRestoreJobOperations
      info	[Changelog]   - Added operation group CrossRegionRestoreJobsOperations
      info	[Changelog]   - Added operation group DppResourceGuardProxyOperations
      info	[Changelog]   - Added operation group SecondaryRPsOperations
      info	[Changelog]   - Model AzureBackupRecoveryPointBasedRestoreRequest has a new parameter identity_details
      info	[Changelog]   - Model AzureBackupRecoveryTimeBasedRestoreRequest has a new parameter identity_details
      info	[Changelog]   - Model AzureBackupRestoreRequest has a new parameter identity_details
      info	[Changelog]   - Model AzureBackupRestoreWithRehydrationRequest has a new parameter identity_details
      info	[Changelog]   - Model BackupInstance has a new parameter identity_details
      info	[Changelog]   - Model BackupVault has a new parameter secure_score
      info	[Changelog]   - Model DeletedBackupInstance has a new parameter identity_details
      info	[Changelog]   - Model DppIdentityDetails has a new parameter user_assigned_identities
      info	[Changelog]   - Model FeatureSettings has a new parameter cross_region_restore_settings
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 06bf50b. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.1.2
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.1.2
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    • ️✔️azure-resourcemanager-dataprotection [View full logs]  [Release SDK Changes]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 06bf50b. 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/dataprotection/armdataprotection [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New enum type `CrossRegionRestoreState` with values `CrossRegionRestoreStateDisabled`, `CrossRegionRestoreStateEnabled`
      info	[Changelog] - New enum type `SecureScoreLevel` with values `SecureScoreLevelAdequate`, `SecureScoreLevelMaximum`, `SecureScoreLevelMinimum`, `SecureScoreLevelNone`, `SecureScoreLevelNotSupported`
      info	[Changelog] - New function `*BackupInstancesClient.BeginTriggerCrossRegionRestore(context.Context, string, string, CrossRegionRestoreRequestObject, *BackupInstancesClientBeginTriggerCrossRegionRestoreOptions) (*runtime.Poller[BackupInstancesClientTriggerCrossRegionRestoreResponse], error)`
      info	[Changelog] - New function `*BackupInstancesClient.BeginValidateCrossRegionRestore(context.Context, string, string, ValidateCrossRegionRestoreRequestObject, *BackupInstancesClientBeginValidateCrossRegionRestoreOptions) (*runtime.Poller[BackupInstancesClientValidateCrossRegionRestoreResponse], error)`
      info	[Changelog] - New function `NewBackupInstancesExtensionRoutingClient(azcore.TokenCredential, *arm.ClientOptions) (*BackupInstancesExtensionRoutingClient, error)`
      info	[Changelog] - New function `*BackupInstancesExtensionRoutingClient.NewListPager(string, *BackupInstancesExtensionRoutingClientListOptions) *runtime.Pager[BackupInstancesExtensionRoutingClientListResponse]`
      info	[Changelog] - New function `*ClientFactory.NewBackupInstancesExtensionRoutingClient() *BackupInstancesExtensionRoutingClient`
      info	[Changelog] - New function `*ClientFactory.NewCrossRegionRestoreJobClient() *CrossRegionRestoreJobClient`
      info	[Changelog] - New function `*ClientFactory.NewCrossRegionRestoreJobsClient() *CrossRegionRestoreJobsClient`
      info	[Changelog] - New function `*ClientFactory.NewDppResourceGuardProxyClient() *DppResourceGuardProxyClient`
      info	[Changelog] - New function `*ClientFactory.NewSecondaryRPsClient() *SecondaryRPsClient`
      info	[Changelog] - New function `NewCrossRegionRestoreJobClient(string, azcore.TokenCredential, *arm.ClientOptions) (*CrossRegionRestoreJobClient, error)`
      info	[Changelog] - New function `*CrossRegionRestoreJobClient.Get(context.Context, string, string, CrossRegionRestoreJobRequest, *CrossRegionRestoreJobClientGetOptions) (CrossRegionRestoreJobClientGetResponse, error)`
      info	[Changelog] - New function `NewCrossRegionRestoreJobsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*CrossRegionRestoreJobsClient, error)`
      info	[Changelog] - New function `*CrossRegionRestoreJobsClient.NewListPager(string, string, CrossRegionRestoreJobsRequest, *CrossRegionRestoreJobsClientListOptions) *runtime.Pager[CrossRegionRestoreJobsClientListResponse]`
      info	[Changelog] - New function `NewDppResourceGuardProxyClient(string, azcore.TokenCredential, *arm.ClientOptions) (*DppResourceGuardProxyClient, error)`
      info	[Changelog] - New function `*DppResourceGuardProxyClient.CreateOrUpdate(context.Context, string, string, string, ResourceGuardProxyBaseResource, *DppResourceGuardProxyClientCreateOrUpdateOptions) (DppResourceGuardProxyClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `*DppResourceGuardProxyClient.Delete(context.Context, string, string, string, *DppResourceGuardProxyClientDeleteOptions) (DppResourceGuardProxyClientDeleteResponse, error)`
      info	[Changelog] - New function `*DppResourceGuardProxyClient.Get(context.Context, string, string, string, *DppResourceGuardProxyClientGetOptions) (DppResourceGuardProxyClientGetResponse, error)`
      info	[Changelog] - New function `*DppResourceGuardProxyClient.NewListPager(string, string, *DppResourceGuardProxyClientListOptions) *runtime.Pager[DppResourceGuardProxyClientListResponse]`
      info	[Changelog] - New function `*DppResourceGuardProxyClient.UnlockDelete(context.Context, string, string, string, UnlockDeleteRequest, *DppResourceGuardProxyClientUnlockDeleteOptions) (DppResourceGuardProxyClientUnlockDeleteResponse, error)`
      info	[Changelog] - New function `NewSecondaryRPsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SecondaryRPsClient, error)`
      info	[Changelog] - New function `*SecondaryRPsClient.NewFetchPager(string, string, FetchSecondaryRPsRequestParameters, *SecondaryRPsClientFetchOptions) *runtime.Pager[SecondaryRPsClientFetchResponse]`
      info	[Changelog] - New struct `CrossRegionRestoreDetails`
      info	[Changelog] - New struct `CrossRegionRestoreJobRequest`
      info	[Changelog] - New struct `CrossRegionRestoreJobsRequest`
      info	[Changelog] - New struct `CrossRegionRestoreRequestObject`
      info	[Changelog] - New struct `CrossRegionRestoreSettings`
      info	[Changelog] - New struct `FetchSecondaryRPsRequestParameters`
      info	[Changelog] - New struct `IdentityDetails`
      info	[Changelog] - New struct `ResourceGuardOperationDetail`
      info	[Changelog] - New struct `ResourceGuardProxyBase`
      info	[Changelog] - New struct `ResourceGuardProxyBaseResource`
      info	[Changelog] - New struct `ResourceGuardProxyBaseResourceList`
      info	[Changelog] - New struct `UnlockDeleteRequest`
      info	[Changelog] - New struct `UnlockDeleteResponse`
      info	[Changelog] - New struct `UserAssignedIdentityDetails`
      info	[Changelog] - New struct `ValidateCrossRegionRestoreRequestObject`
      info	[Changelog] - New field `IdentityDetails` in struct `AzureBackupRecoveryPointBasedRestoreRequest`
      info	[Changelog] - New field `IdentityDetails` in struct `AzureBackupRecoveryTimeBasedRestoreRequest`
      info	[Changelog] - New field `IdentityDetails` in struct `AzureBackupRestoreRequest`
      info	[Changelog] - New field `IdentityDetails` in struct `AzureBackupRestoreWithRehydrationRequest`
      info	[Changelog] - New field `IdentityDetails` in struct `BackupInstance`
      info	[Changelog] - New field `SecureScore` in struct `BackupVault`
      info	[Changelog] - New field `IdentityDetails` in struct `DeletedBackupInstance`
      info	[Changelog] - New field `UserAssignedIdentities` in struct `DppIdentityDetails`
      info	[Changelog] - New field `CrossRegionRestoreSettings` in struct `FeatureSettings`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 69 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 06bf50b. 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-dataprotection [View full logs]  [Release SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group BackupInstancesExtensionRouting
      info	[Changelog]   - Added operation group CrossRegionRestoreJob
      info	[Changelog]   - Added operation group CrossRegionRestoreJobs
      info	[Changelog]   - Added operation group DppResourceGuardProxy
      info	[Changelog]   - Added operation group SecondaryRPs
      info	[Changelog]   - Added operation BackupInstances.beginTriggerCrossRegionRestore
      info	[Changelog]   - Added operation BackupInstances.beginTriggerCrossRegionRestoreAndWait
      info	[Changelog]   - Added operation BackupInstances.beginValidateCrossRegionRestore
      info	[Changelog]   - Added operation BackupInstances.beginValidateCrossRegionRestoreAndWait
      info	[Changelog]   - Added Interface BackupInstancesExtensionRoutingListNextOptionalParams
      info	[Changelog]   - Added Interface BackupInstancesExtensionRoutingListOptionalParams
      info	[Changelog]   - Added Interface BackupInstancesTriggerCrossRegionRestoreHeaders
      info	[Changelog]   - Added Interface BackupInstancesTriggerCrossRegionRestoreOptionalParams
      info	[Changelog]   - Added Interface BackupInstancesValidateCrossRegionRestoreHeaders
      info	[Changelog]   - Added Interface BackupInstancesValidateCrossRegionRestoreOptionalParams
      info	[Changelog]   - Added Interface CrossRegionRestoreDetails
      info	[Changelog]   - Added Interface CrossRegionRestoreJobGetOptionalParams
      info	[Changelog]   - Added Interface CrossRegionRestoreJobRequest
      info	[Changelog]   - Added Interface CrossRegionRestoreJobsListNextOptionalParams
      info	[Changelog]   - Added Interface CrossRegionRestoreJobsListOptionalParams
      info	[Changelog]   - Added Interface CrossRegionRestoreJobsRequest
      info	[Changelog]   - Added Interface CrossRegionRestoreRequestObject
      info	[Changelog]   - Added Interface CrossRegionRestoreSettings
      info	[Changelog]   - Added Interface DppResourceGuardProxyCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface DppResourceGuardProxyDeleteOptionalParams
      info	[Changelog]   - Added Interface DppResourceGuardProxyGetOptionalParams
      info	[Changelog]   - Added Interface DppResourceGuardProxyListNextOptionalParams
      info	[Changelog]   - Added Interface DppResourceGuardProxyListOptionalParams
      info	[Changelog]   - Added Interface DppResourceGuardProxyUnlockDeleteOptionalParams
      info	[Changelog]   - Added Interface FetchSecondaryRPsRequestParameters
      info	[Changelog]   - Added Interface IdentityDetails
      info	[Changelog]   - Added Interface ResourceGuardOperationDetail
      info	[Changelog]   - Added Interface ResourceGuardProxyBase
      info	[Changelog]   - Added Interface ResourceGuardProxyBaseResource
      info	[Changelog]   - Added Interface ResourceGuardProxyBaseResourceList
      info	[Changelog]   - Added Interface SecondaryRPsFetchNextOptionalParams
      info	[Changelog]   - Added Interface SecondaryRPsFetchOptionalParams
      info	[Changelog]   - Added Interface UnlockDeleteRequest
      info	[Changelog]   - Added Interface UnlockDeleteResponse
      info	[Changelog]   - Added Interface UserAssignedIdentityDetails
      info	[Changelog]   - Added Interface ValidateCrossRegionRestoreRequestObject
      info	[Changelog]   - Added Type Alias BackupInstancesExtensionRoutingListNextResponse
      info	[Changelog]   - Added Type Alias BackupInstancesExtensionRoutingListResponse
      info	[Changelog]   - Added Type Alias BackupInstancesTriggerCrossRegionRestoreResponse
      info	[Changelog]   - Added Type Alias BackupInstancesValidateCrossRegionRestoreResponse
      info	[Changelog]   - Added Type Alias CrossRegionRestoreJobGetResponse
      info	[Changelog]   - Added Type Alias CrossRegionRestoreJobsListNextResponse
      info	[Changelog]   - Added Type Alias CrossRegionRestoreJobsListResponse
      info	[Changelog]   - Added Type Alias CrossRegionRestoreState
      info	[Changelog]   - Added Type Alias DppResourceGuardProxyCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias DppResourceGuardProxyGetResponse
      info	[Changelog]   - Added Type Alias DppResourceGuardProxyListNextResponse
      info	[Changelog]   - Added Type Alias DppResourceGuardProxyListResponse
      info	[Changelog]   - Added Type Alias DppResourceGuardProxyUnlockDeleteResponse
      info	[Changelog]   - Added Type Alias SecondaryRPsFetchNextResponse
      info	[Changelog]   - Added Type Alias SecondaryRPsFetchResponse
      info	[Changelog]   - Added Type Alias SecureScoreLevel
      info	[Changelog]   - Interface AzureBackupRestoreRequest has a new optional parameter identityDetails
      info	[Changelog]   - Interface BackupInstance has a new optional parameter identityDetails
      info	[Changelog]   - Interface BackupVault has a new optional parameter secureScore
      info	[Changelog]   - Interface DppIdentityDetails has a new optional parameter userAssignedIdentities
      info	[Changelog]   - Interface FeatureSettings has a new optional parameter crossRegionRestoreSettings
      info	[Changelog]   - Added Enum KnownCrossRegionRestoreState
      info	[Changelog]   - Added Enum KnownSecureScoreLevel
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs]Release - Generate from 06bf50b. 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
      SSL error: syscall failure: Broken pipe
      Error: SSL error: syscall failure: Broken pipe
    • Az.dataprotection.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.dataprotection.DefaultTag
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 2, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/dataprotection/armdataprotection https://apiview.dev/Assemblies/Review/823941a880b34225a17db634e038bb2a
    Java azure-resourcemanager-dataprotection https://apiview.dev/Assemblies/Review/d5e7dc34b8fb4f44abc31c1c24f42148
    .Net Azure.ResourceManager.DataProtectionBackup https://apiview.dev/Assemblies/Review/a7bcf696dd504decbcc9d07b94038e80
    JavaScript @azure/arm-dataprotection https://apiview.dev/Assemblies/Review/ea851675a3d14a8a82737117f116eadb

    @amchandn
    Copy link
    Contributor Author

    amchandn commented May 1, 2023

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @amchandn
    Copy link
    Contributor Author

    amchandn commented May 1, 2023

    @live1206 , can you please merge this PR now?

    @amchandn
    Copy link
    Contributor Author

    amchandn commented May 3, 2023

    @live1206 , could you please merge this PR?

    @live1206
    Copy link
    Member

    live1206 commented May 5, 2023

    @msyyc Could you help to check the python generation failure?

    @msyyc
    Copy link
    Member

    msyyc commented May 6, 2023

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @live1206
    Copy link
    Member

    live1206 commented May 6, 2023

    @amchandn Please fix the swagger comments, .Net SDK track 2 generation is failing due to them.

    }
    }
    },
    "/{resourceId}/providers/Microsoft.DataProtection/backupInstances": {
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Should skip url encoding for {resourceId}

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go new-api-version ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    7 participants