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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
DO_NOTHING |
MIG does not repair a failed or an unhealthy VM. |
DO_NOTHING_VALUE |
MIG does not repair a failed or an unhealthy VM. |
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_VALUE |
(Default) MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. |
UNDEFINED_DEFAULT_ACTION_ON_FAILURE |
A value indicating that the enum field is not set. |
UNDEFINED_DEFAULT_ACTION_ON_FAILURE_VALUE |
A value indicating that the enum field is not set. |
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() |