public enum PreservedStatePreservedDisk.Mode extends Enum<PreservedStatePreservedDisk.Mode> implements ProtocolMessageEnumThe 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.
Protobuf enum google.cloud.compute.v1.PreservedStatePreservedDisk.Mode
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
READ_ONLY |
Attaches this disk in read-only mode. Multiple VM instances can use a disk in READ_ONLY mode at a time. |
READ_ONLY_VALUE |
Attaches this disk in read-only mode. Multiple VM instances can use a disk in READ_ONLY mode at a time. |
READ_WRITE |
[Default] Attaches this disk in READ_WRITE mode. Only one VM instance at a time can be attached to a disk inREAD_WRITE mode. |
READ_WRITE_VALUE |
[Default] Attaches this disk in READ_WRITE mode. Only one VM instance at a time can be attached to a disk inREAD_WRITE mode. |
UNDEFINED_MODE |
A value indicating that the enum field is not set. |
UNDEFINED_MODE_VALUE |
A value indicating that the enum field is not set. |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|