System Administration > Configuration > Fabric > Pool Management > IP Blocks

Get the subnet within an IP block (Deprecated)

Returns information about the subnet with specified id within a given
IP address block. Information includes display_name, description, cidr and
allocation_ranges.
Deprecated:
This rest routine is deprecated. Use /infra/ip-pools//ip-subnets/ to get a subnet with specified id within an IP address block.

Request:

Method:
GET
URI Path(s):
/api/v1/pools/ip-subnets/{subnet-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/pools/ip-subnets /4a1c354d-bf7a-42ce-8e27-57e75e803fa0

Successful Response:

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

Example Response:

{ "_revision": 0, "id": "4a1c354d-bf7a-42ce-8e27-57e75e803fa0", "display_name": "IPBlock-1-Subnet-1", "description": "IPBlock-1-Subnet-1 Description", "resource_type": "IpBlockSubnet", "cidr": "192.168.1.0/24", "allocation_ranges": [ { "start": "192.168.1.1", "end": "192.168.1.255" } ], "_last_modified_user": "admin", "_last_modified_time": 1514691880507, "_create_time": 1514691880507, "_create_user": "admin" }

Required Permissions:

read

Feature:

ipam_ipam

Additional Errors: