-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Swagger changes for adding a new API version in Backup #7483
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
Conversation
|
Can one of the admins verify this patch? |
Automation for azure-sdk-for-pythonA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-sdk-for-goA PR has been created for you: |
as this is restore action, /restoreCrossRegionBackup makes sense. Refers to: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2018-12-20/bms.json:57 in 6dcce8b. [](commit_id = 6dcce8b, deletion_comment = False) |
specify how async is tracked (below assumes it is via azure ascyn) "x-ms-long-running-operation": true, Refers to: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2018-12-20/bms.json:87 in 6dcce8b. [](commit_id = 6dcce8b, deletion_comment = False) |
define another api for _ListBySubscription (GET /Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/backupCrrJobs" Refers to: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2018-12-20/bms.json:141 in 6dcce8b. [](commit_id = 6dcce8b, deletion_comment = False) |
specify how async is tracked (below assumes it is via azure ascyn) "x-ms-long-running-operation": true, Refers to: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2018-12-20/bms.json:206 in 6dcce8b. [](commit_id = 6dcce8b, deletion_comment = False) |
|
You don't have permission to trigger SDK Automation. |
This API tries to fetch the AAD Properties for a stamp in a particular region. The AADPropertiesResource is a read only resource and hence doing a GET on it. Please let me know if this doesn't look right to you. |
I completely understand the concern here. The reason for selecting this name is because we have two APIs called backupJobs and backupJob already to fetch jobs. Now while adding these two APIs for cross region restore jobs I used the same naming convention to keep it consistent with the existing APIs. Let me know if this works. |
Same comment as above. |
|
You don't have permission to trigger SDK Automation. |
The path here is The issue is that you are returning the payload containing a single resource on what ARM considers a LIST path. The response from that PATH should be: There is a pre-approved singleton resource pattern, which uses a path like this: ( |
|
You don't have permission to trigger SDK Automation. |
Okay. I have added the default keyword in this API. I will take the service side change in the next release. |
majastrz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed off from ARM side.
...ecoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2018-12-20/bms.json
Show resolved
Hide resolved
|
@majastrz / @jhendrixMSFT Can you please merge these changes? |
|
/azp run automation - sdk |
|
Azure Pipelines successfully started running 1 pipeline(s). |
azure-sdk-for-java - Release
|
azure-sdk-for-net - Release
|
azure-sdk-for-go - Release
|
* Swagger changes for adding a new API version in Backup * Adding 2 list APIs specific to the new version * Resolving comments and fixing spell check errors * Fixing test errors * Fixing lint diff errors * Fixing lint diff errors * Fixing AAD properties API * Fixing semantic error and removing HTTP 400 code * Removing error code from example as well * Removing default keyword as it is not supported by our RP * Removing 2019-05-13 version from existing package * Resolving comments * Resolving comments
* Swagger changes for adding a new API version in Backup * Adding 2 list APIs specific to the new version * Resolving comments and fixing spell check errors * Fixing test errors * Fixing lint diff errors * Fixing lint diff errors * Fixing AAD properties API * Fixing semantic error and removing HTTP 400 code * Removing error code from example as well * Removing default keyword as it is not supported by our RP * Removing 2019-05-13 version from existing package * Resolving comments * Resolving comments
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:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.