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.cloud.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 and Description |
---|
Paravirtualized |
Vfio |
Modifier and Type | Method and 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.
|
public static final UpdateLaunchOptions.NetworkType Vfio
public static final UpdateLaunchOptions.NetworkType Paravirtualized
public static UpdateLaunchOptions.NetworkType[] values()
for (UpdateLaunchOptions.NetworkType c : UpdateLaunchOptions.NetworkType.values()) System.out.println(c);
public static UpdateLaunchOptions.NetworkType 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 UpdateLaunchOptions.NetworkType create(String key)
Copyright © 2016–2023. All rights reserved.