Skip to main content

region_disk_types

Creates, updates, deletes, gets or lists a region_disk_types resource.

Overview

Nameregion_disk_types
TypeResource
Idgoogle.compute.region_disk_types

Fields

NameDatatypeDescription
idstring[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestring[Output Only] Name of the resource.
descriptionstring[Output Only] An optional description of this resource.
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
defaultDiskSizeGbstring[Output Only] Server-defined default disk size in GB.
deprecatedobjectDeprecation status for a public resource.
kindstring[Output Only] Type of the resource. Always compute#diskType for disk types.
regionstring[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
selfLinkstring[Output Only] Server-defined URL for the resource.
validDiskSizestring[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
zonestring[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdiskType, project, regionReturns the specified regional disk type.
listSELECTproject, regionRetrieves a list of regional disk types available to the specified project.

SELECT examples

Retrieves a list of regional disk types available to the specified project.

SELECT
id,
name,
description,
creationTimestamp,
defaultDiskSizeGb,
deprecated,
kind,
region,
selfLink,
validDiskSize,
zone
FROM google.compute.region_disk_types
WHERE project = '{{ project }}'
AND region = '{{ region }}';