# Data Object - VmDiskFileInfo(vim.host.DatastoreBrowser.VmDiskInfo)

Extends
  FileInfo
See also
  VmDiskFileEncryptionInfo
Since
  2.0

## Data Object Description

This data object type describes a virtual disk primary file.

Properties

Name | Type | Description
--- | --- | ---
capacityKb* | xsd:long | The capacity of a virtual disk from the point of view of a virtual machine.
controllerType* | xsd:string | Deprecated. As of vSphere API 5.0, this property is no longer relevant and should not be used. With the current state of emulation, we don't care about the adapter type a disk is connected to, as disks may be shuffled around. For example, a disk may be unplugged from a buslogic controller and plugged into an lsilogic controller. The controller type suitable for this virtual disk. Since VI API 2.5
diskExtents* | xsd:string[] | The extents of this virtual disk specified in absolute DS paths Since VI API 2.5
diskType* | xsd:string | Disk type of the virtual disk. The specified disk type is one of the backing information types for a virtual disk. See VirtualDisk
encryption* | VmDiskFileEncryptionInfo | The encryption information of the virtual disk. If encryption was selected in VmDiskFileQueryFlags then this field is always set. Inspect the VmDiskEncryptionInfo to determine if the virtual disk is encrypted. Since vSphere API 6.5
hardwareVersion* | xsd:int | The hardware version of the virtual disk file.
thin* | xsd:boolean | Indicates if the disk is thin-provisioned Since vSphere API 4.0
Properties inherited from FileInfo
fileSize, friendlyName, modification, owner, path
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VmDiskFileInfo"> <complexContent> <extension base="vsan:FileInfo"> <sequence> <element name="diskType" type="xsd:string" minOccurs="0"/> <element name="capacityKb" type="xsd:long" minOccurs="0"/> <element name="hardwareVersion" type="xsd:int" minOccurs="0"/> <element name="controllerType" type="xsd:string" minOccurs="0"/> <element name="diskExtents" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="thin" type="xsd:boolean" minOccurs="0"/> <element name="encryption" type="vsan:VmDiskFileEncryptionInfo" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>