Update Cross Vdc Network
Updates a specific Cross vDC network.
Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/crossVdcNetworks/{crossVdcNetworkId}
COPY
Path Parameters
string
crossVdcNetworkId
Required
crossVdcNetworkId
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
404
The specified resource was not found
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 PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/1.0.0/crossVdcNetworks/{crossVdcNetworkId}
Availability
Added in 31.0
On This Page
Cross Vdc Network Operations
GET
Get Cross Vdc Network
PUT
Update Cross Vdc Network
DELETE
Delete Cross Vdc Network
POST
Sync Cross Vdc Network