Interface InstanceGroupManagerAutoHealingPolicyOrBuilder (1.38.0)

public interface InstanceGroupManagerAutoHealingPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHealthCheck()

public abstract String getHealthCheck()

The URL for the health check that signals autohealing.

optional string health_check = 308876645;

Returns
TypeDescription
String

The healthCheck.

getHealthCheckBytes()

public abstract ByteString getHealthCheckBytes()

The URL for the health check that signals autohealing.

optional string health_check = 308876645;

Returns
TypeDescription
ByteString

The bytes for healthCheck.

getInitialDelaySec()

public abstract int getInitialDelaySec()

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.

optional int32 initial_delay_sec = 263207002;

Returns
TypeDescription
int

The initialDelaySec.

hasHealthCheck()

public abstract boolean hasHealthCheck()

The URL for the health check that signals autohealing.

optional string health_check = 308876645;

Returns
TypeDescription
boolean

Whether the healthCheck field is set.

hasInitialDelaySec()

public abstract boolean hasInitialDelaySec()

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.

optional int32 initial_delay_sec = 263207002;

Returns
TypeDescription
boolean

Whether the initialDelaySec field is set.