Package org.ovirt.engine.sdk4.types
Enum StorageDomainType
- java.lang.Object
-
- java.lang.Enum<StorageDomainType>
-
- org.ovirt.engine.sdk4.types.StorageDomainType
-
- All Implemented Interfaces:
Serializable
,Comparable<StorageDomainType>
public enum StorageDomainType extends Enum<StorageDomainType>
Indicates the kind of data managed by a <>.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA
Data domains are used to store the disks and snapshots of the virtual machines and templates in the system.EXPORT
Export domains are temporary storage repositories used to copy and move virtual machines and templates between data centers and {product-name} environments.IMAGE
Image domain store images that can be imported into from an external system.ISO
ISO domains store ISO files (or logical CDs) used to install and boot operating systems and applications for the virtual machines.MANAGED_BLOCK_STORAGE
Managed block storage domains are created on block storage devices.VOLUME
Volume domains store logical volumes that can be used as disks for virtual machines.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StorageDomainType
fromValue(String value)
String
value()
static StorageDomainType
valueOf(String name)
Returns the enum constant of this type with the specified name.static StorageDomainType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATA
public static final StorageDomainType DATA
Data domains are used to store the disks and snapshots of the virtual machines and templates in the system. In addition, snapshots of the disks are also stored in data domains. Data domains cannot be shared across data centers.
-
EXPORT
public static final StorageDomainType EXPORT
Export domains are temporary storage repositories used to copy and move virtual machines and templates between data centers and {product-name} environments. Export domains can also be used to backup virtual machines. An export domain can be moved between data centers but it can only be active in one data center at a time.
-
IMAGE
public static final StorageDomainType IMAGE
Image domain store images that can be imported into from an external system. For example, images from an OpenStack Glance image repository.
-
ISO
public static final StorageDomainType ISO
ISO domains store ISO files (or logical CDs) used to install and boot operating systems and applications for the virtual machines. ISO domains remove the data center's need for physical media. An ISO domain can be shared across different data centers.
-
MANAGED_BLOCK_STORAGE
public static final StorageDomainType MANAGED_BLOCK_STORAGE
Managed block storage domains are created on block storage devices. These domains are accessed and managed by cinder.
-
VOLUME
public static final StorageDomainType VOLUME
Volume domains store logical volumes that can be used as disks for virtual machines. For example, volumes from an OpenStack Cincer block storage service.
-
-
Method Detail
-
values
public static StorageDomainType[] 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 (StorageDomainType c : StorageDomainType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StorageDomainType 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()
-
fromValue
public static StorageDomainType fromValue(String value)
-
-