Get
|
|||||
|
|
Returns the specified Zone resource. Gets a list of available zones by making a list() request
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
- View and manage your Google Compute Engine resources
- View your Google Compute Engine resources
Input
This building block consumes 2 input parameters
Name | Format | Description |
---|---|---|
project Required |
STRING |
Project ID for this request |
zone Required |
STRING |
Name of the zone resource to return |
= Parameter name
= Format
project STRING Required Project ID for this request |
zone STRING Required Name of the zone resource to return |
Output
This building block provides 15 output parameters
Name | Format | Description |
---|---|---|
availableCpuPlatforms[] |
STRING |
|
creationTimestamp |
STRING |
[Output Only] Creation timestamp in RFC3339 text format |
deprecated |
OBJECT |
Deprecation status for a public resource |
deprecated.deleted |
STRING |
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it |
deprecated.deprecated |
STRING |
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it |
deprecated.obsolete |
STRING |
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it |
deprecated.replacement |
STRING |
The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource |
deprecated.state |
ENUMERATION |
The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error |
description |
STRING |
[Output Only] Textual description of the resource |
id |
INTEGER |
[Output Only] The unique identifier for the resource. This identifier is defined by the server |
kind |
STRING |
[Output Only] Type of the resource. Always compute#zone for zones |
name |
STRING |
[Output Only] Name of the resource |
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 |
ENUMERATION |
[Output Only] Status of the zone, either UP or DOWN |
= Parameter name
= Format
availableCpuPlatforms[] STRING |
creationTimestamp STRING [Output Only] Creation timestamp in RFC3339 text format |
deprecated OBJECT Deprecation status for a public resource |
deprecated.deleted STRING An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it |
deprecated.deprecated STRING An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it |
deprecated.obsolete STRING An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it |
deprecated.replacement STRING The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource |
deprecated.state ENUMERATION The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error |
description STRING [Output Only] Textual description of the resource |
id INTEGER [Output Only] The unique identifier for the resource. This identifier is defined by the server |
kind STRING [Output Only] Type of the resource. Always compute#zone for zones |
name STRING [Output Only] Name of the resource |
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 ENUMERATION [Output Only] Status of the zone, either UP or DOWN |