Get
|
|||||
|
|
Returns the specified disk type. Gets a list of available disk types 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 3 input parameters
Name | Format | Description |
---|---|---|
project Required |
STRING |
Project ID for this request |
zone Required |
STRING |
The name of the zone for this request |
diskType Required |
STRING |
Name of the disk type to return |
= Parameter name
= Format
project STRING Required Project ID for this request |
zone STRING Required The name of the zone for this request |
diskType STRING Required Name of the disk type to return |
Output
This building block provides 16 output parameters
Name | Format | Description |
---|---|---|
creationTimestamp |
STRING |
[Output Only] Creation timestamp in RFC3339 text format |
defaultDiskSizeGb |
INTEGER |
[Output Only] Server-defined default disk size in GB |
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] An optional description of this 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#diskType for disk types |
name |
STRING |
[Output Only] Name of the resource |
region |
STRING |
[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 |
selfLink |
STRING |
[Output Only] Server-defined URL for the resource |
validDiskSize |
STRING |
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB" |
zone |
STRING |
[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 |
= Parameter name
= Format
creationTimestamp STRING [Output Only] Creation timestamp in RFC3339 text format |
defaultDiskSizeGb INTEGER [Output Only] Server-defined default disk size in GB |
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] An optional description of this 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#diskType for disk types |
name STRING [Output Only] Name of the resource |
region STRING [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 |
selfLink STRING [Output Only] Server-defined URL for the resource |
validDiskSize STRING [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB" |
zone STRING [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 |