Update Route Redistribution Config

Update Route Redistribution Config

Updates the Route Redistribution Configuration and Rules for a given Provider Gateway.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/routing/routeRedistribution
COPY
Path Parameters
string
externalNetworkId
Required

externalNetworkId


Request Body
ProviderGatewayRouteRedistributionConfig of type(s) application/json
Required
{
    "bgpRedistributionActive": false,
    "redistributionRules": [
        {
            "name": "string",
            "routeMapRef": {
                "id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
                "name": "string",
                "type": "string"
            },
            "redistributionServices": [
                "string"
            ]
        }
    ]
}
boolean
bgpRedistributionActive
Optional
Constraints: default: true

A flag indicating if route redistribution for BGP is active or not.

array of object
redistributionRules
Optional
Constraints: minItems: 0 maxItems: 5

The list of Route Redistribution Rules

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

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/routing/routeRedistribution