Enum DiskFormat
- java.lang.Object
-
- java.lang.Enum<DiskFormat>
-
- org.jclouds.openstack.glance.v1_0.domain.DiskFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<DiskFormat>
public enum DiskFormat extends Enum<DiskFormat>
The disk format of a virtual machine image is the format of the underlying disk image. Virtual appliance vendors have different formats for laying out the information contained in a virtual machine disk image.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AKI
This indicates what is stored in Glance is an Amazon kernel imageAMI
This indicates what is stored in Glance is an Amazon machine imageARI
This indicates what is stored in Glance is an Amazon ramdisk imageISO
An archive format for the data contents of an optical disc (e.g.QCOW2
A disk format supported by the QEMU emulator that can expand dynamically and supports Copy on WriteRAW
This is an unstructured disk image formatUNRECOGNIZED
Type unknown to jcloudsVDI
A disk format supported by VirtualBox virtual machine monitor and the QEMU emulatorVHD
This is the VHD disk format, a common disk format used by virtual machine monitors from VMWare, Xen, Microsoft, VirtualBox, and othersVMDK
Another common disk format supported by many common virtual machine monitors
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiskFormat
fromValue(String diskFormat)
String
toString()
String
value()
static DiskFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static DiskFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RAW
public static final DiskFormat RAW
This is an unstructured disk image format
-
VHD
public static final DiskFormat VHD
This is the VHD disk format, a common disk format used by virtual machine monitors from VMWare, Xen, Microsoft, VirtualBox, and others
-
VMDK
public static final DiskFormat VMDK
Another common disk format supported by many common virtual machine monitors
-
VDI
public static final DiskFormat VDI
A disk format supported by VirtualBox virtual machine monitor and the QEMU emulator
-
ISO
public static final DiskFormat ISO
An archive format for the data contents of an optical disc (e.g. CDROM).
-
QCOW2
public static final DiskFormat QCOW2
A disk format supported by the QEMU emulator that can expand dynamically and supports Copy on Write
-
AKI
public static final DiskFormat AKI
This indicates what is stored in Glance is an Amazon kernel image
-
ARI
public static final DiskFormat ARI
This indicates what is stored in Glance is an Amazon ramdisk image
-
AMI
public static final DiskFormat AMI
This indicates what is stored in Glance is an Amazon machine image
-
UNRECOGNIZED
public static final DiskFormat UNRECOGNIZED
Type unknown to jclouds
-
-
Method Detail
-
values
public static DiskFormat[] 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 (DiskFormat c : DiskFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiskFormat 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()
-
toString
public String toString()
- Overrides:
toString
in classEnum<DiskFormat>
-
fromValue
public static DiskFormat fromValue(String diskFormat)
-
-