# Data Object - VirtualMachineDatastoreInfo(vim.vm.DatastoreInfo)

Property of
  ConfigTarget
Extends
  VirtualMachineTargetInfo
See also
  DatastoreCapability, DatastoreSummary
Since
  2.0

## Data Object Description

DatastoreInfo describes a datastore that a virtual disk can be stored on.

Properties

Name | Type | Description
--- | --- | ---
capability | DatastoreCapability | Information about the datastore capabilities
datastore | DatastoreSummary | Information about the datastore
maxFileSize | xsd:long | The maximum size of a file that can reside on this datastore.
maxPhysicalRDMFileSize* | xsd:long | Maximum raw device mapping size (physical compatibility) Since vSphere API 6.0
maxVirtualDiskCapacity* | xsd:long | The maximum capacity of a virtual disk which can be created on this volume Since vSphere API 5.5
maxVirtualRDMFileSize* | xsd:long | Maximum raw device mapping size (virtual compatibility) Since vSphere API 6.0
mode | xsd:string | Access mode for this datastore. This is either readOnly or readWrite. A virtual disk needs to be stored on readWrite datastore. ISOs can be read from a readOnly datastore. See HostMountMode
vStorageSupport* | xsd:string | Indicate the states of vStorage hardware acceleration support for this datastore. See FileSystemMountInfoVStorageSupportStatus Since vSphere API 5.0
Properties inherited from VirtualMachineTargetInfo
configurationTag, name
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualMachineDatastoreInfo"> <complexContent> <extension base="vsan:VirtualMachineTargetInfo"> <sequence> <element name="datastore" type="vsan:DatastoreSummary"/> <element name="capability" type="vsan:DatastoreCapability"/> <element name="maxFileSize" type="xsd:long"/> <element name="maxVirtualDiskCapacity" type="xsd:long" minOccurs="0"/> <element name="maxPhysicalRDMFileSize" type="xsd:long" minOccurs="0"/> <element name="maxVirtualRDMFileSize" type="xsd:long" minOccurs="0"/> <element name="mode" type="xsd:string"/> <element name="vStorageSupport" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>