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

Added Swagger for some New API related to Private Endpoint work #8587

Merged
merged 12 commits into from
Mar 23, 2020
Merged

Added Swagger for some New API related to Private Endpoint work #8587

merged 12 commits into from
Mar 23, 2020

Conversation

deymadhumanti
Copy link
Contributor

Latest improvements:

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

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Mar 4, 2020

azure-sdk-for-go - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 10fb274 with merge commit 3937487. SDK Automation 13.0.17.20200320.2
  • ⚠️recoveryservices/mgmt/2016-06-01 [Logs
      No file is changed.
    • ⚠️recoveryservices/mgmt/2016-12-01 [Logs
        No file is changed.
      • ⚠️recoveryservices/mgmt/2017-07-01 [Logs
          No file is changed.
        • ⚠️recoveryservices/mgmt/2019-05-13 [Logs
            No file is changed.
          • ️✔️recoveryservices/mgmt/2019-06-15 [Logs]  [Release SDK Changes]

          @openapi-sdkautomation
          Copy link

          openapi-sdkautomation bot commented Mar 4, 2020

          azure-sdk-for-net - Release

          ️✔️ succeeded [Logs] [Expand Details]

          @openapi-sdkautomation
          Copy link

          openapi-sdkautomation bot commented Mar 4, 2020

          azure-sdk-for-js - Release

          ️✔️ succeeded [Logs] [Expand Details]

          @openapi-sdkautomation
          Copy link

          openapi-sdkautomation bot commented Mar 4, 2020

          azure-sdk-for-java - Release

          ️✔️ succeeded [Logs] [Expand Details]

          @openapi-sdkautomation
          Copy link

          openapi-sdkautomation bot commented Mar 4, 2020

          azure-sdk-for-python - Release

          ️✔️ succeeded [Logs] [Expand Details]
          • ️✔️ Generate from 10fb274 with merge commit 3937487. SDK Automation 13.0.17.20200320.2
          • ️✔️azure-mgmt-recoveryservicesbackup [Logs]  [Release SDK Changes]
            [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
            [build_package]   warnings.warn(msg)
            [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
            [build_package]   warnings.warn(msg)
            [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
            [breaking_change_setup] Cannot uninstall requirement azure-nspkg, not installed
            [breaking_change_setup] Command '['/usr/local/bin/python', '-m', 'pip', 'uninstall', '-y', 'azure-nspkg']' returned non-zero exit status 1.
            [ChangeLog] Size of delta 2.396% size of original (original: 218410 chars, delta: 5233 chars)
            [ChangeLog] **Features**
            [ChangeLog] 
            [ChangeLog]   - Added operation BackupResourceVaultConfigsOperations.put
            [ChangeLog]   - Added operation group RecoveryServicesBackupClientOperationsMixin
            [ChangeLog]   - Added operation group PrivateEndpointConnectionOperations

          @azure-pipelines
          Copy link

          Azure Pipelines successfully started running 1 pipeline(s).

          @azure-pipelines
          Copy link

          Azure Pipelines successfully started running 1 pipeline(s).

          @azure-pipelines
          Copy link

          Azure Pipelines successfully started running 1 pipeline(s).

          @akning-ms
          Copy link
          Contributor

          Hi deymadhumanti Not sure whether your PR is ready for review as there is some validation error to fix. if not ready, you can put lable 'NotReadyForReview' until it is ready. Thanks

          @azure-pipelines
          Copy link

          Azure Pipelines successfully started running 1 pipeline(s).

          @sumitmal2711 sumitmal2711 added the NotReadyForReview <valid label in PR review process>It is in draft for swagger or not swagger PR label Mar 6, 2020
          @azure-pipelines
          Copy link

          Azure Pipelines successfully started running 1 pipeline(s).

          @azure-pipelines
          Copy link

          Azure Pipelines successfully started running 1 pipeline(s).

          @azure-pipelines
          Copy link

          Azure Pipelines successfully started running 1 pipeline(s).

          @azure-pipelines
          Copy link

          Azure Pipelines successfully started running 1 pipeline(s).

          @azure-pipelines
          Copy link

          Azure Pipelines successfully started running 1 pipeline(s).

          @sumitmal2711 sumitmal2711 removed the NotReadyForReview <valid label in PR review process>It is in draft for swagger or not swagger PR label Mar 12, 2020
          }
          }
          },
          "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}/operationsStatus/{operationId}": {
          Copy link
          Member

          Choose a reason for hiding this comment

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

          Copy link
          Contributor

          Choose a reason for hiding this comment

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

          Does this apply for operationStatus as well ? Also, this is the pattern we used for all other async operations in recovery services. Can we keep this consistent to existing async apis?

          "application/json"
          ],
          "paths": {
          "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}": {
          Copy link
          Member

          Choose a reason for hiding this comment

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

          Please include a "list" API for privateEndpointConnections

          Copy link
          Contributor

          @sumitmal2711 sumitmal2711 Mar 16, 2020

          Choose a reason for hiding this comment

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

          Yes we need to add, since vault properties has the list already. That is the way portal/private link center will call. List was just an auxillary api. Given we had to deliver on tight deadlines, we added min set. We have this as action item and will do it post this release. Will that work?

          @anthony-c-martin anthony-c-martin added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Mar 16, 2020
          @anthony-c-martin
          Copy link
          Member

          List API will be added shortly, and I've recommended a pattern to follow going forwards for async operations. Signing off on this change.

          @anthony-c-martin anthony-c-martin added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review labels Mar 20, 2020
          @akning-ms akning-ms merged commit 3937487 into Azure:master Mar 23, 2020
          @openapi-sdkautomation
          Copy link

          openapi-sdkautomation bot commented Mar 23, 2020

          azure-cli-extensions - Release

          No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

          00Kai0 pushed a commit to 00Kai0/azure-rest-api-specs that referenced this pull request Oct 12, 2020
          …e#8587)
          
          * Added a new Package version for private endpoint related API
          
          * Resolved PR comments
          
          * deleted capital BMS.json
          
          * Fixed PR validation failures
          
          * deleted request body from json
          
          * Added swagger for Get and List PrivateLinkResource API
          
          * Resolved Model validation failures as part of PR validation
          
          * Fixed LintDiff validation
          
          * Fixed SpellCheck validation
          
          * undoing RRP side changes
          
          * Want to Run Python SDK
          
          * Fixed PrettierCheck failures
          
          Co-authored-by: deymadhumanti <[email protected]>
          Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
          Labels
          ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
          Projects
          None yet
          Development

          Successfully merging this pull request may close these issues.

          5 participants