Vm_Hardware_Disk_Info

Vm_Hardware_Disk_Info
Vm_Hardware_Disk_Info

The Disk.Info structure contains information about a virtual disk.

JSON Example
{
    "label": "string",
    "type": "string",
    "ide": {
        "primary": false,
        "master": false
    },
    "scsi": {
        "bus": 0,
        "unit": 0
    },
    "sata": {
        "bus": 0,
        "unit": 0
    },
    "nvme": {
        "bus": 0,
        "unit": 0
    },
    "backing": {
        "type": "string",
        "vmdk_file": "string"
    },
    "capacity": 0
}
string
label
Required

Device label.

type
Required

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

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.

scsi
Optional

The ScsiAddressInfo structure contains information about the address of a virtual device that is attached to a virtual SCSI 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.

nvme
Optional

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

backing
Required

The Disk.BackingInfo structure contains information about the physical resource backing a virtual disk.

integer As int64
capacity
Optional

Capacity of the virtual disk in bytes. If unset, virtual disk is inaccessible or disk capacity is 0.