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
Enums
Name
Description
UNDEFINED_DEFAULT_ACTION_ON_FAILURE
A value indicating that the enum field is not set.
DELETE
MIG deletes a failed or an unhealthy VM. Deleting the VM decreases the target size of the MIG.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class DefaultActionOnFailure (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.InstanceGroupManagerInstanceLifecyclePolicy.DefaultActionOnFailure)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.InstanceGroupManagerInstanceLifecyclePolicy.DefaultActionOnFailure) \n\n DefaultActionOnFailure(value)\n\nThe action that a MIG performs on a failed VM. If the value of the\nonFailedHealthCheck field is `DEFAULT_ACTION`, then the same\naction also applies to the VMs on which your application fails a\nhealth check. Valid values are - REPAIR (default): MIG automatically\nrepairs a failed VM by recreating it. For more information, see\nAbout repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a\nfailed VM. Additional supported values which may be not listed in\nthe enum directly due to technical reasons: DO_NOTHING REPAIR"]]