Represents a DiskType resource. A Disk Type resource represents the type of disk to use, such as a
pd-ssd
or
pd-standard
. To reference a disk type, use the disk type's full URL, such as:
https://www.googleapis.com/compute/v1/projects/<project-id>/zones/<zone>/diskTypes/pd-ssd
For a list of methods for this resource, see the end of this page.
Resource representations
A disk type resource.
{ "kind": "compute#diskType", "id": unsigned long, "creationTimestamp": string, "name": string, "description": string, "validDiskSize": string, "deprecated": { "state": string, "replacement": string, "deprecated": string, "obsolete": string, "deleted": string }, "zone": string, "selfLink": string }
Property name | Value | Description | Notes |
---|---|---|---|
creationTimestamp
|
string
|
[Output Only] Creation timestamp in RFC3339 text format. | |
deprecated
|
nested object
|
[Output Only] If applicable, the deprecation status associated with this machine type. | |
deprecated.
deleted
|
string
|
[Output Only]
An optional
RFC3339
timestamp for when the deprecation state of this resource was changed to
DELETED
.
|
|
deprecated.
deprecated
|
string
|
[Output Only]
An optional
RFC3339
timestamp for when the deprecation state of this resource was changed to
DEPRECATED
.
|
|
deprecated.
obsolete
|
string
|
[Output Only]
An optional
RFC3339
timestamp for when the deprecation state of this resource was changed to
OBSOLETE
.
|
|
deprecated.
replacement
|
string
|
[Output Only] A fully-qualified URL of the suggested replacement for the deprecated disk type. | |
deprecated.
state
|
string
|
[Output Only] The deprecation state of this disk type. Google Compute Engine sets this status if a disk type will be deprecated soon.
Acceptable values are:
|
|
description
|
string
|
An optional textual description of the resource. | |
id
|
unsigned long
|
[Output Only] Unique identifier for the resource, generated by the server. | |
kind
|
string
|
[Output Only] The type of resource. Always compute#diskTypes for Disk Type resources. | |
name
|
string
|
[Output Only] Name of the resource. | |
selfLink
|
string
|
[Output Only] Server-defined fully-qualified URL for this resource. | |
validDiskSize
|
string
|
[Output Only] An optional textual description of the valid disk size. For example, "10GB-10TB." | |
zone
|
string
|
[Output Only] The fully-qualified URL for the zone where the disk type resource resides. |
Methods
- aggregatedList
- Retrieves the list of disk type resources grouped by scope.
- get
- Returns the specified disk type resource.
- list
- Retrieves the list of disk type resources available to the specified project.