Returns the specified Instance resource.

gce_get_instance(instance, project = gce_get_global_project(),
  zone = gce_get_global_zone())

Arguments

instance

Name of the instance resource

project

Project ID for this request, default as set by gce_get_global_project

zone

The name of the zone for this request, default as set by gce_get_global_zone

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