Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mazad01 opened this issue May 20, 2021 · 0 comments · May be fixed by #652
Open

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

mazad01 opened this issue May 20, 2021 · 0 comments · May be fixed by #652

Comments

@mazad01
Copy link

mazad01 commented May 20, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant