Azure / Azure/azure-powershell
The parameters with validate set cannot be auto completed for the generated cmdlets
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 54
Description
## Behaviour
For the parameters with ValidateSet attributes, the item in the validateset cannot be auto-completed.
## Current Affected cmdlets
- Get-AzMariaDBConnectionString
- Get-AzMySqlConnectionString
- Get-AzPostgreSqlConnectionString
- New-AzBotService
- Initialize-AzBotServicePrepareDeploy
## Root Cause
Attribute "ValidateSet" isn't exported.
The the definition of Get-AzMySqlConnectionString customized
https://github.com/Azure/azure-powershell/blob/49ff2986fbbd4feb665c7b03bdf2457bbcbc2c03/src/MySql/custom/Get-AzMySqlConnectionString.ps1#L46
The the definition of Get-AzMySqlConnectionString exported
https://github.com/Azure/azure-powershell/blob/49ff2986fbbd4feb665c7b03bdf2457bbcbc2c03/src/MySql/exports/Get-AzMySqlConnectionString.ps1#L76
Contributor guide
Assessment
This issue has not been assessed yet.