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:
A constant which can be used with the boot_volume_type property of a LaunchOptions.
A constant which can be used with the boot_volume_type property of a LaunchOptions.
A constant which can be used with the boot_volume_type property of a LaunchOptions.
A constant which can be used with the boot_volume_type property of a LaunchOptions.
A constant which can be used with the boot_volume_type property of a LaunchOptions.
A constant which can be used with the boot_volume_type property of a LaunchOptions.
A constant which can be used with the firmware property of a LaunchOptions.
A constant which can be used with the firmware property of a LaunchOptions.
A constant which can be used with the network_type property of a LaunchOptions.
A constant which can be used with the network_type property of a LaunchOptions.
A constant which can be used with the network_type property of a LaunchOptions.
A constant which can be used with the network_type property of a LaunchOptions.
A constant which can be used with the remote_data_volume_type property of a LaunchOptions.
A constant which can be used with the remote_data_volume_type property of a LaunchOptions.
A constant which can be used with the remote_data_volume_type property of a LaunchOptions.
A constant which can be used with the remote_data_volume_type property of a LaunchOptions.
A constant which can be used with the remote_data_volume_type property of a LaunchOptions.
A constant which can be used with the remote_data_volume_type property of a LaunchOptions.
Gets the boot_volume_type of this LaunchOptions.
Gets the firmware of this LaunchOptions.
Gets the is_consistent_volume_naming_enabled of this LaunchOptions.
Gets the is_encryption_in_transit_enabled of this LaunchOptions.
Gets the is_pv_encryption_in_transit_enabled of this LaunchOptions.
Gets the network_type of this LaunchOptions.
Gets 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_NVME = 'NVME'¶
A constant which can be used with the boot_volume_type property of a LaunchOptions. This constant has a value of “NVME”
- 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_ACCELERATEDPV = 'ACCELERATEDPV'¶
A constant which can be used with the network_type property of a LaunchOptions. This constant has a value of “ACCELERATEDPV”
- 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_NVME = 'NVME'¶
A constant which can be used with the remote_data_volume_type property of a LaunchOptions. This constant has a value of “NVME”
- 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”, “NVME”, ‘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”, “ACCELERATEDPV”, ‘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”, “NVME”, ‘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_encryption_in_transit_enabled (bool) – The value to assign to the is_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.
- property 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. * NVME - NVMe attached remote block storage device.
Allowed values for this property are: “ISCSI”, “SCSI”, “IDE”, “VFIO”, “PARAVIRTUALIZED”, “NVME”, ‘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
- property 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
- property 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
- property is_encryption_in_transit_enabled¶
Gets the is_encryption_in_transit_enabled of this LaunchOptions. Specifies whether in-transit encryption is enabled for the data volume’s attachment.
- Returns
The is_encryption_in_transit_enabled of this LaunchOptions.
- Return type
bool
- property is_pv_encryption_in_transit_enabled¶
Gets the is_pv_encryption_in_transit_enabled of this LaunchOptions. Deprecated. Use isEncryptionInTransitEnabled instead.
- Returns
The is_pv_encryption_in_transit_enabled of this LaunchOptions.
- Return type
bool
- property 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. * ACCELERATEDPV - VM instances launch with accelerated paravirtualized networking type.
Allowed values for this property are: “E1000”, “VFIO”, “PARAVIRTUALIZED”, “ACCELERATEDPV”, ‘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
- property 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. * NVME - NVMe attached remote block storage device.
Allowed values for this property are: “ISCSI”, “SCSI”, “IDE”, “VFIO”, “PARAVIRTUALIZED”, “NVME”, ‘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