Compute Engine v1 API - Class InstanceGroupManagerAutoHealingPolicy (2.12.0)

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

Inheritance

object > InstanceGroupManagerAutoHealingPolicy

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstanceGroupManagerAutoHealingPolicy()

public InstanceGroupManagerAutoHealingPolicy()

InstanceGroupManagerAutoHealingPolicy(InstanceGroupManagerAutoHealingPolicy)

public InstanceGroupManagerAutoHealingPolicy(InstanceGroupManagerAutoHealingPolicy other)
Parameter
NameDescription
otherInstanceGroupManagerAutoHealingPolicy

Properties

HasHealthCheck

public bool HasHealthCheck { get; }

Gets whether the "health_check" field is set

Property Value
TypeDescription
bool

HasInitialDelaySec

public bool HasInitialDelaySec { get; }

Gets whether the "initial_delay_sec" field is set

Property Value
TypeDescription
bool

HealthCheck

public string HealthCheck { get; set; }

The URL for the health check that signals autohealing.

Property Value
TypeDescription
string

InitialDelaySec

public int InitialDelaySec { get; set; }

The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.

Property Value
TypeDescription
int