[SDK reference](../../index.md) / [Models](../index.md) / [Storage](index.md)

# 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

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Storage.DiskSnapshot_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `BackendMode` | `string?` | `backendMode` | Backend driver mode: SIMULATED or ZFS_ZVOL. |
| `ContentSha256` | `string?` | `contentSha256` | SHA-256 digest of the volume extent captured at snapshot time (ADR-0502). |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `Description` | `string?` | `description` | Optional human-readable description. |
| `DiskRole` | `Models.Storage.DiskSnapshot_diskRole?` | `diskRole` | BOOT 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. |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `Instance` | `string?` | `instance` | The VM whose restore point this is, when it is one (ID). |
| `Labels` | `Models.Storage.DiskSnapshot_labels?` | `labels` | At most 64. |
| `Location` | `string?` | `location` | Location ID where the snapshot is homed (same node/location as sourceDisk per 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. |
| `RestorePoint` | `string?` | `restorePoint` | The 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. |
| `Simulated` | `bool?` | `simulated` | True when backed by FakeVolumeDriver in lab/test environments. |
| `SizeGib` | `long?` | `sizeGib` | Provisioned size in GiB captured at snapshot creation time. |
| `SourceDisk` | `string?` | `sourceDisk` | Source disk ID or resource name (projects/{p}/locations/{l}/disks/{d}). |
| `SourceDiskUid` | `string?` | `sourceDiskUid` | Source disk UID (UUIDv7). |
| `State` | `Models.Storage.DiskSnapshot_state?` | `state` | Current lifecycle state of the snapshot. |
| `Trigger` | `Models.Storage.DiskSnapshot_trigger?` | `trigger` | MANUAL for a snapshot someone asked for, SCHEDULE for one a snapshot schedule took (and may delete beyond `keep`). |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
