Skip to content

Commit 33524cc

Browse files
author
msJinLei
committed
Restore VaultName of Remove-AzKeyVault and update help file accordingly
1 parent ff3a90e commit 33524cc

File tree

49 files changed

+171
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+171
-155
lines changed

src/KeyVault/KeyVault/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Add Name alias to VaultName attribute to make Remove-AzureKeyVault consistent with New-AzureKeyVault.
2122

2223
## Version 1.4.0
2324
* Update references in .psd1 to use relative path
2425
* Fixed error accessing value that is potentially not set
2526
* Elliptic Curve Cryptography Certificate Managment
2627
- Added support to specify the Curve for Certificate Policies
27-
* Reorganised Name/VaultName attribute to make Remove-AzureKeyVault consistent with New-AzureKeyVault.
2828

2929
## Version 1.3.1
3030
* Fixed miscellaneous typos across module

src/KeyVault/KeyVault/Commands/RemoveAzureKeyVault.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +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-
[Alias("VaultName")]
58-
public string Name { get; set; }
57+
[Alias("Name")]
58+
public string VaultName { get; set; }
5959

6060
/// <summary>
6161
/// Vault object

src/KeyVault/KeyVault/help/Add-AzKeyVaultCertificate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
33
Module Name: Az.KeyVault
44
ms.assetid: 89299823-3382-402D-9458-519466748051
@@ -195,7 +195,7 @@ Accept wildcard characters: False
195195
```
196196
197197
### CommonParameters
198-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
198+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
199199
200200
## INPUTS
201201

src/KeyVault/KeyVault/help/Add-AzKeyVaultCertificateContact.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
33
Module Name: Az.KeyVault
44
ms.assetid: 2D3021B3-12C5-4797-8BF2-800E3CEAC56C
@@ -174,7 +174,7 @@ Accept wildcard characters: False
174174
```
175175
176176
### CommonParameters
177-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
177+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
178178
179179
## INPUTS
180180

src/KeyVault/KeyVault/help/Add-AzKeyVaultKey.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
33
Module Name: Az.KeyVault
44
ms.assetid: 846F781C-73A3-4BBE-ABD9-897371109FBE
@@ -269,7 +269,7 @@ extension, it imports the key as a software-protected key.
269269
Type: System.String
270270
Parameter Sets: InteractiveCreate, InputObjectCreate, ResourceIdCreate
271271
Aliases:
272-
Accepted values: HSM, Software
272+
Accepted values: HSM, Software, HSM, Software
273273

274274
Required: True
275275
Position: Named
@@ -282,7 +282,7 @@ Accept wildcard characters: False
282282
Type: System.String
283283
Parameter Sets: InteractiveImport, InputObjectImport, ResourceIdImport
284284
Aliases:
285-
Accepted values: HSM, Software
285+
Accepted values: HSM, Software, HSM, Software
286286

287287
Required: False
288288
Position: Named
@@ -532,7 +532,7 @@ Accept wildcard characters: False
532532
```
533533
534534
### CommonParameters
535-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
535+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
536536
537537
## INPUTS
538538

src/KeyVault/KeyVault/help/Add-AzKeyVaultManagedStorageAccount.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
33
Module Name: Az.KeyVault
44
online version: https://docs.microsoft.com/en-us/powershell/module/az.keyvault/add-azkeyvaultmanagedstorageaccount
@@ -254,7 +254,7 @@ Accept wildcard characters: False
254254
```
255255
256256
### CommonParameters
257-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
257+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
258258
259259
## INPUTS
260260

src/KeyVault/KeyVault/help/Add-AzKeyVaultNetworkRule.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
33
Module Name: Az.KeyVault
44
online version: https://docs.microsoft.com/en-us/powershell/module/az.keyvault/add-azkeyvaultnetworkrule
@@ -241,7 +241,7 @@ Accept wildcard characters: False
241241
```
242242
243243
### CommonParameters
244-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
244+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
245245
246246
## INPUTS
247247

src/KeyVault/KeyVault/help/Backup-AzKeyVaultCertificate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
33
Module Name: Az.KeyVault
44
online version: https://docs.microsoft.com/en-us/powershell/module/az.keyvault/backup-azkeyvaultcertificate
@@ -194,7 +194,7 @@ Accept wildcard characters: False
194194
```
195195
196196
### CommonParameters
197-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
197+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
198198
199199
## INPUTS
200200

src/KeyVault/KeyVault/help/Backup-AzKeyVaultKey.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
33
Module Name: Az.KeyVault
44
ms.assetid: A82392AA-B12B-443E-8704-7CF5A9F8ED58
@@ -192,7 +192,7 @@ Accept wildcard characters: False
192192
```
193193
194194
### CommonParameters
195-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
195+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
196196
197197
## INPUTS
198198

src/KeyVault/KeyVault/help/Backup-AzKeyVaultManagedStorageAccount.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
33
Module Name: Az.KeyVault
44
online version: https://docs.microsoft.com/en-us/powershell/module/az.keyvault/backup-azkeyvaultmanagedstorageaccount
@@ -194,7 +194,7 @@ Accept wildcard characters: False
194194
```
195195
196196
### CommonParameters
197-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
197+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
198198
199199
## INPUTS
200200

0 commit comments

Comments
 (0)