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
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Storage.Disk_annotations? | annotations | At most 256 KiB in all; never policy input. |
AttachedInstanceId | string? | attachedInstanceId | Optional VM instance ID or resource name to which the disk is currently attached. |
BackendMode | string? | backendMode | Backend driver mode: SIMULATED when backed by the fake driver, ZFS_ZVOL on a live ZFS pool. |
ContentSha256 | string? | contentSha256 | SHA-256 digest of the volume's current extent payload (ADR-0502). |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DiskType | Models.Storage.Disk_diskType? | diskType | Volume type: f1-disk (free VM root, 10 GiB, 500 IOPS), local-ssd (default, 10โ2048 GiB, 3000โ16000 IOPS), or replicated-ssd. |
DisplayName | string? | displayName | Up to 63 characters. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
Labels | Models.Storage.Disk_labels? | labels | At most 64. |
Location | string? | location | Location ID where the disk is homed (for example lab-de1). |
MaxIops | int? | maxIops | Provisioned IOPS cap (3000 baseline up to 16000 for local-ssd/replicated-ssd; 500 for f1-disk; ADR-0502). |
MaxThroughputMibps | int? | maxThroughputMibps | Provisioned throughput cap in MiB/s (125 baseline up to 500 for local-ssd/replicated-ssd; 50 for f1-disk; ADR-0502). |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
Simulated | bool? | simulated | True when backed by FakeVolumeDriver in lab/test environments rather than a live ZFS zvol pool. |
SizeGib | long? | sizeGib | Provisioned size in GiB (10โ2048 GiB for local-ssd/replicated-ssd; 10 GiB for f1-disk; online grow only, no shrink per ADR-0502). |
SnapshotSchedule | Models.Common.SnapshotSchedule? | snapshotSchedule | A 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. |
SourceSnapshot | string? | sourceSnapshot | Optional source snapshot ID or resource name when cloning a disk from a snapshot (ADR-0502). |
State | Models.Storage.Disk_state? | state | Current lifecycle state of the disk. |
SuspendReason | string? | suspendReason | Why the platform paused the disk, for example spend-cap (ADR-1103 §7); clears automatically when the cause clears. |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
UsedBytes | long? | usedBytes | Bytes 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. |
UsedBytesTime | DateTimeOffset? | usedBytesTime | When the driver last reported usedBytes. |