Compute Engine Machine Image

A Compute Engine Machine Image in Google Cloud is a resource that stores all the configuration, metadata, and disk data needed to create new virtual machine instances. It captures the full state of a VM, including attached disks and instance properties, allowing consistent replication, backup, and deployment of identical environments across projects or regions.

gcp.compute_machine_image

Fields

TitleIDTypeData TypeDescription
_keycorestring
ancestorscorearray<string>
creation_timestampcoretimestampOutput only. [Output Only] The creation timestamp for this machine image inRFC3339 text format.
datadog_display_namecorestring
descriptioncorestringAn optional description of this resource. Provide this property when you create the resource.
gcp_statuscorestring[Output Only] The status of the machine image. One of the following values: INVALID, CREATING, READY, DELETING, and UPLOADING. Possible values: ['CREATING', 'DELETING', 'INVALID', 'READY', 'UPLOADING']. Values descriptions: ['', '', '', '', '']
guest_flushcorebool[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
idcorestringOutput only. [Output Only] A unique identifier for this machine image. The server defines this identifier.
instance_propertiescorejson[Output Only] Properties of source instance
kindcorestringOutput only. [Output Only] The resource type, which is alwayscompute#machineImage for machine image.
labelscorearray<string>Labels to apply to this machine image. These can be later modified by the setLabels method.
namecorestringName of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
region_idcorestring
resource_namecorestring
satisfies_pzicoreboolOutput only. Reserved for future use.
satisfies_pzscoreboolOutput only. [Output Only] Reserved for future use.
saved_diskscorejsonOutput only. An array of Machine Image specific properties for disks attached to the source instance
self_linkcorestringOutput only. [Output Only] The URL for this machine image. The server defines this URL.
source_disk_encryption_keyscorejson[Input Only] Thecustomer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key.
source_instancecorestringThe source instance used to create the machine image. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - projects/project/zones/zone/instances/instance
source_instance_propertiescorejsonOutput only. [Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties. New properties will not be added to this field.
storage_locationscorearray<string>The regional or multi-regional Cloud Storage bucket location where themachine image is stored.
tagscorehstore_csv
total_storage_bytescoreint64Output only. [Output Only] Total size of the storage used by the machine image.
zone_idcorestring