Returns a specified persistent disk.

gce_get_disk(disk, project = gce_get_global_project(),
  zone = gce_get_global_zone())

Arguments

disk

Name of the persistent disk to return

project

Project ID for this request

zone

The name of the zone for this request

Details

Authentication scopes used by this function are:

  • https://www.googleapis.com/auth/cloud-platform

  • https://www.googleapis.com/auth/compute

  • https://www.googleapis.com/auth/compute.readonly

See also