Google Cloud Tpu V2 Client - Class DiskMode (1.4.5)

Reference documentation and code samples for the Google Cloud Tpu V2 Client class DiskMode.

The different mode of the attached disk.

Protobuf type google.cloud.tpu.v2.AttachedDisk.DiskMode

Namespace

Google \ Cloud \ Tpu \ V2 \ AttachedDisk

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DISK_MODE_UNSPECIFIED

Value: 0

The disk mode is not known/set.

Generated from protobuf enum DISK_MODE_UNSPECIFIED = 0;

READ_WRITE

Value: 1

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

Generated from protobuf enum READ_WRITE = 1;

READ_ONLY

Value: 2

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

Generated from protobuf enum READ_ONLY = 2;