# Class OnUpdateAction (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    OnUpdateAction(value)

Specifies which action to take on instance update with this
disk. Default is to use the existing disk.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `UNDEFINED_ON_UPDATE_ACTION` | A value indicating that the enum field is not set. |
| `RECREATE_DISK` | Always recreate the disk. |
| `RECREATE_DISK_IF_SOURCE_CHANGED` | Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. |
| `USE_EXISTING_DISK` | Use the existing disk, this is the default behaviour. |