-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
CosmosDB Restoreable APIs for SQL and MongoDB database account #11428
CosmosDB Restoreable APIs for SQL and MongoDB database account #11428
Conversation
Swagger Validation Report
|
Rule | Message |
---|---|
The child tracked resource, 'graphs' with immediate parent 'GremlinDatabaseGetResults', must have a list by immediate parent operation. New: Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json#L215 |
|
The child tracked resource, 'tables' with immediate parent 'DatabaseAccountGetResults', must have a list by immediate parent operation. New: Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json#L215 |
|
The child tracked resource, 'privateLinkResources' with immediate parent 'DatabaseAccountGetResults', must have a list by immediate parent operation. New: Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json#L215 |
|
The child tracked resource, 'sqlRoleAssignments' with immediate parent 'DatabaseAccountGetResults', must have a list by immediate parent operation. New: Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json#L215 |
|
The child tracked resource, 'sqlRoleDefinitions' with immediate parent 'DatabaseAccountGetResults', must have a list by immediate parent operation. New: Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json#L215 |
|
The child tracked resource, 'notebookWorkspaces' with immediate parent 'DatabaseAccountGetResults', must have a list by immediate parent operation. New: Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json#L215 |
|
The child tracked resource, 'sqlDatabases' with immediate parent 'DatabaseAccountGetResults', must have a list by immediate parent operation. New: Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json#L215 |
|
The child tracked resource, 'containers' with immediate parent 'SqlDatabaseGetResults', must have a list by immediate parent operation. New: Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json#L215 |
|
The child tracked resource, 'storedProcedures' with immediate parent 'SqlContainerGetResults', must have a list by immediate parent operation. New: Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json#L215 |
|
The child tracked resource, 'userDefinedFunctions' with immediate parent 'SqlContainerGetResults', must have a list by immediate parent operation. New: Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json#L215 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
There are no breaking changes.
Azure Pipelines successfully started running 1 pipeline(s). |
azure-sdk-for-java
|
azure-sdk-for-go
|
Azure CLI Extension Generation
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-net
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
|
azure-sdk-for-python
- Breaking Change detected in SDK
|
azure-sdk-for-python-track2
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-resource-manager-schemas
|
Trenton Generation
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). |
"type": "Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlContainers", | ||
"name": "79609a98-3394-41f8-911f-cfab0c075c86", | ||
"properties": { | ||
"resource": { |
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.
I thought we not returning the original resource object anymore.
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.
LGTM. Few things:
- Please change the title of the PR.
- Are we having two different behaviors for Mongo Collection and Sql container LIST apis. In Sql we are returning the resource as well, but in Mongo we are not. I would recommend to keep both of the behaviors same.
- For sanity check, please download any one of the SDKs (python, go, java) and have a look at the generated code. If anything is missed or not as expected we can change right away.
Hi, @vinhms 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. vsswagger@microsoft.com |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
…#11428) * adding new restorable apis * fix some typos * fix validations * fix more validations * prettier * fix name and add apitype * fix casing * add custom word etcd * add mongodb * fix prameter name * fix validations * make read only * remove the word snapshot and make properties readonly * pretty * improved some descriptions * update description and removed mongodb content * fix container property name * fix documentcollection name * make query parameter optional * address Meha's comments * move restorable apis to separate file * move restorable database apis back to cosmos-db.json * remove point read apis * fix avocado
…#11428) * adding new restorable apis * fix some typos * fix validations * fix more validations * prettier * fix name and add apitype * fix casing * add custom word etcd * add mongodb * fix prameter name * fix validations * make read only * remove the word snapshot and make properties readonly * pretty * improved some descriptions * update description and removed mongodb content * fix container property name * fix documentcollection name * make query parameter optional * address Meha's comments * move restorable apis to separate file * move restorable database apis back to cosmos-db.json * remove point read apis * fix avocado
…#11428) * adding new restorable apis * fix some typos * fix validations * fix more validations * prettier * fix name and add apitype * fix casing * add custom word etcd * add mongodb * fix prameter name * fix validations * make read only * remove the word snapshot and make properties readonly * pretty * improved some descriptions * update description and removed mongodb content * fix container property name * fix documentcollection name * make query parameter optional * address Meha's comments * move restorable apis to separate file * move restorable database apis back to cosmos-db.json * remove point read apis * fix avocado
This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
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.
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.