Get Datastore

Get Datastore

Use this endpoint to get datastores
Authorized Roles : PROVIDER

Request
URI
GET
https://{api_host}/provider/vcenter/{id}/clusters/{clusterMorId}/datastores
COPY
Path Parameters
string
id
Required

vCenter Id

string
clusterMorId
Required

Morid of cluster

Query Parameters
string
host
Optional

Morid of host


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns DatastoresDTO of type(s) application/vnd.vmware.dms-v1+json
{
    "value": [
        {
            "datastore": "string",
            "name": "string",
            "capacity": "string",
            "freeSpace": "string",
            "type": "string"
        }
    ]
}
value
Optional

value


400

Bad Request

Operation doesn't return any data structure