public enum InstanceGroupManagerInstanceLifecyclePolicy.DefaultActionOnFailure extends Enum<InstanceGroupManagerInstanceLifecyclePolicy.DefaultActionOnFailure> implements ProtocolMessageEnum The action that a MIG performs on a failed VM. If the value of the
onFailedHealthCheck field is DEFAULT_ACTION, then the same action also
applies to the VMs on which your application fails a health check.
Valid values are
- REPAIR (default): MIG automatically repairs a failed VM by recreating it. For more information, see About repairing VMs in a MIG.
- DO_NOTHING: MIG does not repair a failed VM. Additional supported values which may be not listed in the enum directly due to technical reasons: DO_NOTHING REPAIR
Protobuf enum
google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy.DefaultActionOnFailure
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
DO_NOTHING |
|
DO_NOTHING_VALUE |
|
REPAIR |
|
REPAIR_VALUE |
|
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() |
|