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
| Name | Type | JSON name | Description |
|---|---|---|---|
DaysSinceScan | int? | daysSinceScan | The daysSinceScan property |
Instance | string? | instance | The VM's ID. |
LastScanTime | DateTimeOffset? | lastScanTime | The lastScanTime property |
LastSuccessfulPatchTime | DateTimeOffset? | lastSuccessfulPatchTime | The lastSuccessfulPatchTime property |
Name | string? | name | projects/{project}/locations/{location}/patchCompliance/{instance}. |
OsFamily | string? | osFamily | The osFamily property |
PendingCritical | int? | pendingCritical | The pendingCritical property |
PendingOther | int? | pendingOther | The pendingOther property |
PendingSecurity | int? | pendingSecurity | The pendingSecurity property |
Policy | string? | policy | The policy of the first enabled window that reaches the VM, if any. |
Reason | string? | reason | The reason property |
RebootRequired | bool? | rebootRequired | The rebootRequired property |
State | Models.Patching.PatchCompliance_state? | state | The state property |