forked from docs/doc-exports
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>
208 lines
20 KiB
HTML
208 lines
20 KiB
HTML
<a name="EN-US_TOPIC_0000001807370544"></a><a name="EN-US_TOPIC_0000001807370544"></a>
|
|
|
|
<h1 class="topictitle1">Querying VPN Services</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_section43036322"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p27353390">This API is used to query VPN services.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_ole_link150"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p29283218439">GET /v2.0/vpn/vpnservices</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_section33639718"><h4 class="sectiontitle">Request</h4><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p12253110446"><a href="#EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_table57678784">Table 1</a> describes the request parameter.</p>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_table57678784"></a><a name="en-us_topic_0000001591896541_table57678784"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_table57678784" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Request parameter</caption><thead align="left"><tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row24197721"><th align="left" class="cellrowborder" valign="top" width="25.507449255074494%" id="mcps1.3.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p13858403">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.288571142885711%" id="mcps1.3.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p48788849">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.288571142885711%" id="mcps1.3.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p59582700">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="45.91540845915409%" id="mcps1.3.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p61469371">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row12963143"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p43381623">fields</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.288571142885711%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p24250547">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.288571142885711%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p18137316">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.91540845915409%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p59836530">Controls which parameters are returned. If this parameter is not specified, all parameters will be returned.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_note15811145184312"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p9593164618433">Parameter <strong id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_b1263056133512">project_id</strong> is not supported.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_section34322009"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p1949133310446"><a href="#EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_table14920772">Table 2</a> describes the response parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_table14920772"></a><a name="en-us_topic_0000001591896541_table14920772"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_table14920772" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row14434584"><th align="left" class="cellrowborder" valign="top" width="29.759999999999998%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p28350637">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.07%" id="mcps1.3.4.3.2.4.1.2"><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p14700275">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.17%" id="mcps1.3.4.3.2.4.1.3"><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p13070512">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row52078584"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p57615760">vpnservices</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p36364960">List<Object></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p18495050">Specifies the VPN service list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row32237730"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p61119323">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p51718129">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p20228817">Specifies whether the VPN service is operational. The value can be <strong id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_b842352706212822">ACTIVE</strong>, <strong id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_b842352706212827">DOWN</strong>, <strong id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_b842352706212832">BUILD</strong>, <strong id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_b842352706212835">ERROR</strong>, <strong id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_b842352706212840">PENDING_CREATE</strong>, <strong id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_b842352706212845">PENDING_UPDATE</strong>, or <strong id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_b842352706212850">PENDING_DELETE</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row47841633"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p49967061">router_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p20800170">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p37599894">Specifies the router ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row2854726"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p29906272">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p6488958">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p27037160">Specifies the VPN service name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row42007851"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p47192740">external_v6_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p64515557">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p30967009">Specifies the IPv6 address of the VPN service external gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row10267631"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p26371793">admin_state_up</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p55740512">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p37302179">Specifies the administrative status, which can be <strong id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_b1022028143615">true</strong> or <strong id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_b123132833615">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row175293"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p14198754">subnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p9248440">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p12605589">Specifies the subnet ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row46341445"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p62669527">tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p43066942">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p33894570">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row36615679"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p13080057">external_v4_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p52851724">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p8662426">Specifies the IPv4 address of the VPN service external gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row10852974"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p6675738">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p3863873">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p50833958">Specifies the VPN service ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row54852443"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p13862865">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p49150280">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p16898135">Provides supplementary information about the VPN service.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row11875759151715"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p250118119182">order_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p850111171815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p105011817187">Specifies the ID of a yearly/monthly order.</p>
|
|
<p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p51120351491">This parameter is only available to yearly/monthly VPNs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row14876175911176"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p18501116180">product_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p5501181191810">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p4501161121817">Specifies the ID of a product that is billed on a yearly/monthly basis.</p>
|
|
<p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p88281364496">This parameter is only available to yearly/monthly VPNs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row1687615911171"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p450118111818">prepay_connection_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p450121181812">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p12501111191813">Specifies the number of connections of the yearly/monthly VPN service.</p>
|
|
<p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p753815392495">This parameter is only available to yearly/monthly VPNs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row1687615917174"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p1250121121811">resource_speccode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p45011012187">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p35010111818">Specifies the specifications of the product that is billed on a yearly/monthly basis.</p>
|
|
<p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p343704118497">This parameter is only available to yearly/monthly VPNs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row178771659151719"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p145010118184">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p1350131181820">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p1650219131810">Specifies the time when the VPN service was created.</p>
|
|
<p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p15396112118284">The time is in <em id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_i1415403978102442">YYYY-mm-dd HH:MM:SS.ffffff</em> format.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_row1887715961715"><td class="cellrowborder" valign="top" width="29.759999999999998%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p195021312185">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.07%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p1150271151813">List<Object></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.17%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_p35023131812">Specifies the tags.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_section40462633"><h4 class="sectiontitle">Example</h4><ul id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_ul2018313104513"><li id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_li3183014456">Example request</li></ul>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_screen10956331">GET /v2.0/vpn/vpnservices</pre>
|
|
</div>
|
|
<ul id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_ul474101064517"><li id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_li47401074520">Example response<pre class="screen" id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_screen12511921134515">{
|
|
"vpnservices": [
|
|
{
|
|
"router_id": "66e3b16c-8ce5-40fb-bb49-ab6d8dc3f2aa",
|
|
"status": "PENDING_CREATE",
|
|
"name": "myservice",
|
|
"external_v6_ip": "2001:db8::1",
|
|
"admin_state_up": true,
|
|
"subnet_id": null,
|
|
"tenant_id": "10039663455a446d8ba2cbb058b0f578",
|
|
"external_v4_ip": "172.32.1.11",
|
|
"id": "5c561d9d-eaea-45f6-ae3e-08d1a7080828",
|
|
"description": "",
|
|
"product_id": "",
|
|
"order_id": "",
|
|
"created_at": "2020-08-05 12:36:35.921257",
|
|
"prepay_connection_num": 0,
|
|
"tags": [],
|
|
"resource_speccode": ""
|
|
}
|
|
]
|
|
}</pre>
|
|
</li></ul>
|
|
<div class="section" id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_section6578292"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0000001807370544__en-us_topic_0000001591896541_en-us_topic_0053740035_p19515943486">For details, see <a href="vpn_api_1054.html#EN-US_TOPIC_0000001854089293">Common Returned Values</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpn_api_1029.html">VPN Service Management</a></div>
|
|
</div>
|
|
</div>
|
|
|