# Fault - UnsupportedDatastore(vim.fault.UnsupportedDatastore)

Extended by
  MemoryFileFormatNotSupportedByDatastore, UnSupportedDatastoreForVFlash
Extends
  VmConfigFault
See also
  Datastore

## 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:pbm="urn:pbm" name="UnsupportedDatastore"> <complexContent> <extension base="pbm:VmConfigFault"> <sequence> <element name="datastore" type="pbm:ManagedObjectReference" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>