Skip to content

Commit cb94ab5

Browse files
SkuldomsJinLei
authored andcommitted
Changed a parameter name from VaultName to Name
Changed a parameter name from VaultName to Name, and then added VaultName as an alias to make RemoveAzureKeyVault consistent with NewAzureKeyVault.
1 parent b0643e6 commit cb94ab5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/KeyVault/KeyVault/Commands/RemoveAzureKeyVault.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ public class RemoveAzureKeyVault : KeyVaultManagementCmdletBase
5454
HelpMessage = "Specifies the name of the key vault to remove.")]
5555
[ResourceNameCompleter("Microsoft.KeyVault/vaults", "ResourceGroupName")]
5656
[ValidateNotNullOrEmpty]
57-
public string VaultName { get; set; }
57+
[Alias("VaultName")]
58+
public string Name { get; set; }
5859

5960
/// <summary>
6061
/// Vault object

0 commit comments

Comments
 (0)