Create Prefix List
Creates a new Prefix list on the Edge Gateway.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/edgeGateways/{gatewayId}/routing/bgp/prefixLists
COPY
Path Parameters
string
externalNetworkId
Required
externalNetworkId
string
externalNetworkId
Required
externalNetworkId
Request Body
ProviderGatewayPrefixList of type(s) application/json
Optional
{
"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
}
}
string
id
Optional
The unique id of this prefix list. On updates, the id is required for the list, while for create a new id will be generated. This id is not a VCD URN.
string
name
Required
Name for the prefix list.
string
description
Optional
Description for this prefix list.
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
400
Invalid configuration.
Returns Error of type(s) */*;version=38.1
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
404
The specified resource was not found
Returns Error of type(s) */*;version=38.1
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 34.0
On This Page
Edge Gateway Prefix Lists Operations
POST
Create Prefix List
GET
Get Prefix Lists