Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



DiskTypes

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:
  • " DELETED ": DELETED disk types cannot be used by existing instances or new instances. You must choose another disk type to use. Google Compute Engine returns an error if you attempt to use this disk type and recommends a replacement.
  • " DEPRECATED ": DEPRECATED disk types can still be used to create new disks, but Google Compute Engine issues a warning and recommends a replacement.
  • " OBSOLETE ": Existing disks already using an OBSOLETE disk type can continue to do so, but you cannot create new instances with this disk type. Google Compute Engine returns a warning if you attempt to use the disk type for a new disk and recommends a replacement.
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.
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.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.