Table of Contents

Enum PolicyStatus

Namespace
Openshell.V1
Assembly
OpenShell.Sdk.dll

Policy load status.

public enum PolicyStatus

Fields

[OriginalName("POLICY_STATUS_UNSPECIFIED")] Unspecified = 0
[OriginalName("POLICY_STATUS_PENDING")] Pending = 1

Server received the update; sandbox has not yet loaded it.

[OriginalName("POLICY_STATUS_LOADED")] Loaded = 2

Sandbox successfully applied this policy version.

[OriginalName("POLICY_STATUS_FAILED")] Failed = 3

Sandbox attempted to apply but failed; LKG policy remains active. ListSandboxPolicies also uses FAILED for historical payloads that are invalid under the current schema; load_error contains the diagnostic.

[OriginalName("POLICY_STATUS_SUPERSEDED")] Superseded = 4

A newer version was persisted before the sandbox loaded this one.