SDK reference / Models / Patching
PatchPolicy
Kind: class
Namespace: Egulu.Sdk.Models.Patching
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.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Classifications | List<string>? | classifications | CRITICAL, SECURITY and OTHER; the ones to install. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DisplayName | string? | displayName | The displayName property |
DomainPauseSeconds | int? | domainPauseSeconds | The wait between one update domain and the next (0 to 3600). |
Etag | string? | etag | The etag property |
ExcludePackages | List<string>? | excludePackages | Names (or a prefix and `*`) never installed; an exclude beats an include. At most 100. |
HealthGateSeconds | int? | healthGateSeconds | How long a VM has to answer after a restart (30 to 1800). |
IncludePackages | List<string>? | includePackages | Names (or a name prefix and one trailing `*`) to install; empty means every package. At most 100. |
MaxParallel | int? | maxParallel | How many VMs of one update domain are patched at once (1 to 10). |
MinHealthyPercent | int? | minHealthyPercent | The share of a set's or group's VMs that must stay healthy while a batch is patched (0 to 100). 0 allows a single VM to be patched. |
Name | string? | name | projects/{project}/locations/{location}/patchPolicies/{policy}. |
Reboot | string? | reboot | NEVER, IF_REQUIRED or ALWAYS. |
SnapshotBeforePatch | bool? | snapshotBeforePatch | Take a snapshot of the VM before it is patched; a cell with no snapshot driver then leaves the VM alone. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
VmTimeoutMinutes | int? | vmTimeoutMinutes | The longest one VM's step may take (5 to 240). |
WindowCount | int? | windowCount | Maintenance windows that use the policy. |