public static enum CreateImageDetails.LaunchMode extends Enum<CreateImageDetails.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 |
Modifier and Type | Method and Description |
---|---|
static CreateImageDetails.LaunchMode |
create(String key) |
String |
getValue() |
static CreateImageDetails.LaunchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateImageDetails.LaunchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateImageDetails.LaunchMode Native
public static final CreateImageDetails.LaunchMode Emulated
public static final CreateImageDetails.LaunchMode Paravirtualized
public static final CreateImageDetails.LaunchMode Custom
public static CreateImageDetails.LaunchMode[] values()
for (CreateImageDetails.LaunchMode c : CreateImageDetails.LaunchMode.values()) System.out.println(c);
public static CreateImageDetails.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 CreateImageDetails.LaunchMode create(String key)
Copyright © 2016–2024. All rights reserved.