mode property

String? mode
getter/setter pair

The mode in which to attach this disk.

Optional. Possible string values are:

  • "DISK_MODE_UNSPECIFIED" : Default value, which is unused.
  • "READ_WRITE" : Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
  • "READ_ONLY" : Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
  • "LOCKED" : The disk is locked for administrative reasons. Nobody else can use the disk. This mode is used (for example) when taking a snapshot of a disk to prevent mounting the disk while it is being snapshotted.

Implementation

core.String? mode;