forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
161 lines
15 KiB
HTML
161 lines
15 KiB
HTML
<a name="EN-US_TOPIC_0110252696"></a><a name="EN-US_TOPIC_0110252696"></a>
|
|
|
|
<h1 class="topictitle1">Response Parameters for Querying Instances in an AS Group</h1>
|
|
<div id="body18892969"><p class="msonormal" id="EN-US_TOPIC_0110252696__p31777804"><strong id="EN-US_TOPIC_0110252696__b19367415416">Response parameters are as follows.</strong></p>
|
|
<p id="EN-US_TOPIC_0110252696__p196371551205815">Parameter description</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0110252696__table13716813335" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Response parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_row47328638"><th align="left" class="cellrowborder" valign="top" width="29.95%" id="mcps1.3.3.2.4.1.1"><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p8414476">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32.85%" id="mcps1.3.3.2.4.1.2"><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p10483995">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="37.2%" id="mcps1.3.3.2.4.1.3"><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p43897299">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_row66020315"><td class="cellrowborder" valign="top" width="29.95%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p46045275">total_number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.85%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p38679804">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.2%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p46056421">Specifies the total number of resources.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_row11854613"><td class="cellrowborder" valign="top" width="29.95%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p20699582">start_number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.85%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p66053444">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.2%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p48728718">Specifies the start line number.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_row35905280"><td class="cellrowborder" valign="top" width="29.95%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p22646572">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.85%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p22433040">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.2%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p5136981">Specifies the maximum number of resources to be queried.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_row46232835"><td class="cellrowborder" valign="top" width="29.95%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p53872188">scaling_group_instances</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.85%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p1571113">Array of <a href="#EN-US_TOPIC_0110252696__table101521663415">scaling_group_instances</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="37.2%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p60151347">Specifies details about the instances in the AS group.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0110252696__p147241017411"><strong id="EN-US_TOPIC_0110252696__b187515549412">scaling_group_instances</strong> field data structure description</p>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0110252696__table101521663415"></a><a name="table101521663415"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0110252696__table101521663415" frame="border" border="1" rules="all"><caption><b>Table 2 </b><strong id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_b186916132404">scaling_group_instances</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_r70742bbfa8934fe3957ce895a04570ec"><th align="left" class="cellrowborder" valign="top" width="28.000000000000004%" id="mcps1.3.5.2.4.1.1"><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a51abf2e749334c12a9e69960b71588a2">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="9%" id="mcps1.3.5.2.4.1.2"><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a4e2cd975880e41e5a0537ae1ac9d2283">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="63%" id="mcps1.3.5.2.4.1.3"><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_acf4271098e944ce5bc43281cb9c1e6a8">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_rfcae682d9e4e45bb8ce4ecb16a18903c"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a07006dc0e72c4cf598e1310e2aa245c2">instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a535b15d9353a4e1485ab8990acd661a4">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_aec2b3792d52346d9a003c86ac718fb20">Specifies the instance ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_r0f2d64e3d3564ce78467b4bcbab0f33e"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_abbab6a7a28354d7abb2aba09b8e901c4">instance_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a8288d1f758f340d0ad8eba28e003ac34">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a7666cce4ea544c108b300ab0e798cb55">Specifies the instance name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_rf5cebf370db44b4da8908094f1e9a3f0"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a70f999e778734195ba3a7e43d4b6f6c0">scaling_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a62d0ceed255e4dd1901b5142934baa2b">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_ad53add0be41b4377ab799a88e1a4f907">Specifies the ID of the AS group to which the instance belongs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_r5b7c40ac38534849babc98db78b57a06"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a5946a55e48ac49fdb0dcabe1bfe8b0c4">scaling_group_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_accfabda9fb3a4a718a16c3e6400e2dc6">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a44ecf06e09864853b6029c95aeee72e1">Specifies the name of the AS group to which the instance belongs.</p>
|
|
<p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p999344172010">Supports fuzzy search. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_r373dcb3a77874f1da86f19760410fc3c"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a31b8072135084adab4d8459c50e2be87">life_cycle_state</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a10fa21308bce4fd081701959df3071dd">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a9e042ac9129a4862b60266587156df95">Specifies the instance lifecycle status in the AS group.</p>
|
|
<ul id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_uac0ce6a3969645c692634f64204824b3"><li id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_lbd8ee16e465a42569643df9ea09cbf42"><strong id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_b32618021">INSERVICE</strong>: The instance is enabled.</li><li id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_l458e1d23654d405e8ee1087a166ac224"><strong id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_b371530595">PENDING</strong>: The instance is being added to the AS group.</li><li id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_l7b87c06e565d4e12b7625bf80a79580a"><strong id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_b1989930927">REMOVING</strong>: The instance is being removed from the AS group.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_ra6696eb6fe0947e9a6bce923cc8a0b59"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a12384583db9049b1952a1dbaeaccce72">health_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a1ee76e9c66ab4fd5ad5b1a16f1acc98e">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_af8406dc507624ef69b4ff65754839108">Specifies the instance health status.</p>
|
|
<ul id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_ul4917121148"><li id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_li1894016211540"><strong id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_b883009718">INITIALIZING</strong>: The instance is being initialized.</li><li id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_li18801931042"><strong id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_b570868272">NORMAL</strong>: The instance is functional.</li><li id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_li1810191215414"><strong id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_b1188911552548">ERROR</strong>: The instance is faulty.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_rcd738bb778b14235ad52e8cc6ad70220"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a932b15635ce748f3bb97a72fa5e4061d">scaling_configuration_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_adcb19276fe2544ccb68d4015cfdaebfa">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_abc2d2c7a7535454a9606ca2717281a73">Specifies the AS configuration name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_r4c087e502ab2447da75306c3917c009c"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a3818e07041df414b982d5a06ca416a08">scaling_configuration_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_ae907ae4b54244f2198d4fd28f2ddff91">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p442107134311">Specifies the AS configuration ID.</p>
|
|
<p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p1076493254318">If the returned value is not empty, the instance is an ECS automatically created in a scaling action.</p>
|
|
<p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a6f15c80f7a8e4bc7bb49e16a7b9a6a1e">If the returned value is empty, the instance is an ECS manually added to the AS group.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_r2e9d08c03c2d45d49627031bec19adba"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a2054b48bc54d4c099fca130ada8f2a67">create_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_a9561fe662833467eb155944e92ce45b9">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_abeff39d08b034646b4f440ebf83247f3">Specifies the time when the instance is added to the AS group. The time format complies with UTC.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_row30878528101412"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p18132877101412">protect_from_scaling_down</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p59476922101412">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252696__en-us_topic_0043063045_p52901359101412">Specifies the instance protection status.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0110252696__p1983713162417"><strong id="EN-US_TOPIC_0110252696__b3481160174210">Example response</strong></p>
|
|
<pre class="screen" id="EN-US_TOPIC_0110252696__screen690217261348">{
|
|
"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>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0110252685.html">Appendix</a></div>
|
|
</div>
|
|
</div>
|
|
|