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
|
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
|
VHDX
This is the VHDX disk format, an enhanced version of the vhd format which supports larger disk sizes among other features.
|
VMDK
Another common disk format supported by many common virtual machine monitors
|
Modifier and Type | Method and Description |
---|---|
String |
value() |
static DiskFormat |
value(String df) |
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 VHDX
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 static DiskFormat value(String df)
Copyright © 2017. All rights reserved.