7.3

Table Of Contents
Getting a List of Available IP
Ranges 12
After creating a network profile, the administrator imports IP address ranges into vRealize Automation
from a registered IP address management (IPAM) service provider.
Get a List of Available IP Ranges for an IPAM Provider
GET /api/providers/{providerEnpointId}/ip-ranges queries a specified IPAM provider endpoint
for a list of the available IP address ranges configured on the IPAM provider device.
Prerequisites
n
Log in to vRealize Automation as a tenant administrator.
n
Verify that the appliance name and fully qualified domain name of the vRealize Automation instance
are available.
n
Verify that you have a valid HTTP bearer token that matches your login credentials. See Chapter 2
REST API Authentication.
n
Obtain the endpoint ID for the external IPAM provider device you want to query.
Procedure
1 Use the following command to query an IPAM endpoint for a list of configured IP address ranges.
curl --insecure -H "Accept:application/json" -H "Authorization: Bearer $token" https://$vRA/ ipam-
service/api/providers/<ENDPOINT_ID>/ip-ranges
ENDPOINT_ID is the endpoint ID of the external IPAM service provider.
2 Examine the response for a list of the available IP address ranges configured on the IPAM provider
device.
{
"links": [],
"content": [
{
"@type": "IPRange",
"id": null,
"name": "192.168.0.0/24",
"description": "Created by vRO package stub workflow",
VMware, Inc.
324