forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
341 lines
26 KiB
HTML
341 lines
26 KiB
HTML
<a name="as_06_0601"></a><a name="as_06_0601"></a>
|
|
|
|
<h1 class="topictitle1">Querying Scaling Action Logs</h1>
|
|
<div id="body35457873"><div class="section" id="as_06_0601__section37368030"><h4 class="sectiontitle">Function</h4><p id="as_06_0601__p61125428120">This API is used to query scaling action logs based on search criteria. The results are displayed by page.</p>
|
|
<ul id="as_06_0601__ul182473616014"><li id="as_06_0601__li162481769012">Search criteria can be the start time, end time, start line number, and number of records.</li><li id="as_06_0601__li173724715018">If no search criteria are specified, a maximum of 20 scaling action logs can be queried by default.</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0601__section767958"><h4 class="sectiontitle">URI</h4><p id="as_06_0601__p1335609">GET /autoscaling-api/v1/{project_id}/scaling_activity_log/{scaling_group_id}</p>
|
|
<div class="note" id="as_06_0601__note5696687411513"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_06_0601__p4293982611513">You can type the question mark (?) and ampersand (&) at the end of the URI to define multiple search criteria. Scaling action logs 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_0601__table34134946" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="as_06_0601__row52638042"><th align="left" class="cellrowborder" valign="top" width="22.772277227722775%" id="mcps1.3.2.4.2.5.1.1"><p id="as_06_0601__p35823022"><strong id="as_06_0601__b97392193218">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.861386138613863%" id="mcps1.3.2.4.2.5.1.2"><p id="as_06_0601__p15983633">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.861386138613863%" id="mcps1.3.2.4.2.5.1.3"><p id="as_06_0601__p19605934">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.504950495049506%" id="mcps1.3.2.4.2.5.1.4"><p id="as_06_0601__p44576811"><strong id="as_06_0601__b1199417202022">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0601__row53951920"><td class="cellrowborder" valign="top" width="22.772277227722775%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0601__p8029414">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0601__p46402804">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0601__p530819">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0601__p36520930">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row51423381"><td class="cellrowborder" valign="top" width="22.772277227722775%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0601__p4544348">scaling_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0601__p32547936">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0601__p19137160">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0601__p6606141">Specifies the AS group ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row59455271"><td class="cellrowborder" valign="top" width="22.772277227722775%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0601__p51147674">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0601__p49320909">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0601__p35570664">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0601__p62651540">Specifies the start time that complies with UTC for querying scaling action logs. The format of the start time is <strong id="as_06_0601__b14044178162939">yyyy-MM-ddThh:mm:ssZ</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row26992952"><td class="cellrowborder" valign="top" width="22.772277227722775%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0601__p38945471">end_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0601__p466603">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0601__p37794916">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0601__p41489361">Specifies the end time that complies with UTC for querying scaling action logs. The format of the end time is <strong id="as_06_0601__b11263138162939">yyyy-MM-ddThh:mm:ssZ</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row37859935"><td class="cellrowborder" valign="top" width="22.772277227722775%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0601__p46755894">start_number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0601__p29131061">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0601__p10805765">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0601__p59373825">Specifies the start line number. The default value is <strong id="as_06_0601__b15998131202">0</strong>. The minimum parameter value is <strong id="as_06_0601__b18744142621611">0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row25666111"><td class="cellrowborder" valign="top" width="22.772277227722775%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0601__p65689071">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0601__p19214507">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0601__p12871260">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0601__p21968676">Specifies the number of query records. The default value is <strong id="as_06_0601__b168447885495335">20</strong>. The value ranges from 0 to 100.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="as_06_0601__section6911623"><h4 class="sectiontitle">Request Message</h4><ul id="as_06_0601__ul9007507"><li id="as_06_0601__li56913160">Request parameters<p id="as_06_0601__p60400126203515"><a name="as_06_0601__li56913160"></a><a name="li56913160"></a>None</p>
|
|
</li><li id="as_06_0601__li3640858994017">Example request<div class="p" id="as_06_0601__p191511028343"><a name="as_06_0601__li3640858994017"></a><a name="li3640858994017"></a>This example shows how to query the scaling action logs of the AS group with ID <strong id="as_06_0601__b842352706221017">e5d27f5c-dd76-4a61-b4bc-a67c5686719a</strong>.<pre class="screen" id="as_06_0601__screen422865943315">GET https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_activity_log/e5d27f5c-dd76-4a61-b4bc-a67c5686719a</pre>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0601__section62204612"><h4 class="sectiontitle">Response Message</h4><ul id="as_06_0601__ul44199752"><li id="as_06_0601__li62253449">Response parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0601__table23410136" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameters</caption><thead align="left"><tr id="as_06_0601__row62549356"><th align="left" class="cellrowborder" valign="top" width="26%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="as_06_0601__p33333103"><strong id="as_06_0601__b184112619216">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="11%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="as_06_0601__p15626802">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="63%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="as_06_0601__p57811421"><strong id="as_06_0601__b1487216303215">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0601__row52213529"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="as_06_0601__p1437453">total_number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="as_06_0601__p49324898">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="as_06_0601__p35893824">Specifies the total number of query records.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row54608961"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="as_06_0601__p61249726">start_number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="as_06_0601__p62280792">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="as_06_0601__p11579382">Specifies the start line number.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row37105578"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="as_06_0601__p52761866">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="as_06_0601__p45852771">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="as_06_0601__p23086940">Specifies the maximum number of resources to be queried.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row6455868"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="as_06_0601__p53163272">scaling_activity_log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="as_06_0601__p11257801">Array of <a href="#as_06_0601__table5100505111129">scaling_activity_log</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="as_06_0601__p39466727">Specifies scaling action logs. For details, see <a href="#as_06_0601__table5100505111129">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0601__table5100505111129"></a><a name="table5100505111129"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0601__table5100505111129" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="as_06_0601__b147610572327">scaling_activity_log</strong> field description</caption><thead align="left"><tr id="as_06_0601__r2f50795d76cf453c9dc60f658a624810"><th align="left" class="cellrowborder" valign="top" width="26%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="as_06_0601__a69f0ad0844e544b9a8cd7c6c96155fdf">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="11%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="as_06_0601__a3dfdc81a6cc0409db1eedc7cf822ed37">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="63%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="as_06_0601__a8238ba808fdb4829b4f15ea7e48befa2">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0601__r74ce6d1664164a38b25d42101210a7c0"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0601__a47bbfe35b287448db539f535eff78327">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0601__a3e1edba5712c431cabcd001866b1b410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0601__a0346256b63b14f3a956d7d5f32b83134">Specifies the status of the scaling action.</p>
|
|
<ul id="as_06_0601__ul1567913975911"><li id="as_06_0601__li9679163975917"><strong id="as_06_0601__b12358105314353">SUCCESS</strong>: The scaling action has been performed.</li><li id="as_06_0601__li1767903955917"><strong id="as_06_0601__b16165155917358">FAIL</strong>: Performing the scaling action failed.</li><li id="as_06_0601__li13679239195914"><strong id="as_06_0601__b129777275369">DOING</strong>: The scaling action is being performed.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__rbbfd1b372fcb4b0baddc196b7d09df49"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0601__a008e65853fde473b8450d208c18d69e0">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0601__a11a097f6ba114149932d358048dbc3ce">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0601__a0c1c1d336fc64fc586107d994ca5baa8">Specifies the start time of the scaling action. The time format must comply with UTC.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__r3ce78f22df7540a6b8ca010f03ee8764"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0601__ad1345bea1ad4473a90bf1ac673b1e722">end_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0601__adebff9ceb0c94e8da3278ab781c33a0e">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0601__a59970e70708b45fd876375d5a8b039ce">Specifies the end time of the scaling action. The time format must comply with UTC.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__r353afd89b086409b87683d796011ea0d"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0601__a2b1b93d204c9427b962d16643bb54bd0">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0601__a96c0e7acbc3345bfa0b96f2f2730af76">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0601__a53a786e08fb340138998e54070a09a16">Specifies the scaling action log ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__r2a965ee79b664b7dbb172f7c13211adc"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0601__ac587d719a7494651835024bc76830e6d">instance_removed_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0601__ab41902ac9f224f77b5694422279e4a27">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0601__en-us_topic_0021400639_p672823715567">Specifies the names of the instances removed from the AS group after the scaling action is complete. The instance names are separated using commas (,).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__rae14399a79384a1fa32f64132c5063e7"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0601__en-us_topic_0021400639_p593774715567">instance_deleted_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0601__adf76f011c5004c0ab0734c7581eb0616">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0601__af42ad1a314304e9eb473095b14730ef3">Specifies the names of the instances removed and deleted from the AS group after the scaling action is complete. The instance names are separated using commas (,).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__r2b10b36488f14a8abe004656288f6ee3"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0601__af9614300bbba4ca29bf63f4c25a4cbf6">instance_added_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0601__en-us_topic_0021400639_p804543115567">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0601__aa7a68694a8d7497cbaf64c6d128195a0">Specifies the names of the instances added to the AS group after the scaling action is complete. The instance names are separated using commas (,).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__rd2b0cba3f6ac4f85a61bd72efff96a76"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0601__adf005843b6f04767a113662ad46f2a46">scaling_value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0601__abba7c061addb4776ae0612c65f4d8d5c">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0601__en-us_topic_0021400639_p3081215567">Specifies the number of added or removed instances in the scaling action.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__rfa29ea8a914e452a84f738e1c56efdc1"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0601__a97f9d365379e45eba520166fa1ba0d8d">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0601__en-us_topic_0021400639_p748687915567">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0601__en-us_topic_0021400639_p245743015567">Specifies the description of the scaling action.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__re7f4724989884b4488b2af0f7f8feaa2"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0601__a933a6e84e9c14f5cadfe840317e33c32">instance_value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0601__ae46063a5a6d84619bcc7dde0e0dd7a76">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0601__a137ae1c7eb2b4cd0a938c0d9509e462f">Specifies the number of instances in the AS group.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__rab90ab2baf6e48eb801e81e791e8b45c"><td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0601__a3abee0c2188d4a83862789649dc4462a">desire_value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0601__en-us_topic_0021400639_p585410715567">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0601__en-us_topic_0021400639_p442063415567">Specifies the expected number of instances for the scaling action.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="as_06_0601__ul42688329"><li id="as_06_0601__li48650648">Example response<pre class="screen" id="as_06_0601__screen15120255193456">{
|
|
"limit": 20,
|
|
"scaling_activity_log": [
|
|
{
|
|
"id": "66e0f775-c4ac-4b52-9d5c-f93ba217aa5f",
|
|
"instance_value": 1,
|
|
"desire_value": 0,
|
|
"scaling_value": 1,
|
|
"start_time": "2019-03-18T16:00:11Z",
|
|
"end_time": "2019-03-18T16:00:32Z",
|
|
"instance_added_list": null,
|
|
"instance_deleted_list": "as-config-bblh-ONQE551S",
|
|
"instance_removed_list": null,
|
|
"status": "SUCCESS",
|
|
"description": "{\"reason\":[{\"change_reason\":\"RECURRENCE\",\"old_value\":1,\"scaling_policy_name\":\"as-policy-bvfk\",\"change_time\":\"2019-03-18T16:00:00Z\",\"new_value\":0,\"scaling_policy_id\":\"05545d3d-ccf9-4bca-ae4f-1e5e73ca0bf6\"}]}"
|
|
},
|
|
{
|
|
"id": "c3a1fff6-84a3-4cbc-8ac0-e3b0f645ecd8",
|
|
"instance_value": 0,
|
|
"desire_value": 1,
|
|
"scaling_value": 1,
|
|
"start_time": "2019-03-16T10:21:11Z",
|
|
"end_time": "2019-03-16T10:25:12Z",
|
|
"instance_added_list": "as-config-bblh-ONQE551S",
|
|
"instance_deleted_list": null,
|
|
"instance_removed_list": null,
|
|
"status": "SUCCESS",
|
|
"description": "{\"reason\":[{\"change_reason\":\"DIFF\",\"old_value\":0,\"change_time\":\"2019-03-16T10:21:11Z\",\"new_value\":1}]}"
|
|
}],
|
|
"total_number": 2,
|
|
"start_number": 0
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0601__section22970596"><h4 class="sectiontitle">Returned Values</h4><ul id="as_06_0601__ul50254750"><li id="as_06_0601__li49639570">Normal<p id="as_06_0601__p44102946"><a name="as_06_0601__li49639570"></a><a name="li49639570"></a>200</p>
|
|
</li><li id="as_06_0601__li61382201">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0601__table15568903" frame="border" border="1" rules="all"><thead align="left"><tr id="as_06_0601__row3870635"><th align="left" class="cellrowborder" valign="top" width="43.419999999999995%" id="mcps1.3.5.2.2.1.1.3.1.1"><p id="as_06_0601__p45086037">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.58%" id="mcps1.3.5.2.2.1.1.3.1.2"><p id="as_06_0601__p28090371">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0601__row60727582"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p19987085">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p8341177">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row7961729"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p40920274">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p26207892">You must enter the username and password to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row34544438"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p46636132">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p19430358">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row40655501"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p4761248">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p50116845">The server could not find the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row48398424"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p27958252">405 Method Not Allowed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p50025933">You are not allowed to use the method specified in the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row47580213"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p28792051">406 Not Acceptable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p50454834">The response generated by the server could not be accepted by the client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row51440330"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p5917164">407 Proxy Authentication Required</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p9528291">You must use the proxy server for authentication to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row18645762"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p33911763">408 Request Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p62498284">The request timed out.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row25613652"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p61439917">409 Conflict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p10577379">The request could not be processed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row28087548"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p60498887">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p1462819">Failed to complete the request because of an internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row13165375"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p59762422">501 Not Implemented</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p8918034">Failed to complete the request because the server does not support the requested function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row13153450"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p58796504">502 Bad Gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p64896350">Failed to complete the request because the request is invalid.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row47196242"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p64799248">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p14247739">Failed to complete the request because the system is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0601__row61120788"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0601__p51836813">504 Gateway Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0601__p38032294">A gateway timeout error occurred.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0601__section17669131616110"><h4 class="sectiontitle">Error Codes</h4><p id="as_06_0601__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_0600.html">Scaling Action Logs</a></div>
|
|
</div>
|
|
</div>
|
|
|