Get Datastore Storage Info By Namespace Id

Get Datastore Storage Info By Namespace Id

Use this endpoint to fetch a Namespace's Datastore Usage Info
Authorized Roles : PROVIDER or ORG_ADMIN or ORG_USER

Request
URI
GET
https://{api_host}/provider/namespaces/{id}/datastore-usage-info/{datastoreMoid}
COPY
Path Parameters
string
id
Required

ID of the Namespace

string
datastoreMoid
Required

Moid of the Datastore


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns DatastoreUsageDetailsDTO of type(s) application/vnd.vmware.dms-v1+json
{
    "datastoreUsageByServiceInstances": 0,
    "datastoreFreeSpace": 0,
    "datastoreCapacity": 0
}
integer As int64 As int64
datastoreUsageByServiceInstances
Optional

datastoreUsageByServiceInstances

integer As int64 As int64
datastoreFreeSpace
Optional

datastoreFreeSpace

integer As int64 As int64
datastoreCapacity
Optional

datastoreCapacity


400

Bad Request

Operation doesn't return any data structure