Create Network

Create Network

Create an organization vDC network.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/orgVdcNetworks
COPY
Request Body
VdcNetwork of type(s) application/json
Optional
This request body class requires all of the following: Network , InlineVdcNetwork1
{
    "id": "string",
    "name": "string",
    "description": "string",
    "subnets": {
        "values": [
            {
                "gateway": "string",
                "prefixLength": 0,
                "dnsSuffix": "string",
                "dnsServer1": "string",
                "dnsServer2": "string",
                "ipRanges": {
                    "values": [
                        {
                            "startAddress": "string",
                            "endAddress": "string"
                        }
                    ]
                },
                "enabled": false,
                "totalIpCount": 0,
                "usedIpCount": 0
            }
        ]
    },
    "backingNetworkId": "string",
    "networkingTenancyEnabled": false,
    "parentNetworkId": {
        "name": "string",
        "id": "string"
    },
    "orgVdc": {
        "name": "string",
        "id": "string"
    },
    "ownerRef": {
        "name": "string",
        "id": "string"
    },
    "orgVdcIsNsxTBacked": false,
    "orgRef": {
        "name": "string",
        "id": "string"
    },
    "connection": {
        "routerRef": {
            "name": "string",
            "id": "string"
        },
        "connectionTypeValue": "string",
        "isUniversalVdcGroupEdge": false,
        "connected": false
    },
    "isDefaultNetwork": false,
    "shared": false,
    "enableDualSubnetNetwork": false,
    "lastTaskFailureMessage": "string",
    "guestVlanTaggingAllowed": false,
    "retainNicResources": false,
    "crossVdcNetworkId": "string",
    "crossVdcNetworkLocationId": "string",
    "overlayId": 0,
    "totalIpCount": 0,
    "usedIpCount": 0,
    "routeAdvertised": false,
    "securityGroups": [
        {
            "name": "string",
            "id": "string"
        }
    ],
    "segmentProfileTemplateRef": {
        "name": "string",
        "id": "string"
    }
}
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

400

Invalid configuration.

Returns Error of type(s) */*;version=38.1
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace