System Administration > Configuration > Fabric > Compute Collections

Return the List of Compute Collections

Returns information about all compute collections.

Request:

Method:
GET
URI Path(s):
/api/v1/fabric/compute-collections
Request Headers:
n/a
Query Parameters:
ComputeCollectionListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/fabric/compute-collections

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ComputeCollectionListResult+

Example Response:

{ "cursor": "003653b55e00-e5c1-11e5-a549-005056b18ef8", "result_count": 2, "results": [ { "display_name": "cluster-2", "origin_type": "VC_Cluster", "external_id": "b0ba10c8-d193-11e6-bf26-cec0c932ce01:domain-c34", "origin_id": "b0ba10c8-d193-11e6-bf26-cec0c932ce01", "cm_local_id": "domain-c34", "owner_nsx": SELF, "origin_properties": [] }, { "display_name": "cluster-1", "origin_type": "VC_Cluster", "external_id": "b0ba10c8-d193-11e6-bf26-cec0c932ce01:domain-c32", "origin_id": "b0ba10c8-d193-11e6-bf26-cec0c932ce01", "cm_local_id": "domain-c32", "owner_nsx": SELF, "origin_properties": [] } ] }

Required Permissions:

read

Feature:

compute_managers_inventory

Additional Errors: