NSX-T Data Center REST API
Get state of the given IpAddressBlock
Get state of a given IPAddressBlock. It lists all the allocated IPs and subnets created using that block per Project and VPCs.Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/ip-blocks/state
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/ip-blocks/state
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/ip-blocks/state
Request Headers:
n/a
Query Parameters:
IntentPathRequestParams+
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/ip-blocks/state?intent_path=/infra/ip-blocks/ip_block_marketingSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IpAddressBlockState+