Skip to content
ocx
install

ConfigUpdateReport (1 of 2)

ConfigUpdateReportclassdataclass#

Re-exported from ocx_sdk._resultsView source
class ConfigUpdateReport(status: str, source: str | None = None, digest: str | None = None, policy: str | None = None, tag: str | None = None, fetched_at: str | None = None, paused_until: str | None = None, pinned: str | None = None, drift: Any = None, kill_switches: tuple[str, ...] = ())

ocx config update — the managed-config tier’s state.

status is the only field ocx always emits; the rest describe a tier that is actually configured, and a not_configured answer carries none of them.

Attributes

NameTypeDescription
statusstrnot_configured, already_current, updated, checked, or check_unavailable.
sourcestr | NoneThe OCI reference the snapshot follows.
digeststr | NoneThe snapshot’s digest.
policystr | Noneapply, notify, or manual.
tagstr | NoneThe tag the source resolved to.
fetched_atstr | NoneWhen the snapshot was fetched.
paused_untilstr | NoneWhen an active pause expires.
pinnedstr | NoneThe version a pin holds it at.
driftAnyHow the on-disk state diverged, carried untyped.
kill_switchestuple[str, ...]Kill switches the snapshot activates.

digestattributeclass attributeinstance attribute#

digest: str | None = None

paused_untilattributeclass attributeinstance attribute#

paused_until: str | None = None

pinnedattributeclass attributeinstance attribute#

pinned: str | None = None

policyattributeclass attributeinstance attribute#

policy: str | None = None

sourceattributeclass attributeinstance attribute#

source: str | None = None

statusattributeinstance attribute#

status: str

tagattributeclass attributeinstance attribute#

tag: str | None = None

from_jsonmethodclassmethod#

def from_json(raw: str) -> ConfigUpdateReport

Parse ocx --format json config update output.