Enum AttachedDisk.Interface (1.11.0)

public enum AttachedDisk.Interface extends Enum<AttachedDisk.Interface> implements ProtocolMessageEnum

Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.

Protobuf enum google.cloud.compute.v1.AttachedDisk.Interface

Implements

ProtocolMessageEnum

Static Fields

NameDescription
NVME

NVME = 2408800;

NVME_VALUE

NVME = 2408800;

SCSI

SCSI = 2539686;

SCSI_VALUE

SCSI = 2539686;

UNDEFINED_INTERFACE

A value indicating that the enum field is not set.

UNDEFINED_INTERFACE = 0;

UNDEFINED_INTERFACE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_INTERFACE = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()