[{"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
Update Universal Egress Routing
DescriptionUpdates the routing configuration using the specified egress points in the universal routes. Any egress point that does not exist will be created before updating routing. Any egress point that currently exists and is not in use by any of the specified routes will be deleted. If the new egress points for routing fail to create, routing will not be updated.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/universalRouters/{universalRouterId}/routing
Path Parameters
Path Parameters
string
universalRouterId
Required
Request Body
Request Body
UniversalEgressRoutes
of type(s) application/json
Required
{
"egressPoints": {
"values": [
{
"errorMessage": "string",
"gatewayRef": {
"id": "string",
"name": "string"
},
"id": "string",
"isUsedForRouting": false,
"networkProviderScope": "string",
"status": "enum",
"vdcRef": {
"id": "string",
"name": "string"
}
}
]
},
"universalRoutes": {
"keepAliveTimer": 0,
"providerScopesToForceUnconfigure": [
"string"
],
"values": [
{
"defaultEgress": {
"egressPointId": "string",
"gatewayRef": {
"id": "string",
"name": "string"
},
"vdcRef": {
"id": "string",
"name": "string"
}
},
"errorMessage": "string",
"networkProviderScope": "string",
"standbyEgress": {
"egressPointId": "string",
"gatewayRef": {
"id": "string",
"name": "string"
},
"vdcRef": {
"id": "string",
"name": "string"
}
},
"status": "enum"
}
]
}
}
egressPoints
Optional
The list of Egress Points for routing configuration. This is read-only.
Authentication
This operation uses the following authentication methods.
Errors
Error
400
Invalid configuration.
Error
404
The specified resource was not found
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"egressPoints":{"values":[{"errorMessage":"string","gatewayRef":{"id":"string","name":"string"},"id":"string","isUsedForRouting":false,"networkProviderScope":"string","status":"enum","vdcRef":{"id":"string","name":"string"}}]},"universalRoutes":{"keepAliveTimer":0,"providerScopesToForceUnconfigure":["string"],"values":[{"defaultEgress":{"egressPointId":"string","gatewayRef":{"id":"string","name":"string"},"vdcRef":{"id":"string","name":"string"}},"errorMessage":"string","networkProviderScope":"string","standbyEgress":{"egressPointId":"string","gatewayRef":{"id":"string","name":"string"},"vdcRef":{"id":"string","name":"string"}},"status":"enum"}]}}' https://{api_host}/cloudapi/1.0.0/universalRouters/{universalRouterId}/routing
[{"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