# Fault - DeviceUnsupportedForVmVersion(vim.fault.DeviceUnsupportedForVmVersion)

Thrown by
  AttachDisk_Task
Extends
  InvalidDeviceSpec
Since
  vSphere API 4.0

## Fault Description

A DeviceUnsupportedForVmVersion exception is thrown if a specific device is not supported for a given version of the virtual machine.

Properties

Name | Type | Description
--- | --- | ---
currentVersion | xsd:string | The current version of the virtual machine.
expectedVersion | xsd:string | The minimum expected virtual mahcine version needed to support this device.
Properties inherited from InvalidDeviceSpec
deviceIndex
Properties inherited from InvalidVmConfig
property
Properties inherited from VmConfigFault
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="DeviceUnsupportedForVmVersion"> <complexContent> <extension base="sms:InvalidDeviceSpec"> <sequence> <element name="currentVersion" type="xsd:string"/> <element name="expectedVersion" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>