Show / Hide Table of Contents

Class PatchConfig

Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.

Inheritance
object
PatchConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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. The patch job skips instances that cannot be patched and reports them as SKIPPED. An instance cannot be patched 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. The patch job is reported as SUCCEEDED if it completes without errors, even if some instances are SKIPPED. 3. The patch job is reported as COMPLETED_WITH_INACTIVE_VMS if it completes without errors, but does not patch instances that are INACTIVE.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX