SDK reference / Models / Storage

FileShare

Kind: class

Namespace: Egulu.Sdk.Models.Storage

A file share on a ZFS dataset exported over NFSv4 by a gateway VM inside the tenant network (ADR-0513).

Properties

NameTypeJSON nameDescription
AnnotationsModels.Storage.FileShare_annotations?annotationsAt most 256 KiB in all; never policy input.
BackendModestring?backendModeBackend mode: SIMULATED when backed by the fake driver, INCUS_NFS_GATEWAY on a live gateway VM.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
LabelsModels.Storage.FileShare_labels?labelsAt most 64.
Locationstring?locationLocation ID where the share is homed (for example lab-de1).
MountTargetsList<Models.Storage.FileShareMountTarget>?mountTargetsWhere to mount the share from; filled once the gateway serves it.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
Networkstring?networkNetwork the share is exported into; the project's own network (default) is the only one a project has today.
ProtocolModels.Storage.FileShare_protocol?protocolShare protocol; NFS_V4 is the only value.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
Simulatedbool?simulatedTrue when backed by FakeFileShareDriver in lab/test environments rather than a live NFS gateway.
SizeGiblong?sizeGibProvisioned size in GiB (10–1024; grows online, never shrinks).
StateModels.Storage.FileShare_state?stateCurrent lifecycle state of the share.
SuspendReasonstring?suspendReasonWhy the platform paused the share, for example spend-cap (ADR-1103 §7); clears automatically when the cause clears.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property