Class AttachedDisk (1.11.2)

  AttachedDisk 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

A node-attached disk resource. Next ID: 8;

Attributes

Name
Description
source_disk
str
Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
mode
google.cloud.tpu_v2.types.AttachedDisk.DiskMode
The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.

Classes

DiskMode

  DiskMode 
 ( 
 value 
 ) 
 

The different mode of the attached disk.

Values: DISK_MODE_UNSPECIFIED (0): The disk mode is not known/set. READ_WRITE (1): Attaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time. READ_ONLY (2): Attaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time.

Design a Mobile Site
View Site in Mobile | Classic
Share by: