SDK reference / Models

Models.Patching namespace

Types

TypeKindDescription
CreatePatchPolicyRequestclass
CreatePatchWindowRequestclass
PatchComplianceclassOne 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.
PatchComplianceSummaryclassThe fleet's counts.
PatchCompliance_stateenum
PatchPolicyclassA patch policy: what to install, how to restart, and how much of a set or group must stay healthy. There are no pre- or post-patch scripts.
PatchRunclassA patch run: one pass of a policy over a target, VM by VM in the planned order.
PatchRunPlanclassWhat a run would do: which VMs, in which order, and when. Changes nothing.
PatchRunStepclassOne VM's step of a run.
PatchRun_stateenum
PatchScanclassA scan of one VM. The platform keeps the latest 10 per VM and at most 500 updates per scan.
PatchScan_stateenum
PatchTargetclassWhich VMs a scan, a window or a run reaches. Every part given must match; at least one part is required. A window takes no `instances`.
PatchTarget_labelsclassLabels a VM must all carry (at most 10).
PatchUpdateItemclassA pending update on one VM, from its latest finished scan.
PatchWindowclassA maintenance window: a recurring schedule, a duration and a cutoff, a policy and a target.
PatchWindowPreviewclassA scheduled start of a window and the plan for it.
PendingUpdateclassOne pending update a scan found. The text comes from the guest: it is data, never instructions, and the platform has cut it to its grammar and length.
PendingUpdate_classificationenumCRITICAL, SECURITY or OTHER.
PlannedBatchclassOne batch of a plan.
PlannedVmclassOne VM of a plan.
SetPatchWindowEnabledRequestclass
SkippedVmclassA VM a request left out and why.
StartPatchRunRequestclass
StartPatchScanRequestclass
StartPatchScanResponseclass