VmHardwareCdromCreateSpec

The Cdrom.CreateSpec structure provides a specification for the configuration of a newly-created virtual CD-ROM device.


Properties

boolean
allow_guest_control Optional

Flag indicating whether the guest can connect and disconnect the device. Defaults to false if unset.


backing Optional

Physical resource backing for the virtual CD-ROM device. If unset, defaults to automatic detection of a suitable host device.


ide Optional

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.


sata Optional

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.


boolean
start_connected Optional

Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. Defaults to false if unset.


type Optional

The Cdrom.HostBusAdapterType enumerated type defines the valid types of host bus adapters that may be used for attaching a Cdrom to a virtual machine.
IDE : Cdrom is attached to an IDE adapter.
SATA : Cdrom is attached to a SATA adapter.

Possible values are: IDESATA

JSON Example

{
	"allow_guest_control": false,
	"backing": {
		"device_access_type": "EMULATION",
		"host_device": "string",
		"iso_file": "string",
		"type": "ISO_FILE"
	},
	"ide": {
		"master": false,
		"primary": false
	},
	"sata": {
		"bus": 0,
		"unit": 0
	},
	"start_connected": false,
	"type": "IDE"
}

Feedback

Was this page helpful?