Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class DiskMode.
List of the Disk Modes.
Protobuf type google.cloud.backupdr.v1.AttachedDisk.DiskMode
Namespace
Google \ Cloud \ BackupDR \ V1 \ AttachedDiskMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
DISK_MODE_UNSPECIFIED
Value: 0
Default value, which is unused.
Generated from protobuf enum DISK_MODE_UNSPECIFIED = 0;
READ_WRITE
Value: 1
Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.
Generated from protobuf enum READ_WRITE = 1;
READ_ONLY
Value: 2
Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.
Generated from protobuf enum READ_ONLY = 2;
LOCKED
Value: 3
The disk is locked for administrative reasons. Nobody else can use the disk. This mode is used (for example) when taking a snapshot of a disk to prevent mounting the disk while it is being snapshotted.
Generated from protobuf enum LOCKED = 3;