Ip Pool Manager Query Ip Pools

Ip Pool Manager Query Ip Pools

Return the list of IP pools for a datacenter.

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/IpPoolManager/{moId}/QueryIpPools
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case IpPoolManager/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
QueryIpPoolsRequestType of type(s) application/json
Required
"QueryIpPoolsRequestType Object"
dc
Required

The datacenter for which to look up the IP pools.

Required privileges: System.Read

Authentication
This operation uses the following authentication methods.
Responses
200

The resulting list of pools.

[
    "IpPool Object"
]
array of IpPool
Optional

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/IpPoolManager/{moId}/QueryIpPools