Enum InstanceGroupManagerInstanceLifecyclePolicy.DefaultActionOnFailure (1.64.0)

public enum InstanceGroupManagerInstanceLifecyclePolicy.DefaultActionOnFailure extends Enum<InstanceGroupManagerInstanceLifecyclePolicy.DefaultActionOnFailure> implements ProtocolMessageEnum

The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.

Protobuf enum google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy.DefaultActionOnFailure

Implements

ProtocolMessageEnum

Static Fields

Name Description
DO_NOTHING

MIG does not repair a failed or an unhealthy VM.

DO_NOTHING = 451307513;

DO_NOTHING_VALUE

MIG does not repair a failed or an unhealthy VM.

DO_NOTHING = 451307513;

REPAIR

(Default) MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG.

REPAIR = 266277773;

REPAIR_VALUE

(Default) MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG.

REPAIR = 266277773;

UNDEFINED_DEFAULT_ACTION_ON_FAILURE

A value indicating that the enum field is not set.

UNDEFINED_DEFAULT_ACTION_ON_FAILURE = 0;

UNDEFINED_DEFAULT_ACTION_ON_FAILURE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_DEFAULT_ACTION_ON_FAILURE = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()