[{"label":"Latest (v37.1)","version":"latest"},{"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

Description

Updates 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

Request

URL

URL


put
https://{api_host}/cloudapi/1.0.0/universalRouters/{universalRouterId}/routing
Copy

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.


universalRoutes Optional

The list of Universal Routes for routing configuration.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

202 Accepted

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

Errors

Errors

Error
400

Invalid configuration.


Error
404

The specified resource was not found

Code Samples

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.1)","version":"latest"},{"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
Feedback

Was this page helpful?