Package org.ovirt.engine.sdk4.types
Enum DiskContentType
- java.lang.Object
-
- java.lang.Enum<DiskContentType>
-
- org.ovirt.engine.sdk4.types.DiskContentType
-
- All Implemented Interfaces:
Serializable
,Comparable<DiskContentType>
public enum DiskContentType extends Enum<DiskContentType>
The actual content residing on the disk.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKUP_SCRATCH
The disk contains protected VM backup data.DATA
The disk contains data.HOSTED_ENGINE
The disk contains the Hosted Engine VM disk.HOSTED_ENGINE_CONFIGURATION
The disk contains the Hosted Engine configuration disk.HOSTED_ENGINE_METADATA
The disk contains the Hosted Engine metadata disk.HOSTED_ENGINE_SANLOCK
The disk contains the Hosted Engine Sanlock disk.ISO
The disk contains an ISO image to be used a CDROM device.MEMORY_DUMP_VOLUME
The disk contains a memory dump from a live snapshot.MEMORY_METADATA_VOLUME
The disk contains memory metadata from a live snapshot.OVF_STORE
The disk is an OVF store.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiskContentType
fromValue(String value)
String
value()
static DiskContentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DiskContentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BACKUP_SCRATCH
public static final DiskContentType BACKUP_SCRATCH
The disk contains protected VM backup data.
-
DATA
public static final DiskContentType DATA
The disk contains data.
-
HOSTED_ENGINE
public static final DiskContentType HOSTED_ENGINE
The disk contains the Hosted Engine VM disk.
-
HOSTED_ENGINE_CONFIGURATION
public static final DiskContentType HOSTED_ENGINE_CONFIGURATION
The disk contains the Hosted Engine configuration disk.
-
HOSTED_ENGINE_METADATA
public static final DiskContentType HOSTED_ENGINE_METADATA
The disk contains the Hosted Engine metadata disk.
-
HOSTED_ENGINE_SANLOCK
public static final DiskContentType HOSTED_ENGINE_SANLOCK
The disk contains the Hosted Engine Sanlock disk.
-
ISO
public static final DiskContentType ISO
The disk contains an ISO image to be used a CDROM device.
-
MEMORY_DUMP_VOLUME
public static final DiskContentType MEMORY_DUMP_VOLUME
The disk contains a memory dump from a live snapshot.
-
MEMORY_METADATA_VOLUME
public static final DiskContentType MEMORY_METADATA_VOLUME
The disk contains memory metadata from a live snapshot.
-
OVF_STORE
public static final DiskContentType OVF_STORE
The disk is an OVF store.
-
-
Method Detail
-
values
public static DiskContentType[] 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 (DiskContentType c : DiskContentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiskContentType 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 DiskContentType fromValue(String value)
-
-