public enum DiskFormat extends Enum<DiskFormat>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and 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.
|
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
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 nameNullPointerException
- if the argument is nullpublic String value()
public String toString()
toString
in class Enum<DiskFormat>
public static DiskFormat fromValue(String diskFormat)
Copyright © 2009-2013 jclouds. All Rights Reserved.