Get L2 Vpn Tunnels
Retrieves all L2 VPN tunnels that are configured for an 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}/l2vpn/tunnels
COPY
Path Parameters
string
gatewayId
Required
gatewayId
string
gatewayId
Required
gatewayId
Query Parameters
string
sortAsc
Optional
Field to use for ascending sort
string
sortDesc
Optional
Field to use for descending sort
Responses
200
OK
Returns
EdgeL2VpnTunnels
of type(s)
application/json;version=36.0
This response body class contains all of the following:
NetworkingObjectStatus ,
InlineEdgeL2VpnTunnels1
{
"values": [
{
"id": "36cc5a80-f99f-4350-b268-bb9111141a6e",
"name": "string",
"description": "string",
"localEndpointIP": "string",
"remoteEndpointIP": "string",
"tunnelInterface": "string",
"preSharedKey": "string",
"connectorInitiationMode": "string",
"enabled": false,
"sessionMode": "string",
"peerCode": "string",
"attachedNetworks": [
{
"name": "string",
"id": "string"
}
],
"stretchedNetworks": [
{
"networkRef": {
"name": "string",
"id": "string"
},
"tunnelId": 0
}
],
"logging": false,
"version": {
"version": 0
}
}
]
}
404
The specified resource was not found
Returns
Error
of type(s)
application/json;version=36.0
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 35.0
On This Page
Edge Gateway L2vpn Tunnels Operations
POST
Create L2 Vpn Tunnel
GET
Get L2 Vpn Tunnels