Class SandboxUpdate
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
A change to a stopped sandbox's configuration, for UpdateAsync(string, ulong, SandboxUpdate, UpdateSandboxOptions?, CancellationToken). A null property is left unchanged; a non-null one replaces the current value, and an empty collection is meaningful.
public sealed record SandboxUpdate : IEquatable<SandboxUpdate>
- Inheritance
-
SandboxUpdate
- Implements
- Inherited Members
Properties
Annotations
The new user annotations. Gateway-owned annotations are preserved; system keys are rejected.
public IReadOnlyDictionary<string, string>? Annotations { get; init; }
Property Value
Command
The new command (argv). An empty list runs the image's default shell.
public IReadOnlyList<string>? Command { get; init; }
Property Value
Environment
The new sandbox-level environment overrides. An empty map clears them; template defaults remain.
public IReadOnlyDictionary<string, string>? Environment { get; init; }
Property Value
Image
A new OCI image reference. Must not be empty.
public string? Image { get; init; }
Property Value
Labels
The new user labels. Gateway-owned labels are preserved; system keys are rejected.
public IReadOnlyDictionary<string, string>? Labels { get; init; }