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:
|
|
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. | |
selfLink
|
string
|
[Output Only] Server-defined fully-qualified URL for this resource. | |
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.