-
Notifications
You must be signed in to change notification settings - Fork 4k
New parameters in New-AzureRmVMSqlServerAutoBackupConfig cmdlet to support Auto Backup for SQL Server 2016 VMs. #3313
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
…mdlets on SQL14 and 16 VMs.
… appears on Portal
…lic settings in response. Fixed tests.
… manual. Added description for new parameters in help file.
Hi @anilyela, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
TTYL, AZPRBOT; |
DefaultParameterSetName = StorageUriParamSetName), | ||
OutputType( | ||
typeof(AutoBackupSettings))] | ||
public class NewAzureRmVMSqlServerAutoBackupConfigCommand : AzureRMCmdlet |
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.
@anilyela if you are changing the name of the cmdlet New-AzureVMSqlServerAutoBackupConfig
to New-AzureRmVMSqlServerAutoBackupConfig
, you do not need to add an entirely new file - you can add an alias in the old cmdlet to New-AzureRmVMSqlServerAutoBackupConfig
. There does not need to be separate files for the same cmdlet.
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.
done, thanks!
ProfileNouns.VirtualMachineSqlServerAutoPatchingConfig), | ||
OutputType( | ||
typeof(AutoPatchingSettings))] | ||
public class NewAzureRmVMSqlServerAutoPatchingConfigCommand : PSCmdlet |
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.
@anilyela same comment about adding alias
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.
done!
SupportsShouldProcess = true), | ||
OutputType( | ||
typeof(KeyVaultCredentialSettings))] | ||
public class NewAzureRmVMSqlServerKeyVaultCredentialConfigCommand : PSCmdlet |
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.
@anilyela same comment about adding alias
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.
done!
…. Modified help file accordingly.
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.
@anilyela a few comments
@@ -117,6 +120,77 @@ public SecureString StorageKey | |||
set; | |||
} | |||
|
|||
[Parameter( | |||
Mandatory = false, | |||
Position = 6, |
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.
@anilyela we ask that there be no more than four positional parameters for a cmdlet. Please remove the position attribute from the parameters you have added to this cmdlet.
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.
done
@@ -18,6 +18,8 @@ | |||
- Additional information about change #1 | |||
--> | |||
## Current Release | |||
* New parameters in New-AzureRmVMSqlServerAutoBackupConfig cmdlet to support Auto Backup for SQL Server 2016 VMs. | |||
* New-AzureVMSqlServer* cmdlets are renamed to New-AzureRmVMSqlServer* now. Old ones will continue to work however. |
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.
@anilyela for the change log, can you talk about the new parameters in New-AzureRmVMSqlServerAutoBackupConfig
?
* New parameters in ...
- BackupSystemDbs: < brief description>
- BackupScheduleType: <brief description>
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.
Added more detail
@cormacpayne addressed your comments. |
@anilyela are there any more sign-offs you are waiting on? |
@cormacpayne no, signoff from nimeshnedungadi is enough from our side. |
Thanks @cormacpayne. When is next release that takes change this live? |
@anilyela you can view the dates of the next three Azure PowerShell releases here It is scheduled for January 18th |
Description
This checklist is used to make sure that common guidelines for a pull request are followed. You can find a more complete discussion of PowerShell cmdlet best practices here.
General Guidelines
Testing Guidelines
Cmdlet Signature Guidelines
ShouldProcess
and haveSupportShouldProcess=true
specified in the cmdlet attribute. You can find more information onShouldProcess
here.OutputType
attribute if any output is produced - if the cmdlet produces no output, it should implement aPassThrough
parameter.Cmdlet Parameter Guidelines