Package com.oracle.bmc.core.model
Enum UpdateLaunchOptions.NetworkType
- java.lang.Object
-
- java.lang.Enum<UpdateLaunchOptions.NetworkType>
-
- com.oracle.bmc.core.model.UpdateLaunchOptions.NetworkType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<UpdateLaunchOptions.NetworkType>
- Enclosing class:
- UpdateLaunchOptions
public static enum UpdateLaunchOptions.NetworkType extends Enum<UpdateLaunchOptions.NetworkType> implements BmcEnum
Emulation type for the physical network interface card (NIC).- VFIO - Direct attached Virtual Function network controller. This is the networking type when you launch an instance using hardware-assisted (SR-IOV) networking. * PARAVIRTUALIZED - VM instances launch with paravirtualized devices using VirtIO drivers.
Before you change the networking type, detach all VNICs and block volumes except for the primary VNIC and the boot volume.
The image must have paravirtualized drivers installed. For more information, see [Editing an Instance](https://docs.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm).
If the instance is running when you change the network type, it will be rebooted.
*Note:** Some instances might not function properly if you change the networking type. After the instance reboots and is running, connect to it. If the connection fails or the OS doesn't behave as expected, the changes are not supported. Revert the instance to the original networking type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Paravirtualized
Vfio
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateLaunchOptions.NetworkType
create(String key)
String
getValue()
static UpdateLaunchOptions.NetworkType
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpdateLaunchOptions.NetworkType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Vfio
public static final UpdateLaunchOptions.NetworkType Vfio
-
Paravirtualized
public static final UpdateLaunchOptions.NetworkType Paravirtualized
-
-
Method Detail
-
values
public static UpdateLaunchOptions.NetworkType[] 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 (UpdateLaunchOptions.NetworkType c : UpdateLaunchOptions.NetworkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateLaunchOptions.NetworkType 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
-
create
public static UpdateLaunchOptions.NetworkType create(String key)
-
-