SDK reference / Models / Storage
Backup
Kind: class
Namespace: Egulu.Sdk.Models.Storage
One disk as of one slot of a plan (or of a manual run): an encrypted archive kept apart from the disk (ADR-0504, ADR-0511).
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Storage.Backup_annotations? | annotations | At most 256 KiB in all; never policy input. |
BackendMode | string? | backendMode | Backend mode: SIMULATED or ARCHIVE_RESTIC. |
ContentSha256 | string? | contentSha256 | SHA-256 of the disk's archive; a restore checks it before the new disk sees a byte. |
CopyLocation | string? | copyLocation | The peer location that holds the copy. |
CopyState | Models.Storage.Backup_copyState? | copyState | Where the copy in the peer location stands. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DisplayName | string? | displayName | Up to 63 characters. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
FailureReason | string? | failureReason | Why a FAILED backup failed, in words. |
KeepUntilTime | DateTimeOffset? | keepUntilTime | The backup is deleted at this time (ADR-0510: at most 35 days after it was taken). |
Kind | Models.Storage.Backup_kind? | kind | SCHEDULED or MANUAL. |
Labels | Models.Storage.Backup_labels? | labels | At most 64. |
Location | string? | location | Location ID where the backup was taken. |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
Plan | string? | plan | The plan that took it (projects/{p}/locations/{l}/backupPlans/{b}); stays after the plan is deleted, until the backup expires. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
Simulated | bool? | simulated | True when backed by the fake driver in lab or test environments. |
SizeBytes | long? | sizeBytes | Archive size in bytes. |
SizeGib | long? | sizeGib | The disk's size in GiB at that time (a restore creates a disk of at least this size). |
SlotTime | DateTimeOffset? | slotTime | The slot this backup is for (its scheduled time); one backup exists for a plan, disk and slot. |
SourceDisk | string? | sourceDisk | The disk it holds (projects/{p}/locations/{l}/disks/{d}). |
SourceDiskUid | string? | sourceDiskUid | The disk's UID. |
State | Models.Storage.Backup_state? | state | The state property |
TakenTime | DateTimeOffset? | takenTime | When the archive was complete. |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |