Class DiskMode (1.23.2)
Stay organized with collections
Save and categorize content based on your preferences.
The different mode of the attached disk.
Enums |
Name |
Description |
DISK_MODE_UNSPECIFIED |
The disk mode is not known/set. |
READ_WRITE |
Attaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time. |
READ_ONLY |
Attaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Class DiskMode (1.23.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.23.2 (latest)](/python/docs/reference/tpu/latest/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.23.0](/python/docs/reference/tpu/1.23.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.22.0](/python/docs/reference/tpu/1.22.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.21.0](/python/docs/reference/tpu/1.21.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.20.0](/python/docs/reference/tpu/1.20.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.19.1](/python/docs/reference/tpu/1.19.1/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.18.5](/python/docs/reference/tpu/1.18.5/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.17.0](/python/docs/reference/tpu/1.17.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.16.0](/python/docs/reference/tpu/1.16.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.15.0](/python/docs/reference/tpu/1.15.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.14.0](/python/docs/reference/tpu/1.14.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.13.0](/python/docs/reference/tpu/1.13.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.12.0](/python/docs/reference/tpu/1.12.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.11.2](/python/docs/reference/tpu/1.11.2/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.10.1](/python/docs/reference/tpu/1.10.1/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.9.0](/python/docs/reference/tpu/1.9.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.8.0](/python/docs/reference/tpu/1.8.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.7.2](/python/docs/reference/tpu/1.7.2/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.6.0](/python/docs/reference/tpu/1.6.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.5.2](/python/docs/reference/tpu/1.5.2/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.4.1](/python/docs/reference/tpu/1.4.1/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.3.4](/python/docs/reference/tpu/1.3.4/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.2.1](/python/docs/reference/tpu/1.2.1/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.1.0](/python/docs/reference/tpu/1.1.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [1.0.2](/python/docs/reference/tpu/1.0.2/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [0.2.2](/python/docs/reference/tpu/0.2.2/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode)\n- [0.1.0](/python/docs/reference/tpu/0.1.0/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode) \n\n DiskMode(value)\n\nThe different mode of the attached disk."]]