List Resource Pools

List Resource Pools

Lists all the resource pools from the vCenter for the given host or cluster.

Request
URI
GET
https://{api_host}//localhost/rest/external/v1/resource-pools
COPY
Query Parameters
string
host_or_cluster_id
Required

Host or Cluster ID

host_or_cluster_id example
domain-c85
string
vcenter_id
Required

Virtual Center ID

vcenter_id example
d0325b13-2bf1-4fa4-b027-e780004f2d1e

Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "children": [
            "ResourcePoolInfo Object"
        ],
        "id": "resgroup-1",
        "name": "RP1",
        "path": "/Datacenter/host/Cluster/Resources/RP1",
        "type": "RESOURCE_POOL"
    }
]

401

User is not authenticated

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure