SDK reference / Models / Storage

Disk

Kind: class

Namespace: Egulu.Sdk.Models.Storage

A block storage volume backed by a local ZFS zvol over LUKS2 (ADR-0502, ADR-0510).

Properties

NameTypeJSON nameDescription
AnnotationsModels.Storage.Disk_annotations?annotationsAt most 256 KiB in all; never policy input.
AttachedInstanceIdstring?attachedInstanceIdOptional VM instance ID or resource name to which the disk is currently attached.
BackendModestring?backendModeBackend driver mode: SIMULATED when backed by the fake driver, ZFS_ZVOL on a live ZFS pool.
ContentSha256string?contentSha256SHA-256 digest of the volume's current extent payload (ADR-0502).
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DiskTypeModels.Storage.Disk_diskType?diskTypeVolume type: f1-disk (free VM root, 10 GiB, 500 IOPS), local-ssd (default, 10โ€“2048 GiB, 3000โ€“16000 IOPS), or replicated-ssd.
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
LabelsModels.Storage.Disk_labels?labelsAt most 64.
Locationstring?locationLocation ID where the disk is homed (for example lab-de1).
MaxIopsint?maxIopsProvisioned IOPS cap (3000 baseline up to 16000 for local-ssd/replicated-ssd; 500 for f1-disk; ADR-0502).
MaxThroughputMibpsint?maxThroughputMibpsProvisioned throughput cap in MiB/s (125 baseline up to 500 for local-ssd/replicated-ssd; 50 for f1-disk; 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.
Simulatedbool?simulatedTrue when backed by FakeVolumeDriver in lab/test environments rather than a live ZFS zvol pool.
SizeGiblong?sizeGibProvisioned size in GiB (10โ€“2048 GiB for local-ssd/replicated-ssd; 10 GiB for f1-disk; online grow only, no shrink per ADR-0502).
SnapshotScheduleModels.Common.SnapshotSchedule?snapshotScheduleA snapshot schedule for this disk alone; it overrides the VM's schedule for this disk. Absent means the disk follows its VM's schedule. `frequency: OFF` keeps the disk out of the VM's schedule. Refused on f1-disk free volumes.
SourceSnapshotstring?sourceSnapshotOptional source snapshot ID or resource name when cloning a disk from a snapshot (ADR-0502).
StateModels.Storage.Disk_state?stateCurrent lifecycle state of the disk.
SuspendReasonstring?suspendReasonWhy the platform paused the disk, for example spend-cap (ADR-1103 §7); clears automatically when the cause clears.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
UsedByteslong?usedBytesBytes the volume's blocks use on the pool (ZFS `used`, never more than the provisioned size); absent until the driver has reported it once. A guest file system's own usage is the guest's to report.
UsedBytesTimeDateTimeOffset?usedBytesTimeWhen the driver last reported usedBytes.