doc-exports/docs/as/api-ref/as_06_0301.html
Zaoxu, Li eda4b9181d AS API DOC
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com>
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com>
Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
2024-09-19 11:04:13 +00:00

336 lines
26 KiB
HTML

<a name="as_06_0301"></a><a name="as_06_0301"></a>
<h1 class="topictitle1">Querying Instances in an AS Group</h1>
<div id="body43212834"><div class="section" id="as_06_0301__section11009764"><h4 class="sectiontitle">Function</h4><p id="as_06_0301__p15061748134017">This API is used to query instances in an AS group based on search criteria. The results are displayed by page.</p>
<ul id="as_06_0301__ul19768161427"><li id="as_06_0301__li1877121611426">Search criteria can be the instance lifecycle status, instance health status, instance protection status, start line number, and number of records in the AS group.</li><li id="as_06_0301__li1754616244440">If no search criteria are specified, a maximum of 20 instances in an AS group can be queried by default.</li></ul>
</div>
<div class="section" id="as_06_0301__section31979016"><h4 class="sectiontitle">URI</h4><p id="as_06_0301__p1720071984110">GET /autoscaling-api/v1/{project_id}/scaling_group_instance/{scaling_group_id}/list</p>
<div class="note" id="as_06_0301__note30955521115027"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_06_0301__p10164235115027">You can type the question mark (?) and ampersand (&amp;) at the end of the URI to define multiple search criteria. Instances in an AS group can be searched by all optional parameters in the following table. For details, see the example request.</p>
</div></div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0301__table2199097" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="as_06_0301__row41000636"><th align="left" class="cellrowborder" valign="top" width="33%" id="mcps1.3.2.4.2.5.1.1"><p id="as_06_0301__p32717189"><strong id="as_06_0301__b3103143417515">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.2.4.2.5.1.2"><p id="as_06_0301__p32846614">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11%" id="mcps1.3.2.4.2.5.1.3"><p id="as_06_0301__p43330072">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="as_06_0301__p20074930"><strong id="as_06_0301__b7757123411513">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0301__row15456653"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0301__p44029393">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0301__p9611044">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0301__p40297137">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0301__p36520930">Specifies the project ID.</p>
</td>
</tr>
<tr id="as_06_0301__row50039568"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0301__p26673201">scaling_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0301__p13045638">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0301__p50063735">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0301__p28630766">Specifies the AS group ID.</p>
</td>
</tr>
<tr id="as_06_0301__row56350302"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0301__p971734">life_cycle_state</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0301__p11601606">No</p>
</td>
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0301__p206039">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0301__p16689200">Specifies the instance lifecycle status in the AS group.</p>
<ul id="as_06_0301__ul16908952165812"><li id="as_06_0301__li391017528586"><strong id="as_06_0301__b7576229175212">INSERVICE</strong>: The instance is enabled.</li><li id="as_06_0301__li1491495255813"><strong id="as_06_0301__b32258777144837">PENDING</strong>: The instance is being added to the AS group.</li><li id="as_06_0301__li292145275813"><strong id="as_06_0301__b6394292144837">REMOVING</strong>: The instance is being removed from the AS group.</li></ul>
</td>
</tr>
<tr id="as_06_0301__row19723089"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0301__p54066375">health_status</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0301__p17300225">No</p>
</td>
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0301__p59140967">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0301__p25689059">Specifies the instance health status.</p>
<ul id="as_06_0301__ul2121610719490"><li id="as_06_0301__li3643912319490"><strong id="as_06_0301__b28797747144837">INITIALIZING</strong>: The instance is initializing.</li><li id="as_06_0301__li3531511319490"><strong id="as_06_0301__b53754535164857">NORMAL</strong>: The instance is normal.</li><li id="as_06_0301__li4838949719490"><strong id="as_06_0301__b66749771144837">ERROR</strong>: The instance is abnormal.</li></ul>
</td>
</tr>
<tr id="as_06_0301__row46771154174315"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0301__p3654134174417">protect_from_scaling_down</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0301__p76772547430">No</p>
</td>
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0301__p367712544434">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0301__p492652064618">Specifies the instance protection status.</p>
<ul id="as_06_0301__ul19319440184514"><li id="as_06_0301__li152151255484"><strong id="as_06_0301__b867617538920">true</strong>: Instance protection is enabled.</li><li id="as_06_0301__li1231974004510"><strong id="as_06_0301__b14933121091013">false</strong>: Instance protection is disabled.</li></ul>
</td>
</tr>
<tr id="as_06_0301__row439002"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0301__p35559222">start_number</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0301__p61724767">No</p>
</td>
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0301__p33650236">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0301__p59373825">Specifies the start line number. The default value is <strong id="as_06_0301__b386112519475">0</strong>. The minimum parameter value is <strong id="as_06_0301__b18744142621611">0</strong>.</p>
</td>
</tr>
<tr id="as_06_0301__row36287209"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0301__p53582808">limit</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0301__p45240216">No</p>
</td>
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0301__p40578897">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0301__p21968676">Specifies the number of query records. The default value is <strong id="as_06_0301__b168447885495335">20</strong>. The value ranges from 0 to 100.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="as_06_0301__section19375690"><h4 class="sectiontitle">Request</h4><p id="as_06_0301__p60400126203515">None</p>
</div>
<div class="section" id="as_06_0301__section22046276418"><h4 class="sectiontitle">Example Request</h4><div class="p" id="as_06_0301__p19179194652613">This example queries enabled, healthy instances in the AS group with ID <strong id="as_06_0301__b3814161135015">e5d27f5c-dd76-4a61-b4bc-a67c5686719a</strong>.<pre class="screen" id="as_06_0301__screen17196134382619">GET https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_group_instance/e5d27f5c-dd76-4a61-b4bc-a67c5686719a/list?life_cycle_state=INSERVICE&amp;health_status=NORMAL</pre>
</div>
</div>
<div class="section" id="as_06_0301__section40163483"><h4 class="sectiontitle">Response</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0301__table61002694" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameters</caption><thead align="left"><tr id="as_06_0301__row47328638"><th align="left" class="cellrowborder" valign="top" width="28.000000000000004%" id="mcps1.3.5.2.2.4.1.1"><p id="as_06_0301__p8414476"><strong id="as_06_0301__b1496023515516">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="8%" id="mcps1.3.5.2.2.4.1.2"><p id="as_06_0301__p10483995">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="64%" id="mcps1.3.5.2.2.4.1.3"><p id="as_06_0301__p43897299"><strong id="as_06_0301__b125654017512">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0301__row66020315"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0301__p46045275">total_number</p>
</td>
<td class="cellrowborder" valign="top" width="8%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0301__p38679804">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="64%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0301__p46056421">Specifies the total number of query records.</p>
</td>
</tr>
<tr id="as_06_0301__row11854613"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0301__p20699582">start_number</p>
</td>
<td class="cellrowborder" valign="top" width="8%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0301__p66053444">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="64%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0301__p48728718">Specifies the start line number.</p>
</td>
</tr>
<tr id="as_06_0301__row35905280"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0301__p22646572">limit</p>
</td>
<td class="cellrowborder" valign="top" width="8%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0301__p22433040">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="64%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0301__p5136981">Specifies the maximum number of resources to be queried.</p>
</td>
</tr>
<tr id="as_06_0301__row46232835"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0301__p53872188">scaling_group_instances</p>
</td>
<td class="cellrowborder" valign="top" width="8%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0301__p1571113">Array of <a href="#as_06_0301__table4301093319610">scaling_group_instances</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="64%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0301__p60151347">Specifies details about the instances in the AS group.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="as_06_0301__table4301093319610"></a><a name="table4301093319610"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0301__table4301093319610" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="as_06_0301__b186916132404">scaling_group_instances</strong> field description</caption><thead align="left"><tr id="as_06_0301__r70742bbfa8934fe3957ce895a04570ec"><th align="left" class="cellrowborder" valign="top" width="28.000000000000004%" id="mcps1.3.5.3.2.4.1.1"><p id="as_06_0301__a51abf2e749334c12a9e69960b71588a2">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="9%" id="mcps1.3.5.3.2.4.1.2"><p id="as_06_0301__a4e2cd975880e41e5a0537ae1ac9d2283">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="63%" id="mcps1.3.5.3.2.4.1.3"><p id="as_06_0301__acf4271098e944ce5bc43281cb9c1e6a8">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0301__rfcae682d9e4e45bb8ce4ecb16a18903c"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.3.2.4.1.1 "><p id="as_06_0301__a07006dc0e72c4cf598e1310e2aa245c2">instance_id</p>
</td>
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.3.2.4.1.2 "><p id="as_06_0301__a535b15d9353a4e1485ab8990acd661a4">String</p>
</td>
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.3.2.4.1.3 "><p id="as_06_0301__aec2b3792d52346d9a003c86ac718fb20">Specifies the instance ID.</p>
</td>
</tr>
<tr id="as_06_0301__r0f2d64e3d3564ce78467b4bcbab0f33e"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.3.2.4.1.1 "><p id="as_06_0301__abbab6a7a28354d7abb2aba09b8e901c4">instance_name</p>
</td>
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.3.2.4.1.2 "><p id="as_06_0301__a8288d1f758f340d0ad8eba28e003ac34">String</p>
</td>
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.3.2.4.1.3 "><p id="as_06_0301__a7666cce4ea544c108b300ab0e798cb55">Specifies the instance name.</p>
</td>
</tr>
<tr id="as_06_0301__rf5cebf370db44b4da8908094f1e9a3f0"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.3.2.4.1.1 "><p id="as_06_0301__a70f999e778734195ba3a7e43d4b6f6c0">scaling_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.3.2.4.1.2 "><p id="as_06_0301__a62d0ceed255e4dd1901b5142934baa2b">String</p>
</td>
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.3.2.4.1.3 "><p id="as_06_0301__ad53add0be41b4377ab799a88e1a4f907">Specifies the ID of the AS group to which the instance belongs.</p>
</td>
</tr>
<tr id="as_06_0301__r5b7c40ac38534849babc98db78b57a06"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.3.2.4.1.1 "><p id="as_06_0301__a5946a55e48ac49fdb0dcabe1bfe8b0c4">scaling_group_name</p>
</td>
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.3.2.4.1.2 "><p id="as_06_0301__accfabda9fb3a4a718a16c3e6400e2dc6">String</p>
</td>
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.3.2.4.1.3 "><p id="as_06_0301__a44ecf06e09864853b6029c95aeee72e1">Specifies the name of the AS group to which the instance belongs.</p>
<p id="as_06_0301__p999344172010">Supports fuzzy search. </p>
</td>
</tr>
<tr id="as_06_0301__r373dcb3a77874f1da86f19760410fc3c"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.3.2.4.1.1 "><p id="as_06_0301__a31b8072135084adab4d8459c50e2be87">life_cycle_state</p>
</td>
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.3.2.4.1.2 "><p id="as_06_0301__a10fa21308bce4fd081701959df3071dd">String</p>
</td>
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.3.2.4.1.3 "><p id="as_06_0301__a9e042ac9129a4862b60266587156df95">Specifies the instance lifecycle status in the AS group.</p>
<ul id="as_06_0301__uac0ce6a3969645c692634f64204824b3"><li id="as_06_0301__lbd8ee16e465a42569643df9ea09cbf42"><strong id="as_06_0301__b1495832055">INSERVICE</strong>: The instance is enabled.</li><li id="as_06_0301__l458e1d23654d405e8ee1087a166ac224"><strong id="as_06_0301__b439825278">PENDING</strong>: The instance is being added to the AS group.</li><li id="as_06_0301__l7b87c06e565d4e12b7625bf80a79580a"><strong id="as_06_0301__b516646395">REMOVING</strong>: The instance is being removed from the AS group.</li></ul>
</td>
</tr>
<tr id="as_06_0301__ra6696eb6fe0947e9a6bce923cc8a0b59"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.3.2.4.1.1 "><p id="as_06_0301__a12384583db9049b1952a1dbaeaccce72">health_status</p>
</td>
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.3.2.4.1.2 "><p id="as_06_0301__a1ee76e9c66ab4fd5ad5b1a16f1acc98e">String</p>
</td>
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.3.2.4.1.3 "><p id="as_06_0301__af8406dc507624ef69b4ff65754839108">Specifies the instance health status.</p>
<ul id="as_06_0301__ul4917121148"><li id="as_06_0301__li1894016211540"><strong id="as_06_0301__b1833506422">INITIALIZING</strong>: The instance is being initialized.</li><li id="as_06_0301__li18801931042"><strong id="as_06_0301__b1773954075">NORMAL</strong>: The instance is functional.</li><li id="as_06_0301__li1810191215414"><strong id="as_06_0301__b1188911552548">ERROR</strong>: The instance is faulty.</li></ul>
</td>
</tr>
<tr id="as_06_0301__rcd738bb778b14235ad52e8cc6ad70220"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.3.2.4.1.1 "><p id="as_06_0301__a932b15635ce748f3bb97a72fa5e4061d">scaling_configuration_name</p>
</td>
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.3.2.4.1.2 "><p id="as_06_0301__adcb19276fe2544ccb68d4015cfdaebfa">String</p>
</td>
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.3.2.4.1.3 "><p id="as_06_0301__abc2d2c7a7535454a9606ca2717281a73">Specifies the AS configuration name.</p>
</td>
</tr>
<tr id="as_06_0301__r4c087e502ab2447da75306c3917c009c"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.3.2.4.1.1 "><p id="as_06_0301__a3818e07041df414b982d5a06ca416a08">scaling_configuration_id</p>
</td>
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.3.2.4.1.2 "><p id="as_06_0301__ae907ae4b54244f2198d4fd28f2ddff91">String</p>
</td>
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.3.2.4.1.3 "><p id="as_06_0301__p442107134311">Specifies the AS configuration ID.</p>
<p id="as_06_0301__p1076493254318">If the returned value is not empty, the instance is an ECS automatically created in a scaling action.</p>
<p id="as_06_0301__a6f15c80f7a8e4bc7bb49e16a7b9a6a1e">If the returned value is empty, the instance is an ECS manually added to the AS group.</p>
</td>
</tr>
<tr id="as_06_0301__r2e9d08c03c2d45d49627031bec19adba"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.3.2.4.1.1 "><p id="as_06_0301__a2054b48bc54d4c099fca130ada8f2a67">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.3.2.4.1.2 "><p id="as_06_0301__a9561fe662833467eb155944e92ce45b9">String</p>
</td>
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.3.2.4.1.3 "><p id="as_06_0301__abeff39d08b034646b4f440ebf83247f3">Specifies the time when the instance is added to the AS group. The time format complies with UTC.</p>
</td>
</tr>
<tr id="as_06_0301__row30878528101412"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.3.2.4.1.1 "><p id="as_06_0301__p18132877101412">protect_from_scaling_down</p>
</td>
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.3.2.4.1.2 "><p id="as_06_0301__p59476922101412">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.3.2.4.1.3 "><p id="as_06_0301__p52901359101412">Specifies the instance protection status.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="as_06_0301__section3366951114115"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="as_06_0301__screen3290630293642">{
"limit": 10,
"total_number": 1,
"start_number": 0,
"scaling_group_instances": [
{
"instance_id": "b25c1589-c96c-465b-9fef-d06540d1945c",
"scaling_group_id": "e5d27f5c-dd76-4a61-b4bc-a67c5686719a",
"scaling_group_name": "discuz",
"life_cycle_state": "INSERVICE",
"health_status": "NORMAL",
"scaling_configuration_name": "discuz",
"scaling_configuration_id": "ca3dcd84-d197-4c4f-af2a-cf8ba39696ac",
"create_time": "2015-07-23T06:47:33Z",
"instance_name": "discuz_3D210808",
"protect_from_scaling_down": false
}
]
}</pre>
</div>
<div class="section" id="as_06_0301__section25927028"><h4 class="sectiontitle">Returned Values</h4><ul id="as_06_0301__ul32267243"><li id="as_06_0301__li21969731">Normal<p id="as_06_0301__p63509856"><a name="as_06_0301__li21969731"></a><a name="li21969731"></a>200</p>
</li><li id="as_06_0301__li34717793">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0301__table44024689" frame="border" border="1" rules="all"><thead align="left"><tr id="as_06_0301__row17847776"><th align="left" class="cellrowborder" valign="top" width="44.18%" id="mcps1.3.7.2.2.1.1.3.1.1"><p id="as_06_0301__p36383728">Returned Value</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.82%" id="mcps1.3.7.2.2.1.1.3.1.2"><p id="as_06_0301__p61400865">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0301__row7414170"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p63676932">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p57557895">The server failed to process the request.</p>
</td>
</tr>
<tr id="as_06_0301__row48259009"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p16665627">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p7738529">You must enter the username and password to access the requested page.</p>
</td>
</tr>
<tr id="as_06_0301__row2537905"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p4243749">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p8199418">You are forbidden to access the requested page.</p>
</td>
</tr>
<tr id="as_06_0301__row6685904"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p4687385">404 Not Found</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p44133910">The server could not find the requested page.</p>
</td>
</tr>
<tr id="as_06_0301__row61660876"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p28475059">405 Method Not Allowed</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p24778434">You are not allowed to use the method specified in the request.</p>
</td>
</tr>
<tr id="as_06_0301__row21679321"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p11194552">406 Not Acceptable</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p34343508">The response generated by the server could not be accepted by the client.</p>
</td>
</tr>
<tr id="as_06_0301__row40656116"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p4811061">407 Proxy Authentication Required</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p54151655">You must use the proxy server for authentication to process the request.</p>
</td>
</tr>
<tr id="as_06_0301__row17602849"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p16544703">408 Request Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p65052577">The request timed out.</p>
</td>
</tr>
<tr id="as_06_0301__row48602288"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p44471219">409 Conflict</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p45399024">The request could not be processed due to a conflict.</p>
</td>
</tr>
<tr id="as_06_0301__row5938035"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p11218807">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p36308168">Failed to complete the request because of an internal service error.</p>
</td>
</tr>
<tr id="as_06_0301__row58338056"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p27762102">501 Not Implemented</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p34137829">Failed to complete the request because the server does not support the requested function.</p>
</td>
</tr>
<tr id="as_06_0301__row38805013"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p56198311">502 Bad Gateway</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p55769358">Failed to complete the request because the request is invalid.</p>
</td>
</tr>
<tr id="as_06_0301__row32162181"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p54999878">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p25805135">Failed to complete the request because the system is unavailable.</p>
</td>
</tr>
<tr id="as_06_0301__row30919631"><td class="cellrowborder" valign="top" width="44.18%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0301__p21462168">504 Gateway Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="55.82%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0301__p60714046">A gateway timeout error occurred.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="as_06_0301__section17669131616110"><h4 class="sectiontitle">Error Codes</h4><p id="as_06_0301__p172692548116">See <a href="as_07_0102.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_06_0300.html">Instances</a></div>
</div>
</div>