[SDK reference](../../index.md) / [Models](../index.md)

# Models.Patching namespace

## Types

| Type | Kind | Description |
|---|---|---|
| [CreatePatchPolicyRequest](CreatePatchPolicyRequest.md) | class |  |
| [CreatePatchWindowRequest](CreatePatchWindowRequest.md) | class |  |
| [PatchCompliance](PatchCompliance.md) | class | 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. |
| [PatchComplianceSummary](PatchComplianceSummary.md) | class | The fleet's counts. |
| [PatchCompliance_state](PatchCompliance_state.md) | enum |  |
| [PatchPolicy](PatchPolicy.md) | class | A 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. |
| [PatchRun](PatchRun.md) | class | A patch run: one pass of a policy over a target, VM by VM in the planned order. |
| [PatchRunPlan](PatchRunPlan.md) | class | What a run would do: which VMs, in which order, and when. Changes nothing. |
| [PatchRunStep](PatchRunStep.md) | class | One VM's step of a run. |
| [PatchRun_state](PatchRun_state.md) | enum |  |
| [PatchScan](PatchScan.md) | class | A scan of one VM. The platform keeps the latest 10 per VM and at most 500 updates per scan. |
| [PatchScan_state](PatchScan_state.md) | enum |  |
| [PatchTarget](PatchTarget.md) | class | Which 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_labels](PatchTarget_labels.md) | class | Labels a VM must all carry (at most 10). |
| [PatchUpdateItem](PatchUpdateItem.md) | class | A pending update on one VM, from its latest finished scan. |
| [PatchWindow](PatchWindow.md) | class | A maintenance window: a recurring schedule, a duration and a cutoff, a policy and a target. |
| [PatchWindowPreview](PatchWindowPreview.md) | class | A scheduled start of a window and the plan for it. |
| [PendingUpdate](PendingUpdate.md) | class | One 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_classification](PendingUpdate_classification.md) | enum | CRITICAL, SECURITY or OTHER. |
| [PlannedBatch](PlannedBatch.md) | class | One batch of a plan. |
| [PlannedVm](PlannedVm.md) | class | One VM of a plan. |
| [SetPatchWindowEnabledRequest](SetPatchWindowEnabledRequest.md) | class |  |
| [SkippedVm](SkippedVm.md) | class | A VM a request left out and why. |
| [StartPatchRunRequest](StartPatchRunRequest.md) | class |  |
| [StartPatchScanRequest](StartPatchScanRequest.md) | class |  |
| [StartPatchScanResponse](StartPatchScanResponse.md) | class |  |
