# Fault - InvalidDeviceOperation(vim.fault.InvalidDeviceOperation)

Extends
  InvalidDeviceSpec
See also
  VirtualDeviceConfigSpecFileOperation, VirtualDeviceConfigSpecOperation

## Fault Description

An InvalidDeviceOperation exception is thrown if virtual machine creation or configuration fails because an invalid operation is attempted on the given device.

Properties

Name | Type | Description
--- | --- | ---
badFileOp* | VirtualDeviceConfigSpecFileOperation | The invalid file operation attempted.
badOp* | VirtualDeviceConfigSpecOperation | The invalid operation attempted.
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

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="InvalidDeviceOperation"> <complexContent> <extension base="vsan:InvalidDeviceSpec"> <sequence> <element name="badOp" type="vsan:VirtualDeviceConfigSpecOperation" minOccurs="0"/> <element name="badFileOp" type="vsan:VirtualDeviceConfigSpecFileOperation" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>