Method: diskTypes.get

Returns the specified disk type. Gets a list of available disk types by making a list() request.

HTTP request

GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/diskTypes/{resourceId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID for this request.

zone

string

The name of the zone for this request.

resourceId

string

Name of the disk type to return.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Represents a Disk Type resource.

Google Compute Engine has two Disk Type resources:

You can choose from a variety of disk types based on your needs. For more information, read Storage options.

The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks.

The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks.

JSON representation
{
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "validDiskSize": string,
  "deprecated": {
    "state": enum,
    "replacement": string,
    "deprecated": string,
    "obsolete": string,
    "deleted": string
  },
  "zone": string,
  "selfLink": string,
  "defaultDiskSizeGb": string,
  "region": string,
  "kind": string
}