Skip to main content

region_zones

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

Overview

Nameregion_zones
TypeResource
Idgoogle.compute.region_zones

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] Textual description of the resource.
availableCpuPlatformsarray[Output Only] Available cpu/platform selections for the zone.
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
deprecatedobjectDeprecation status for a public resource.
kindstring[Output Only] Type of the resource. Always compute#zone for zones.
regionstring[Output Only] Full URL reference to the region which hosts the zone.
selfLinkstring[Output Only] Server-defined URL for the resource.
statusstring[Output Only] Status of the zone, either UP or DOWN.
supportsPzsboolean[Output Only] Reserved for future use.

Methods

NameAccessible byRequired ParamsDescription
listSELECTproject, regionRetrieves the list of Zone resources under the specific region available to the specified project.

SELECT examples

Retrieves the list of Zone resources under the specific region available to the specified project.

SELECT
id,
name,
description,
availableCpuPlatforms,
creationTimestamp,
deprecated,
kind,
region,
selfLink,
status,
supportsPzs
FROM google.compute.region_zones
WHERE project = '{{ project }}'
AND region = '{{ region }}';