Create a new VBD instance, and return its handle.

Return value
type description
VBD reference to the newly created object
Parameters
name type description
session_id session valid session reference
VM VM the virtual machine
VDI VDI the virtual disk
userdevice string user-friendly device name e.g. 0,1,2,etc.
bootable bool true if this VBD is bootable
mode enum vbd_mode the mode the VBD should be mounted with
type enum vbd_type how the VBD will appear to the guest (e.g. disk or CD)
unpluggable bool true if this VBD will support hot-unplug
empty bool if true this represents an empty drive
other_config Map[string,string] additional configuration
qos_algorithm_type string QoS algorithm to use
qos_algorithm_params Map[string,string] parameters for chosen QoS algorithm
Errors
name arguments description