Google Cloud OS Config v1 API - Class PatchConfig (2.3.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
NameDescription
otherPatchConfig

Properties

Apt

public AptSettings Apt { get; set; }

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

Property Value
TypeDescription
AptSettings

Goo

public GooSettings Goo { get; set; }

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

Property Value
TypeDescription
GooSettings

MigInstancesAllowed

public bool MigInstancesAllowed { get; set; }

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

Property Value
TypeDescription
bool

PostStep

public ExecStep PostStep { get; set; }

The ExecStep to run after the patch update.

Property Value
TypeDescription
ExecStep

PreStep

public ExecStep PreStep { get; set; }

The ExecStep to run before the patch update.

Property Value
TypeDescription
ExecStep

RebootConfig

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

Post-patch reboot settings.

Property Value
TypeDescription
PatchConfigTypesRebootConfig

WindowsUpdate

public WindowsUpdateSettings WindowsUpdate { get; set; }

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

Property Value
TypeDescription
WindowsUpdateSettings

Yum

public YumSettings Yum { get; set; }

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

Property Value
TypeDescription
YumSettings

Zypper

public ZypperSettings Zypper { get; set; }

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

Property Value
TypeDescription
ZypperSettings