Class InstanceGroupManagerAutoHealingPolicy (2.0.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
Boolean

HasInitialDelaySec

public bool HasInitialDelaySec { get; }

Gets whether the "initial_delay_sec" field is set

Property Value
TypeDescription
Boolean

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 number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].

Property Value
TypeDescription
Int32