NSX-T Data Center REST API
IpAddressBlock Free Subnets
Returns the number of subnets that can be carved for a given subnet mask, from the IpAddressBlockRequest:
Method:
GET
URI Path(s):
/policy/api/v1/infra/ip-blocks/{ip-block-id}/available-subnets
Request Headers:
n/a
Query Parameters:
MaskBasedAllocationStatePathRequestParams+
Request Body:
n/a
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IpAddressBlockAvailableSubnetsCount+