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

302 lines
25 KiB
HTML

<a name="as_06_0901"></a><a name="as_06_0901"></a>
<h1 class="topictitle1">Creating a Lifecycle Hook</h1>
<div id="body1477307874499"><div class="section" id="as_06_0901__section2082935495536"><h4 class="sectiontitle">Function</h4><p id="as_06_0901__p5925680793837">This interface is used to create a lifecycle hook for an AS group. Up to five lifecycle hooks can be created for one AS group.</p>
<ul id="as_06_0901__ul19963114213549"><li id="as_06_0901__li119631042115416">After the creation, when the AS group is resized, the lifecycle hook suspends the involved instance and puts it to a <strong id="as_06_0901__b842352706161843">Wait (Adding to AS group)</strong> or <strong id="as_06_0901__b842352706161848">Wait (Removing from AS group)</strong> status. This status is retained until the timeout duration ends or you manually perform a callback.</li><li id="as_06_0901__li19167164615543">During the instance waiting duration, you can perform customized operations. For example, you can install or configure software on a newly started instance, or download the log file from the instance before the instance terminates.</li></ul>
</div>
<div class="section" id="as_06_0901__section1799627095536"><h4 class="sectiontitle">URI</h4><p id="as_06_0901__p2903857795536">POST /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0901__table331451795536" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="as_06_0901__row3996181195536"><th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.2.3.2.5.1.1"><p id="as_06_0901__p1568129195536"><strong id="as_06_0901__b12525557104014">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.2.3.2.5.1.2"><p id="as_06_0901__p6222504395536">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.2.3.2.5.1.3"><p id="as_06_0901__p706369995536">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="38%" id="mcps1.3.2.3.2.5.1.4"><p id="as_06_0901__p3528875695536"><strong id="as_06_0901__b18139802417">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0901__row3981698995536"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.2.3.2.5.1.1 "><p id="as_06_0901__p395071195536">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.3.2.5.1.2 "><p id="as_06_0901__p5157220295536">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.3 "><p id="as_06_0901__p1659881395536">String</p>
</td>
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.2.3.2.5.1.4 "><p id="as_06_0901__p36520930">Specifies the project ID.</p>
</td>
</tr>
<tr id="as_06_0901__row3571771510329"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.2.3.2.5.1.1 "><p id="as_06_0901__p745378510329">scaling_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.3.2.5.1.2 "><p id="as_06_0901__p6688574910329">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.3 "><p id="as_06_0901__p4903655610329">String</p>
</td>
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.2.3.2.5.1.4 "><p id="as_06_0901__p1253812010329">Specifies the AS group ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="as_06_0901__section2093926095536"><h4 class="sectiontitle">Request</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0901__table1617423919456" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="as_06_0901__row260866419456"><th align="left" class="cellrowborder" valign="top" width="19%" id="mcps1.3.3.2.2.5.1.1"><p id="as_06_0901__p997525619456"><strong id="as_06_0901__b149816013414">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.3.2.2.5.1.2"><p id="as_06_0901__p268942519456">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.2.5.1.3"><p id="as_06_0901__p1651684219456">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="43%" id="mcps1.3.3.2.2.5.1.4"><p id="as_06_0901__p6279578719456"><strong id="as_06_0901__b58171118412">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0901__row5329398119456"><td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0901__p2184519119456">lifecycle_hook_name</p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0901__p2463006619456">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0901__p4887834219456">String</p>
</td>
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0901__p6683159319456">Specifies the lifecycle hook name. The name contains only letters, digits, underscores (_), and hyphens (-), and cannot exceed 32 characters.</p>
</td>
</tr>
<tr id="as_06_0901__row6461343319456"><td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0901__p6630559319456">lifecycle_hook_type</p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0901__p204393319456">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0901__p3134087819456">String</p>
</td>
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0901__p39693138194648">Specifies the lifecycle hook type. Options:</p>
<ul id="as_06_0901__ul282718488555"><li id="as_06_0901__li20827144810555"><strong id="as_06_0901__b9700185433811">INSTANCE_TERMINATING</strong>: The hook suspends the instance when the instance is terminated.</li><li id="as_06_0901__li6827204855514"><strong id="as_06_0901__b1830993720394">INSTANCE_LAUNCHING</strong>: The hook suspends the instance when the instance is started.</li></ul>
</td>
</tr>
<tr id="as_06_0901__row34445094192756"><td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0901__p38589262192756">default_result</p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0901__p38722502192756">No</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0901__p49514934192756">String</p>
</td>
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0901__p12069123194117">Specifies the default lifecycle hook callback operation. By default, this operation is performed when the timeout duration expires.</p>
<ul id="as_06_0901__ul937316192553"><li id="as_06_0901__li437341917558">ABANDON</li><li id="as_06_0901__li113731119135512">CONTINUE</li></ul>
<div class="note" id="as_06_0901__note1630110259551"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="as_06_0901__ul1937516399557"><li id="as_06_0901__li20375139115511">If an instance is starting, <strong id="as_06_0901__b84235270621244">CONTINUE</strong> indicates that your customized operations are successful and the instance can be used. <strong id="as_06_0901__b84235270621412">ABANDON</strong> indicates that your customized operations failed, and the instance will be terminated. In such a case, the scaling action fails, and you must create a new instance.</li><li id="as_06_0901__li1337513918557">If an instance is stopping, both <strong id="as_06_0901__b84235270621654">ABANDON</strong> and <strong id="as_06_0901__b8423527062178">CONTINUE</strong> allow instance termination. The difference between the two states is as follows: <strong id="as_06_0901__b806944977211019">ABANDON</strong> stops other lifecycle hooks, but <strong id="as_06_0901__b805901848211044">CONTINUE</strong> allows the completion of other lifecycle hooks.</li><li id="as_06_0901__li19375139145517">The default value of this parameter is <strong id="as_06_0901__b24130807221134">ABANDON</strong>.</li></ul>
</div></div>
</td>
</tr>
<tr id="as_06_0901__row3886553419280"><td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0901__p6110058619280">default_timeout</p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0901__p5020040119280">No</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0901__p3970070119280">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0901__p10597269945">Specifies the lifecycle hook timeout duration, which ranges from 60 to 86400 in the unit of second. The default value is 3600.</p>
<p id="as_06_0901__p6146168895644">By default, this parameter specifies the instance waiting duration. You can prolong the timeout duration or perform the <strong id="as_06_0901__b84235270621173">CONTINUE</strong> or <strong id="as_06_0901__b737135739211648">ABANDON</strong> operation before the timeout duration expires.</p>
</td>
</tr>
<tr id="as_06_0901__row3878535519284"><td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0901__p5460601419284">notification_topic_urn</p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0901__p6101105119284">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0901__p4294808819284">String</p>
</td>
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0901__p7942785102950">Specifies a unique topic in SMN.</p>
<p id="as_06_0901__p5624308519284">This parameter specifies a notification object for a lifecycle hook. When an instance is suspended by the lifecycle hook, the SMN service sends a notification to the object. This notification contains the basic instance information, your customized notification content, and the token for controlling lifecycle operations.</p>
</td>
</tr>
<tr id="as_06_0901__row795175819358"><td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0901__p4011263719358">notification_metadata</p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0901__p2789815319358">No</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0901__p4515788119358">String</p>
</td>
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0901__p54056399235">Specifies a customized notification, which contains no more than 256 characters in length. The message cannot contain the following characters: &lt;&gt;&amp;'()</p>
<p id="as_06_0901__p3390971719358">After a notification object is configured, the SMN service sends your customized notification to the object.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="as_06_0901__section102881921805"><h4 class="sectiontitle">Example Request</h4><p id="as_06_0901__p1479362712366">This example creates the lifecycle hook named <strong id="as_06_0901__b858210181685">test-hook1</strong> in the AS group with ID <strong id="as_06_0901__b122356236813">e5d27f5c-dd76-4a61-b4bc-a67c5686719a</strong>. The configuration is as follows: The callback operation is <strong id="as_06_0901__b9361112913815">ABANDON</strong>, the timeout duration is <strong id="as_06_0901__b1271515372819">3600 seconds</strong>; the notification topic_urn is <strong id="as_06_0901__b18269102519107">urn:smn:</strong><em id="as_06_0901__i1745262816103">regionId</em><strong id="as_06_0901__b1452183419105">:b53e5554fad0494d96206fb84296510b:gsh</strong>, the hook suspends the instance when the instance is started.</p>
<pre class="screen" id="as_06_0901__screen28498206362">POST https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/e5d27f5c-dd76-4a61-b4bc-a67c5686719a
{
"lifecycle_hook_name": "test-hook1",
"default_result": "ABANDON",
"default_timeout": 3600,
"notification_topic_urn": "urn:smn:<em id="as_06_0901__i48497207360">regionId</em>:b53e5554fad0494d96206fb84296510b:gsh",
"lifecycle_hook_type": "INSTANCE_LAUNCHING"
}</pre>
</div>
<div class="section" id="as_06_0901__section5819104495536"><h4 class="sectiontitle">Response</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0901__table5077231195423" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response parameters</caption><thead align="left"><tr id="as_06_0901__row26324968195423"><th align="left" class="cellrowborder" valign="top" width="28.139999999999997%" id="mcps1.3.5.2.2.4.1.1"><p id="as_06_0901__p51947688195423"><strong id="as_06_0901__b1260892154110">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.469999999999999%" id="mcps1.3.5.2.2.4.1.2"><p id="as_06_0901__p49974202195423">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="58.39%" id="mcps1.3.5.2.2.4.1.3"><p id="as_06_0901__p21378523195423"><strong id="as_06_0901__b117334204110">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0901__row53938797195423"><td class="cellrowborder" valign="top" width="28.139999999999997%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0901__p6966423195423">lifecycle_hook_name</p>
</td>
<td class="cellrowborder" valign="top" width="13.469999999999999%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0901__p5569750195423">String</p>
</td>
<td class="cellrowborder" valign="top" width="58.39%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0901__p48496569195423">Specifies the lifecycle hook name.</p>
</td>
</tr>
<tr id="as_06_0901__row33815945195423"><td class="cellrowborder" valign="top" width="28.139999999999997%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0901__p54737033195423">lifecycle_hook_type</p>
</td>
<td class="cellrowborder" valign="top" width="13.469999999999999%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0901__p30143902195423">String</p>
</td>
<td class="cellrowborder" valign="top" width="58.39%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0901__p25736963195423">Specifies the lifecycle hook type.</p>
<ul id="as_06_0901__ul158361596517"><li id="as_06_0901__li383719151">INSTANCE_TERMINATING</li><li id="as_06_0901__li164351712751">INSTANCE_LAUNCHING</li></ul>
</td>
</tr>
<tr id="as_06_0901__row14313867195423"><td class="cellrowborder" valign="top" width="28.139999999999997%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0901__p18572541195423">default_result</p>
</td>
<td class="cellrowborder" valign="top" width="13.469999999999999%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0901__p51857864195423">String</p>
</td>
<td class="cellrowborder" valign="top" width="58.39%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0901__p39737456195423">Specifies the default lifecycle hook callback operation.</p>
<ul id="as_06_0901__ul13166532056"><li id="as_06_0901__li751618241151">ABANDON</li><li id="as_06_0901__li8434068518">CONTINUE</li></ul>
</td>
</tr>
<tr id="as_06_0901__row44685519195423"><td class="cellrowborder" valign="top" width="28.139999999999997%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0901__p62757314195423">default_timeout</p>
</td>
<td class="cellrowborder" valign="top" width="13.469999999999999%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0901__p37858064195423">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="58.39%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0901__p46604348195423">Specifies the lifecycle hook timeout duration in the unit of second.</p>
</td>
</tr>
<tr id="as_06_0901__row16785952195423"><td class="cellrowborder" valign="top" width="28.139999999999997%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0901__p17484839195423">notification_topic_urn</p>
</td>
<td class="cellrowborder" valign="top" width="13.469999999999999%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0901__p28985036195423">String</p>
</td>
<td class="cellrowborder" valign="top" width="58.39%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0901__p66086585195423">Specifies a unique topic in SMN.</p>
</td>
</tr>
<tr id="as_06_0901__row51175150145853"><td class="cellrowborder" valign="top" width="28.139999999999997%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0901__p703927814592">notification_topic_name</p>
</td>
<td class="cellrowborder" valign="top" width="13.469999999999999%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0901__p3331068514592">String</p>
</td>
<td class="cellrowborder" valign="top" width="58.39%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0901__p1381099714592">Specifies the topic name in SMN.</p>
</td>
</tr>
<tr id="as_06_0901__row51413187195423"><td class="cellrowborder" valign="top" width="28.139999999999997%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0901__p3718609195423">notification_metadata</p>
</td>
<td class="cellrowborder" valign="top" width="13.469999999999999%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0901__p37279515195423">String</p>
</td>
<td class="cellrowborder" valign="top" width="58.39%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0901__p66850727195423">Specifies the notification message.</p>
</td>
</tr>
<tr id="as_06_0901__row14398101519410"><td class="cellrowborder" valign="top" width="28.139999999999997%" headers="mcps1.3.5.2.2.4.1.1 "><p id="as_06_0901__p039861512414">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="13.469999999999999%" headers="mcps1.3.5.2.2.4.1.2 "><p id="as_06_0901__p183986158414">String</p>
</td>
<td class="cellrowborder" valign="top" width="58.39%" headers="mcps1.3.5.2.2.4.1.3 "><p id="as_06_0901__p1939813153413">Specifies the UTC-compliant time when the lifecycle hook is created.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="as_06_0901__section187189216020"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="as_06_0901__screen40081303191327">{
"lifecycle_hook_name": "test-hook1",
"default_result": "ABANDON",
"default_timeout": 3600,
"notification_topic_urn": "urn:smn:<em id="as_06_0901__i4196828215336">regionId</em>:b53e5554fad0494d96206fb84296510b:gsh",
"notification_topic_name": "gsh",
"lifecycle_hook_type": "INSTANCE_LAUNCHING",
"notification_metadata": null,
"create_time": "2019-03-18T16:00:11Z"
}</pre>
</div>
<div class="section" id="as_06_0901__section1489498995536"><h4 class="sectiontitle">Returned Values</h4><ul id="as_06_0901__ul6564343395536"><li id="as_06_0901__li5391999295536">Normal<p id="as_06_0901__p1551788295536"><a name="as_06_0901__li5391999295536"></a><a name="li5391999295536"></a>200</p>
</li><li id="as_06_0901__li544321895536">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0901__table4898896895536" frame="border" border="1" rules="all"><thead align="left"><tr id="as_06_0901__row2202573295536"><th align="left" class="cellrowborder" valign="top" width="44.17%" id="mcps1.3.7.2.2.1.1.3.1.1"><p id="as_06_0901__p3925390595536">Returned Value</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.83%" id="mcps1.3.7.2.2.1.1.3.1.2"><p id="as_06_0901__p2544972695536">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0901__row4816190795536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p880040995536">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p4174453595536">The server failed to process the request.</p>
</td>
</tr>
<tr id="as_06_0901__row4015650395536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p3145134295536">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p6453073695536">You must enter the username and password to access the requested page.</p>
</td>
</tr>
<tr id="as_06_0901__row4390571895536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p6670224695536">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p3417285595536">You are forbidden to access the requested page.</p>
</td>
</tr>
<tr id="as_06_0901__row3912024395536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p1462312895536">404 Not Found</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p4362270595536">The server could not find the requested page.</p>
</td>
</tr>
<tr id="as_06_0901__row5706002995536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p5845961695536">405 Method Not Allowed</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p3760842795536">You are not allowed to use the method specified in the request.</p>
</td>
</tr>
<tr id="as_06_0901__row293152795536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p3612717195536">406 Not Acceptable</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p4061970695536">The response generated by the server could not be accepted by the client.</p>
</td>
</tr>
<tr id="as_06_0901__row3003304095536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p1675719895536">407 Proxy Authentication Required</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p1515577295536">You must use the proxy server for authentication to process the request.</p>
</td>
</tr>
<tr id="as_06_0901__row218422095536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p4270415095536">408 Request Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p3648411695536">The request timed out.</p>
</td>
</tr>
<tr id="as_06_0901__row5992159295536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p2181080895536">409 Conflict</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p2184504195536">The request could not be processed due to a conflict.</p>
</td>
</tr>
<tr id="as_06_0901__row6238764295536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p2023420295536">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p2835763895536">Failed to complete the request because of an internal service error.</p>
</td>
</tr>
<tr id="as_06_0901__row5389215795536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p318858395536">501 Not Implemented</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p5694869095536">Failed to complete the request because the server does not support the requested function.</p>
</td>
</tr>
<tr id="as_06_0901__row4277616795536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p4231752695536">502 Bad Gateway</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p516757795536">Failed to complete the request because the request is invalid.</p>
</td>
</tr>
<tr id="as_06_0901__row4650819895536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p906768395536">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p6339370495536">Failed to complete the request because the system is unavailable.</p>
</td>
</tr>
<tr id="as_06_0901__row3367243095536"><td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="as_06_0901__p4311227595536">504 Gateway Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="55.83%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="as_06_0901__p243336495536">A gateway timeout error occurred.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="as_06_0901__section17669131616110"><h4 class="sectiontitle">Error Codes</h4><p id="as_06_0901__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_0900.html">Lifecycle Hooks</a></div>
</div>
</div>