AttachedDiskMode

enum AttachedDiskMode : Enum<AttachedDiskMode> , ConvertibleToJava<AttachedDiskMode>

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

Entries

Link copied to clipboard

Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.

Link copied to clipboard

Default Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): AttachedDiskMode
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: AttachedDiskMode
Link copied to clipboard
Link copied to clipboard