GoogleCloudPlatform / google-cloud-powershell

PowerShell cmdlets for the Google Cloud Platform
http://googlecloudplatform.github.io/google-cloud-powershell/
Apache License 2.0
135 stars 61 forks source link

Please fix validateset for pd-balanced on type param for New-GCEDisk function #651

Open mazad01 opened 3 years ago

mazad01 commented 3 years ago

Hello,

When trying to pass pd-balanced as a disktype to the New-GCEDisk function, I get the following:

New-GceDisk : Cannot validate argument on parameter 'DiskType'. The argument "pd-balanced" does not belong to the set "pd-ssd,pd-standard" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.

Looks like it will need to be added here: https://github.com/GoogleCloudPlatform/google-cloud-powershell/blob/master/Google.PowerShell/Compute/GceDisk.cs#L221