List Datastore Clusters

List Datastore Clusters

Required Privileges : (This server version allows only Administrators on Root access group to login. These privileges are NOT relevant currently but will be applicable in later server versions.)

At least one of the listed privileges is required -

Privileges Description
GLOBAL_CONFIG_VIEW This privilege is required to read datastore clusters.
VC_CONFIG_VIEW This privilege is required to read datastore clusters.
Request
URI
GET
https://{api_host}//localhost/rest/external/v1/datastore-clusters
COPY
Query Parameters
string
host_or_cluster_id
Required

Host or Cluster ID

string
vcenter_id
Required

Virtual Center 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