Table of Contents

Class SetPolicyOptions

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

Options for sandbox-scoped policy updates.

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

Properties

Annotations

Annotations stored with the revision.

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

Property Value

IReadOnlyDictionary<string, string>

ExpectedResourceVersion

Pin the sandbox resource version for optimistic concurrency.

public ulong ExpectedResourceVersion { get; init; }

Property Value

ulong

RequestId

Idempotency key.

public string? RequestId { get; init; }

Property Value

string

Wait

Poll the sandbox config until the applied policy hash is observed.

public bool Wait { get; init; }

Property Value

bool

WaitTimeout

Bound for Wait; defaults to 60 seconds.

public TimeSpan WaitTimeout { get; init; }

Property Value

TimeSpan