Table of Contents

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

IReadOnlyDictionary<string, string>

CreatedAt

Creation time.

public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

DriverConfigJson

Driver-keyed opaque configuration as a JSON object.

public string? DriverConfigJson { get; init; }

Property Value

string

Environment

Environment injected into the sandbox runtime.

public IReadOnlyDictionary<string, string>? Environment { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Id

Immutable identifier; empty before creation.

public string? Id { get; init; }

Property Value

string

Image

Fully-qualified OCI image reference.

public string? Image { get; init; }

Property Value

string

Labels

User labels.

public IReadOnlyDictionary<string, string>? Labels { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Name

Canonical name within the workspace.

public required string Name { get; init; }

Property Value

string

ResourceVersion

Optimistic-concurrency version.

public ulong ResourceVersion { get; init; }

Property Value

ulong

Resources

Portable resource requirements.

public WorkloadResources? Resources { get; init; }

Property Value

WorkloadResources

Startup

Desired startup service level.

public StartupServiceLevel? Startup { get; init; }

Property Value

StartupServiceLevel

Workspace

Owning workspace; empty before creation.

public string? Workspace { get; init; }

Property Value

string