public static enum ExportImageDetails.ExportFormat extends Enum<ExportImageDetails.ExportFormat> implements BmcEnum
The format to export the image to. The default value is OCI
.
The following image formats are available:
- OCI
- Oracle Cloud Infrastructure file with a QCOW2 image and Oracle Cloud
Infrastructure metadata (.oci). Use this format to export a custom image that you want to
import into other tenancies or regions. - QCOW2
- QEMU Copy On Write (.qcow2) -
VDI
- Virtual Disk Image (.vdi) for Oracle VM VirtualBox - VHD
- Virtual Hard
Disk (.vhd) for Hyper-V - VMDK
- Virtual Machine Disk (.vmdk)
Modifier and Type | Method and Description |
---|---|
static ExportImageDetails.ExportFormat |
create(String key) |
String |
getValue() |
static ExportImageDetails.ExportFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExportImageDetails.ExportFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportImageDetails.ExportFormat Qcow2
public static final ExportImageDetails.ExportFormat Vmdk
public static final ExportImageDetails.ExportFormat Oci
public static final ExportImageDetails.ExportFormat Vhd
public static final ExportImageDetails.ExportFormat Vdi
public static ExportImageDetails.ExportFormat[] values()
for (ExportImageDetails.ExportFormat c : ExportImageDetails.ExportFormat.values()) System.out.println(c);
public static ExportImageDetails.ExportFormat 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 static ExportImageDetails.ExportFormat create(String key)
Copyright © 2016–2023. All rights reserved.