Vm_Hardware_Cdrom_Info

Vm_Hardware_Cdrom_Info
Vm_Hardware_Cdrom_Info

The Cdrom.Info structure contains information about a virtual CD-ROM device.

JSON Example
{
    "type": "string",
    "label": "string",
    "ide": {
        "primary": false,
        "master": false
    },
    "sata": {
        "bus": 0,
        "unit": 0
    },
    "backing": {
        "type": "string",
        "iso_file": "string",
        "host_device": "string",
        "auto_detect": false,
        "device_access_type": "string"
    },
    "state": "string",
    "start_connected": false,
    "allow_guest_control": false
}
type
Required

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.

string
label
Required

Device label.

ide
Optional

The IdeAddressInfo structure contains information about the address of a virtual device that is attached to a virtual IDE adapter of a virtual machine.

sata
Optional

The SataAddressInfo structure contains information about the address of a virtual device that is attached to a virtual SATA adapter of a virtual machine.

backing
Required

The Cdrom.BackingInfo structure contains information about the physical resource backing a virtual CD-ROM device.

state
Required

The ConnectionState enumerated type defines the valid states for a removable device that is configured to be connected.
CONNECTED : The device is connected and working correctly.
RECOVERABLE_ERROR : Device connection failed due to a recoverable error; for example, the virtual device backing is currently in use by another virtual machine.
UNRECOVERABLE_ERROR : Device connection failed due to an unrecoverable error; for example, the virtual device backing does not exist.
NOT_CONNECTED : The device is not connected.
UNKNOWN : The device status is unknown.

boolean
start_connected
Required

Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.

boolean
allow_guest_control
Required

Flag indicating whether the guest can connect and disconnect the device.