Get

Returns the specified machine type

3 variables
21 variables

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

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • View and manage your data across Google Cloud Platform services
  • View and manage your Google Compute Engine resources
  • View your Google Compute Engine resources

Input

This building block consumes 3 input parameters

  = Parameter name
  = Format

project STRING Required

Project ID for this request

zone STRING Required

The name of the zone for this request

machineType STRING Required

Name of the machine type to return

Output

This building block provides 21 output parameters

  = Parameter name
  = Format

creationTimestamp STRING

[Output Only] Creation timestamp in RFC3339 text format

deprecated OBJECT

Deprecation status for a public resource

deprecated.deleted STRING

An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it

deprecated.deprecated STRING

An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it

deprecated.obsolete STRING

An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it

deprecated.replacement STRING

The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource

deprecated.state ENUMERATION

The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error

description STRING

[Output Only] An optional textual description of the resource

guestCpus INTEGER

[Output Only] The number of virtual CPUs that are available to the instance

id INTEGER

[Output Only] The unique identifier for the resource. This identifier is defined by the server

imageSpaceGb INTEGER

[Deprecated] This property is deprecated and will never be populated with any relevant values

isSharedCpu BOOLEAN

[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information

kind STRING

[Output Only] The type of the resource. Always compute#machineType for machine types

maximumPersistentDisks INTEGER

[Output Only] Maximum persistent disks allowed

maximumPersistentDisksSizeGb INTEGER

[Output Only] Maximum total persistent disks size (GB) allowed

memoryMb INTEGER

[Output Only] The amount of physical memory available to the instance, defined in MB

name STRING

[Output Only] Name of the resource

scratchDisks[] OBJECT

scratchDisks[].diskGb INTEGER

Size of the scratch disk, defined in GB

selfLink STRING

[Output Only] Server-defined URL for the resource

zone STRING

[Output Only] The name of the zone where the machine type resides, such as us-central1-a