# Data Object - DatastoreInfo(vim.Datastore.Info)

Property of
  Datastore
Extended by
  LocalDatastoreInfo, NasDatastoreInfo, PMemDatastoreInfo, VmfsDatastoreInfo, VsanDatastoreInfo, VvolDatastoreInfo
Extends
  DynamicData
Since
  2.0

## Data Object Description

Detailed information about a datastore. This is a base type for derived types that have more specific details about a datastore.
See HostVmfsVolume
See HostNasVolume
See HostLocalFileSystemVolume

Properties

Name | Type | Description
--- | --- | ---
aliasOf* | xsd:string | vSAN datastore container that this datastore is alias of. If this field is unset then this datastore is not alias of any other vSAN datastore. See containerId. Since vSphere API 6.7.1
containerId* | xsd:string | The unique container ID of the datastore, if applicable. Since vSphere API 5.5
freeSpace | xsd:long | Free space of this datastore, in bytes. The server periodically updates this value. It can be explicitly refreshed with the Refresh operation.
maxFileSize | xsd:long | The maximum size of a file that can reside on this file system volume.
maxMemoryFileSize | xsd:long | The maximum size of a snapshot or a swap file that can reside on this file system volume. 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
name | xsd:string | The name of the datastore.
timestamp* | xsd:dateTime | Time when the free-space and capacity values in DatastoreInfo and DatastoreSummary were updated. Since vSphere API 4.0
url | xsd:string | The unique locator for the datastore.
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="DatastoreInfo"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="name" type="xsd:string"/> <element name="url" type="xsd:string"/> <element name="freeSpace" type="xsd:long"/> <element name="maxFileSize" type="xsd:long"/> <element name="maxVirtualDiskCapacity" type="xsd:long" minOccurs="0"/> <element name="maxMemoryFileSize" type="xsd:long"/> <element name="timestamp" type="xsd:dateTime" minOccurs="0"/> <element name="containerId" type="xsd:string" minOccurs="0"/> <element name="aliasOf" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>