Datastore Get Info

Datastore Get Info

Specific information about the datastore.

Request
URI
GET
https://{vcenter-host}/sdk/vim25/{release}/Datastore/{moId}/info
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case Datastore/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns DatastoreInfo of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "name": "string",
    "url": "string",
    "freeSpace": 0,
    "maxFileSize": 0,
    "maxVirtualDiskCapacity": 0,
    "maxMemoryFileSize": 0,
    "timestamp": "string",
    "containerId": "string",
    "aliasOf": "string"
}
string
name
Required

The name of the datastore.

string
url
Required

The unique locator for the datastore.

integer As int64 As int64
freeSpace
Required

Free space of this datastore, in bytes.

The server periodically updates this value. It can be explicitly refreshed with the Refresh operation.

integer As int64 As int64
maxFileSize
Required

The maximum size of a file that can reside on this file system volume.

integer As int64 As int64
maxVirtualDiskCapacity
Optional

The maximum capacity of a virtual disk which can be created on this volume.

integer As int64 As int64
maxMemoryFileSize
Required

The maximum size of a snapshot or a swap file that can reside on this file system volume.

string As date-time As date-time
timestamp
Optional

Time when the free-space and capacity values in DatastoreInfo and DatastoreSummary were updated.

string
containerId
Optional

The unique container ID of the datastore, if applicable.

string
aliasOf
Optional

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 DatastoreInfo.containerId.