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
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
}
}
]
}
Availability
Added in 34.0
On This Page
Edge Gateway Prefix Lists Operations
POST
Create Prefix List
GET
Get Prefix Lists