AttachedDiskMode

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

The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.

Entries

Link copied to clipboard

The disk mode is not known/set.

Link copied to clipboard

Attaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time.

Link copied to clipboard

Attaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time.

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