vcenter vm hardware disk: info

The info structure contains information about a virtual disk.

Representations:

{
    "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"
}
<?xml version="1.0" ?>
<ns0:Info xmlns:ns0="http://vmware.com/vcenter/vm/hardware/disk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <scsi>
    <unit>1</unit>
    <bus>1</bus>
  </scsi>
  <ide>
    <primary>true</primary>
    <master>true</master>
  </ide>
  <sata>
    <unit>1</unit>
    <bus>1</bus>
  </sata>
  <capacity>1</capacity>
  <label>string</label>
  <type>IDE</type>
  <backing>
    <vmdk_file>string</vmdk_file>
    <type>VMDK_FILE</type>
  </backing>
</ns0:Info>

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.