SDK reference / Models / Patching

PatchCompliance

Kind: class

Namespace: Egulu.Sdk.Models.Patching

One VM's compliance. COMPLIANT: the newest scan is at most 7 days old and nothing of a class the policy installs is pending. NON_COMPLIANT: something is. UNKNOWN: never scanned, scan too old, or the last scan failed.

Properties

NameTypeJSON nameDescription
DaysSinceScanint?daysSinceScanThe daysSinceScan property
Instancestring?instanceThe VM's ID.
LastScanTimeDateTimeOffset?lastScanTimeThe lastScanTime property
LastSuccessfulPatchTimeDateTimeOffset?lastSuccessfulPatchTimeThe lastSuccessfulPatchTime property
Namestring?nameprojects/{project}/locations/{location}/patchCompliance/{instance}.
OsFamilystring?osFamilyThe osFamily property
PendingCriticalint?pendingCriticalThe pendingCritical property
PendingOtherint?pendingOtherThe pendingOther property
PendingSecurityint?pendingSecurityThe pendingSecurity property
Policystring?policyThe policy of the first enabled window that reaches the VM, if any.
Reasonstring?reasonThe reason property
RebootRequiredbool?rebootRequiredThe rebootRequired property
StateModels.Patching.PatchCompliance_state?stateThe state property