Open
Description
openedon Aug 24, 2024
Description
Between the commands below, the database name parameters do not have consistent names:
Command | Instance Param Name | DB Param Name |
---|---|---|
Get-AzSqlInstanceDatabase | InstanceName | Name |
Set-AzSqlInstanceDatabaseBackupShortTermRetentionPolicy | InstanceName | DatabaseName |
Set-AzSqlInstanceDatabaseBackupLongTermRetentionPolicy | InstanceName | DatabaseName |
In scripts where I use a variable to define a common parameter set used for splatting I now have to repeat all the values for each command.
Script or Debug output
No response
Environment data
No response
Module versions
Name Version
---- -------
Az.Accounts 3.0.2
Az.Compute 8.1.0
Az.KeyVault 6.0.1
Az.Resources 7.2.0
Az.Sql 5.1.0
Az.Storage 7.1.0
Error output
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment