Method: machineTypes.get

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

HTTP request

GET https://compute.googleapis.com/compute/beta/projects/{project}/zones/{zone}/machineTypes/{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 machine 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 Machine Type resource.

You can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types.

JSON representation
{
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "guestCpus": integer,
  "memoryMb": integer,
  "maximumPersistentDisks": integer,
  "maximumPersistentDisksSizeGb": string,
  "deprecated": {
    "state": enum,
    "replacement": string,
    "deprecated": string,
    "obsolete": string,
    "deleted": string,
    "stateOverride": {
      "locationRolloutPolicies": {
        string: string,
        ...
      },
      "defaultRolloutTime": string
    }
  },
  "zone": string,
  "selfLi