# Data Object - VmDiskFileQueryFilter(vim.host.DatastoreBrowser.VmDiskQuery.Filter)

Property of
  VmDiskFileQuery
Extends
  DynamicData
Since
  2.0

## Data Object Description

The filter for the virtual disk primary file.

Properties

Name | Type | Description
--- | --- | ---
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. If this optional property is set, only virtual disk files that have a controller type that matches one of the controller types specified are returned. If no controller types are specified, this search criteria is ignored. The specified controller type is one of the controller types for a virtual disk. See VirtualIDEController See VirtualSCSIController Since VI API 2.5
diskType* | xsd:string[] | If this optional property is set, only the virtual disk primary files that match one of the specified disk types are selected. If no disk types are specified, this search criteria is ignored. The specified disk type is one of the backing information types for a virtual disk. See VirtualDisk
encrypted* | xsd:boolean | This optional property can be used to filter disks based on whether they are encrypted or not. Since vSphere API 6.5
matchHardwareVersion* | xsd:int[] | If this optional property is set, only virtual disk primary files that match one of the specified hardware versions are selected. If no versions are specified, this search criteria is ignored.
thin* | xsd:boolean | This optional property can be used to filter disks based on whether they are thin-provsioned or not: if set to true, only thin-provisioned disks are returned, and vice-versa. Since vSphere API 4.0
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="VmDiskFileQueryFilter"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="diskType" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="matchHardwareVersion" type="xsd:int" minOccurs="0" maxOccurs="unbounded"/> <element name="controllerType" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="thin" type="xsd:boolean" minOccurs="0"/> <element name="encrypted" type="xsd:boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>