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

# PatchScan

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Patching`  

A scan of one VM. The platform keeps the latest 10 per VM and at most 500 updates per scan.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DroppedLines` | `int?` | `droppedLines` | Lines of the guest's output the parsers dropped (too long, malformed, or a name outside the package-name grammar). |
| `EndTime` | `DateTimeOffset?` | `endTime` | The endTime property |
| `Failure` | `string?` | `failure` | Why a FAILED scan failed: a stable word (`no-guest-channel`, `os-unsupported`, `timeout`, `guest-error`, `guest-unreachable`), a colon and a sentence. |
| `InstalledPackageCount` | `int?` | `installedPackageCount` | The installedPackageCount property |
| `Instance` | `string?` | `instance` | The VM's ID. |
| `Name` | `string?` | `name` | projects/{project}/locations/{location}/patchScans/{scan}. |
| `OsFamily` | `string?` | `osFamily` | DEBIAN, REDHAT, WINDOWS or UNKNOWN. |
| `OsName` | `string?` | `osName` | The osName property |
| `PendingCritical` | `int?` | `pendingCritical` | The pendingCritical property |
| `PendingOther` | `int?` | `pendingOther` | The pendingOther property |
| `PendingSecurity` | `int?` | `pendingSecurity` | The pendingSecurity property |
| `PendingTotal` | `int?` | `pendingTotal` | Updates pending in all (also those past the 500 stored). |
| `RebootRequired` | `bool?` | `rebootRequired` | The rebootRequired property |
| `StartTime` | `DateTimeOffset?` | `startTime` | The startTime property |
| `State` | `Models.Patching.PatchScan_state?` | `state` | The state property |
| `Truncated` | `bool?` | `truncated` | Whether a size cap cut the data. |
| `Updates` | `List<Models.Patching.PendingUpdate>?` | `updates` | The updates kept; present on a single scan, absent in a list. |
