# Fault - InvalidDatastoreState(vim.fault.InvalidDatastoreState)

Extends
  InvalidState
Since
  vSphere API 5.0

## Fault Description

The datastore is in an invalid state (e.g., maintenance mode) for a given operation.

Properties

Name | Type | Description
--- | --- | ---
datastoreName* | xsd:string | The name of the datastore.
Properties inherited from InvalidState
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:pbm="urn:pbm" name="InvalidDatastoreState"> <complexContent> <extension base="pbm:InvalidState"> <sequence> <element name="datastoreName" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>