GCP Compute Disk
A GCP Compute Disk is a durable, high-performance block-storage resource that can be attached to Google Compute Engine virtual machine instances as either boot or data volumes. Disks are available in several performance tiers (standard, SSD, balanced, extreme) and can be resized, snapshotted or detached independently of the life-cycle of the VM that uses them. Full details are available in the official documentation: https://cloud.google.com/compute/docs/disks
Terrafrom Mappings:
google_compute_disk.name
Supported Methodsโ
GET: Get GCP Compute Disk by "gcp-compute-disk-name"LIST: List all GCP Compute Disk itemsSEARCH
Possible Linksโ
gcp-compute-snapshotโ
Snapshots are point-in-time, incremental backups that are taken from an existing Compute Disk. Each snapshot records the sourceDisk field, so a disk will link to any snapshots that were created from it, and conversely snapshots link back to their originating disk.
gcp-compute-instant-snapshotโ
Instant snapshots are a newer, faster variant of regular snapshots. As with standard snapshots, an instant snapshotโs sourceDisk attribute references the disk it was captured from, creating a parent-child relationship to the Compute Disk.
gcp-compute-instanceโ
Compute Disks are attached to Compute Engine instances as block devices. The instance metadata lists the disks mounted to it, while the disk object maintains an users array containing the full URLs of the instances to which it is currently attached.
gcp-compute-diskโ
A disk can be created by cloning (or โcopyingโ) another existing disk, in which case the new diskโs sourceDisk field points to the original. This creates a link between two disk resources.
gcp-compute-imageโ
Custom images can be generated from a Compute Disk, and new disks can be created from an image. The image object records the sourceDisk, while the disk object may record the image used to initialise it, establishing a bidirectional relationship between disks and images.