Skip to content

Remove-GceDisk - regional disks are not supported #662

@abullo-clgx

Description

@abullo-clgx

Hello there,

I'm trying to remove regional disk, but I'm not able to to so.
When I execute Remove-GceDisk diskname it says that "Parameter Zone was not set and does not have a default value."
When I set the zone, it says "Google.Apis.Requests.RequestError The resource ... was not found"
At same time I'm not able to set the Region for that request.
As workaround, instead of Remove-GceDisk I use gcloud compute disks delete $disk --region=$region --quiet
My expectation that Remove-GceDisk in addition to -Zone should have -Region parameter so it could be used for regional disks removal as well.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions