Compute Engine v1 API - Enum AttachedDisk.Types.Mode (3.29.0)
Stay organized with collections
Save and categorize content based on your preferences.
public enum AttachedDisk.Types.Mode
Reference documentation and code samples for the Compute Engine v1 API enum AttachedDisk.Types.Mode.
The mode in which to attach this disk, either READ_WRITE orREAD_ONLY. If not specified, the default is to attach the disk
in READ_WRITE mode.
Namespace
Google.Cloud.Compute.V1
Assembly
Google.Cloud.Compute.V1.dll
Fields
|
| Name |
Description |
ReadOnly |
Attaches this disk in read-only mode. Multiple virtual machines can use
a disk in read-only mode at a time.
|
ReadWrite |
[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.
|
UndefinedMode |
A value indicating that the enum field is not set.
|
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 2026-07-26 UTC.
[null,null,["Last updated 2026-07-26 UTC."],[],[]]