This API is used to query a VPN connection monitor with a specified ID.
For details, see Calling APIs.
GET /v5/{project_id}/connection-monitors/{connection_monitor_id}
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|
project_id |
String |
Yes |
Specifies a project ID. You can obtain the project ID by referring to Obtaining the Project ID. |
connection_monitor_id |
String |
Yes |
Specifies the ID of a VPN connection monitor. |
Returned status code 200: successful query
Parameter |
Type |
Description |
|---|---|---|
connection_monitor |
ConnectionMonitorInfo object |
Specifies the connection_monitor object. |
request_id |
String |
Specifies a request ID. |
Parameter |
Type |
Description |
|---|---|---|
id |
String |
|
status |
String |
|
vpn_connection_id |
String |
|
type |
String |
|
source_ip |
String |
Specifies the source address to be monitored. |
destination_ip |
String |
Specifies the destination address to be monitored. |
proto_type |
String |
|
{
"connection_monitor": {
"id": "76f64229-demo-a8df-va86-3907e2815b6d",
"status": "ACTIVE",
"vpn_connection_id": "cae286f2-demo-a8df-va86-e22416ca1220",
"type": "gateway",
"source_ip": "88.***.***.60",
"destination_ip": "88.***.***.32",
"proto_type": "icmp"
},
"request_id": "6d212bc0-ecb1-457b-977b-5e815fce658d"
}
For details, see Status Codes.