gce_get_instance: Returns the specified Instance resource.

View source: R/instances_admin.R

gce_get_instanceR Documentation

Returns the specified Instance resource.

Description

Returns the specified Instance resource.

Usage

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

Google Documentation


cloudyr/googleComputeEngineR documentation built on June 11, 2025, 8:47 a.m.