Class MachineType (1.18.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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
accelerators MutableSequence[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. This field is a member of oneof_ _creation_timestamp.
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. This field is a member of oneof_ _deprecated.
description str
[Output Only] An optional textual description of the resource. This field is a member of oneof_ _description.
guest_cpus int
[Output Only] The number of virtual CPUs that are available to the instance. This field is a member of oneof_ _guest_cpus.
id int
[Output Only] The unique identifier for the resource. This identifier is defined by the server. This field is a member of oneof_ _id.
image_space_gb int
[Deprecated] This property is deprecated and will never be populated with any relevant values. This field is a member of oneof_ _image_space_gb.
is_shared_cpu bool
[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information. This field is a member of oneof_ _is_shared_cpu.
kind str
[Output Only] The type of the resource. Always compute#machineType for machine types. This field is a member of oneof_ _kind.
maximum_persistent_disks int
[Output Only] Maximum persistent disks allowed. This field is a member of oneof_ _maximum_persistent_disks.
maximum_persistent_disks_size_gb int
[Output Only] Maximum total persistent disks size (GB) allowed. This field is a member of oneof_ _maximum_persistent_disks_size_gb.
memory_mb int
[Output Only] The amount of physical memory available to the instance, defined in MB. This field is a member of oneof_ _memory_mb.
name str
[Output Only] Name of the resource. This field is a member of oneof_ _name.
scratch_disks MutableSequence[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. This field is a member of oneof_ _self_link.
zone str
[Output Only] The name of the zone where the machine type resides, such as us-central1-a. This field is a member of oneof_ _zone.