Table of Contents

Class Workspace

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

A workspace: the isolation boundary for sandboxes, providers and other resources.

public sealed record Workspace : IEquatable<Workspace>
Inheritance
Workspace
Implements
Inherited Members

Properties

CreatedAt

Creation time.

public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

Id

Immutable identifier.

public required string Id { get; init; }

Property Value

string

Labels

User labels.

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

Property Value

IReadOnlyDictionary<string, string>

Name

Canonical name.

public required string Name { get; init; }

Property Value

string

Phase

Lifecycle phase.

public WorkspacePhase Phase { get; init; }

Property Value

WorkspacePhase

ResourceVersion

Optimistic-concurrency version.

public ulong ResourceVersion { get; init; }

Property Value

ulong