Class Sandbox
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
A sandbox as reported by the gateway.
public sealed record Sandbox : IEquatable<Sandbox>
- Inheritance
-
Sandbox
- Implements
- Inherited Members
Properties
Annotations
User annotations.
public IReadOnlyDictionary<string, string> Annotations { get; init; }
Property Value
Conditions
Status conditions.
public IReadOnlyList<SandboxCondition> Conditions { get; init; }
Property Value
CreatedAt
Creation time.
public DateTimeOffset? CreatedAt { get; init; }
Property Value
CurrentPolicyVersion
Currently active policy version.
public uint CurrentPolicyVersion { get; init; }
Property Value
DeletedAt
Deletion time, when deletion is in progress.
public DateTimeOffset? DeletedAt { get; init; }
Property Value
EndpointStatuses
What the supervisor last observed for each declared endpoint.
public IReadOnlyList<EndpointStatus> EndpointStatuses { get; init; }
Property Value
ExitCode
Exit code of the main process once it finished.
public int? ExitCode { get; init; }
Property Value
- int?
HostKeyFingerprint
SSH host key fingerprint, when known.
public string? HostKeyFingerprint { get; init; }
Property Value
Id
Immutable identifier.
public required string Id { get; init; }
Property Value
Image
Image from the desired spec, when set.
public string? Image { get; init; }
Property Value
Labels
User labels.
public IReadOnlyDictionary<string, string> Labels { get; init; }
Property Value
LastTokenGrantFailure
The latest gateway-managed token grant that failed in this sandbox; null when there is none.
public TokenGrantFailureObservation? LastTokenGrantFailure { get; init; }
Property Value
Name
Canonical name within the workspace.
public required string Name { get; init; }
Property Value
Phase
Current phase.
public SandboxPhase Phase { get; init; }
Property Value
ResourceVersion
Optimistic-concurrency version.
public ulong ResourceVersion { get; init; }
Property Value
RestartCount
Number of main-process restarts.
public uint RestartCount { get; init; }
Property Value
ServiceUrls
Exposed service URLs by service name; the unnamed service uses the empty key.
public IReadOnlyDictionary<string, string> ServiceUrls { get; init; }
Property Value
Workspace
Owning workspace.
public required string Workspace { get; init; }