SDK reference / Models / Sandboxes
Sandbox
Kind: class
Namespace: Egulu.Sdk.Models.Sandboxes
Ephemeral isolated sandbox running untrusted agent code in the UNTRUSTED node pool (ADR-0904, ADR-0718).
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
AllowedEgressDomains | List<string>? | allowedEgressDomains | Up to 20 HTTPS domain names permitted via Smokescreen when `egressMode` is `allowlist`. |
Annotations | Models.Sandboxes.Sandbox_annotations? | annotations | At most 256 KiB in all; never policy input. |
Claimable | bool? | claimable | Whether this pre-warmed/pool sandbox may be claimed atomically by a caller (W46). |
ClaimedByPrincipal | string? | claimedByPrincipal | Principal that claimed this sandbox via `:claim` (W46). |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DisplayName | string? | displayName | Up to 63 characters. |
EgressMode | Models.Sandboxes.SandboxEgressMode? | egressMode | Outbound egress mode: `none` (default), `mirrors`, `allowlist`, or `internet` (`R4` when requested by an agent). |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
ExpireTime | DateTimeOffset? | expireTime | Hard expiration timestamp (`createTime + ttlSeconds`). |
IdleTimeoutSeconds | int? | idleTimeoutSeconds | Idle timeout in seconds before automatic termination (`60..3600`; default `600`). |
ImageDigest | string? | imageDigest | Immutable digest-pinned container image (`...@sha256:<64 hex>`, ADR-0703). |
Labels | Models.Sandboxes.Sandbox_labels? | labels | At most 64. |
LastActivityTime | DateTimeOffset? | lastActivityTime | Timestamp of the most recent `:exec`, `:writeFiles`, or `:readFiles` activity. |
LastWorkspaceSaveTime | DateTimeOffset? | lastWorkspaceSaveTime | Timestamp of the most recent workspace auto-save snapshot (W106). |
MemoryGiB | int? | memoryGiB | Allocated memory in GiB (`1`, `4`, or `8`). |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
ProvisioningProblem | string? | provisioningProblem | The runtime's last refusal while it brings the sandbox up (for example the pod ending with its reason), until a pass succeeds. Asandbox that never ran ends `TERMINATED` with `terminatedReason` `provisioning-failed` after eight refusals in a row. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
RuntimeClassName | string? | runtimeClassName | Kubernetes `RuntimeClass` (`gvisor` for `standard`, `kata-clh` for `isolated`). |
Shape | Models.Sandboxes.SandboxShape? | shape | Compute shape: `s1` (1 vCPU / 1 GiB default), `s2` (2 vCPU / 4 GiB), `s4` (4 vCPU / 8 GiB). |
State | Models.Sandboxes.SandboxState? | state | Sandbox lifecycle states. |
SuspendReason | string? | suspendReason | Why the sandbox is paused (for example `spend-cap`), when paused. |
Template | Models.Sandboxes.SandboxTemplate? | template | Session template (`code` default, `ide`, or `shell`; never exposes a public URL per ADR-0718). |
TerminatedReason | string? | terminatedReason | Reason the sandbox entered `TERMINATED` (for example `ttl-expired` or `idle-timeout`), when terminated. |
Tier | Models.Sandboxes.SandboxTier? | tier | Isolation tier: `standard` (`gvisor`) or `isolated` (`kata-clh`). |
TtlSeconds | int? | ttlSeconds | Maximum lifetime in seconds (`1..3600` at P2; default `3600`). |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
VcpuCount | int? | vcpuCount | Allocated virtual CPUs (`1`, `2`, or `4`). |
WorkspaceVolumeId | string? | workspaceVolumeId | Persistent workspace volume ID auto-saved across IDE/console sessions (W106). |