zones
Creates, updates, deletes, gets or lists a zones
resource.
Overview
Name | zones |
Type | Resource |
Id | google.compute.zones |
Fields
Name | Datatype | Description |
---|---|---|
id | string | [Output Only] The unique identifier for the resource. This identifier is defined by the server. |
name | string | [Output Only] Name of the resource. |
description | string | [Output Only] Textual description of the resource. |
availableCpuPlatforms | array | [Output Only] Available cpu/platform selections for the zone. |
creationTimestamp | string | [Output Only] Creation timestamp in RFC3339 text format. |
deprecated | object | Deprecation status for a public resource. |
kind | string | [Output Only] Type of the resource. Always compute#zone for zones. |
region | string | [Output Only] Full URL reference to the region which hosts the zone. |
selfLink | string | [Output Only] Server-defined URL for the resource. |
status | string | [Output Only] Status of the zone, either UP or DOWN. |
supportsPzs | boolean | [Output Only] Reserved for future use. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | project, zone | Returns the specified Zone resource. |
list | SELECT | project | Retrieves the list of Zone resources available to the specified project. |
SELECT
examples
Retrieves the list of Zone resources available to the specified project.
SELECT
id,
name,
description,
availableCpuPlatforms,
creationTimestamp,
deprecated,
kind,
region,
selfLink,
status,
supportsPzs
FROM google.compute.zones
WHERE project = '{{ project }}';