OlvmUsb

class oci.cloud_migrations.models.OlvmUsb(**kwargs)

Bases: object

Configuration of USB devices for this virtual machine (count, type).

Attributes

USB_TYPE_LEGACY A constant which can be used with the usb_type property of a OlvmUsb.
USB_TYPE_NATIVE A constant which can be used with the usb_type property of a OlvmUsb.
is_enabled Gets the is_enabled of this OlvmUsb.
usb_type Gets the usb_type of this OlvmUsb.

Methods

__init__(**kwargs) Initializes a new OlvmUsb object with values from keyword arguments.
USB_TYPE_LEGACY = 'LEGACY'

A constant which can be used with the usb_type property of a OlvmUsb. This constant has a value of “LEGACY”

USB_TYPE_NATIVE = 'NATIVE'

A constant which can be used with the usb_type property of a OlvmUsb. This constant has a value of “NATIVE”

__init__(**kwargs)

Initializes a new OlvmUsb object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • is_enabled (bool) – The value to assign to the is_enabled property of this OlvmUsb.
  • usb_type (str) – The value to assign to the usb_type property of this OlvmUsb. Allowed values for this property are: “LEGACY”, “NATIVE”
is_enabled

Gets the is_enabled of this OlvmUsb. Determines whether the USB device should be included or not.

Returns:The is_enabled of this OlvmUsb.
Return type:bool
usb_type

Gets the usb_type of this OlvmUsb. Type of USB device redirection

Allowed values for this property are: “LEGACY”, “NATIVE”

Returns:The usb_type of this OlvmUsb.
Return type:str