-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[SQL] Port SqlDatabaseBackupShortTermRetentionPolicy preview cmdlets to master #8376
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
[SQL] Port SqlDatabaseBackupShortTermRetentionPolicy preview cmdlets to master #8376
Conversation
jaredmoo
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.
Aren't there any tests?
@jaredmoo Yep, |
cormacpayne
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.
@dealaus two minor comments, otherwise LGTM
src/Sql/Sql/Database Backup/Cmdlet/AzureSqlDatabaseBackupShortTermRetentionPolicyCmdletBase.cs
Outdated
Show resolved
Hide resolved
src/Sql/Sql/Database Backup/Cmdlet/AzureSqlDatabaseBackupShortTermRetentionPolicyCmdletBase.cs
Outdated
Show resolved
Hide resolved
…baseBackupShortTermRetentionPolicy
cormacpayne
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.
LGTM -- this should be merged after the release branch has been merged back into master
Description
Add Get-AzSqlDatabaseBackupShortTermRetentionPolicy and Set-AzSqlDatabaseBackupShortTermRetentionPolicy to master.
These cmdlets have been in Az[ureRM].Sql-preview for >6 months. Moving to stable branch.
NOTE: I am unable to port the applicable tests right now because my MSDN subscription is disabled which prevents me from re-recording tests. I will do this once it is re-enabled. I did manual testing in the interim.Original PR: #6326 (comment)
Addressing issue: https://github.com/MicrosoftDocs/azure-docs/issues/9312#issuecomment-456498276
Checklist
CONTRIBUTING.mdplatyPSmodule