Create Hardware CD ROM
Adds a virtual CD-ROM device to the virtual machine.
Request
URLURL
Path Parameters
Path Parameters
Header Parameters
Header Parameters
Request Body
Specification for the new virtual CD-ROM device. The Cdrom.CreateSpec structure provides a specification for the configuration of a newly-created virtual CD-ROM device.
{
"allow_guest_control": false,
"backing": {
"device_access_type": "enum",
"host_device": "string",
"iso_file": "string",
"type": "enum"
},
"ide": {
"master": false,
"primary": false
},
"sata": {
"bus": 0,
"unit": 0
},
"start_connected": false,
"type": "enum"
}
Flag indicating whether the guest can connect and disconnect the device. Defaults to false if unset.
Physical resource backing for the virtual CD-ROM device. If unset, defaults to automatic detection of a suitable host device.
Address for attaching the device to a virtual IDE adapter. If unset, the server will choose an available address; if none is available, the request will fail.
Address for attaching the device to a virtual SATA adapter. If unset, the server will choose an available address; if none is available, the request will fail.
Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. Defaults to false if unset.
Type of host bus adapter to which the device should be attached. If unset, guest-specific default values will be used
Possible values are: IDE , SATA
Response
Response BodyResponse Body
Virtual CD-ROM device identifier. The result will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Cdrom.