# Fault - UnsupportedDatastore(vim.fault.UnsupportedDatastore)

Extended by
  MemoryFileFormatNotSupportedByDatastore, UnSupportedDatastoreForVFlash
Extends
  VmConfigFault
See also
  Datastore
Since
  2.0

## Fault Description

The virtual machine is not supported on the target datastore. This fault is thrown by provisioning operations when an attempt is made to create a virtual machine on an unsupported datastore (for example, creating a non-legacy virtual machine on a legacy datastore).

Properties

Name | Type | Description
--- | --- | ---
datastore* | ManagedObjectReference to a Datastore | The invalid datastore for this virtual machine.
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="UnsupportedDatastore"> <complexContent> <extension base="vsan:VmConfigFault"> <sequence> <element name="datastore" type="vsan:ManagedObjectReference" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>