Google Cloud OS Config v1 API - Class PatchConfig (2.4.0)

public sealed class PatchConfig : IMessage<PatchConfig>, IEquatable<PatchConfig>, IDeepCloneable<PatchConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud OS Config v1 API class PatchConfig.

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

Inheritance

object > PatchConfig

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

PatchConfig()

public PatchConfig()

PatchConfig(PatchConfig)

public PatchConfig(PatchConfig other)
Parameter
Name Description
other PatchConfig

Properties

Apt

public AptSettings Apt { get; set; }

Apt update settings. Use this setting to override the default apt patch rules.

Property Value
Type Description
AptSettings

Goo

public GooSettings Goo { get; set; }

Goo update settings. Use this setting to override the default goo patch rules.

Property Value
Type Description
GooSettings

MigInstancesAllowed

public bool MigInstancesAllowed { get; set; }

Allows the patch job to run on Managed instance groups (MIGs).

Property Value
Type Description
bool

PostStep

public ExecStep PostStep { get; set; }

The ExecStep to run after the patch update.

Property Value
Type Description
ExecStep

PreStep

public ExecStep PreStep { get; set; }

The ExecStep to run before the patch update.

Property Value
Type Description
ExecStep

RebootConfig

public PatchConfig.Types.RebootConfig RebootConfig { get; set; }

Post-patch reboot settings.

Property Value
Type Description
PatchConfigTypesRebootConfig

WindowsUpdate

public WindowsUpdateSettings WindowsUpdate { get; set; }

Windows update settings. Use this override the default windows patch rules.

Property Value
Type Description
WindowsUpdateSettings

Yum

public YumSettings Yum { get; set; }

Yum update settings. Use this setting to override the default yum patch rules.

Property Value
Type Description
YumSettings

Zypper

public ZypperSettings Zypper { get; set; }

Zypper update settings. Use this setting to override the default zypper patch rules.

Property Value
Type Description
ZypperSettings