-
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
Managed Instance GeoRestore Cmds #4947
Conversation
New Cmdlets for Management.Sql to allow customers to get recoverable managed databases and create database by recovery
If you're a MSFT employee, click this link |
Automation for azure-sdk-for-rubyA 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-pythonThe initial PR has been merged into your service PR: |
Can one of the admins verify this patch? |
Automation for azure-sdk-for-jsA PR has been created for you: |
Automation for azure-sdk-for-goThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-javaThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-nodeThe initial PR has been merged into your service PR: |
@lixiachena please add your spec to readme.md file as well. |
This feature is not available in public, I will add spec to readme.md once the feature is available in public. |
@lixiachena please fix model validation errors:
|
Modify example files and readme.md for get recoverable managed databases
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.
nothing major, couple of minor notes.
"description": "The recoverable managed database's properties.", | ||
"type": "object", | ||
"properties": { | ||
"lastAvailableBackupDate": { |
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.
This should be ISO 8601 compliant and so the format should be date-time
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.
This is actually a string format. This value will be used later by customer for restore
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.
Lixia, what should this property's data type be in generated C# code? string, or datetime?
"produces": [ | ||
"application/json" | ||
], | ||
"paths": { |
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.
Is it possible to delete a recoverableDatabase through an API? Or is this a valid scenario? I am assuming that databases are automatically categorized as recoverable or not by the service.
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.
Recoverabledatabase is a read only. Customer can't drop 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.
@ravbhatnagar their lifetime is managed by the service, so no create or delete API is possible or needed.
@lixiachena - please take a look at the comments. thanks! |
|
If you're a MSFT employee, click this link |
@ravbhatnagar per PR author your feedback is addressed. Could you verify? |
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.
Signing off for ARM
Left feedback to fix the model validator error (through IM), Waiting for response |
Fix one typo
Update recoverableManagedDatabaseName to recoverableDatabaseName
Swagger PR Links Azure/azure-rest-api-specs#4947 Add SDK for database recovery on Managed Instance •Add getrecoverabledatabases on managed instance and create databases using geo-backup •Add test •Generate client from azure and update session records •Add release notes
Swagger PR Links Azure/azure-rest-api-specs#4947 Add SDK for database recovery on Managed Instance •Add getrecoverabledatabases on managed instance and create databases using geo-backup •Add test •Generate client from azure and update session records •Add release notes
* Managed Instance GeoRestore Cmds New Cmdlets for Management.Sql to allow customers to get recoverable managed databases and create database by recovery * Modify example files and readme.md Modify example files and readme.md for get recoverable managed databases * Update GetRecoverableManagedDatabase.json Fix one typo * Update recoverableManagedDatabaseName to recoverableDatabaseName Update recoverableManagedDatabaseName to recoverableDatabaseName
Swagger PR Links Azure/azure-rest-api-specs#4947 Add SDK for database recovery on Managed Instance •Add getrecoverabledatabases on managed instance and create databases using geo-backup •Add test •Generate client from azure and update session records •Add release notes
New Cmdlets for Management.Sql to allow customers to get recoverable managed databases and create database by recovery
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.