Class MachineType (0.7.0)

MachineType(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
accelerators Sequence[google.cloud.compute_v1.types.Accelerators]
[Output Only] A list of accelerator configurations assigned to this machine type.
creation_timestamp str
[Output Only] Creation timestamp in RFC3339 text format.
deprecated google.cloud.compute_v1.types.DeprecationStatus
[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
description str
[Output Only] An optional textual description of the resource.
guest_cpus int
[Output Only] The number of virtual CPUs that are available to the instance.
id int
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
image_space_gb int
[Deprecated] This property is deprecated and will never be populated with any relevant values.
is_shared_cpu bool
[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.
kind str
[Output Only] The type of the resource. Always compute#machineType for machine types.
maximum_persistent_disks int
[Output Only] Maximum persistent disks allowed.
maximum_persistent_disks_size_gb int
[Output Only] Maximum total persistent disks size (GB) allowed.
memory_mb int
[Output Only] The amount of physical memory available to the instance, defined in MB.
name str
[Output Only] Name of the resource.
scratch_disks Sequence[google.cloud.compute_v1.types.ScratchDisks]
[Output Only] A list of extended scratch disks assigned to the instance.
self_link str
[Output Only] Server-defined URL for the resource.
zone str
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.