doc-exports/docs/vpn/api-ref/vpn_api_0035.html
Hongwei, King Wang 32c06a10a2 vpn_api
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Hongwei, King Wang <king.wanghongwei@huawei.com>
Co-committed-by: Hongwei, King Wang <king.wanghongwei@huawei.com>
2024-08-15 14:18:28 +00:00

211 lines
21 KiB
HTML

<a name="EN-US_TOPIC_0000001854169157"></a><a name="EN-US_TOPIC_0000001854169157"></a>
<h1 class="topictitle1">Querying the List of VPN Connection Monitors</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_section1630716302713"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p1030720314271">This API is used to query the list of VPN connection monitors.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_section18104173342818"><h4 class="sectiontitle">Calling Method</h4><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p0238172332">For details, see <a href="vpn_api_0008.html#EN-US_TOPIC_0000001807530276">Calling APIs</a>.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_section93078314277"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p189159284568">GET /v5/{project_id}/connection-monitors</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_table1430753182711" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row93086313277"><th align="left" class="cellrowborder" valign="top" width="20.61793820617938%" id="mcps1.3.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p1030819312714">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.02809719028097%" id="mcps1.3.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p1530818320274">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.798820117988202%" id="mcps1.3.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p2308183202710">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="48.555144485551445%" id="mcps1.3.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p33081738273">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row1630814332717"><td class="cellrowborder" valign="top" width="20.61793820617938%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p53081032274">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.02809719028097%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p1330812362719">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.798820117988202%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p730815332712">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="48.555144485551445%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p199639252285">Specifies a project ID. You can obtain the project ID by referring to <a href="vpn_api_0051.html#EN-US_TOPIC_0000001807530332">Obtaining the Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_table72104" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter in a query request</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row1259605914316"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.3.4.2.5.1.1"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p1759715597318">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.3.4.2.5.1.2"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p459720591434">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.76470588235294%" id="mcps1.3.3.4.2.5.1.3"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p125971759235">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.3.4.2.5.1.4"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p25973592319">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row205961159234"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p1859712598312">vpn_connection_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p159712591039">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.3.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p13598159936">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.4.2.5.1.4 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p916373541019">Specifies a VPN connection ID.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row1684165917237"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p655610534113">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p15562532119">Array</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.3.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p1555618531015">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.4.2.5.1.4 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p165561753817">Specifies an enterprise project ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_section17308113162710"><h4 class="sectiontitle">Request</h4><ul id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_ul930816372718"><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li4194345151413">Request parameters<p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p8508164519146"><a name="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li4194345151413"></a><a name="en-us_topic_0000001543354020_li4194345151413"></a>None</p>
</li><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li93521856131917">Example requests<ol id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_ol209892095257"><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li1598917917253">Query all VPN connection monitors.<pre class="screen" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_screen1975617534188">GET https://{Endpoint}/v5/{project_id}/connection-monitors</pre>
</li><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li247915172513">Query VPN monitors based on a specified VPN connection ID.<pre class="screen" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_screen13656103091915">GET https://{Endpoint}/v5/{project_id}/connection-monitors?vpn_connection_id={vpn_connection_id}</pre>
</li></ol>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_section153090372710"><h4 class="sectiontitle">Response</h4><ul id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_ul113098311273"><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li430993202717">Response parameters<p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p136013591339"><a name="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li430993202717"></a><a name="en-us_topic_0000001543354020_li430993202717"></a>Returned status code 200: successful query</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_table72106" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameters in the response body</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row760125919313"><th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.2.2.4.1.1"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p260216591530">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.2.2.4.1.2"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p1960215917315">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.559999999999995%" id="mcps1.3.5.2.1.2.2.4.1.3"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p186026599315">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row1060135913315"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p360275914319">connection_monitors</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p36021259236">Array of <a href="#EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_table72107">ConnectionMonitorInfo</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p560318591036">Specifies the connection_monitor object.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row1440892819188"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p19807143518129">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p3807153571217">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p2807535171212">Specifies a request ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_table72107"></a><a name="en-us_topic_0000001543354020_table72107"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_table72107" frame="border" border="1" rules="all"><caption><b>Table 4 </b>ConnectionMonitorInfo</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row660312597317"><th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.3.2.4.1.1"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p18203125812446">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.3.2.4.1.2"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p192041058184415">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.559999999999995%" id="mcps1.3.5.2.1.3.2.4.1.3"><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p1420614584441">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row1060316597314"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p17980844134212">id</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p1798004414215">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_ul1064673414438"><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li4646123404312">Specifies the ID of a VPN connection monitor.</li><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li2044713122414">The value is a UUID containing 36 characters.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row1560365911319"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p5184165415568">status</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p4184175411564">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_ul12184054145612"><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li14184165485616">Specifies the status of the VPN connection monitor.</li><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li5184105412567">Value range:<p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p12328172511462"><a name="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li5184105412567"></a><a name="en-us_topic_0000001543354020_li5184105412567"></a><strong id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_b14245467687841">ACTIVE</strong>: normal</p>
<p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p91471023174615"><strong id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_b13969287037843">PENDING_CREATE</strong>: creating</p>
<p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p51478233460"><strong id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_b8365528857845">PENDING_DELETE</strong>: deleting</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row751005214614"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p174632406567">vpn_connection_id</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p12463104011567">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_ul194631640185615"><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li3463124015565">Specifies the ID of the VPN connection to be monitored.</li><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li2046314019568">The value is a UUID containing 36 characters.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row98931157154617"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p54637409561">type</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p2463114011567">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_ul3463134016561"><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li946314045617">Specifies the type of objects to be monitored.</li><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li846374095617">The value can only be <strong id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_b197725245811228">gateway</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row16603159438"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p139822044124213">source_ip</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p1698213447424">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p298294415424">Specifies the source address to be monitored.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row156038591937"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p11982194416426">destination_ip</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p20982744154212">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p10983544104213">Specifies the destination address to be monitored.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_row1603059734"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p189831544174212">proto_type</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p0983184417427">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_ul1178312588143"><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li1176782131516">Specifies the protocol used by NQA.</li><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li156188711153">The value can only be <strong id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_b183182022911232">icmp</strong>.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li144971118202">Example responses<ol id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_ol17365183165010"><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li133654318506">Response to the request for querying all VPN connection monitors<pre class="screen" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_screen19961026102017">{
"connection_monitors":[
{
"id":"76f64229-demo-a8df-va86-3907e2815b6d",
"status":"ACTIVE",
"vpn_connection_id":"2342adf2-demo-a8df-va86-12aq511s0917",
"type":"gateway",
"source_ip":"88.***.***.60",
"destination_ip":"88.***.***.32",
"proto_type":"icmp"
},
{
"id":"85t53318-demo-a8df-va86-zq9312525f6t",
"status":"ACTIVE",
"vpn_connection_id":"cae286f2-demo-a8df-va86-e22416ca1220",
"type":"gateway",
"source_ip":"89.***.***.21",
"destination_ip":"88.***.***.12",
"proto_type":"icmp"
}
],
"request_id": "531f8b2c-ec55-45d8-90a3-ede922f7d63c"
}</pre>
</li><li id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_li256191216503">Response to the request for querying monitors based on a specified VPN connection ID<pre class="screen" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_screen4162161072112">{
"connection_monitors":[
{
"id":"76f64229-demo-a8df-va86-3907e2815b6d",
"status":"ACTIVE",
"vpn_connection_id":"2342adf2-demo-a8df-va86-12aq511s0917",
"type":"gateway",
"source_ip":"88.***.***.60",
"destination_ip":"88.***.***.32",
"proto_type":"icmp"
}
],
"request_id": "05ab9b58-9b4c-4cee-8113-4b0f325f1dfc"
}</pre>
</li></ol>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_section18311034278"><h4 class="sectiontitle">Status Codes</h4><p id="EN-US_TOPIC_0000001854169157__en-us_topic_0000001543354020_p18112112662914">For details, see <a href="vpn_api_0052.html#EN-US_TOPIC_0000001807370508">Status Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpn_api_0032.html">VPN Connection Monitoring</a></div>
</div>
</div>