|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DiskFormat>
org.jclouds.openstack.glance.v1_0.domain.DiskFormat
public 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 | |
|---|---|
AKI
This indicates what is stored in Glance is an Amazon kernel image |
|
AMI
This indicates what is stored in Glance is an Amazon machine image |
|
ARI
This indicates what is stored in Glance is an Amazon ramdisk image |
|
ISO
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 Write |
|
RAW
This is an unstructured disk image format |
|
UNRECOGNIZED
Type unknown to jclouds |
|
VDI
A disk format supported by VirtualBox virtual machine monitor and the QEMU emulator |
|
VHD
This is the VHD disk format, a common disk format used by virtual machine monitors from VMWare, Xen, Microsoft, VirtualBox, and others |
|
VMDK
Another common disk format supported by many common virtual machine monitors |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DiskFormat RAW
public static final DiskFormat VHD
public static final DiskFormat VMDK
public static final DiskFormat VDI
public static final DiskFormat ISO
public static final DiskFormat QCOW2
public static final DiskFormat AKI
public static final DiskFormat ARI
public static final DiskFormat AMI
public static final DiskFormat UNRECOGNIZED
| Method Detail |
|---|
public static DiskFormat[] values()
for (DiskFormat c : DiskFormat.values()) System.out.println(c);
public static DiskFormat valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public String toString()
toString in class Enum<DiskFormat>public static DiskFormat fromValue(String diskFormat)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||