Azure / Azure/autorest.powershell

[bug] parameter description is incomplete if this parameter is optional and mandatory in different parameter set

Open
#1,127 0 comments 0 reactions 0 assignees View on GitHub
bug Ramp Up
Dominant language
C#
Stars
123
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Taking parameter VaultName in Get-AzKeyVault for correct instance.
**[[-VaultName] ]**
[[-ResourceGroupName] ]
[-Tag ]
[-DefaultProfile ]
[-SubscriptionId ]
[]

Get-AzKeyVault
**[-VaultName] **
[-Location]
[-InRemovedState]
[-DefaultProfile ]
[-SubscriptionId ]
[]

### -VaultName
Specifies the name of the key vault.

```yaml
Type: System.String
Parameter Sets: GetVaultByName
Aliases: Name

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True
```

```yaml
Type: System.String
Parameter Sets: ByDeletedVault
Aliases: Name

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True
```

authorest.powershell makes parameter as True in all parameter sets.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.