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
ExpectedResourceVersion
Pin the sandbox resource version for optimistic concurrency.
public ulong ExpectedResourceVersion { get; init; }
Property Value
RequestId
Idempotency key.
public string? RequestId { get; init; }
Property Value
Wait
Poll the sandbox config until the applied policy hash is observed.
public bool Wait { get; init; }
Property Value
WaitTimeout
Bound for Wait; defaults to 60 seconds.
public TimeSpan WaitTimeout { get; init; }