# Fault - InvalidDeviceSpec(vim.fault.InvalidDeviceSpec)

Extended by
  DeviceHotPlugNotSupported, DeviceNotFound, DeviceUnsupportedForVmPlatform, DeviceUnsupportedForVmVersion, DisallowedDiskModeChange, InvalidController, InvalidDeviceBacking, InvalidDeviceOperation, MissingController
Extends
  InvalidVmConfig

## Fault Description

An InvalidDeviceSpec exception is thrown if a virtual machine creation or configuration fails because a device specification contains an invalid value.

Properties

Name | Type | Description
--- | --- | ---
deviceIndex | xsd:int | Index of the device in the configuration specification that has the invalid value.
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:vsan="urn:vsan" name="InvalidDeviceSpec"> <complexContent> <extension base="vsan:InvalidVmConfig"> <sequence> <element name="deviceIndex" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType>