doc-exports/docs/as/api-ref/as_06_0407.html
guoyanyan 31704f0318 as_api_0325
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
2023-04-13 08:59:32 +00:00

586 lines
47 KiB
HTML

<a name="as_06_0407"></a><a name="as_06_0407"></a>
<h1 class="topictitle1">Querying AS Policies (V2)</h1>
<div id="body1537271495819"><div class="section" id="as_06_0407__section37171354191617"><h4 class="sectiontitle">Function</h4><p id="as_06_0407__p8980173183817">This API is used to query all AS policies for a tenant based on search criteria. The results are displayed by page.</p>
<ul id="as_06_0407__ul5720178594"><li id="as_06_0407__li972017712591">Search criteria can be the AS resource ID, AS resource type, AS policy name, AS policy ID, alarm ID, start line number, number of records, and sorting method.</li><li id="as_06_0407__li1537215245210">If no search criteria are specified, a maximum of 20 AS policies can be queried for a tenant by default.</li></ul>
<div class="note" id="as_06_0407__note14938192715590"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_06_0407__p5136176526">The bandwidth scaling policy configured for a released EIP still occupies the quota of bandwidth scaling policy. The policy is only visible to the account and its IAM users with the global permissions.</p>
</div></div>
</div>
<div class="section" id="as_06_0407__section43911613201715"><h4 class="sectiontitle">URI</h4><p id="as_06_0407__p497022510534">GET /autoscaling-api/v2/{project_id}/scaling_policy</p>
<div class="note" id="as_06_0407__note5393813101717"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_06_0407__p194166130177">You can type the question mark (?) and ampersand (&amp;) at the end of the URI to define multiple search criteria. AS policies can be searched by all optional parameters in the following table. For details, see the example request.</p>
</div></div>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0407__table11997153795516" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="as_06_0407__row1599716379557"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.5.1.1"><p id="as_06_0407__p194591157135519"><strong id="as_06_0407__b72751111165716">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.3.2.5.1.2"><p id="as_06_0407__p1745919570558">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.3.2.5.1.3"><p id="as_06_0407__p17459185713552">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.2.5.1.4"><p id="as_06_0407__p20459657135519"><strong id="as_06_0407__b8774151225718">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0407__row3997193795516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p945995755511">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p17459115745513">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p184591576554">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p134595571556">Specifies the project ID.</p>
</td>
</tr>
<tr id="as_06_0407__row8997137155511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p19459357165510">scaling_resource_id</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p16459257125514">No</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p3459155795513">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p11459145715510">Specifies the scaling resource ID.</p>
</td>
</tr>
<tr id="as_06_0407__row1599783715556"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p1745918573552">scaling_resource_type</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p44593576551">No</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p1745915577553">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p3459957135511">Specifies the scaling resource type.</p>
<ul id="as_06_0407__ul10459757165520"><li id="as_06_0407__li1045985710555">AS group: <strong id="as_06_0407__b84235270691950">SCALING_GROUP</strong></li><li id="as_06_0407__li11459857105514">Bandwidth: <strong id="as_06_0407__b8423527069204">BANDWIDTH</strong></li></ul>
</td>
</tr>
<tr id="as_06_0407__row1997103712557"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p13459757145518">scaling_policy_name</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p17459155717551">No</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p8459175735514">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p12459175711559">Specifies the AS policy name.</p>
<p id="as_06_0407__p053082318113">Supports fuzzy search. </p>
</td>
</tr>
<tr id="as_06_0407__row8997133715513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p345985775510">scaling_policy_id</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p64593578555">No</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p0459557105511">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p345985710553">Specifies the AS policy ID.</p>
</td>
</tr>
<tr id="as_06_0407__row1599920371557"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p194592576554">scaling_policy_type</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p19459157205516">No</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p1845917576551">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p194591757185519">Specifies the AS policy type.</p>
<ul id="as_06_0407__ul1459175775513"><li id="as_06_0407__li164598573552"><strong id="as_06_0407__b11547175394718">ALARM</strong>: alarm policy</li><li id="as_06_0407__li14459135715557"><strong id="as_06_0407__b029219316483">SCHEDULED</strong>: scheduled policy</li><li id="as_06_0407__li20147224132516"><strong id="as_06_0407__b1363811419486">RECURRENCE</strong>: periodic policy</li></ul>
</td>
</tr>
<tr id="as_06_0407__row10999637115516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p845985775515">start_number</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p1645905795513">No</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p3460757165513">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p59373825">Specifies the start line number. The default value is <strong id="as_06_0407__b8573617155919">0</strong>. The minimum parameter value is <strong id="as_06_0407__b18744142621611">0</strong>.</p>
</td>
</tr>
<tr id="as_06_0407__row169991137135515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p846075718557">limit</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p18460357195514">No</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p446045711550">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p21968676">Specifies the number of query records. The default value is <strong id="as_06_0407__b168447885495335">20</strong>. The value ranges from 0 to 100.</p>
</td>
</tr>
<tr id="as_06_0407__row99991037175516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p646055755512">sort_by</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p64608576551">No</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p146055785510">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p11460557195514">Specifies the sorting method.</p>
<ul id="as_06_0407__ul137741547335"><li id="as_06_0407__li277418473310"><strong id="as_06_0407__b42163919435">POLICY_NAME</strong>: AS policies are sorted by name.</li><li id="as_06_0407__li1877444714315"><strong id="as_06_0407__b654504084310">TRIGGER_CONDITION</strong>: AS policies are sorted by trigger condition. For example, in ascending order, alarm policies are first, and others are sorted in ascending order based on the latest triggering time.</li><li id="as_06_0407__li1877464710317"><strong id="as_06_0407__b1639814512473">CREATE_TIME</strong>: AS policies are sorted based on the creation time.</li></ul>
</td>
</tr>
<tr id="as_06_0407__row79993376553"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p2046045725518">order</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p1846055715554">No</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p1846045755513">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p194604578557">Specifies the sorting order.</p>
<ul id="as_06_0407__ul2043274218310"><li id="as_06_0407__li1643294215320"><strong id="as_06_0407__b754855514162">ASC</strong>: ascending order</li><li id="as_06_0407__li104322423311"><strong id="as_06_0407__b842352706145427">DESC</strong>: descending order</li></ul>
</td>
</tr>
<tr id="as_06_0407__row13999133710559"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p746185745518">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p104611157175510">No</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p15461457125512">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p1246119573557">Specifies the enterprise project ID. If <strong id="as_06_0407__b18212183525311">all_granted_eps</strong> is transferred, this API will query AS groups in the enterprise projects that you have permissions to.</p>
</td>
</tr>
<tr id="as_06_0407__row19774411172517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p id="as_06_0407__p8934102062517">alarm_id</p>
</td>
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.5.1.2 "><p id="as_06_0407__p3934112016258">No</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.5.1.3 "><p id="as_06_0407__p893412014256">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.5.1.4 "><p id="as_06_0407__p2176687103755">Specifies the alarm rule ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="as_06_0407__section1229531121814"><h4 class="sectiontitle">Request Message</h4><ul id="as_06_0407__ul9007507"><li id="as_06_0407__li56913160">Request parameters<p id="as_06_0407__p60400126203515"><a name="as_06_0407__li56913160"></a><a name="li56913160"></a>None</p>
</li><li id="as_06_0407__li3640858994017">Example request<div class="p" id="as_06_0407__p1533147133014"><a name="as_06_0407__li3640858994017"></a><a name="li3640858994017"></a>This example shows how to query all periodic AS policies for resources with ID <strong id="as_06_0407__b84235270612639">8ade64b5-d685-40b8-8582-4ce306ea37a6</strong>.<pre class="screen" id="as_06_0407__screen1873284314307">GET https://{Endpoint}/autoscaling-api/v2/{project_id}/scaling_policy?scaling_resource_id=8ade64b5-d685-40b8-8582-4ce306ea37a6&amp;scaling_policy_type=RECURRENCE</pre>
</div>
</li></ul>
</div>
<div class="section" id="as_06_0407__section1399662217181"><h4 class="sectiontitle">Response Message</h4><ul id="as_06_0407__ul06692310182"><li id="as_06_0407__li06612235188">Response parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0407__table8998622101819" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameters</caption><thead align="left"><tr id="as_06_0407__row16792317182"><th align="left" class="cellrowborder" valign="top" width="22.24%" id="mcps1.3.5.2.1.1.2.4.1.1"><p id="as_06_0407__p11677233185"><strong id="as_06_0407__b1276411143572">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.42%" id="mcps1.3.5.2.1.1.2.4.1.2"><p id="as_06_0407__p8676234180">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="61.339999999999996%" id="mcps1.3.5.2.1.1.2.4.1.3"><p id="as_06_0407__p467123161819"><strong id="as_06_0407__b559212155577">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0407__row18671239186"><td class="cellrowborder" valign="top" width="22.24%" headers="mcps1.3.5.2.1.1.2.4.1.1 "><p id="as_06_0407__p1567182318187">total_number</p>
</td>
<td class="cellrowborder" valign="top" width="16.42%" headers="mcps1.3.5.2.1.1.2.4.1.2 "><p id="as_06_0407__p8676231189">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="61.339999999999996%" headers="mcps1.3.5.2.1.1.2.4.1.3 "><p id="as_06_0407__p116752316182">Specifies the total number of query records.</p>
</td>
</tr>
<tr id="as_06_0407__row1067142391818"><td class="cellrowborder" valign="top" width="22.24%" headers="mcps1.3.5.2.1.1.2.4.1.1 "><p id="as_06_0407__p196792321817">start_number</p>
</td>
<td class="cellrowborder" valign="top" width="16.42%" headers="mcps1.3.5.2.1.1.2.4.1.2 "><p id="as_06_0407__p667523181815">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="61.339999999999996%" headers="mcps1.3.5.2.1.1.2.4.1.3 "><p id="as_06_0407__p146792310186">Specifies the start line number.</p>
</td>
</tr>
<tr id="as_06_0407__row126742391816"><td class="cellrowborder" valign="top" width="22.24%" headers="mcps1.3.5.2.1.1.2.4.1.1 "><p id="as_06_0407__p1067112331818">limit</p>
</td>
<td class="cellrowborder" valign="top" width="16.42%" headers="mcps1.3.5.2.1.1.2.4.1.2 "><p id="as_06_0407__p8678237182">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="61.339999999999996%" headers="mcps1.3.5.2.1.1.2.4.1.3 "><p id="as_06_0407__p5671723171810">Specifies the maximum number of resources to be queried.</p>
</td>
</tr>
<tr id="as_06_0407__row867223111812"><td class="cellrowborder" valign="top" width="22.24%" headers="mcps1.3.5.2.1.1.2.4.1.1 "><p id="as_06_0407__p11671823161819">scaling_policies</p>
</td>
<td class="cellrowborder" valign="top" width="16.42%" headers="mcps1.3.5.2.1.1.2.4.1.2 "><p id="as_06_0407__p867152313180">Array of <a href="#as_06_0407__table19638345141818">scaling_policies</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="61.339999999999996%" headers="mcps1.3.5.2.1.1.2.4.1.3 "><p id="as_06_0407__p9671523171818">Specifies AS policies. For details, see <a href="#as_06_0407__table19638345141818">Table 3</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="as_06_0407__table19638345141818"></a><a name="table19638345141818"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0407__table19638345141818" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="as_06_0407__b911033271713">scaling_policies</strong> field description</caption><thead align="left"><tr id="as_06_0407__row9776134561813"><th align="left" class="cellrowborder" valign="top" width="22.21%" id="mcps1.3.5.2.1.2.2.4.1.1"><p id="as_06_0407__p2776164561819">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.49%" id="mcps1.3.5.2.1.2.2.4.1.2"><p id="as_06_0407__p17776154514184">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="61.3%" id="mcps1.3.5.2.1.2.2.4.1.3"><p id="as_06_0407__p4776124513183">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0407__row1477694516189"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p197761545171810">scaling_policy_name</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p18776184551815">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p37761945121812">Specifies the AS policy name.</p>
</td>
</tr>
<tr id="as_06_0407__row137762045161819"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p137763456187">scaling_policy_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p177761045151815">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p377634541812">Specifies the AS policy ID.</p>
</td>
</tr>
<tr id="as_06_0407__row277610458185"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p1077684513189">scaling_resource_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p1377619452186">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p1977664591811">Specifies the scaling resource ID.</p>
</td>
</tr>
<tr id="as_06_0407__row37761845151820"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p127761245131820">scaling_resource_type</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p1977634511814">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p8776164561818">Specifies the scaling resource type.</p>
<ul id="as_06_0407__ul207763456181"><li id="as_06_0407__li834155914201">AS group: <strong id="as_06_0407__b1533645161">SCALING_GROUP</strong></li><li id="as_06_0407__li187761045181814">Bandwidth: <strong id="as_06_0407__b236391555">BANDWIDTH</strong></li></ul>
</td>
</tr>
<tr id="as_06_0407__row157761645151813"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p1777684591815">policy_status</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p477664511186">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p177610451188">Specifies the AS policy status.</p>
<ul id="as_06_0407__ul10776124531820"><li id="as_06_0407__li19776174515183"><strong id="as_06_0407__b7576229175212">INSERVICE</strong>: The AS policy is enabled.</li><li id="as_06_0407__li19776445101814"><strong id="as_06_0407__b84235270612734">PAUSED</strong>: The AS policy is disabled.</li><li id="as_06_0407__li18963775142036"><strong id="as_06_0407__b842352706171746">EXECUTING</strong>: The AS policy is being executed.</li></ul>
</td>
</tr>
<tr id="as_06_0407__row14776124581811"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p1577614459188">scaling_policy_type</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p19777645161811">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p18777104513185">Specifies the AS policy type.</p>
<ul id="as_06_0407__ul277744521819"><li id="as_06_0407__li20777174591817"><strong>ALARM</strong>: indicates that the scaling action is triggered by an alarm. A value is returned for <strong>alarm_id</strong>, and no value is returned for <strong>scheduled_policy</strong>.</li><li id="as_06_0407__li187771345121815"><strong id="as_06_0407__b842352706174318">SCHEDULED</strong>: indicates that the scaling action is triggered as scheduled. A value is returned for <strong id="as_06_0407__b842352706174359">scheduled_policy</strong>, and no value is returned for <strong id="as_06_0407__b842352706174456">alarm_id</strong>, <strong id="as_06_0407__b84235270617451">recurrence_type</strong>, <strong id="as_06_0407__b84235270617457">recurrence_value</strong>, <strong id="as_06_0407__b842352706174512">start_time</strong>, or <strong id="as_06_0407__b842352706174516">end_time</strong>.</li><li id="as_06_0407__li27771845131818"><strong id="as_06_0407__b228317167">RECURRENCE</strong>: indicates that the scaling action is triggered periodically. Values are returned for <strong id="as_06_0407__b54806691">scheduled_policy</strong>, <strong id="as_06_0407__b1121671907174638">recurrence_type</strong>, <strong id="as_06_0407__b413073752174638">recurrence_value</strong>, <strong id="as_06_0407__b1481332545174638">start_time</strong>, and <strong id="as_06_0407__b331387069174638">end_time</strong>, and no value is returned for <strong id="as_06_0407__b97360299">alarm_id</strong>.</li></ul>
</td>
</tr>
<tr id="as_06_0407__row177771245121819"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p10777645151812">alarm_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p1977794531814">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p19777154571815">Specifies the alarm ID.</p>
</td>
</tr>
<tr id="as_06_0407__row13777445181812"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p1177710451181">scheduled_policy</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__a4c03d226ca78442f99e13b8d363cd51d"><a href="#as_06_0407__table1276581101919">scheduled_policy</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p1377784521818">Specifies the periodic or scheduled AS policy. For details, see <a href="#as_06_0407__table1276581101919">Table 4</a>.</p>
</td>
</tr>
<tr id="as_06_0407__row8777124516185"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p1577764541819">scaling_policy_action</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p167395571418"><a href="#as_06_0407__table881433612199">scaling_policy_action</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p187778457184">Specifies the scaling action of the AS policy. For details, see <a href="#as_06_0407__table881433612199">Table 5</a>.</p>
</td>
</tr>
<tr id="as_06_0407__row777764515184"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p15777114510187">cool_down_time</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p12777164521814">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p07771845111814">Specifies the cooldown period (s).</p>
</td>
</tr>
<tr id="as_06_0407__row17777144512183"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p277715453186">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p1677744531814">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p16777145101819">Specifies the time when an AS policy was created. The time format complies with UTC.</p>
</td>
</tr>
<tr id="as_06_0407__row5552821219"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p16137292118">meta_data</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p258415612423"><a href="#as_06_0407__table1333462814210">meta_data</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p1137498119">Provides additional information. For details, see <a href="#as_06_0407__table1333462814210">Table 6</a>.</p>
</td>
</tr>
<tr id="as_06_0407__row11375542113110"><td class="cellrowborder" valign="top" width="22.21%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="as_06_0407__p143411441319">description</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="as_06_0407__p234744143118">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.3%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="as_06_0407__p43413444318">Specifies the AS policy description.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="as_06_0407__table1276581101919"></a><a name="table1276581101919"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0407__table1276581101919" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="as_06_0407__b165596272477">scheduled_policy</strong> field description</caption><thead align="left"><tr id="as_06_0407__row10872131111198"><th align="left" class="cellrowborder" valign="top" width="22.12%" id="mcps1.3.5.2.1.3.2.4.1.1"><p id="as_06_0407__p18725111193">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.68%" id="mcps1.3.5.2.1.3.2.4.1.2"><p id="as_06_0407__p887216111194">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="61.199999999999996%" id="mcps1.3.5.2.1.3.2.4.1.3"><p id="as_06_0407__p16872611141910">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0407__row15872181121915"><td class="cellrowborder" valign="top" width="22.12%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="as_06_0407__p1387241171913">launch_time</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="as_06_0407__p4872141181919">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="as_06_0407__p587221118190">Specifies the time when the scaling action is triggered. The time format complies with UTC.</p>
<ul id="as_06_0407__ul19872111121914"><li id="as_06_0407__li1387211117197">If <strong>scaling_policy_type</strong> is set to <strong>SCHEDULED</strong>, the time format is <strong>YYYY-MM-DDThh:mmZ</strong>.</li><li id="as_06_0407__li987221111916">If <strong>scaling_policy_type</strong> is set to <strong>RECURRENCE</strong>, the time format is <strong>hh:mm</strong>.</li></ul>
</td>
</tr>
<tr id="as_06_0407__row118721911171915"><td class="cellrowborder" valign="top" width="22.12%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="as_06_0407__p1687216114198">recurrence_type</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="as_06_0407__p168721111131918">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="as_06_0407__p20872161114196">Specifies the type of a periodically triggered scaling action.</p>
<ul id="as_06_0407__ul186310291732"><li id="as_06_0407__li16631429333"><strong>Daily</strong>: indicates that the scaling action is triggered once a day.</li><li id="as_06_0407__li76415295315"><strong>Weekly</strong>: indicates that the scaling action is triggered once a week.</li><li id="as_06_0407__li11645290311"><strong>Monthly</strong>: indicates that the scaling action is triggered once a month.</li></ul>
</td>
</tr>
<tr id="as_06_0407__row12873161115197"><td class="cellrowborder" valign="top" width="22.12%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="as_06_0407__p887314111190">recurrence_value</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="as_06_0407__p11873151151916">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="as_06_0407__p1387316117199">Specifies the frequency at which scaling actions are triggered.</p>
<ul id="as_06_0407__ul1287310117195"><li id="as_06_0407__li1287381141917">If <strong>recurrence_type</strong> is set to <strong>Daily</strong>, the value is <strong>null</strong>, indicating that the scaling action is triggered once a day.</li><li id="as_06_0407__li8873191116190">If <strong id="as_06_0407__b037131114504">recurrence_type</strong> is set to <strong id="as_06_0407__b2374111507">Weekly</strong>, the value ranges from <strong id="as_06_0407__b143715115506">1</strong> (Sunday) to <strong id="as_06_0407__b1637121118500">7</strong> (Saturday). The digits refer to dates in each week and separated by a comma, such as <strong id="as_06_0407__b638151118503">1,3,5</strong>.</li><li id="as_06_0407__li88737113195">If <strong id="as_06_0407__b84235270617528">recurrence_type</strong> is set to <strong id="as_06_0407__b16677161410503">Monthly</strong>, the value ranges from <strong id="as_06_0407__b13684111435012">1</strong> to <strong id="as_06_0407__b868514143504">31</strong>. The digits refer to the dates in each month and separated by a comma, such as <strong id="as_06_0407__b1685814125013">1,10,13,28</strong>.</li></ul>
</td>
</tr>
<tr id="as_06_0407__row1873711201914"><td class="cellrowborder" valign="top" width="22.12%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="as_06_0407__p18873191171918">start_time</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="as_06_0407__p587311112194">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="as_06_0407__p18736112192">Specifies the start time of the scaling action triggered periodically. The time format complies with UTC.</p>
<p id="as_06_0407__p19873131110192">The time format is <strong>YYYY-MM-DDThh:mmZ</strong>.</p>
</td>
</tr>
<tr id="as_06_0407__row2087371101913"><td class="cellrowborder" valign="top" width="22.12%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="as_06_0407__p1487341151917">end_time</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="as_06_0407__p1887318115191">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="as_06_0407__p16873161110197">Specifies the end time of the scaling action triggered periodically. The time format complies with UTC.</p>
<p id="as_06_0407__p2873201171914">The time format is <strong>YYYY-MM-DDThh:mmZ</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="as_06_0407__table881433612199"></a><a name="table881433612199"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0407__table881433612199" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="as_06_0407__b583763915478">scaling_policy_action</strong> field description</caption><thead align="left"><tr id="as_06_0407__row12867203681919"><th align="left" class="cellrowborder" valign="top" width="22.12%" id="mcps1.3.5.2.1.4.2.4.1.1"><p id="as_06_0407__p9867153619195">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.68%" id="mcps1.3.5.2.1.4.2.4.1.2"><p id="as_06_0407__p11867436161911">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="61.199999999999996%" id="mcps1.3.5.2.1.4.2.4.1.3"><p id="as_06_0407__p4867436161920">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0407__row2867133681914"><td class="cellrowborder" valign="top" width="22.12%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="as_06_0407__p19867123613195">operation</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="as_06_0407__p1868113616194">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="as_06_0407__p486863681911">Specifies the scaling action.</p>
<ul id="as_06_0407__ul67551118433"><li id="as_06_0407__li13755171816319"><strong id="as_06_0407__b8423527069234">ADD</strong>: indicates adding instances.</li><li id="as_06_0407__li1075519184313"><strong id="as_06_0407__b84235270692351">REDUCE</strong>: indicates reducing instances.</li><li id="as_06_0407__li1275512182319"><strong id="as_06_0407__b84235270692418">SET</strong>: indicates setting the number of instances to a specified value.</li></ul>
</td>
</tr>
<tr id="as_06_0407__row1286813618199"><td class="cellrowborder" valign="top" width="22.12%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="as_06_0407__p886863614192">size</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="as_06_0407__p158681836101918">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="as_06_0407__p58681436191915">Specifies the number of instances to be operated.</p>
</td>
</tr>
<tr id="as_06_0407__row086812368197"><td class="cellrowborder" valign="top" width="22.12%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="as_06_0407__p386843661912">percentage</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="as_06_0407__p1286883601910">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="as_06_0407__p6868193614193">Specifies the percentage of instances to be operated.</p>
</td>
</tr>
<tr id="as_06_0407__row88685367199"><td class="cellrowborder" valign="top" width="22.12%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="as_06_0407__p108681036111910">limits</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="as_06_0407__p2868936171912">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="as_06_0407__p08682369195">Specifies the operation restrictions.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="as_06_0407__table1333462814210"></a><a name="table1333462814210"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0407__table1333462814210" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong id="as_06_0407__b185693486179">meta_data</strong> field description</caption><thead align="left"><tr id="as_06_0407__row1337012281628"><th align="left" class="cellrowborder" valign="top" width="22.31%" id="mcps1.3.5.2.1.5.2.4.1.1"><p id="as_06_0407__p1137082817211">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.49%" id="mcps1.3.5.2.1.5.2.4.1.2"><p id="as_06_0407__p137014281523">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="61.199999999999996%" id="mcps1.3.5.2.1.5.2.4.1.3"><p id="as_06_0407__p1937012280210">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0407__row1225235620325"><td class="cellrowborder" valign="top" width="22.31%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="as_06_0407__p9569123231519">metadata_bandwidth_share_type</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="as_06_0407__p15561153218251">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="as_06_0407__p13569103211151">Specifies the bandwidth sharing type in the bandwidth scaling policy.</p>
</td>
</tr>
<tr id="as_06_0407__row19532117331"><td class="cellrowborder" valign="top" width="22.31%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="as_06_0407__p8569193210157">metadata_eip_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="as_06_0407__p7513133310255">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="as_06_0407__p15570173219155">Specifies the EIP ID for the bandwidth in the bandwidth scaling policy.</p>
</td>
</tr>
<tr id="as_06_0407__row1654514332"><td class="cellrowborder" valign="top" width="22.31%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="as_06_0407__p16570133219157">metadata_eip_address</p>
</td>
<td class="cellrowborder" valign="top" width="16.49%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="as_06_0407__p206571934182515">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.199999999999996%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="as_06_0407__p145701132161516">Specifies the EIP for the bandwidth in the bandwidth scaling policy.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="as_06_0407__li16780151992019">Example response<pre class="screen" id="as_06_0407__screen1075312852020">{
"limit": 20,
"total_number": 3,
"start_number": 0,
"scaling_policies": [
{
"scaling_policy_id": "803a35a5-38fb-4d27-a042-496c14bc1fb8",
"scaling_policy_name": "as-policy-7a75",
"scaling_resource_id": "8ade64b5-d685-40b8-8582-4ce306ea37a6",
"scaling_resource_type": "SCALING_GROUP",
"scaling_policy_type": "RECURRENCE",
"scheduled_policy": {
"launch_time": "03:30",
"recurrence_type": "Daily",
"start_time": "2017-08-28T03:08Z",
"end_time": "2017-09-01T03:08Z"
},
"cool_down_time": 900,
"scaling_policy_action": {
"operation": "ADD",
"size": 1
},
"policy_status": "INSERVICE",
"create_time": "2017-08-31T03:02:41Z"
},
{
"scaling_policy_id": "535fd67e-276b-409c-879e-52f4e09e14bb",
"scaling_policy_name": "as-policy-7a75",
"scaling_resource_id": "8ade64b5-d685-40b8-8582-4ce306ea37a6",
"scaling_resource_type": "SCALING_GROUP",
"scaling_policy_type": "RECURRENCE",
"scheduled_policy": {
"launch_time": "21:30",
"recurrence_type": "Daily",
"start_time": "2017-08-27T21:08Z",
"end_time": "2017-08-31T21:08Z"
},
"cool_down_time": 900,
"scaling_policy_action": {
"operation": "ADD",
"size": 1
},
"policy_status": "INSERVICE",
"create_time": "2017-08-31T07:35:05Z",
"meta_data": {
"metadata_eip_id": "263f0886-de6a-4e21-ad83-814ca9f3844e",
"metadata_eip_address": "255.255.255.255"
}
},
{
"scaling_policy_id": "37df92f8-73cb-469e-a420-c15f445d2ee1",
"scaling_policy_name": "as-policy-7a75",
"scaling_resource_id": "8ade64b5-d685-40b8-8582-4ce306ea37a6",
"scaling_resource_type": "SCALING_GROUP",
"scaling_policy_type": "RECURRENCE",
"scheduled_policy": {
"launch_time": "22:30",
"recurrence_type": "Daily",
"start_time": "2017-08-27T22:08Z",
"end_time": "2017-08-31T22:08Z"
},
"cool_down_time": 900,
"scaling_policy_action": {
"operation": "ADD",
"size": 1
},
"policy_status": "INSERVICE",
"create_time": "2017-08-31T07:41:06Z",
"meta_data": {
"metadata_eip_id": "263f0886-de6a-4e21-ad83-814ca9f3844e",
"metadata_eip_address": "255.255.255.255"
}
}
]
}</pre>
</li></ul>
</div>
<div class="section" id="as_06_0407__section2092105419207"><h4 class="sectiontitle">Returned Values</h4><ul id="as_06_0407__ul18264112112219"><li id="as_06_0407__li11264121102120">Normal<p id="as_06_0407__p426422152117"><a name="as_06_0407__li11264121102120"></a><a name="li11264121102120"></a>200</p>
</li><li id="as_06_0407__li6264021122117">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0407__table152011321112110" frame="border" border="1" rules="all"><thead align="left"><tr id="as_06_0407__row22672212214"><th align="left" class="cellrowborder" valign="top" width="43.830000000000005%" id="mcps1.3.6.2.2.1.1.3.1.1"><p id="as_06_0407__p5267122192117">Returned Values</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="56.169999999999995%" id="mcps1.3.6.2.2.1.1.3.1.2"><p id="as_06_0407__p1926717218218">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0407__row1626782162110"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p1726782113217">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p3267122110213">The server failed to process the request.</p>
</td>
</tr>
<tr id="as_06_0407__row42671421112117"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p142675216217">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p1267192152120">You must enter the username and password to access the requested page.</p>
</td>
</tr>
<tr id="as_06_0407__row13268621102119"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p22682218219">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p126822112216">You are forbidden to access the requested page.</p>
</td>
</tr>
<tr id="as_06_0407__row13268421202111"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p2026813215215">404 Not Found</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p12683210216">The server could not find the requested page.</p>
</td>
</tr>
<tr id="as_06_0407__row17268172122117"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p182681321112114">405 Method Not Allowed</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p5268142110211">You are not allowed to use the method specified in the request.</p>
</td>
</tr>
<tr id="as_06_0407__row112684216211"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p19268182115210">406 Not Acceptable</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p6268192113218">The response generated by the server could not be accepted by the client.</p>
</td>
</tr>
<tr id="as_06_0407__row926817214212"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p326852113212">407 Proxy Authentication Required</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p12268172192112">You must use the proxy server for authentication to process the request.</p>
</td>
</tr>
<tr id="as_06_0407__row172681421202119"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p9268132115212">408 Request Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p926872192111">The request timed out.</p>
</td>
</tr>
<tr id="as_06_0407__row19268142119216"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p9268162119219">409 Conflict</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p52681121162111">The request could not be processed due to a conflict.</p>
</td>
</tr>
<tr id="as_06_0407__row13268321112112"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p16268202172111">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p326802120216">Failed to complete the request because of an internal service error.</p>
</td>
</tr>
<tr id="as_06_0407__row10268821172110"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p2268172112211">501 Not Implemented</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p1626918212211">Failed to complete the request because the server does not support the requested function.</p>
</td>
</tr>
<tr id="as_06_0407__row19269421192117"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p6269321122113">502 Bad Gateway</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p92691421182110">Failed to complete the request because the request is invalid.</p>
</td>
</tr>
<tr id="as_06_0407__row1426920217211"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p3269132118215">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p1126942116217">Failed to complete the request because the system is unavailable.</p>
</td>
</tr>
<tr id="as_06_0407__row42690212219"><td class="cellrowborder" valign="top" width="43.830000000000005%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="as_06_0407__p17269102112120">504 Gateway Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="56.169999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="as_06_0407__p17269182113216">A gateway timeout error occurred.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="as_06_0407__section17669131616110"><h4 class="sectiontitle">Error Codes</h4><p id="as_06_0407__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_0400.html">AS Policies</a></div>
</div>
</div>