vcenter vm hardware cdrom: create spec
The
create_spec
structure provides a specification for the configuration of a newly-created virtual CD-ROM device.Representation:
{
"allow_guest_control": true,
"backing": {
"device_access_type": "EMULATION",
"host_device": "string",
"iso_file": "string",
"type": "ISO_FILE"
},
"ide": {
"master": true,
"primary": true
},
"sata": {
"bus": 1,
"unit": 1
},
"start_connected": true,
"type": "IDE"
}
"allow_guest_control": true,
"backing": {
"device_access_type": "EMULATION",
"host_device": "string",
"iso_file": "string",
"type": "ISO_FILE"
},
"ide": {
"master": true,
"primary": true
},
"sata": {
"bus": 1,
"unit": 1
},
"start_connected": true,
"type": "IDE"
}
Attributes:
Name | Type | Description |
---|---|---|
Optional | ||
type | string | Type of host bus adapter to which the device should be attached. Optional. If unset, guest-specific default values will be used. |
ide | ide_address_spec | Address for attaching the device to a virtual IDE adapter. Optional. It is only relevant when type has value IDE. If unset, the server will choose an available address; if none is available, the request will fail. |
sata | sata_address_spec | Address for attaching the device to a virtual SATA adapter. Optional. It is only relevant when type has value SATA. If unset, the server will choose an available address; if none is available, the request will fail. |
backing | backing_spec | Physical resource backing for the virtual CD-ROM device. Optional. If unset, defaults to automatic detection of a suitable host device. |
start_connected | boolean | Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. Optional. Defaults to false if unset. |
allow_guest_control | boolean | Flag indicating whether the guest can connect and disconnect the device. Optional. Defaults to false if unset. |