SDK reference / Models / Patching
PatchWindow
Kind: class
Namespace: Egulu.Sdk.Models.Patching
A maintenance window: a recurring schedule, a duration and a cutoff, a policy and a target.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
CreateTime | DateTimeOffset? | createTime | The createTime property |
CutoffMinutes | int? | cutoffMinutes | No batch starts in the last this many minutes of the window. |
DisplayName | string? | displayName | The displayName property |
DurationMinutes | int? | durationMinutes | 30 to 1440. |
Enabled | bool? | enabled | The enabled property |
Etag | string? | etag | The etag property |
LastRunState | string? | lastRunState | The state of the last run. |
LastRunTime | DateTimeOffset? | lastRunTime | The lastRunTime property |
Name | string? | name | projects/{project}/locations/{location}/patchWindows/{window}. |
NextRunTime | DateTimeOffset? | nextRunTime | The next scheduled start; absent when disabled. |
Policy | string? | policy | The policy's ID. |
Schedule | string? | schedule | Five cron fields (minute hour day-of-month month day-of-week): numbers, lists, ranges and steps. |
Target | Models.Patching.PatchTarget? | target | 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`. |
TimeZone | string? | timeZone | An IANA time zone. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |