Class SandboxWorkloadTemplate
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
A reusable, named workload shape that sandboxes can be created from.
public sealed record SandboxWorkloadTemplate : IEquatable<SandboxWorkloadTemplate>
- Inheritance
-
SandboxWorkloadTemplate
- Implements
- Inherited Members
Properties
Annotations
User annotations.
public IReadOnlyDictionary<string, string>? Annotations { get; init; }
Property Value
CreatedAt
Creation time.
public DateTimeOffset? CreatedAt { get; init; }
Property Value
DriverConfigJson
Driver-keyed opaque configuration as a JSON object.
public string? DriverConfigJson { get; init; }
Property Value
Environment
Environment injected into the sandbox runtime.
public IReadOnlyDictionary<string, string>? Environment { get; init; }
Property Value
Id
Immutable identifier; empty before creation.
public string? Id { get; init; }
Property Value
Image
Fully-qualified OCI image reference.
public string? Image { get; init; }
Property Value
Labels
User labels.
public IReadOnlyDictionary<string, string>? Labels { get; init; }
Property Value
Name
Canonical name within the workspace.
public required string Name { get; init; }
Property Value
ResourceVersion
Optimistic-concurrency version.
public ulong ResourceVersion { get; init; }
Property Value
Resources
Portable resource requirements.
public WorkloadResources? Resources { get; init; }
Property Value
Startup
Desired startup service level.
public StartupServiceLevel? Startup { get; init; }
Property Value
Workspace
Owning workspace; empty before creation.
public string? Workspace { get; init; }