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
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
Namespace Information Operations
PUT
Add Organisation To Namespace
POST
Create Namespace
DELETE
Delete Namespace
PUT
Edit Namespace
GET
Get Datastore Storage Info By Namespace Id
GET
Get Flagged Namespace Alert Types
GET
Get Namespace
GET
Get Namespace Active Backup Storage Usage
GET
Get Namespace Active Resources
GET
List All Namespace Runtime Info Histories
GET
List All Namespaces
PUT
Publish Namespace To Organisation
DELETE
Remove Organisation From Namespace
DELETE
Un Publish Namespace From Organisation
PUT
Update Namespace Alert Type As Verified