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

Adding a new stable API-version 2023-05-01 #23541

Merged
merged 4 commits into from
Apr 19, 2023

Conversation

Shashank1306s
Copy link
Contributor

@Shashank1306s Shashank1306s commented Apr 13, 2023

ARM API Information (Control Plane)

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

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, @Shashank1306s 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 13, 2023

    Swagger Validation Report

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

    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
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{resourceId}/providers/Microsoft.DataProtection/backupInstances' removed or restructured?
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L1016:5
    ⚠️ 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/stable/2023-05-01/dataprotection.json#L7375: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/stable/2023-05-01/dataprotection.json#L7375: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/stable/2023-05-01/dataprotection.json#L7375: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 'ResourceId' removed or renamed?
    New: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L7375: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/stable/2023-05-01/dataprotection.json#L3560: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/stable/2023-05-01/dataprotection.json#L2648:11
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L2792: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/stable/2023-05-01/dataprotection.json#L6911: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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/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/stable/2023-05-01/dataprotection.json#L979:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L978:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1027:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L1068:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1073:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L1118:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1148:9
    Old: Microsoft.DataProtection/preview/2022-11-01-preview/dataprotection.json#L1197:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-2023-05 package-2023-05(0b4cf82) default(main)

    The following errors/warnings exist before current PR submission:

    Only 30 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/stable/2023-05-01/dataprotection.json#L64
    GetOperation200 The get operation should only return 200.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L94
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L184
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L328
    CreateOperationAsyncResponseValidation An async PUT operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L375
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L440
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L467
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L526
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L544
    GetOperation200 The get operation should only return 200.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L580
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L761
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L809
    ResourceNameRestriction The resource name parameter 'backupPolicyName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L809
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L969
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1017
    ResourceNameRestriction The resource name parameter 'backupInstanceName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1017
    CreateOperationAsyncResponseValidation An async PUT operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1064
    CreateOperationAsyncResponseValidation Only 201 is the supported response code for PUT async response.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1112
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1139
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1205
    ResourceNameRestriction The resource name parameter 'backupInstanceName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1205
    PostOperationAsyncResponseValidation An async POST operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1206
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1281
    PostOperationAsyncResponseValidation An async POST operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1282
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1354
    ResourceNameRestriction The resource name parameter 'backupInstanceName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1354
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'BackupInstances' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1360
    GetOperation200 The get operation should only return 200.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1394
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1394
    ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
    Location: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1411
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️❌ApiReadinessCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    API Readiness check failed. Please make sure your service is deployed. "code: InvalidResourceType,
    message: The resource type 'operations' could not be found in the namespace 'Microsoft.DataProtection' for api version '2023-05-01'. The supported api-versions are '2020-01-01-alpha,
    2021-02-01-preview,
    2021-06-01-preview,
    2021-01-01,
    2021-07-01,
    2021-10-01-preview,
    2021-12-01-preview,
    2022-01-01,
    2022-02-01-preview,
    2022-03-01,
    2022-04-01,
    2022-05-01,
    2022-09-01-preview,
    2022-10-01-preview,
    2022-11-01-preview,
    2022-12-01,
    2023-01-01'."
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

    API Test is not triggered due to precheck failure. Check pipeline log for details.

    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️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 13, 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 succeeded [Detail] [Expand]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c655f50. 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.0 -> 9.6.4
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.4>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.6.4` 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 group DppResourceGuardProxyOperations
      info	[Changelog]   - Model KubernetesClusterBackupDatasourceParameters has a new parameter backup_hook_references
      info	[Changelog]   - Model KubernetesClusterRestoreCriteria has a new parameter restore_hook_references
    ️⚠️ azure-sdk-for-java warning [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c655f50. 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 function `*ClientFactory.NewDppResourceGuardProxyClient() *DppResourceGuardProxyClient`
      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 struct `NamespacedNameResource`
      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 field `BackupHookReferences` in struct `KubernetesClusterBackupDatasourceParameters`
      info	[Changelog] - New field `RestoreHookReferences` in struct `KubernetesClusterRestoreCriteria`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 23 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c655f50. 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 DppResourceGuardProxy
      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 NamespacedNameResource
      info	[Changelog]   - Added Interface ResourceGuardOperationDetail
      info	[Changelog]   - Added Interface ResourceGuardProxyBase
      info	[Changelog]   - Added Interface ResourceGuardProxyBaseResource
      info	[Changelog]   - Added Interface ResourceGuardProxyBaseResourceList
      info	[Changelog]   - Added Interface UnlockDeleteRequest
      info	[Changelog]   - Added Interface UnlockDeleteResponse
      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]   - Interface KubernetesClusterBackupDatasourceParameters has a new optional parameter backupHookReferences
      info	[Changelog]   - Interface KubernetesClusterRestoreCriteria has a new optional parameter restoreHookReferences
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from c655f50. 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.dataprotection.DefaultTag [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 13, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/dataprotection/armdataprotection https://apiview.dev/Assemblies/Review/a2777f84c560484cb6ba8ead40228ff8
    Java azure-resourcemanager-dataprotection https://apiview.dev/Assemblies/Review/1522e258219a4d52bfb1dd9f28888211
    .Net Azure.ResourceManager.DataProtectionBackup https://apiview.dev/Assemblies/Review/63a9a840e73d46db8d05e0947c73a5c3
    JavaScript @azure/arm-dataprotection https://apiview.dev/Assemblies/Review/ebea69396d524259a045092600fbe98d

    @AzureRestAPISpecReview AzureRestAPISpecReview added ARMReview CI-MissingBaseCommit new-api-version ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Apr 13, 2023
    @openapi-workflow-bot
    Copy link

    Hi, @Shashank1306s, For review efficiency consideration, when creating a new api version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki. Or you could onboard API spec pipeline

    @openapi-workflow-bot
    Copy link

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

    @MaryGao
    Copy link
    Contributor

    MaryGao commented Apr 19, 2023

    @Shashank1306s I notice that our API readiness check failed https://github.com/Azure/azure-rest-api-specs/pull/23541/checks?check_run_id=12710910388 which means your new api-version is not ready. Do you have any specific reason for that?

    @Shashank1306s
    Copy link
    Contributor Author

    @Shashank1306s I notice that our API readiness check failed https://github.com/Azure/azure-rest-api-specs/pull/23541/checks?check_run_id=12710910388 which means your new api-version is not ready. Do you have any specific reason for that?

    Hi @MaryGao, this readiness check will get succeed once the ARM Manifest deployment will be rolled out. The new version is checked in.Only the ARM deployment is pending and it is not a blocker for this swagger PR to get completed. we will be deploying the ARM manifest once the Swagger PR is completed

    @MaryGao MaryGao merged commit c655f50 into Azure:main Apr 19, 2023
    Shashank1306s added a commit that referenced this pull request Apr 20, 2023
    live1206 pushed a commit that referenced this pull request Apr 20, 2023
    suxi-ms pushed a commit that referenced this pull request Apr 24, 2023
    JoshLove-msft pushed a commit to JoshLove-msft/azure-rest-api-specs that referenced this pull request Apr 25, 2023
    * Base commit from 2023-01-01
    
    * Changing version from 2023-01-01 to 2023-05-01
    
    * Adding Hooks changes in the new API version
    
    * Updating readme files of Microsoft.Dataprotection
    
    ---------
    
    Co-authored-by: SHASHANK SINGH <shashasingh@microsoft.com>
    JoshLove-msft pushed a commit to JoshLove-msft/azure-rest-api-specs that referenced this pull request Apr 25, 2023
    @Shashank1306s Shashank1306s deleted the users/shashasingh/hooksapi branch June 12, 2023 06:32
    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-MissingBaseCommit new-api-version ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants