Create Ip Space

Create Ip Space

Create a new IP Space in the system.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/ipSpaces
COPY
Request Body
IpSpace of type(s) application/json
Optional
{
    "status": {},
    "id": "urn:vcloud:ipSpace:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "name": "string",
    "description": "string",
    "type": "string",
    "orgRef": {
        "name": "string",
        "id": "string"
    },
    "utilization": {
        "floatingIPs": {
            "totalCount": "string",
            "allocatedCount": "string",
            "usedCount": "string",
            "unusedCount": "string",
            "allocatedPercentage": "number",
            "usedPercentage": "number"
        },
        "ipPrefixes": {
            "prefixLengthUtilizations": [
                {
                    "prefixLength": 0,
                    "totalCount": 0,
                    "allocatedCount": 0
                }
            ]
        }
    },
    "ipSpaceRanges": {
        "ipRanges": [
            {
                "id": "string",
                "startIpAddress": "string",
                "endIpAddress": "string",
                "totalIpCount": "string",
                "allocatedIpCount": "string",
                "allocatedIpPercentage": "number"
            }
        ],
        "defaultFloatingIpQuota": 0
    },
    "ipSpacePrefixes": [
        {
            "ipPrefixSequence": [
                {
                    "id": "string",
                    "startingPrefixIpAddress": "string",
                    "prefixLength": 0,
                    "totalPrefixCount": 0,
                    "allocatedPrefixCount": 0,
                    "allocatedPrefixPercentage": "number"
                }
            ],
            "defaultQuotaForPrefixLength": 0
        }
    ],
    "ipSpaceInternalScope": [
        "string"
    ],
    "ipSpaceExternalScope": "string",
    "routeAdvertisementEnabled": false,
    "defaultGatewayServiceConfig": {
        "enableDefaultSnatRuleCreation": false,
        "enableDefaultNoSnatRuleCreation": false,
        "enableDefaultFirewallRuleCreation": false
    },
    "canManageQuota": false
}
Authentication
This operation uses the following authentication methods.
Responses
202

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

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"ipSpaceInternalScope":["string"]}' https://{api_host}/cloudapi/1.0.0/ipSpaces