Get Gre Tunnel Statistics
Retrieves statistics for a GRE Tunnel on the Provider Gateway.
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/greTunnels/{tunnelId}/statistics
COPY
Path Parameters
string
externalNetworkId
Required
externalNetworkId
string
tunnelId
Required
tunnelId
Responses
200
OK
Returns
ProviderGatewayGreTunnelStatistics
of type(s)
application/json;version=39.1
{
"destinationAddress": "string",
"lastUpdated": "string",
"transmittedStatistics": {
"totalBytes": 0,
"totalPackets": 0,
"packetsDropped": 0
},
"receivedStatistics": {
"totalBytes": 0,
"totalPackets": 0,
"packetsDropped": 0
}
}
string
destinationAddress
Optional
The destination IP Address of the tunnel. IPv4 only.
string
lastUpdated
Optional
ISO-8601 date string reflecting the time the statistics were last updated.
transmittedStatistics
Optional
Traffic Statistics for a GRE Tunnel, either for received (RX) or transmitted (TX) traffic.
receivedStatistics
Optional
Traffic Statistics for a GRE Tunnel, either for received (RX) or transmitted (TX) traffic.
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/greTunnels/{tunnelId}/statistics
Availability
Added in 39.0
Provider Gateway Gre Tunnels Operations
GET
List Gre Tunnels
POST
Create Gre Tunnel
GET
Get Gre Tunnel
PUT
Update Gre Tunnel
DELETE
Delete Gre Tunnel
GET
Get Gre Tunnel Statistics
GET
Get Gre Tunnel Connectivity Status