Skip to main content

machine_types

Overview

Namemachine_types
TypeResource
Idgoogle.compute.machine_types

Fields

NameDatatypeDescription
idstring[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestring[Output Only] Name of the resource.
descriptionstring[Output Only] An optional textual description of the resource.
imageSpaceGbinteger[Deprecated] This property is deprecated and will never be populated with any relevant values.
isSharedCpuboolean[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.
zonestring[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
memoryMbinteger[Output Only] The amount of physical memory available to the instance, defined in MB.
kindstring[Output Only] The type of the resource. Always compute#machineType for machine types.
maximumPersistentDisksSizeGbstring[Output Only] Maximum total persistent disks size (GB) allowed.
maximumPersistentDisksinteger[Output Only] Maximum persistent disks allowed.
scratchDisksarray[Output Only] A list of extended scratch disks assigned to the instance.
acceleratorsarray[Output Only] A list of accelerator configurations assigned to this machine type.
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
deprecatedobjectDeprecation status for a public resource.
guestCpusinteger[Output Only] The number of virtual CPUs that are available to the instance.
selfLinkstring[Output Only] Server-defined URL for the resource.

Methods

NameAccessible byRequired ParamsDescription
aggregated_listSELECTprojectRetrieves an aggregated list of machine types.
getSELECTmachineType, project, zoneReturns the specified machine type.
listSELECTproject, zoneRetrieves a list of machine types available to the specified project.
_aggregated_listEXECprojectRetrieves an aggregated list of machine types.