Table of Contents

Class ConfigUpdate

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

A configuration mutation. Prefer the typed helpers on IConfigClient.

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

Properties

Annotations

Opaque annotations stored with the policy revision. Must not contain secrets.

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

Property Value

IReadOnlyDictionary<string, string>

DeleteSetting

Delete SettingKey. Only global deletes are supported by the gateway.

public bool DeleteSetting { get; init; }

Property Value

bool

ExpectedResourceVersion

Optimistic-concurrency pin on the sandbox resource version; zero uses the current version.

public ulong ExpectedResourceVersion { get; init; }

Property Value

ulong

Global

Apply at gateway-global scope.

public bool Global { get; init; }

Property Value

bool

MergeOperations

Incremental policy merge operations; sandbox scope only.

public IReadOnlyList<PolicyMergeOperation>? MergeOperations { get; init; }

Property Value

IReadOnlyList<PolicyMergeOperation>

Policy

The new policy. Sandbox scope may only change network_policies; the static fields (filesystem, landlock, process) must match the create-time policy. Global scope applies in full with no merge.

public SandboxPolicy? Policy { get; init; }

Property Value

SandboxPolicy

RequestId

Idempotency key; a replay within 24 hours returns the original result.

public string? RequestId { get; init; }

Property Value

string

Sandbox

Target sandbox. Required for sandbox scope, must be empty for global scope.

public string? Sandbox { get; init; }

Property Value

string

SettingKey

Single setting key to upsert or delete.

public string? SettingKey { get; init; }

Property Value

string

SettingValue

Setting value for an upsert.

public SettingValue? SettingValue { get; init; }

Property Value

SettingValue