The Scsi.CreateSpec structure provides a specification for the configuration of a newly-created virtual SCSI adapter.


Required Property Name Type Description
optional bus integer

SCSI bus number. If unset, the server will choose an available bus number; if none is available, the request will fail.

optional pci_slot_number integer

Address of the SCSI adapter on the PCI bus. If the PCI address is invalid, the server will change it when the VM is started or as the device is hot added. If unset, the server will choose an available address when the virtual machine is powered on.

optional sharing VmHardwareAdapterScsiSharing Enum

Bus sharing mode. If unset, the adapter will default to NONE.

optional type VmHardwareAdapterScsiType Enum

Adapter type. If unset, a guest-specific default value will be used.

JSON Example

    "bus": 0,
    "pci_slot_number": 0,
    "sharing": "enum",
    "type": "enum"

Was this page helpful?