NSX-T Data Center REST API

Return the List of Container ip pool

Returns information about all container ip pools.

Request:

Method:
GET
URI Path(s):
/api/v1/fabric/container-ip-pools
Request Headers:
n/a
Query Parameters:
ContainerClusterFilterParameters+
Request Body:
n/a

Successful Response:

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

Example Response:

{ "results": [ { "external_id": "a241768e-6026-11e9-980c-dca9048e157d", "container_cluster_id": "a19ad270-6026-11e9-980c-dca9048e157d", "spec": "!!python/unicode 'podSelector':\n !!python/unicode 'matchLabels': {!!python/unicode 'app': !!python/unicode 'mgmtapp'}\n!!python/unicode 'policyTypes': [!!python/unicode 'IpPool']\n", "origin_properties": [ { "key": "prop0", "value": "val0" } ], "resource_type": "ContainerIpPool", "display_name": "ipppol-1", "_last_sync_time": 1555405484377 } ], "result_count": 1, "sort_by": "displayName", "sort_ascending": true }

Required Permissions:

read

Feature:

containers_inventory

Additional Errors: