LaunchOptions¶
-
class
oci.core.models.LaunchOptions(**kwargs)¶ Bases:
objectOptions for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.
Attributes
BOOT_VOLUME_TYPE_IDEA constant which can be used with the boot_volume_type property of a LaunchOptions. BOOT_VOLUME_TYPE_ISCSIA constant which can be used with the boot_volume_type property of a LaunchOptions. BOOT_VOLUME_TYPE_PARAVIRTUALIZEDA constant which can be used with the boot_volume_type property of a LaunchOptions. BOOT_VOLUME_TYPE_SCSIA constant which can be used with the boot_volume_type property of a LaunchOptions. BOOT_VOLUME_TYPE_VFIOA constant which can be used with the boot_volume_type property of a LaunchOptions. FIRMWARE_BIOSA constant which can be used with the firmware property of a LaunchOptions. FIRMWARE_UEFI_64A constant which can be used with the firmware property of a LaunchOptions. NETWORK_TYPE_E1000A constant which can be used with the network_type property of a LaunchOptions. NETWORK_TYPE_PARAVIRTUALIZEDA constant which can be used with the network_type property of a LaunchOptions. NETWORK_TYPE_VFIOA constant which can be used with the network_type property of a LaunchOptions. REMOTE_DATA_VOLUME_TYPE_IDEA constant which can be used with the remote_data_volume_type property of a LaunchOptions. REMOTE_DATA_VOLUME_TYPE_ISCSIA constant which can be used with the remote_data_volume_type property of a LaunchOptions. REMOTE_DATA_VOLUME_TYPE_PARAVIRTUALIZEDA constant which can be used with the remote_data_volume_type property of a LaunchOptions. REMOTE_DATA_VOLUME_TYPE_SCSIA constant which can be used with the remote_data_volume_type property of a LaunchOptions. REMOTE_DATA_VOLUME_TYPE_VFIOA constant which can be used with the remote_data_volume_type property of a LaunchOptions. boot_volume_typeGets the boot_volume_type of this LaunchOptions. firmwareGets the firmware of this LaunchOptions. is_consistent_volume_naming_enabledGets the is_consistent_volume_naming_enabled of this LaunchOptions. is_pv_encryption_in_transit_enabledGets the is_pv_encryption_in_transit_enabled of this LaunchOptions. network_typeGets the network_type of this LaunchOptions. remote_data_volume_typeGets the remote_data_volume_type of this LaunchOptions. Methods
__init__(**kwargs)Initializes a new LaunchOptions object with values from keyword arguments. -
BOOT_VOLUME_TYPE_IDE= 'IDE'¶ A constant which can be used with the boot_volume_type property of a LaunchOptions. This constant has a value of “IDE”
-
BOOT_VOLUME_TYPE_ISCSI= 'ISCSI'¶ A constant which can be used with the boot_volume_type property of a LaunchOptions. This constant has a value of “ISCSI”
-
BOOT_VOLUME_TYPE_PARAVIRTUALIZED= 'PARAVIRTUALIZED'¶ A constant which can be used with the boot_volume_type property of a LaunchOptions. This constant has a value of “PARAVIRTUALIZED”
-
BOOT_VOLUME_TYPE_SCSI= 'SCSI'¶ A constant which can be used with the boot_volume_type property of a LaunchOptions. This constant has a value of “SCSI”
-
BOOT_VOLUME_TYPE_VFIO= 'VFIO'¶ A constant which can be used with the boot_volume_type property of a LaunchOptions. This constant has a value of “VFIO”
-
FIRMWARE_BIOS= 'BIOS'¶ A constant which can be used with the firmware property of a LaunchOptions. This constant has a value of “BIOS”
-
FIRMWARE_UEFI_64= 'UEFI_64'¶ A constant which can be used with the firmware property of a LaunchOptions. This constant has a value of “UEFI_64”
-
NETWORK_TYPE_E1000= 'E1000'¶ A constant which can be used with the network_type property of a LaunchOptions. This constant has a value of “E1000”
-
NETWORK_TYPE_PARAVIRTUALIZED= 'PARAVIRTUALIZED'¶ A constant which can be used with the network_type property of a LaunchOptions. This constant has a value of “PARAVIRTUALIZED”
-
NETWORK_TYPE_VFIO= 'VFIO'¶ A constant which can be used with the network_type property of a LaunchOptions. This constant has a value of “VFIO”
-
REMOTE_DATA_VOLUME_TYPE_IDE= 'IDE'¶ A constant which can be used with the remote_data_volume_type property of a LaunchOptions. This constant has a value of “IDE”
-
REMOTE_DATA_VOLUME_TYPE_ISCSI= 'ISCSI'¶ A constant which can be used with the remote_data_volume_type property of a LaunchOptions. This constant has a value of “ISCSI”
-
REMOTE_DATA_VOLUME_TYPE_PARAVIRTUALIZED= 'PARAVIRTUALIZED'¶ A constant which can be used with the remote_data_volume_type property of a LaunchOptions. This constant has a value of “PARAVIRTUALIZED”
-
REMOTE_DATA_VOLUME_TYPE_SCSI= 'SCSI'¶ A constant which can be used with the remote_data_volume_type property of a LaunchOptions. This constant has a value of “SCSI”
-
REMOTE_DATA_VOLUME_TYPE_VFIO= 'VFIO'¶ A constant which can be used with the remote_data_volume_type property of a LaunchOptions. This constant has a value of “VFIO”
-
__init__(**kwargs)¶ Initializes a new LaunchOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - boot_volume_type (str) – The value to assign to the boot_volume_type property of this LaunchOptions. Allowed values for this property are: “ISCSI”, “SCSI”, “IDE”, “VFIO”, “PARAVIRTUALIZED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- firmware (str) – The value to assign to the firmware property of this LaunchOptions. Allowed values for this property are: “BIOS”, “UEFI_64”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- network_type (str) – The value to assign to the network_type property of this LaunchOptions. Allowed values for this property are: “E1000”, “VFIO”, “PARAVIRTUALIZED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- remote_data_volume_type (str) – The value to assign to the remote_data_volume_type property of this LaunchOptions. Allowed values for this property are: “ISCSI”, “SCSI”, “IDE”, “VFIO”, “PARAVIRTUALIZED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- is_pv_encryption_in_transit_enabled (bool) – The value to assign to the is_pv_encryption_in_transit_enabled property of this LaunchOptions.
- is_consistent_volume_naming_enabled (bool) – The value to assign to the is_consistent_volume_naming_enabled property of this LaunchOptions.
-
boot_volume_type¶ Gets the boot_volume_type of this LaunchOptions. Emulation type for the boot volume. * ISCSI - ISCSI attached block storage device. * SCSI - Emulated SCSI disk. * IDE - Emulated IDE disk. * VFIO - Direct attached Virtual Function storage. This is the default option for local data volumes on platform images. * PARAVIRTUALIZED - Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
Allowed values for this property are: “ISCSI”, “SCSI”, “IDE”, “VFIO”, “PARAVIRTUALIZED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The boot_volume_type of this LaunchOptions. Return type: str
-
firmware¶ Gets the firmware of this LaunchOptions. Firmware used to boot VM. Select the option that matches your operating system. * BIOS - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders. * UEFI_64 - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images.
Allowed values for this property are: “BIOS”, “UEFI_64”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The firmware of this LaunchOptions. Return type: str
-
is_consistent_volume_naming_enabled¶ Gets the is_consistent_volume_naming_enabled of this LaunchOptions. Whether to enable consistent volume naming feature. Defaults to false.
Returns: The is_consistent_volume_naming_enabled of this LaunchOptions. Return type: bool
-
is_pv_encryption_in_transit_enabled¶ Gets the is_pv_encryption_in_transit_enabled of this LaunchOptions. Deprecated. Instead use isPvEncryptionInTransitEnabled in
launch_instance_details().Returns: The is_pv_encryption_in_transit_enabled of this LaunchOptions. Return type: bool
-
network_type¶ Gets the network_type of this LaunchOptions. Emulation type for the physical network interface card (NIC). * E1000 - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver. * 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.
Allowed values for this property are: “E1000”, “VFIO”, “PARAVIRTUALIZED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The network_type of this LaunchOptions. Return type: str
-
remote_data_volume_type¶ Gets the remote_data_volume_type of this LaunchOptions. Emulation type for volume. * ISCSI - ISCSI attached block storage device. * SCSI - Emulated SCSI disk. * IDE - Emulated IDE disk. * VFIO - Direct attached Virtual Function storage. This is the default option for local data volumes on platform images. * PARAVIRTUALIZED - Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
Allowed values for this property are: “ISCSI”, “SCSI”, “IDE”, “VFIO”, “PARAVIRTUALIZED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The remote_data_volume_type of this LaunchOptions. Return type: str
-