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

# PatchRun

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

A patch run: one pass of a policy over a target, VM by VM in the planned order.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `EndTime` | `DateTimeOffset?` | `endTime` | The endTime property |
| `FailedCount` | `int?` | `failedCount` | The failedCount property |
| `Failure` | `string?` | `failure` | The failure property |
| `InstalledCount` | `int?` | `installedCount` | The installedCount property |
| `Name` | `string?` | `name` | projects/{project}/locations/{location}/patchRuns/{run}. |
| `NothingToDoCount` | `int?` | `nothingToDoCount` | The nothingToDoCount property |
| `Policy` | `string?` | `policy` | The policy property |
| `RebootedCount` | `int?` | `rebootedCount` | The rebootedCount property |
| `RequestedBy` | `string?` | `requestedBy` | Who asked, for an on-demand run. |
| `ScheduledTime` | `DateTimeOffset?` | `scheduledTime` | The time the run was due: the window's start, or the request's time. |
| `SkippedCount` | `int?` | `skippedCount` | The skippedCount property |
| `StartTime` | `DateTimeOffset?` | `startTime` | The startTime property |
| `State` | `Models.Patching.PatchRun_state?` | `state` | The state property |
| `Trigger` | `string?` | `trigger` | SCHEDULED or ON_DEMAND. |
| `VmCount` | `int?` | `vmCount` | The vmCount property |
| `Window` | `string?` | `window` | The window's ID, for a scheduled run or an on-demand run of a window. |
