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
DeleteSetting
Delete SettingKey. Only global deletes are supported by the gateway.
public bool DeleteSetting { get; init; }
Property Value
ExpectedResourceVersion
Optimistic-concurrency pin on the sandbox resource version; zero uses the current version.
public ulong ExpectedResourceVersion { get; init; }
Property Value
Global
Apply at gateway-global scope.
public bool Global { get; init; }
Property Value
MergeOperations
Incremental policy merge operations; sandbox scope only.
public IReadOnlyList<PolicyMergeOperation>? MergeOperations { get; init; }
Property Value
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
RequestId
Idempotency key; a replay within 24 hours returns the original result.
public string? RequestId { get; init; }
Property Value
Sandbox
Target sandbox. Required for sandbox scope, must be empty for global scope.
public string? Sandbox { get; init; }
Property Value
SettingKey
Single setting key to upsert or delete.
public string? SettingKey { get; init; }
Property Value
SettingValue
Setting value for an upsert.
public SettingValue? SettingValue { get; init; }