7.2

Table Of Contents
"dnsSuffix": "mycompany.com",
"dnsSearchSuffix": "",
"primaryWinsAddress": "10.0.0.1",
"secondaryWinsAddress": ""
}
The JSON output consists of a location URL, which points to the newly created network prole. The
output contains an empty HTTP response body and the following or similar header statement. Copy
the location URL into a text editor for future use.
Location:
https://vcac148-084-241.eng.mycompany.com/iaas-proxy-provider/api/network/profiles/263b80f5-
d34f-47f2-b0b1-5a3db991c2e9
Syntax for Creating an External Network Profile Without IPAM
You can use the vRealize Automation REST API to create an external, NAT, private, or routed network
prole.
Input
Use the supported input parameters to control the command output.
Input Description
URL hps://$host/iaas-proxy-provider/api/network/proles
Method Post
$host Species the host name and fully qualied domain name or
IP address of the vRealize Automation identity server.
$token Species a valid HTTP bearer token with necessary
credentials.
HTTP Body The HTTP body describes the network prole to create.
Sample HTTP body eld values are presented in the JSON
Output section of the “Syntax for Geing a Network Prole
List,” on page 294 topic. Format your HTTP body using
this content as reference.
Output
The command output contains property names and values based on the command input parameters.
Property Description
status
If the command is successful, the HTTP status is 201 Created.
Header.Location
The HTTP response should contain a Location aribute that is formaed
as https://$host/iaas-proxy-
provider/api/network/profiles/$networkProfileID.
$networkProleID Species the unique identier of the new network prole.
Example: curl Command
The following example command creates an external network prole without IPAM.
curl --insecure -H "Accept:application/json"
-H "Authorization: Bearer $token"
https://$host/iaas-proxy-provider/api/$networkProfileID -d “
{
Programming Guide
304 VMware, Inc.