Get Prefix Lists

Get Prefix Lists

Retrieves all Prefix lists for a given Edge Gateway. Results can be sorted by only a single parameter. Sorting by combination of parameters (sortAsc=foo&sortDesc=bar) is not allowed.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/edgeGateways/{gatewayId}/routing/bgp/prefixLists
COPY
Path Parameters
string
externalNetworkId
Required

externalNetworkId

string
externalNetworkId
Required

externalNetworkId

Query Parameters
string
sortAsc
Optional

Field to use for ascending sort

string
sortDesc
Optional

Field to use for descending sort


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns ProviderGatewayPrefixLists of type(s) application/json;version=39.0
{
    "values": [
        {
            "id": "string",
            "name": "string",
            "description": "string",
            "prefixes": [
                {
                    "network": "10.22.0.0/22",
                    "greaterThanEqualTo": 0,
                    "lessThanEqualTo": 0,
                    "action": "string"
                }
            ],
            "bgpPermissionGroupRef": {
                "id": "urn:vcloud:bgpPermissionGroup:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
                "name": "string",
                "accessLevel": "string"
            },
            "version": {
                "version": 0
            }
        }
    ]
}
values
Optional

All Prefix lists.