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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This page provides documentation for the `InstanceGroupManagerInstanceLifecyclePolicy.Types.DefaultActionOnFailure` enum within the Google Compute Engine v1 API."],["The latest version documented is 3.6.0, with a comprehensive list of versions ranging from 1.0.0 to 3.6.0, allowing users to navigate to documentation for specific version of this class."],["The `DefaultActionOnFailure` enum dictates the action taken by a Managed Instance Group (MIG) when a virtual machine (VM) fails or becomes unhealthy."],["The enum supports two main actions: `Repair`, where the MIG automatically recreates the VM, and `DoNothing`, where the MIG does not attempt to repair the VM."],["`UndefinedDefaultActionOnFailure` is a field to indicate when the enum field is not set."]]],[]]