List Datastore Clusters

List Datastore Clusters

At least one of the listed privileges is required -

Privileges Description
GLOBAL_CONFIG_VIEW Caller should have permission to this privilege, to perform this operation.
VC_CONFIG_VIEW Caller should have permission to this privilege, to perform this operation.
Request
URI
GET
https://{api_host}/rest/external/v1/datastore-clusters
COPY
Query Parameters
string
vcenter_id
Required

Virtual Center ID

string
host_or_cluster_id
Required

Host or Cluster ID


Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "capacity_mb": 946176,
        "datacenter_id": "datacenter-1",
        "datastore_ids": [
            "datastore-29",
            "datastore-12"
        ],
        "free_space_mb": 88239,
        "host_or_cluster_id": "domain-c15",
        "id": "group-p1",
        "name": "datastoreCluster1",
        "path": "/DC/host/cls/datastoreCluster1",
        "vcenter_id": "42e47f15-aad0-221a-b231-ea4a3a134ec9"
    }
]

400

Bad Request

Operation doesn't return any data structure

401

User is not authenticated

Operation doesn't return any data structure

403

Access to the resource is forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure