Skip to content

Az.Sql consistency issues in command parameters #25932

Open

Description

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

Metadata

Assignees

No one assigned

    Labels

    SQLService AttentionThis issue is responsible by Azure service team.customer-reportedquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions