public static enum Image.LaunchMode extends Enum<Image.LaunchMode> implements BmcEnum
Specifies the configuration mode for launching virtual machine (VM) instances. The
configuration modes are: * NATIVE
- VM instances launch with iSCSI boot and VFIO
devices. The default value for platform images. * EMULATED
- VM instances launch with
emulated devices, such as the E1000 network driver and emulated SCSI disk controller. *
PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using VirtIO
drivers. * CUSTOM
- VM instances launch with custom configuration settings specified
in the LaunchOptions
parameter.
Enum Constant and Description |
---|
Custom |
Emulated |
Native |
Paravirtualized |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static Image.LaunchMode |
create(String key) |
String |
getValue() |
static Image.LaunchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Image.LaunchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Image.LaunchMode Native
public static final Image.LaunchMode Emulated
public static final Image.LaunchMode Paravirtualized
public static final Image.LaunchMode Custom
public static final Image.LaunchMode UnknownEnumValue
public static Image.LaunchMode[] values()
for (Image.LaunchMode c : Image.LaunchMode.values()) System.out.println(c);
public static Image.LaunchMode 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 Image.LaunchMode create(String key)
Copyright © 2016–2023. All rights reserved.