Reference documentation and code samples for the Compute Engine v1 API enum InstanceGroupManagerInstanceLifecyclePolicy.Types.DefaultActionOnFailure.
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.
[[["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-08 UTC."],[[["\u003cp\u003eThis document provides versioned reference documentation for the \u003ccode\u003eInstanceGroupManagerInstanceLifecyclePolicy.Types.DefaultActionOnFailure\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this enum is 3.6.0, with a comprehensive list of versions from 1.0.0 up to 3.6.0 available for review.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDefaultActionOnFailure\u003c/code\u003e enum defines actions that a Managed Instance Group (MIG) can take when a VM fails or is unhealthy, including \u003ccode\u003eREPAIR\u003c/code\u003e (the default, where the VM is recreated) and \u003ccode\u003eDO_NOTHING\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere is also an \u003ccode\u003eUndefinedDefaultActionOnFailure\u003c/code\u003e value that signifies the field is unset.\u003c/p\u003e\n"],["\u003cp\u003eThe code samples and reference information fall within the namespace \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e and are part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]