Create a new VDI record in the database only

Return value
type description
VDI The ref of the newly created VDI record.
Parameters
name type description
session_id session valid session reference
uuid string The uuid of the disk to introduce
name_label string The name of the disk record
name_description string The description of the disk record
SR SR The SR that the VDI is in
type enum vdi_type The type of the VDI
sharable bool true if this disk may be shared
read_only bool true if this disk may ONLY be mounted read-only
other_config Map[string,string] additional configuration
location string location information
xenstore_data Map[string,string] Data to insert into xenstore
sm_config Map[string,string] Storage-specific config
Errors
name arguments description