doc-exports/docs/dli/api-ref/dli_02_0327.html
Su, Xiaomeng 483e5cc6cc dli_api_20240430
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2024-05-15 12:04:03 +00:00

410 lines
28 KiB
HTML

<a name="dli_02_0327"></a><a name="dli_02_0327"></a>
<h1 class="topictitle1">Querying All Elastic Resource Pools</h1>
<div id="body0000001160092066"><div class="section" id="dli_02_0327__section6578144241513"><h4 class="sectiontitle">Function</h4><p id="dli_02_0327__p1157911426155">This API is used to query all elastic resource pools.</p>
</div>
<div class="section" id="dli_02_0327__section18579114219156"><h4 class="sectiontitle">URI</h4><ul id="dli_02_0327__ul17181162702120"><li id="dli_02_0327__li14181162772120">URI format<p id="dli_02_0327__p8811134314213"><a name="dli_02_0327__li14181162772120"></a><a name="li14181162772120"></a>GET /v3/{project_id}/elastic-resource-pools</p>
</li><li id="dli_02_0327__li179964282210">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0327__table6580642171512" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameter</caption><thead align="left"><tr id="dli_02_0327__row1158024217155"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.2.1.2.5.1.1"><p id="dli_02_0327__p20581194211518">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.2.1.2.5.1.2"><p id="dli_02_0327__p14581134251515">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.2.1.2.5.1.3"><p id="dli_02_0327__p1581164211157">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.2.2.1.2.5.1.4"><p id="dli_02_0327__p13582134251513">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_02_0327__row758020429155"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="dli_02_0327__p1558294241513">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="dli_02_0327__p125821942161511">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="dli_02_0327__p185831423159">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="dli_02_0327__p17583842161511">Project ID, which is used for resource isolation. For details about how to obtain its value, see <a href="dli_02_0183.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0327__table16584342131517" frame="border" border="1" rules="all"><caption><b>Table 2 </b>query parameters</caption><thead align="left"><tr id="dli_02_0327__row1958494210154"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.2.2.2.5.1.1"><p id="dli_02_0327__p158584281516">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.2.2.2.5.1.2"><p id="dli_02_0327__p1358514251510">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.2.2.2.5.1.3"><p id="dli_02_0327__p4585642161518">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.2.2.2.2.5.1.4"><p id="dli_02_0327__p858619422156">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_02_0327__row20584114281518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.1 "><p id="dli_02_0327__p85868429155">limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.2 "><p id="dli_02_0327__p175861742131510">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.3 "><p id="dli_02_0327__p1658811426158">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.2.2.2.2.5.1.4 "><p id="dli_02_0327__p15957534169">Page size. The default value is <strong id="dli_02_0327__b20602185217437">100</strong>.</p>
</td>
</tr>
<tr id="dli_02_0327__row958424271513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.1 "><p id="dli_02_0327__p165891842121511">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.2 "><p id="dli_02_0327__p1858915423158">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.3 "><p id="dli_02_0327__p1958919428151">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.2.2.2.2.5.1.4 "><p id="dli_02_0327__p95901142111519">Fuzzy match based on the elastic resource pool name.</p>
</td>
</tr>
<tr id="dli_02_0327__row15584174271518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.1 "><p id="dli_02_0327__p1759054281517">offset</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.2 "><p id="dli_02_0327__p6591134291520">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.3 "><p id="dli_02_0327__p1159110422152">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.2.2.2.2.5.1.4 "><p id="dli_02_0327__p2591124201515">Offset. The default value is <strong id="dli_02_0327__b0225191454418">0</strong>.</p>
</td>
</tr>
<tr id="dli_02_0327__row241211075215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.1 "><p id="dli_02_0327__p14412171075211">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.2 "><p id="dli_02_0327__p17412101055212">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.3 "><p id="dli_02_0327__p13412151010520">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.2.2.2.2.5.1.4 "><p id="dli_02_0327__p11412310115212">Status of the elastic resource pool. Possible values are as follows:</p>
<ul id="dli_02_0327__ul128335247549"><li id="dli_02_0327__li13759102712544"><strong id="dli_02_0327__b19771054154414">AVAILABLE</strong></li><li id="dli_02_0327__li113591306542"><strong id="dli_02_0327__b467805114519">SCALING</strong></li><li id="dli_02_0327__li1759515326544"><strong id="dli_02_0327__b101171581457">CREATING</strong></li><li id="dli_02_0327__li48341824135413"><strong id="dli_02_0327__b442842054515">FAILED</strong></li></ul>
</td>
</tr>
<tr id="dli_02_0327__row2467182416555"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.1 "><p id="dli_02_0327__p2467112414555">tags</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.2 "><p id="dli_02_0327__p6239348105515">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.3 "><p id="dli_02_0327__p1246772415517">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.2.2.2.2.5.1.4 "><p id="dli_02_0327__p10467024155514">Query results are filtered by tag.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="dli_02_0327__section1059294214152"><h4 class="sectiontitle">Request</h4><p id="dli_02_0327__p209928479235">None</p>
</div>
<div class="section" id="dli_02_0327__section1159694211151"><h4 class="sectiontitle">Response</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0327__response_SuccessResponse" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response parameters</caption><thead align="left"><tr id="dli_02_0327__row1759704218153"><th align="left" class="cellrowborder" valign="top" width="18.4981501849815%" id="mcps1.3.4.2.2.5.1.1"><p id="dli_02_0327__p559815423152">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="7.519248075192481%" id="mcps1.3.4.2.2.5.1.2"><p id="dli_02_0327__p188753711266">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.4981501849815%" id="mcps1.3.4.2.2.5.1.3"><p id="dli_02_0327__p25988420150">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.48445155484452%" id="mcps1.3.4.2.2.5.1.4"><p id="dli_02_0327__p10598742201510">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_02_0327__row11597134291520"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0327__p1059918425152">is_success</p>
</td>
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0327__p1876187102616">No</p>
</td>
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0327__p659934241512">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0327__p1559954201511">Whether the request is successfully executed. Value <strong id="dli_02_0327__b5573814184615">true</strong> indicates that the request is successfully executed.</p>
</td>
</tr>
<tr id="dli_02_0327__row195971742141515"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0327__p1960018429151">message</p>
</td>
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0327__p138766742615">No</p>
</td>
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0327__p460011427158">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0327__p19601642121512">System prompt. If execution succeeds, the message may be left blank.</p>
</td>
</tr>
<tr id="dli_02_0327__row2448203012413"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0327__p24483303243">count</p>
</td>
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0327__p4876157102612">No</p>
</td>
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0327__p14481830192412">Long</p>
</td>
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0327__p12448173012245">Total number of records.</p>
</td>
</tr>
<tr id="dli_02_0327__row729292716247"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0327__p343834281516">elastic_resource_pools</p>
</td>
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0327__p158761679265">No</p>
</td>
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0327__p94388429153">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0327__p84395426152">Elastic resource pool information. For details, see <a href="#dli_02_0327__table31211426423">Table 4</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="dli_02_0327__table31211426423"></a><a name="table31211426423"></a><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0327__table31211426423" frame="border" border="1" rules="all"><caption><b>Table 4 </b>elastic_resource_pools parameters</caption><thead align="left"><tr id="dli_02_0327__row1413164210425"><th align="left" class="cellrowborder" valign="top" width="21.51%" id="mcps1.3.4.3.2.5.1.1"><p id="dli_02_0327__p10136427425">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="7.5200000000000005%" id="mcps1.3.4.3.2.5.1.2"><p id="dli_02_0327__p12853149173116">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.989999999999998%" id="mcps1.3.4.3.2.5.1.3"><p id="dli_02_0327__p1313164213421">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="54.98%" id="mcps1.3.4.3.2.5.1.4"><p id="dli_02_0327__p161304213425">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_02_0327__row1913042124211"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p81314422426">owner</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p1985379153116">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p113144214427">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p161314426427">Account used to create an elastic resource pool.</p>
</td>
</tr>
<tr id="dli_02_0327__row71304214423"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p10882738182919">elastic_resource_pool_name</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p485319915316">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p161444224217">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p1214042144220">Elastic resource pool name.</p>
</td>
</tr>
<tr id="dli_02_0327__row148161040122911"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p6812134022913">description</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p1185399103119">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p8812164052914">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p118121040102918">Elastic resource pool description information.</p>
</td>
</tr>
<tr id="dli_02_0327__row681513403292"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p128126402295">max_cu</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p1885310973120">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p881214072917">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p14812164052911">Maximum number of CUs.</p>
</td>
</tr>
<tr id="dli_02_0327__row14225650122919"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p222511508296">min_cu</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p68531892313">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p14225135092920">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p2225550122917">Minimum number of CUs.</p>
</td>
</tr>
<tr id="dli_02_0327__row1414485762918"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p514435710296">actual_cu</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p198531391315">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p61441357192913">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p12403163723116">Actual number of CUs.</p>
</td>
</tr>
<tr id="dli_02_0327__row585419315301"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p38549317307">cidr_in_vpc</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p158534963110">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p98548316304">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p148541630303">Subnet information of the elastic resource pool.</p>
</td>
</tr>
<tr id="dli_02_0327__row1492316813018"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p19924178103013">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p158531095319">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p592410843011">Long</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p692416819305">Time when the elastic resource pool is created.</p>
</td>
</tr>
<tr id="dli_02_0327__row05851268113"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p1758516262118">update_time</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p1385316911313">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p175851226617">Long</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p35851126118">Time when the elastic resource pool is updated.</p>
</td>
</tr>
<tr id="dli_02_0327__row10950165814212"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p19951758928">current_cu</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p385319923112">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p8951858520">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p39511358721">Number of current CUs.</p>
</td>
</tr>
<tr id="dli_02_0327__row4565712635"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p15656121318">status</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p185413903116">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p556515129319">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p1545125614312">Status of the elastic resource pool. Possible values are as follows:</p>
<ul id="dli_02_0327__ul8451356937"><li id="dli_02_0327__li104513561535"><strong id="dli_02_0327__b590883014529">AVAILABLE</strong></li><li id="dli_02_0327__li12451856535"><strong id="dli_02_0327__b1816163205219">SCALING</strong></li><li id="dli_02_0327__li174511561536"><strong id="dli_02_0327__b9958153385211">CREATING</strong></li><li id="dli_02_0327__li14514566319"><strong id="dli_02_0327__b10182173517527">FAILED</strong></li></ul>
</td>
</tr>
<tr id="dli_02_0327__row288155814315"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p138812581318">resource_id</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p185479103120">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p5881155818313">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p788145817314">Resource ID of the elastic resource pool.</p>
</td>
</tr>
<tr id="dli_02_0327__row191994331949"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p51993338419">fail_reason</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p28541993116">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p819910334415">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p141995336413">Cause of the elastic resource pool creation failure.</p>
</td>
</tr>
<tr id="dli_02_0327__row1143627468"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p343616718614">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p1985409153118">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p104360715614">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p1043627567">Enterprise project ID.</p>
</td>
</tr>
<tr id="dli_02_0327__row451110161361"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p451141620619">prepay_cu</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p185489183120">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p0511216460">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p551213162613">Number of prepaid CUs.</p>
</td>
</tr>
<tr id="dli_02_0327__row191312261173"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p1113326873">charging_mode</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p1685414913316">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p181352617716">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p91313264711">Billing mode.</p>
</td>
</tr>
<tr id="dli_02_0327__row12239325814"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p1024015215817">queues</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p168548911316">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p182402022811">Array of Strings</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p172401821085">Information about the queue the elastic resource pool belongs to.</p>
</td>
</tr>
<tr id="dli_02_0327__row1210940488"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p6101240585">manager</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p2085411918317">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p51054016815">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p1210740184">Type of the elastic resource pool.</p>
</td>
</tr>
<tr id="dli_02_0327__row109001251914"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p99001925693">label</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p108544912311">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p1190015254919">Map&lt;string, string&gt;</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p179006251595">Label used to identify the elastic resource pool. Currently, only the developer label is supported. The value is "label": {"billing_spec_code":"developer"}.</p>
</td>
</tr>
<tr id="dli_02_0327__row1548394573120"><td class="cellrowborder" valign="top" width="21.51%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0327__p11484945193115">id</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0327__p348484517316">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.989999999999998%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0327__p0484124553119">Long</p>
</td>
<td class="cellrowborder" valign="top" width="54.98%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0327__p9484345173112">ID of the elastic resource pool</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="dli_02_0327__section14769144211244"><h4 class="sectiontitle">Example Request</h4><p id="dli_02_0327__p4250451152420">None</p>
</div>
<div class="section" id="dli_02_0327__section206011242131520"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="dli_02_0327__screen111932046184810">{
"is_success": true,
"message": "",
"count": 2,
"elastic_resource_pools": [
{
"owner": "ei_dlics_d00352221",
"id": 1026,
"elastic_resource_pool_name": "elastic_pool_0622_10",
"description": "",
"max_cu": 0,
"min_cu": 0,
"actual_cu": 0,
"cidr_in_vpc": "172.16.0.0/12",
"create_time": 1624366266826,
"current_cu": 64,
"status": "AVAILABLE",
"resource_id": "ecc98d89-3fd1-4dec-b572-aa6e2ef82391",
"fail_reason": "",
"enterprise_project_id": "0",
"prepay_cu": 0,
"charging_mode": 1
},
{
"owner": "ei_dlics_d00352221",
"id": 1002,
"elastic_resource_pool_name": "elastic_pool_0622_0",
"description": "test",
"max_cu": 684,
"min_cu": 0,
"actual_cu": 0,
"cidr_in_vpc": "172.16.0.0/12",
"create_time": 1624353878084,
"status": "AVAILABLE",
"resource_id": "ecc98d89-3fd1-4dec-b572-aa6e2ef82391",
"fail_reason": "",
"enterprise_project_id": "0",
"prepay_cu": 0,
"charging_mode": 1
}
]
}</pre>
</div>
<div class="section" id="dli_02_0327__section4612442151516"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0327__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="dli_02_0327__row7612342181516"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="dli_02_0327__p261384261513">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="dli_02_0327__p66130422156">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_02_0327__row146127428152"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="dli_02_0327__p196141142141517">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="dli_02_0327__p061419422152">OK</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="dli_02_0327__section16141642191510"><h4 class="sectiontitle">Error Codes</h4><p id="dli_02_0327__p645914241511">If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see <a href="dli_02_0056.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dli_02_0325.html">APIs Related to Elastic Resource Pools</a></div>
</div>
</div>