Class PatchConfig
Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.
Implements
Inherited Members
Namespace: Google.Apis.OSConfig.v1beta.Data
Assembly: Google.Apis.OSConfig.v1beta.dll
Syntax
public class PatchConfig : IDirectResponseSchema
Properties
Apt
Apt update settings. Use this setting to override the default apt patch rules.
Declaration
[JsonProperty("apt")]
public virtual AptSettings Apt { get; set; }
Property Value
| Type | Description |
|---|---|
| AptSettings |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Goo
Goo update settings. Use this setting to override the default goo patch rules.
Declaration
[JsonProperty("goo")]
public virtual GooSettings Goo { get; set; }
Property Value
| Type | Description |
|---|---|
| GooSettings |
MigInstancesAllowed
Allows the patch job to run on Managed instance groups (MIGs).
Declaration
[JsonProperty("migInstancesAllowed")]
public virtual bool? MigInstancesAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
PostStep
The ExecStep to run after the patch update.
Declaration
[JsonProperty("postStep")]
public virtual ExecStep PostStep { get; set; }
Property Value
| Type | Description |
|---|---|
| ExecStep |
PreStep
The ExecStep to run before the patch update.
Declaration
[JsonProperty("preStep")]
public virtual ExecStep PreStep { get; set; }
Property Value
| Type | Description |
|---|---|
| ExecStep |
RebootConfig
Post-patch reboot settings.
Declaration
[JsonProperty("rebootConfig")]
public virtual string RebootConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SkipUnpatchableVms
Optional. Enables enhanced reporting for the patch job: 1. Allows the patch job to skip unpatchable
instances, reporting them as SKIPPED. An instance can be unpatchable for two reasons: 1. The instance runs
Container-Optimized OS (COS), which cannot be patched. 2. The instance is part of a managed instance group
(MIG), and patching MIG instances is disabled in the patch job's configuration
(PatchConfig.migInstancesAllowed is false). 2. Reports the patch job as SUCCEEDED if it completes
without errors, even if some instances were SKIPPED. 3. Reports the patch job as
COMPLETED_WITH_INACTIVE_VMS if it completes without errors, but some instances were INACTIVE and were
not patched.
Declaration
[JsonProperty("skipUnpatchableVms")]
public virtual bool? SkipUnpatchableVms { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
WindowsUpdate
Windows update settings. Use this override the default windows patch rules.
Declaration
[JsonProperty("windowsUpdate")]
public virtual WindowsUpdateSettings WindowsUpdate { get; set; }
Property Value
| Type | Description |
|---|---|
| WindowsUpdateSettings |
Yum
Yum update settings. Use this setting to override the default yum patch rules.
Declaration
[JsonProperty("yum")]
public virtual YumSettings Yum { get; set; }
Property Value
| Type | Description |
|---|---|
| YumSettings |
Zypper
Zypper update settings. Use this setting to override the default zypper patch rules.
Declaration
[JsonProperty("zypper")]
public virtual ZypperSettings Zypper { get; set; }
Property Value
| Type | Description |
|---|---|
| ZypperSettings |