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 IpAddressBlock

Request:

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+

Required Permissions:

read

Feature:

policy_ipam

Additional Errors: