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-03-24 UTC."],[[["This page provides documentation for the `InstanceGroupManagerInstanceLifecyclePolicy.Types.DefaultActionOnFailure` enum within the Google Cloud Compute Engine v1 API, specifically for version 3.4.0 and prior."],["The `DefaultActionOnFailure` enum defines the behavior of a Managed Instance Group (MIG) when a virtual machine (VM) fails or becomes unhealthy, such as when it fails a health check."],["The enum offers two main options: `REPAIR`, which is the default, where the MIG automatically recreates the failed VM, and `DO_NOTHING`, where the MIG takes no action on the failed VM."],["The latest version of this API is 3.6.0."],["The namespace the enum belongs to is `Google.Cloud.Compute.V1`, and it is part of the `Google.Cloud.Compute.V1.dll` assembly."]]],[]]