Package com.google.cloud.compute.v1
Interface InstanceGroupManagerAutoHealingPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceGroupManagerAutoHealingPolicy,InstanceGroupManagerAutoHealingPolicy.Builder
@Generated
public interface InstanceGroupManagerAutoHealingPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe URL for the health check that signals autohealing.com.google.protobuf.ByteStringThe URL for the health check that signals autohealing.intThe initial delay is the number of seconds that a new VM takes to initialize and run its startup script.booleanThe URL for the health check that signals autohealing.booleanThe initial delay is the number of seconds that a new VM takes to initialize and run its startup script.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasHealthCheck
boolean hasHealthCheck()The URL for the health check that signals autohealing.
optional string health_check = 308876645;- Returns:
- Whether the healthCheck field is set.
-
getHealthCheck
String getHealthCheck()The URL for the health check that signals autohealing.
optional string health_check = 308876645;- Returns:
- The healthCheck.
-
getHealthCheckBytes
com.google.protobuf.ByteString getHealthCheckBytes()The URL for the health check that signals autohealing.
optional string health_check = 308876645;- Returns:
- The bytes for healthCheck.
-
hasInitialDelaySec
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:
- Whether the initialDelaySec field is set.
-
getInitialDelaySec
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:
- The initialDelaySec.
-