Compute Engine v1 API - Enum PreservedStatePreservedDisk.Types.Mode (2.13.0)

public enum PreservedStatePreservedDisk.Types.Mode

Reference documentation and code samples for the Compute Engine v1 API enum PreservedStatePreservedDisk.Types.Mode.

The mode in which to attach this disk, either READ_WRITE or READ_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

NameDescription
ReadOnly

Attaches this disk in read-only mode. Multiple VM instances can use a disk in READ_ONLY mode at a time.

ReadWrite

[Default] Attaches this disk in READ_WRITE mode. Only one VM instance at a time can be attached to a disk in READ_WRITE mode.

UndefinedMode

A value indicating that the enum field is not set.