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)



MachineTypes

Represents a MachineType resource.

For a list of methods for this resource, see the end of this page.

Resource representations

A Machine Type resource.

{
  "kind": "compute#machineType",
  "id": unsigned long,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "guestCpus": integer,
  "memoryMb": integer,
  "imageSpaceGb": integer,
  "maximumPersistentDisks": integer,
  "maximumPersistentDisksSizeGb": long,
  "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 machine type.
deprecated. state string [Output Only] The deprecation state of this machine type. Google Compute Engine sets this status if a machine type will be deprecated soon.

Acceptable values are:
  • " DELETED ": DELETED machine types cannot be used by existing instances or new instances. You must choose another machine type to use. Google Compute Engine returns an error if you attempt to use this machine type and recommends a replacement.
  • " DEPRECATED ": DEPRECATED machine types can still be used to create new instances, but Google Compute Engine issues a warning and recommends a replacement.
  • " OBSOLETE ": Existing instances already using an OBSOLETE machine type can continue to do so, but you cannot create new instances with this machine type. Google Compute Engine returns a warning if you attempt to use the machine type for a new instance and recommends a replacement.
description string [Output Only] An optional textual description of the resource.
guestCpus integer [Output Only] The number of CPUs exposed to the instance.
id unsigned long [Output Only] Unique identifier for the resource. This is generated by the server.
imageSpaceGb integer [Output Only] The amount of space allotted for the image, defined in GB.
kind string [Output Only] The type of the resource. This is always compute#machineType for Machine Type resources.
maximumPersistentDisks integer [Output Only] The number of maximum persistent disks allowed.
maximumPersistentDisksSizeGb long [Output Only] The maximum aggregate persistent disks size allowed, defined in GB.
memoryMb integer [Output Only] The amount of physical memory available to the instance, defined in MB.
name string [Output Only] Name of the machine type.
zone string [Output Only] Fully-qualified URL of the zone where the machine type resides.

Methods

The following are valid Machine Type methods:

aggregatedList
Retrieves the list of machine type resources grouped by scope.
get
Returns the specified machine type resource.
list
Retrieves the list of machine 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.