doc-exports/docs/vpn/api-ref/vpn_api_0062.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

207 lines
22 KiB
HTML

<a name="EN-US_TOPIC_0000001807530312"></a><a name="EN-US_TOPIC_0000001807530312"></a>
<h1 class="topictitle1">Querying the Number of Resource Instances</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_section20114008"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p1487610174615">This API is used to query the number of resource instances based on tags.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_section18104173342818"><h4 class="sectiontitle">Calling Method</h4><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p19989133162813">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_0000001807530312__en-us_topic_0000001759791750_section46808346"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p162426363498">POST /v5/{project_id}/{resource_type}/resource-instances/count</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_table3672032" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row10026740"><th align="left" class="cellrowborder" valign="top" width="20.61793820617938%" id="mcps1.3.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p6859639">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_0000001807530312__en-us_topic_0000001759791750_p179611479215">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_0000001807530312__en-us_topic_0000001759791750_p18759866">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_0000001807530312__en-us_topic_0000001759791750_p43154149">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row5825185"><td class="cellrowborder" valign="top" width="20.61793820617938%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p2077973">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_0000001807530312__en-us_topic_0000001759791750_p177965479212">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_0000001807530312__en-us_topic_0000001759791750_p34098154">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_0000001807530312__en-us_topic_0000001759791750_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>
<tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row10221058192817"><td class="cellrowborder" valign="top" width="20.61793820617938%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p623155842816">resource_type</p>
</td>
<td class="cellrowborder" valign="top" width="19.02809719028097%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p223105819284">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_0000001807530312__en-us_topic_0000001759791750_p152315585286">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="48.555144485551445%" headers="mcps1.3.3.3.2.5.1.4 "><ul id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_ul93453614117"><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li43451661818">Specifies the resource type.</li><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li16527151316115">The value can be <strong id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_b203145399864757">vpn-gateway</strong>, <strong id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_b159073629364757">customer-gateway</strong>, or <strong id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_b82568073764757">vpn-connection</strong>.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_section18621933"><h4 class="sectiontitle">Request</h4><ul id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_ul5992193374713"><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li59922337473">Request parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_table65426" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row888119174611"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.1.2.5.1.1"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p128826144612">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.1.2.5.1.2"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p888213111469">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.76470588235294%" id="mcps1.3.4.2.1.1.2.5.1.3"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p888251154619">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.4.2.1.1.2.5.1.4"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p788261194616">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row19881515468"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p1326155346">without_any_tag</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p1388214154618">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p088212115465">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><ul id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_ul12192194044314"><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li159212537438">When this parameter is set to <strong id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_b16204713639827">true</strong>, all resources without tags are queried. In this case, the <strong id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_b18794350949827">tags</strong> field is ignored. If this parameter is set to <strong id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_b125955239932">false</strong> or is not specified, all resources are queried or resources are filtered by "tags" or "matches".</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row6787854123312"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p77871854143317">tags</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p078755414338">Array of <a href="#EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_table92196">Tag</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p20787254173317">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><ul id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_ul124531254455"><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li84543256453">Specifies a tag list.</li><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li145412253459">A maximum of 20 tags can be specified.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row53894575336"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p53891557173311">matches</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p62791314203514">Array of <a href="#EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_table1255222583313">Match</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p1683922513512">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><ul id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_ul1630462674515"><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li16777937124516">Specifies a search field, including a key and a value. The match key is the field to be matched, for example, <strong id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_b114401097141732">resource_name</strong>. The match value is the value to be matched. The key is a fixed dictionary value.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_table92196"></a><a name="en-us_topic_0000001759791750_table92196"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_table92196" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Tag</caption><thead align="left"><tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row17982141112440"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.2.2.5.1.1"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p11982511184419">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.2.2.5.1.2"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p1498231116442">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.76470588235294%" id="mcps1.3.4.2.1.2.2.5.1.3"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p2098381112443">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.4.2.1.2.2.5.1.4"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p20983151154419">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row498231134419"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p14983131174417">key</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p39837111443">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p19831111204412">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_ul65231833153920"><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li1303152053315">Specifies a tag key.</li><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li152316335391">The value is a string of 1 to 128 characters.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row860610253715"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p2606162103715">values</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p20607142113718">Array of String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p96071726374">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_ul961219349376"><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li186123345379">Specifies the value list of a tag. If <strong id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_b173659274765134">values</strong> is an empty list, it indicates <strong id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_b71510256665134">any_value</strong>. The relationship between values is OR.</li><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li10612123423720">The value is a sting of 0 to 255 characters.</li><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li1612113412376">A maximum of 20 values can be specified.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_table1255222583313"></a><a name="en-us_topic_0000001759791750_table1255222583313"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_table1255222583313" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Match</caption><thead align="left"><tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row2552132517335"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.3.2.5.1.1"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p5552122516337">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.3.2.5.1.2"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p1455217253333">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.76470588235294%" id="mcps1.3.4.2.1.3.2.5.1.3"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p16552125133310">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.4.2.1.3.2.5.1.4"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p055212593318">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row655222510337"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p2552162519336">key</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p1455262512332">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p18553182583316">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.3.2.5.1.4 "><ul id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_ul1055322513317"><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li1355312510331">Specifies a match key.</li><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li655311251333">The value is <strong id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_b32579976791319">resource_name</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row555332563311"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p95531825113312">value</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p12750641193619">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p255311253331">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.3.2.5.1.4 "><ul id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_ul18553152563318"><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li165531025193318">Specifies a match value.</li><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li6553125103318">The value is a sting of 0 to 255 characters.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li7229123611211">Example request<pre class="screen" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_screen1778465375316">POST https://{Endpoint}/v5/{project_id}/{resource_type}/resource-instances/count
{
"tags": [{
"key": "key1",
"values": [
"value1",
"value2"
]
},
{
"key": "key2",
"values": [
"value1",
"value2"
]
}
],
"matches": [{
"key": "resource_name",
"value": "resource1"
}],
"without_any_tag": "false"
}</pre>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_section33379675"><h4 class="sectiontitle">Response</h4><ul id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_ul2144514204819"><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li61441714114816">Response parameters<p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p1623112417119"><a name="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li61441714114816"></a><a name="en-us_topic_0000001759791750_li61441714114816"></a>Returned status code 200: successful query</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_table92198" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Parameters in the response body</caption><thead align="left"><tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row14992101114413"><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_0000001807530312__en-us_topic_0000001759791750_p89930114442">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="24.88%" id="mcps1.3.5.2.1.2.2.4.1.2"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p12993191144414">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="52.900000000000006%" id="mcps1.3.5.2.1.2.2.4.1.3"><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p129931111164410">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_row179920112445"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p138112479275">total_count</p>
</td>
<td class="cellrowborder" valign="top" width="24.88%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p2099481116449">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="52.900000000000006%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_p13994191113443">Indicates the total number of records.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_ul9780202374818"><li id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_li3780523164820">Example response<pre class="screen" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_screen678017232489">{
"total_count": 1000
}</pre>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_section31981619"><h4 class="sectiontitle">Status Codes</h4><p id="EN-US_TOPIC_0000001807530312__en-us_topic_0000001759791750_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_0060.html">Tags</a></div>
</div>
</div>