# Class Mode (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    Mode(value)

The mode in which to attach this disk, either READ_WRITE
orREAD_ONLY. If not specified, the default is to attach the disk in
READ_WRITE mode.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `UNDEFINED_MODE` | A value indicating that the enum field is not set. |
| `READ_ONLY` | Attaches this disk in read-only mode. Multiple VM instances can use a disk in READ_ONLY mode at a time. |
| `READ_WRITE` | \*\[Default\]\* Attaches this disk in READ_WRITE mode. Only one VM instance at a time can be attached to a disk inREAD_WRITE mode. |