vcenter vm hardware disk: info
The
info
structure contains information about a virtual disk.Representation:
{
"backing": {
"type": "VMDK_FILE",
"vmdk_file": "string"
},
"capacity": 1,
"ide": {
"master": true,
"primary": true
},
"label": "string",
"sata": {
"bus": 1,
"unit": 1
},
"scsi": {
"bus": 1,
"unit": 1
},
"type": "IDE"
}
"backing": {
"type": "VMDK_FILE",
"vmdk_file": "string"
},
"capacity": 1,
"ide": {
"master": true,
"primary": true
},
"label": "string",
"sata": {
"bus": 1,
"unit": 1
},
"scsi": {
"bus": 1,
"unit": 1
},
"type": "IDE"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
label | string | Device label. |
type | string | Type of host bus adapter to which the device is attached. Defines the valid types of host bus adapters that may be used for attaching a virtual storage device to a virtual machine. Value is one of: IDE: Disk is attached to an IDE adapter. SCSI: Disk is attached to a SCSI adapter. SATA: Disk is attached to a SATA adapter. |
backing | backing_info | Physical resource backing for the virtual disk. |
Optional | ||
ide | ide_address_info | Address of device attached to a virtual IDE adapter. Optional. It is only relevant when type has value IDE. Workaround for PR1459646. |
scsi | scsi_address_info | Address of device attached to a virtual SCSI adapter. Optional. It is only relevant when type has value SCSI. Workaround for PR1459646. |
sata | sata_address_info | Address of device attached to a virtual SATA adapter. Optional. It is only relevant when type has value SATA. Workaround for PR1459646. |
capacity | long | Capacity of the virtual disk in bytes. Optional. If unset, virtual disk is inaccessible or disk capacity is 0. |