vcenter vm hardware disk: info
The
info
structure contains information about a virtual disk.Representation:
{
"scsi" : {
"bus" : 1,
"unit" : 1
},
"backing" : {
"vmdk_file" : "string",
"type" : "VMDK_FILE"
},
"label" : "string",
"ide" : {
"primary" : true,
"master" : true
},
"type" : "IDE",
"sata" : {
"bus" : 1,
"unit" : 1
},
"capacity" : 1
}
"scsi" : {
"bus" : 1,
"unit" : 1
},
"backing" : {
"vmdk_file" : "string",
"type" : "VMDK_FILE"
},
"label" : "string",
"ide" : {
"primary" : true,
"master" : true
},
"type" : "IDE",
"sata" : {
"bus" : 1,
"unit" : 1
},
"capacity" : 1
}
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. |
ide.primary | boolean | Flag specifying whether the device is attached to the primary or secondary IDE adapter of the virtual machine. |
ide.master | boolean | Flag specifying whether the device is the master or slave device on the IDE adapter. |
scsi.bus | long | Bus number of the adapter to which the device is attached. |
scsi.unit | long | Unit number of the device. |
sata.bus | long | Bus number of the adapter to which the device is attached. |
sata.unit | long | Unit number of the device. |
backing | backing_info | Physical resource backing for the virtual disk. |
backing.type | string | Backing type for the virtual disk. Defines the valid backing types for a virtual disk. Value is one of: VMDK_FILE: Virtual disk is backed by a VMDK file. |
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. |
backing.vmdk_file | string | Path of the VMDK file backing the virtual disk. Optional. It is only relevant when type has value VMDK_FILE. This field is optional and it is only relevant when the value of type is VMDK_FILE. |
capacity | long | Capacity of the virtual disk in bytes. Optional. If unset, virtual disk is inaccessible or disk capacity is 0. |