org.jclouds.openstack.glance.v1_0.domain
Enum DiskFormat

java.lang.Object
  extended by java.lang.Enum<DiskFormat>
      extended by 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.

Author:
Adrian Cole
See Also:

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

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 name
NullPointerException - if the argument is null

value

public String value()

toString

public String toString()
Overrides:
toString in class Enum<DiskFormat>

fromValue

public static DiskFormat fromValue(String diskFormat)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.