forked from docs/doc-exports
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>
334 lines
22 KiB
HTML
334 lines
22 KiB
HTML
<a name="dli_02_0330"></a><a name="dli_02_0330"></a>
|
|
|
|
<h1 class="topictitle1">Querying All Queues in an Elastic Resource Pool</h1>
|
|
<div id="body0000001205730565"><div class="section" id="dli_02_0330__section10124838135017"><h4 class="sectiontitle">Function</h4><p id="dli_02_0330__p649111386561">This API is used to query all queues in an elastic resource pool.</p>
|
|
</div>
|
|
<div class="section" id="dli_02_0330__section11247386509"><h4 class="sectiontitle">URI</h4><ul id="dli_02_0330__ul33961859115614"><li id="dli_02_0330__li5396135914569">URI format<p id="dli_02_0330__p8125038135011"><a name="dli_02_0330__li5396135914569"></a><a name="li5396135914569"></a>GET /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}/queues</p>
|
|
</li><li id="dli_02_0330__li144836310579">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0330__table1712523875010" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="dli_02_0330__row101251038185017"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.2.1.2.5.1.1"><p id="dli_02_0330__p412617382508">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_0330__p16126113815012">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_0330__p71261238185020">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_0330__p171271838135010">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dli_02_0330__row18125638125020"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="dli_02_0330__p19127203813504">elastic_resource_pool_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="dli_02_0330__p112773825013">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_0330__p14128238135017">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_0330__p204643814507">Elastic resource pool name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row61252386508"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="dli_02_0330__p1312893815501">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_0330__p5129193817503">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_0330__p11129538125019">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_0330__p1547183814502">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_0330__table141305380500" frame="border" border="1" rules="all"><caption><b>Table 2 </b>query parameters</caption><thead align="left"><tr id="dli_02_0330__row11129143817503"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.2.2.2.5.1.1"><p id="dli_02_0330__p713133812504">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_0330__p161311538155016">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_0330__p81311238175019">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_0330__p18131938125013">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dli_02_0330__row9130338115014"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.1 "><p id="dli_02_0330__p313203810509">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_0330__p1013203805017">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_0330__p71321738135012">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_0330__p71331381506">Page size. The default value is <strong id="dli_02_0330__b58818441989">100</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row121301338185012"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.1 "><p id="dli_02_0330__p513316384507">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_0330__p2013343811509">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_0330__p21331238185014">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_0330__p3134123817509">Offset. The default value is <strong id="dli_02_0330__b1816535113812">0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row513043814508"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.2.2.5.1.1 "><p id="dli_02_0330__p2134438125017">queue_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_0330__p413593815507">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_0330__p513517386508">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_0330__p15136163815011">You can filter data by queue name.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="dli_02_0330__section513613382500"><h4 class="sectiontitle">Request</h4><p id="dli_02_0330__p18321154135815">None</p>
|
|
</div>
|
|
<div class="section" id="dli_02_0330__section1914017385503"><h4 class="sectiontitle">Response</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0330__response_GET_QUEUE_ASSOCIATIONSResp" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response parameters</caption><thead align="left"><tr id="dli_02_0330__row8140538125018"><th align="left" class="cellrowborder" valign="top" width="18.4981501849815%" id="mcps1.3.4.2.2.5.1.1"><p id="dli_02_0330__p41411938165012">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_0330__p349916391273">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_0330__p514113388501">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_0330__p1142138125019">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dli_02_0330__row18141738195020"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0330__p1214273825020">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_0330__p3499103932719">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0330__p141421138195013">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0330__p1559954201511">Whether the request is successfully executed. Value <strong id="dli_02_0330__b32895411135">true</strong> indicates that the request is successfully executed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row514183816500"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0330__p11143238135019">message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0330__p84991739142712">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0330__p5143163817505">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0330__p19601642121512">System prompt. If execution succeeds, the message may be left blank.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row13141938145013"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0330__p111441385506">queues</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0330__p13499163992712">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0330__p17144143825013">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_0330__p1114515386504">Resource weight of all queues in the elastic resource pool. For details about the parameters, see <a href="#dli_02_0330__response_queue_priority_infos">Table 4</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row3141193814509"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0330__p3145193817505">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0330__p1149983912716">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0330__p5145173865010">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0330__p1014543810509">Number of queues bound to the elastic resource pool.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="dli_02_0330__response_queue_priority_infos"></a><a name="response_queue_priority_infos"></a><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0330__response_queue_priority_infos" frame="border" border="1" rules="all"><caption><b>Table 4 </b>queues</caption><thead align="left"><tr id="dli_02_0330__row5146938155020"><th align="left" class="cellrowborder" valign="top" width="18.4981501849815%" id="mcps1.3.4.3.2.5.1.1"><p id="dli_02_0330__p11146173815018">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="7.519248075192481%" id="mcps1.3.4.3.2.5.1.2"><p id="dli_02_0330__p10880205882718">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.47815218478152%" id="mcps1.3.4.3.2.5.1.3"><p id="dli_02_0330__p4147173818504">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.5044495550445%" id="mcps1.3.4.3.2.5.1.4"><p id="dli_02_0330__p1114716387501">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dli_02_0330__row1114683885015"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0330__p14148838155018">queue_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0330__p1988005814276">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.47815218478152%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0330__p1149163845016">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.5044495550445%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0330__p214993819503">Queue name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row376013546466"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0330__p207601754134613">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0330__p1437110168478">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.47815218478152%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0330__p5760754164614">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.5044495550445%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0330__p8760185464611">Enterprise project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row3977657154613"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0330__p6977145716469">queue_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0330__p89307161477">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.47815218478152%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0330__p397713574467">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.5044495550445%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0330__p19977557124616">Queue type.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row89551033124712"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0330__p85107385478">queue_scaling_policies</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0330__p12510163844714">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.47815218478152%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0330__p185102386478">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.5044495550445%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0330__p1051015386477">Scaling policy. For details about the parameters, see <a href="#dli_02_0330__response_priority_infos">priority_infos</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row83645579525"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0330__p736417572527">owner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0330__p18895185575318">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.47815218478152%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0330__p5364165712529">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.5044495550445%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0330__p113641457205215">Queue owner.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row1214765319"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0330__p62177537">create_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0330__p208952554537">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.47815218478152%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0330__p3313745314">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.5044495550445%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0330__p8314713533">Time when a queue is created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row8843181510536"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0330__p18843181511533">engine</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0330__p089514553537">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.47815218478152%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0330__p184371513533">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.5044495550445%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0330__p198431159536">Queue engine type.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="dli_02_0330__response_priority_infos"></a><a name="response_priority_infos"></a><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0330__response_priority_infos" frame="border" border="1" rules="all"><caption><b>Table 5 </b>queue_scaling_policies</caption><thead align="left"><tr id="dli_02_0330__row1414983811505"><th align="left" class="cellrowborder" valign="top" width="18.4981501849815%" id="mcps1.3.4.4.2.5.1.1"><p id="dli_02_0330__p6150838135015">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="7.519248075192481%" id="mcps1.3.4.4.2.5.1.2"><p id="dli_02_0330__p17754111319281">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.4981501849815%" id="mcps1.3.4.4.2.5.1.3"><p id="dli_02_0330__p14150138145015">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.48445155484452%" id="mcps1.3.4.4.2.5.1.4"><p id="dli_02_0330__p151515380506">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dli_02_0330__row0255347513"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.4.2.5.1.1 "><p id="dli_02_0330__p1886720371519">priority</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.4.2.5.1.2 "><p id="dli_02_0330__p68673375511">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.4.2.5.1.3 "><p id="dli_02_0330__p17867137135111">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.4.2.5.1.4 "><p id="dli_02_0330__p486893714517">The policy priority ranges from 1 to 100. The value <strong id="dli_02_0330__b153924101617">100</strong> indicates the highest priority.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row121499380509"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.4.2.5.1.1 "><p id="dli_02_0330__p5151153865013">impact_start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.4.2.5.1.2 "><p id="dli_02_0330__p675416134283">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.4.2.5.1.3 "><p id="dli_02_0330__p3151438135011">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.4.2.5.1.4 "><p id="dli_02_0330__p015253885016">Time when a policy takes effect.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row2149173845019"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.4.2.5.1.1 "><p id="dli_02_0330__p1515273817508">impact_stop_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.4.2.5.1.2 "><p id="dli_02_0330__p375451319284">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.4.2.5.1.3 "><p id="dli_02_0330__p91521238205013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.4.2.5.1.4 "><p id="dli_02_0330__p1652113522595">Time when a policy expires.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row1827117437487"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.4.2.5.1.1 "><p id="dli_02_0330__p1727294315483">min_cu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.4.2.5.1.2 "><p id="dli_02_0330__p113162034916">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.4.2.5.1.3 "><p id="dli_02_0330__p13131620134913">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.4.2.5.1.4 "><p id="dli_02_0330__p2272843154818">Minimum number of CUs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_02_0330__row106500503486"><td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.4.2.5.1.1 "><p id="dli_02_0330__p11651450124811">max_cu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.3.4.4.2.5.1.2 "><p id="dli_02_0330__p681982015498">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.4981501849815%" headers="mcps1.3.4.4.2.5.1.3 "><p id="dli_02_0330__p15819122024912">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.48445155484452%" headers="mcps1.3.4.4.2.5.1.4 "><p id="dli_02_0330__p4651195084812">Maximum number of CUs.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="dli_02_0330__section14769144211244"><h4 class="sectiontitle">Example Request</h4><p id="dli_02_0330__p4250451152420">None</p>
|
|
</div>
|
|
<div class="section" id="dli_02_0330__section8528115415245"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="dli_02_0330__screen15693137306">{
|
|
"is_success": true,
|
|
"message": "",
|
|
"count": 1,
|
|
"queues": [
|
|
{
|
|
"queue_name": "lhm_sql",
|
|
"enterprise_project_id": "0",
|
|
"queue_type": "sql",
|
|
"queue_scaling_policies": [
|
|
{
|
|
"priority": 50,
|
|
"impact_start_time": "00:00",
|
|
"impact_stop_time": "24:00",
|
|
"min_cu": 16,
|
|
"max_cu": 16
|
|
},
|
|
{
|
|
"priority": 100,
|
|
"impact_start_time": "00:00",
|
|
"impact_stop_time": "12:00",
|
|
"min_cu": 32,
|
|
"max_cu": 64
|
|
},
|
|
{
|
|
"priority": 50,
|
|
"impact_start_time": "12:00",
|
|
"impact_stop_time": "24:00",
|
|
"min_cu": 16,
|
|
"max_cu": 32
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="dli_02_0330__section0160038165020"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0330__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="dli_02_0330__row41611038205019"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="dli_02_0330__p416173818503">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_0330__p6161138105020">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dli_02_0330__row816120384503"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="dli_02_0330__p1416243885013">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="dli_02_0330__p816293875011">OK</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="dli_02_0330__section21621138195015"><h4 class="sectiontitle">Error Codes</h4><p id="dli_02_0330__p71631038135015">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>
|
|
|