# Data Object - VirtualDiskId(vim.vm.device.VirtualDiskId)

Property of
  ClusterDrsFaultsFaultsByVirtualDisk, FilterInUse
Returned by
  QueryDisksUsingFilter
Extends
  DynamicData
See also
  VirtualMachine
Since
  vSphere API 5.0

## Data Object Description

Identifier for a virtual disk.

Properties

Name | Type | Description
--- | --- | ---
diskId | xsd:int | Device ID key of the virtual disk.
vm | ManagedObjectReference to a VirtualMachine | Virtual machine reference.
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualDiskId"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="vm" type="vsan:ManagedObjectReference"/> <element name="diskId" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType>