VMware Cloud Director API - GET-AvailableResourcePools

VMware Cloud Director API - GET-AvailableResourcePools

GET /admin/extension/vimServer/{id}/resourcePoolList

Operation:
GET /admin/extension/vimServer/{id}/resourcePoolList
Description:
Retrieve a list of unused resource pools from a vCenter server.

Resource pools that are already in use by a provider vDC are not listed.

Since:
1.0
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
ResourcePoolListType

Produce media type(s):
application/vnd.vmware.admin.resourcePoolList+xml
application/vnd.vmware.admin.resourcePoolList+json
Output type:
ResourcePoolListType
Examples
Request
HTTP 1.1
GET /api/admin/extension/vimServer/5b2f648b-9da7-4d7b-8212-6ed8a83f2102/resourcePoolList

Headers:
x-vcloud-authorization: M69zc2o7Ol7AuYVBAslGYbnTluZZVZKIYa1HPe8MzEk=

Body:
Response
HTTP/1.1 200 OK

Headers:
Content-Length: 693
Content-Type: application/vnd.vmware.admin.resourcepoollist+xml;version=5.5
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?><vmext:ResourcePoolList
    xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
    xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    type="application/vnd.vmware.admin.resourcePoolList+xml"
    xsi:schemaLocation="http://www.vmware.com/vcloud/extension/v1.5 http://https://vcloud.example.com/api/v1.5/schema/vmwextensions.xsd http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
    <vcloud:Link
        href="https://vcloud.example.com/api/admin/extension/vimServer/5b2f648b-9da7-4d7b-8212-6ed8a83f2102"
        rel="up"
        type="application/vnd.vmware.admin.vmwvirtualcenter+xml"/>
</vmext:ResourcePoolList>