public sealed class InstanceGroupManagerAutoHealingPolicy : IMessage<InstanceGroupManagerAutoHealingPolicy>, IEquatable<InstanceGroupManagerAutoHealingPolicy>, IDeepCloneable<InstanceGroupManagerAutoHealingPolicy>, IBufferMessage, IMessage
Implements
IMessageInstanceGroupManagerAutoHealingPolicy, IEquatableInstanceGroupManagerAutoHealingPolicy, IDeepCloneableInstanceGroupManagerAutoHealingPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
InstanceGroupManagerAutoHealingPolicy()
public InstanceGroupManagerAutoHealingPolicy()
InstanceGroupManagerAutoHealingPolicy(InstanceGroupManagerAutoHealingPolicy)
public InstanceGroupManagerAutoHealingPolicy(InstanceGroupManagerAutoHealingPolicy other)
Parameter | |
---|---|
Name | Description |
other |
InstanceGroupManagerAutoHealingPolicy |
Properties
HasHealthCheck
public bool HasHealthCheck { get; }
Gets whether the "health_check" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasInitialDelaySec
public bool HasInitialDelaySec { get; }
Gets whether the "initial_delay_sec" field is set
Property Value | |
---|---|
Type | Description |
bool |
HealthCheck
public string HealthCheck { get; set; }
The URL for the health check that signals autohealing.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int |