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 = 1Server received the update; sandbox has not yet loaded it.
[OriginalName("POLICY_STATUS_LOADED")] Loaded = 2Sandbox successfully applied this policy version.
[OriginalName("POLICY_STATUS_FAILED")] Failed = 3Sandbox 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 = 4A newer version was persisted before the sandbox loaded this one.