# Class InstanceGroupManagerInstanceLifecyclePolicyOnRepair (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    InstanceGroupManagerInstanceLifecyclePolicyOnRepair(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

Configuration for VM repairs in the MIG.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attribute ||
|---|---|
| **Name** | **Description** |
| `allow_changing_zone` | `str` Specifies whether the MIG can change a VM's zone during a repair. Valid values are: - NO (default): MIG cannot change a VM's zone during a repair. - YES: MIG can select a different zone for the VM during a repair. Check the AllowChangingZone enum for the list of possible values. This field is a member of `oneof`_ `_allow_changing_zone`. |

## Classes

### AllowChangingZone

    AllowChangingZone(value)

Specifies whether the MIG can change a VM's zone during a
repair. Valid values are:

- NO (default): MIG cannot change a VM's zone during a repair.
- YES: MIG can select a different zone for the VM during a repair.