SDK reference / Models / Storage

DiskSnapshot

Kind: class

Namespace: Egulu.Sdk.Models.Storage

A crash-consistent local ZFS snapshot of a block disk (ADR-0502: at most 32 per disk; never called a backup).

Properties

NameTypeJSON nameDescription
AnnotationsModels.Storage.DiskSnapshot_annotations?annotationsAt most 256 KiB in all; never policy input.
BackendModestring?backendModeBackend driver mode: SIMULATED or ZFS_ZVOL.
ContentSha256string?contentSha256SHA-256 digest of the volume extent captured at snapshot time (ADR-0502).
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
Descriptionstring?descriptionOptional human-readable description.
DiskRoleModels.Storage.DiskSnapshot_diskRole?diskRoleBOOT for a snapshot of a VM's boot disk (taken through the VM; `sourceDisk` then names the VM's boot disk), DATA for a data disk.
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
Instancestring?instanceThe VM whose restore point this is, when it is one (ID).
LabelsModels.Storage.DiskSnapshot_labels?labelsAt most 64.
Locationstring?locationLocation ID where the snapshot is homed (same node/location as sourceDisk per ADR-0502).
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RestorePointstring?restorePointThe restore point this snapshot belongs to: one ID stamped on the snapshots of every disk of a VM taken at the same moment. Absent for a snapshot of one disk taken alone.
Simulatedbool?simulatedTrue when backed by FakeVolumeDriver in lab/test environments.
SizeGiblong?sizeGibProvisioned size in GiB captured at snapshot creation time.
SourceDiskstring?sourceDiskSource disk ID or resource name (projects/{p}/locations/{l}/disks/{d}).
SourceDiskUidstring?sourceDiskUidSource disk UID (UUIDv7).
StateModels.Storage.DiskSnapshot_state?stateCurrent lifecycle state of the snapshot.
TriggerModels.Storage.DiskSnapshot_trigger?triggerMANUAL for a snapshot someone asked for, SCHEDULE for one a snapshot schedule took (and may delete beyond `keep`).
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property