Package org.ovirt.engine.sdk4.types
Enum DiskInterface
- java.lang.Object
-
- java.lang.Enum<DiskInterface>
-
- org.ovirt.engine.sdk4.types.DiskInterface
-
- All Implemented Interfaces:
Serializable
,Comparable<DiskInterface>
public enum DiskInterface extends Enum<DiskInterface>
The underlying storage interface of disks communication with controller.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IDE
Legacy controller device.SATA
SATA controller device.SPAPR_VSCSI
Para-virtualized device supported by the IBM pSeries family of machines, using the SCSI protocol.VIRTIO
Virtualization interface where just the guest's device driver knows it is running in a virtual environment.VIRTIO_SCSI
Para-virtualized SCSI controller device.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiskInterface
fromValue(String value)
String
value()
static DiskInterface
valueOf(String name)
Returns the enum constant of this type with the specified name.static DiskInterface[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDE
public static final DiskInterface IDE
Legacy controller device. Works with almost all guest operating systems, so it is good for compatibility. Performance is lower than with the other alternatives.
-
SATA
public static final DiskInterface SATA
SATA controller device.
-
SPAPR_VSCSI
public static final DiskInterface SPAPR_VSCSI
Para-virtualized device supported by the IBM pSeries family of machines, using the SCSI protocol.
-
VIRTIO
public static final DiskInterface VIRTIO
Virtualization interface where just the guest's device driver knows it is running in a virtual environment. Enables guests to get high performance disk operations.
-
VIRTIO_SCSI
public static final DiskInterface VIRTIO_SCSI
Para-virtualized SCSI controller device. Fast interface with the guest via direct physical storage device address, using the SCSI protocol.
-
-
Method Detail
-
values
public static DiskInterface[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DiskInterface c : DiskInterface.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiskInterface valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static DiskInterface fromValue(String value)
-
-