[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Create IP Space

Description

Create a new IP Space in the system.

Request

Request

URL

URL


post
https://{api_host}/cloudapi/1.0.0/ipSpaces
Copy

Request Body

Request Body

IpSpace of type(s) application/json Required
This request body class requires all of the following: IpSpaceSummary, InlineIpSpace1
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

202 Accepted

The request have been accepted and the task to monitor the request is in the Location header.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"description":"string","id":"urn:vcloud:ipSpace:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","ipSpaceExternalScope":"string","ipSpaceInternalScope":["string"],"ipSpacePrefixes":[{"defaultQuotaForPrefixLength":0,"ipPrefixSequence":[{"allocatedPrefixCount":0,"allocatedPrefixPercentage":0,"id":"string","prefixLength":0,"startingPrefixIpAddress":"string","totalPrefixCount":0}]}],"ipSpaceRanges":{"defaultFloatingIpQuota":0,"ipRanges":[{"allocatedIpCount":"string","allocatedIpPercentage":0,"endIpAddress":"string","id":"string","startIpAddress":"string","totalIpCount":"string"}]},"name":"string","orgRef":{"id":"string","name":"string"},"routeAdvertisementEnabled":false,"status":"enum","type":"string","utilization":{"floatingIPs":{"allocatedCount":"string","allocatedPercentage":0,"totalCount":"string","unusedCount":"string","usedCount":"string","usedPercentage":0},"ipPrefixes":{"allocatedCount":"string","allocatedPercentage":0,"prefixLengthUtilizations":[{"allocatedCount":0,"prefixLength":0,"totalCount":0}],"totalCount":"string","unusedCount":"string","usedCount":"string","usedPercentage":0}}}' https://{api_host}/cloudapi/1.0.0/ipSpaces


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?