Interface InstanceGroupManagerAutoHealingPolicyOrBuilder (1.7.2)

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 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].

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 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].

optional int32 initial_delay_sec = 263207002;

Returns
TypeDescription
boolean

Whether the initialDelaySec field is set.