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

NameTypeJSON nameDescription
ClassificationsList<string>?classificationsCRITICAL, SECURITY and OTHER; the ones to install.
CreateTimeDateTimeOffset?createTimeThe createTime property
DisplayNamestring?displayNameThe displayName property
DomainPauseSecondsint?domainPauseSecondsThe wait between one update domain and the next (0 to 3600).
Etagstring?etagThe etag property
ExcludePackagesList<string>?excludePackagesNames (or a prefix and `*`) never installed; an exclude beats an include. At most 100.
HealthGateSecondsint?healthGateSecondsHow long a VM has to answer after a restart (30 to 1800).
IncludePackagesList<string>?includePackagesNames (or a name prefix and one trailing `*`) to install; empty means every package. At most 100.
MaxParallelint?maxParallelHow many VMs of one update domain are patched at once (1 to 10).
MinHealthyPercentint?minHealthyPercentThe 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.
Namestring?nameprojects/{project}/locations/{location}/patchPolicies/{policy}.
Rebootstring?rebootNEVER, IF_REQUIRED or ALWAYS.
SnapshotBeforePatchbool?snapshotBeforePatchTake a snapshot of the VM before it is patched; a cell with no snapshot driver then leaves the VM alone.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
VmTimeoutMinutesint?vmTimeoutMinutesThe longest one VM's step may take (5 to 240).
WindowCountint?windowCountMaintenance windows that use the policy.