Vm_Hardware_Cdrom_CreateSpec

Vm_Hardware_Cdrom_CreateSpec
Vm_Hardware_Cdrom_CreateSpec

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

JSON Example
{
    "type": "string",
    "ide": {
        "primary": false,
        "master": false
    },
    "sata": {
        "bus": 0,
        "unit": 0
    },
    "backing": {
        "type": "string",
        "iso_file": "string",
        "host_device": "string",
        "device_access_type": "string"
    },
    "start_connected": false,
    "allow_guest_control": false
}
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.

ide
Optional

The IdeAddressSpec structure contains information for specifying the address of a virtual device that is attached to a virtual IDE adapter of a virtual machine.

sata
Optional

The SataAddressSpec structure contains information for specifying the address of a virtual device that is attached to a virtual SATA adapter of a virtual machine.

backing
Optional

The Cdrom.BackingSpec structure provides a specification of the physical resource backing a virtual CD-ROM device.

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.

boolean
allow_guest_control
Optional

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