-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Adding support for SqlPoolDeleteRestorePoints and RestorableDroppedSqlPools apis #11257
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
|
Hi, @tunafish88 Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected] |
[Staging] Swagger Validation Report
️✔️ |
|
Hi, @tunafish88 your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]). cc @${PRAssignee} |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Azure CLI Extension Generation - 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
|
azure-sdk-for-js - Release
|
azure-resource-manager-schemas - Release
|
azure-sdk-for-net - Release
|
azure-sdk-for-java - Release
|
azure-sdk-for-python - Release
|
azure-sdk-for-python
|
Trenton Generation - 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
|
azure-sdk-for-go - Release
|
|
Azure Pipelines successfully started running 1 pipeline(s). |
azure-sdk-for-python-track2 - 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
|
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
...ification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json
Outdated
Show resolved
Hide resolved
...ification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json
Outdated
Show resolved
Hide resolved
...ification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/sqlPool.json
Outdated
Show resolved
Hide resolved
… added restorablesqlpools api
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
| } | ||
| } | ||
| }, | ||
| "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/restorableDroppedSqlpools/{restorableDroppededSqlPoolId}": { |
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.
How do you restore these? Also, typically these soft-delete scenarios give users the ability to purge the restorable objects by calling a DELETE API on the "restorable" variant.
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.
S there are 2 options:
-
user calls this API (visa some rest client, or via commandlet) and reaches out to CSS with a list of restorable dropped databases. Css creates an ICM and we can help the user out from there. ( less common)
-
There is going to be an Azure portal blade which will call this API to show a drop down of the restorabled droppedpools. The user chooses one of them and the chosen one gets passed onto a Create from 'restorable dropped sql pool' flow., to create a new sql pool based off of it.
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.
What API is used in #2? How do you specify via the API that you want to restore one of these databases? Where is that API change?
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.
It would have to be the 'create sqlpool' API. ( sqlpool.json file) with some update to it (to take some more parameters as per my understanding).
This line below is from a Colleague:
'Synapse RP would need to expose additional parameters (deletionTime, deletionDateString, deletionTimeString, deletedDatabaseId) in their create sqlpool api (to support the provided arm template)'
The way the counterpart SQL API is used, is here https://docs.microsoft.com/en-us/azure/azure-sql/database/recovery-using-backups#deleted-database-restore
pilor
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.
Approving as a read-only view of restorable pools that can be restored via a support ticket. Please open another review for the API that allows restoring these when you implement that.
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…lPools apis (Azure#11257) * Adding support for SqlPoolTransparentDataEncryptionActivity * Added default response * Adding sqlPool restore points oeprations * Added the response type * Fixed errors * removed transparent dataencryption API added in a previous iteration, added restorablesqlpools api * Applied Dongwei's feedback * Added suppression validation * Fixed the suppression synatx error * Fixed the suppression synatx error * Fixed spelling errors flagged by spell checker * Fixed spelling errors flagged by spell checker * Fixed spelling errors flagged by spell checker
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.
Please 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 there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.
Please follow the link to find more details on PR review process.