gce_list_disks: Retrieves a list of persistent disks contained within the...

View source: R/disks.R

gce_list_disksR Documentation

Retrieves a list of persistent disks contained within the specified zone.

Description

Retrieves a list of persistent disks contained within the specified zone.

Usage

gce_list_disks(
  filter = NULL,
  maxResults = NULL,
  pageToken = NULL,
  project = gce_get_global_project(),
  zone = gce_get_global_zone()
)

Arguments

filter

Sets a filter expression for filtering listed resources, in the form filter=expression

maxResults

The maximum number of results per page that should be returned

pageToken

Specifies a page token to use

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

Google Documentation


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