Create Cross Vdc Network
Creates a Cross vDC network.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/crossVdcNetworks
COPY
Request Body
CrossVdcNetwork
of type(s)
application/json
Optional
{
"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
}
]
},
"vdcGroupRef": {
"name": "string",
"id": "string"
},
"routerRef": {
"name": "string",
"id": "string"
},
"status": {},
"errorMessage": "string"
}
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=39.1
"Error Object"
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/1.0.0/crossVdcNetworks
Availability
Added in 31.0
Cross Vdc Networks Operations
GET
Get All Cross Vdc Networks For Vdc Group
GET
Get All Cross Vdc Networks
POST
Create Cross Vdc Network