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
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Storage.FileShare_annotations? | annotations | At most 256 KiB in all; never policy input. |
BackendMode | string? | backendMode | Backend mode: SIMULATED when backed by the fake driver, INCUS_NFS_GATEWAY on a live gateway VM. |
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. |
Labels | Models.Storage.FileShare_labels? | labels | At most 64. |
Location | string? | location | Location ID where the share is homed (for example lab-de1). |
MountTargets | List<Models.Storage.FileShareMountTarget>? | mountTargets | Where to mount the share from; filled once the gateway serves it. |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
Network | string? | network | Network the share is exported into; the project's own network (default) is the only one a project has today. |
Protocol | Models.Storage.FileShare_protocol? | protocol | Share protocol; NFS_V4 is the only value. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
Simulated | bool? | simulated | True when backed by FakeFileShareDriver in lab/test environments rather than a live NFS gateway. |
SizeGib | long? | sizeGib | Provisioned size in GiB (10–1024; grows online, never shrinks). |
State | Models.Storage.FileShare_state? | state | Current lifecycle state of the share. |
SuspendReason | string? | suspendReason | Why the platform paused the share, 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 |