# Class DefaultActionOnFailure (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    DefaultActionOnFailure(value)

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, seeAbout
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. |
| `DO_NOTHING` | No description available. |
| `REPAIR` | No description available. |