forked from docs/doc-exports
285 lines
29 KiB
HTML
285 lines
29 KiB
HTML
<a name="elb_jd_jk_0003"></a><a name="elb_jd_jk_0003"></a>
|
|
|
|
<h1 class="topictitle1">Modifying a Health Check</h1>
|
|
<h4 class="sectiontitle">Function</h4><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p28422409102724">This API is used to modify information about a health check.</p>
|
|
|
|
<h4 class="sectiontitle">URI</h4><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p34340132">PUT /v1.0/{project_id}/elbaas/healthcheck/{healthcheck_id}</p>
|
|
|
|
<table cellpadding="4" cellspacing="0" summary="" id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_table2350413" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row8575450"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.2.3.2.5.1.1"><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p23522831">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13%" id="mcps1.3.2.3.2.5.1.2"><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p26301173"><strong id="elb_jd_jk_0003__en-us_topic_0096561514_b842352706192244">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12%" id="mcps1.3.2.3.2.5.1.3"><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p3742928817648"><strong id="elb_jd_jk_0003__en-us_topic_0096561514_b842352706145623">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.99999999999999%" id="mcps1.3.2.3.2.5.1.4"><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p50020275">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row27884521115341"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_p1592975916416">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.2.3.2.5.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p16448891115356">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.3.2.5.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p6430409411540">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.99999999999999%" headers="mcps1.3.2.3.2.5.1.4 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p3428698711542">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row25110514"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p20685786">healthcheck_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.2.3.2.5.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p64935954">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.3.2.5.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p1187346317648">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.99999999999999%" headers="mcps1.3.2.3.2.5.1.4 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p25320898">Specifies the health check ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row26561495"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p3997487">healthcheck_protocol</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.2.3.2.5.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p55361044">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.3.2.5.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p2222643517648">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.99999999999999%" headers="mcps1.3.2.3.2.5.1.4 "><ul id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_ul5527202192327"><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li51274248122831">Specifies the health check protocol.</li><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li1904235892327">The value can be <strong>HTTP</strong> or <strong>TCP</strong> (case-insensitive).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row7322556"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p56256135">healthcheck_uri</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.2.3.2.5.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p60453091">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.3.2.5.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p5551077117648">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.99999999999999%" headers="mcps1.3.2.3.2.5.1.4 "><ul id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_ul6131662692338"><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li55002361122840">Specifies the health check URI. This parameter is valid when <strong>healthcheck_protocol</strong> is <strong>HTTP</strong>.</li><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li6417939192338">The value can contain 1 to 80 characters that must start with a slash (/) and can contain only letters, digits, and special characters such as -/.%?#&_=</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row19346796"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p23586666">healthcheck_connect_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.2.3.2.5.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p31471768">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.3.2.5.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p7857517648">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.99999999999999%" headers="mcps1.3.2.3.2.5.1.4 "><ul id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_ul2614204492350"><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li46899726122849">Specifies the health check port.</li><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li1979472092350">The port number ranges from 1 to 65535.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row64880336"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p20815867">healthy_threshold</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.2.3.2.5.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p8363642">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.3.2.5.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p636464017648">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.99999999999999%" headers="mcps1.3.2.3.2.5.1.4 "><ul id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_ul3344333792358"><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li51731767122857">Specifies the number of consecutive health checks when the health check result of a backend ECS changes from <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b40773523181459">fail</strong> to <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b18360893181459">success</strong>.</li><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li58845792358">The value ranges from <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b142281511161410">1</strong> to <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b530651515147">10</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row10586695"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p52215961">unhealthy_threshold</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.2.3.2.5.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p1634435">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.3.2.5.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p4577387017648">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.99999999999999%" headers="mcps1.3.2.3.2.5.1.4 "><ul id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_ul2320456392445"><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li4084910812294">Specifies the number of consecutive health checks when the health check result of a backend ECS changes from <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b459728422">success</strong> to <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b144045525">fail</strong>.</li><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li2475916792445">The value ranges from <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b11362164219509">1</strong> to <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b6185134517508">10</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row9249362"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p11000853">healthcheck_timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.2.3.2.5.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p18653909">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.3.2.5.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p1669600017648">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.99999999999999%" headers="mcps1.3.2.3.2.5.1.4 "><ul id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_ul2556987292455"><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li24300930122912">Specifies the maximum time required for waiting for a response from the health check in the unit of second.</li><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li5102628692455">The value ranges from <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b44101611113716">1</strong> to <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b6771314133717">50</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row36902586"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.3.2.5.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p36319496">healthcheck_interval</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.2.3.2.5.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p56198103">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.3.2.5.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p1019878317648">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.99999999999999%" headers="mcps1.3.2.3.2.5.1.4 "><ul id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_ul520900839255"><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li35657782122919">Specifies the maximum time between health checks in the unit of second.</li><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li508457229255">The value ranges from <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b3439120183719">1</strong> to <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b5978112218376">50</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<h4 class="sectiontitle">Request</h4><ul id="elb_jd_jk_0003__en-us_topic_0096561514_ul14640111064018"><li id="elb_jd_jk_0003__en-us_topic_0096561514_li76402010134019">Request parameters<p id="elb_jd_jk_0003__en-us_topic_0096561514_p153181934194411"><a name="elb_jd_jk_0003__en-us_topic_0096561514_li76402010134019"></a><a name="en-us_topic_0096561514_li76402010134019"></a>None</p>
|
|
</li></ul>
|
|
<ul id="elb_jd_jk_0003__en-us_topic_0096561514_ul11296519134018"><li id="elb_jd_jk_0003__en-us_topic_0096561514_li929611924012">Example request<pre class="screen" id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_screen2704872495446">{
|
|
"healthcheck_connect_port": 88,
|
|
"healthcheck_interval": 5,
|
|
"healthcheck_protocol": "HTTP",
|
|
"healthcheck_timeout": 10,
|
|
"healthcheck_uri": "/",
|
|
"healthy_threshold": 3,
|
|
"unhealthy_threshold": 2
|
|
}</pre>
|
|
</li></ul>
|
|
|
|
<h4 class="sectiontitle">Response</h4><ul id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_ul5194988154739"><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li46754895154739">Response parameters
|
|
<table cellpadding="4" cellspacing="0" summary="" id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_table481316231292" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row375500021292"><th align="left" class="cellrowborder" valign="top" width="19.191919191919194%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p216513511292">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.141414141414144%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p89290291292"><strong id="elb_jd_jk_0003__en-us_topic_0096561514_b1184255610">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="66.66666666666667%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p521627231292">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row644310011292"><td class="cellrowborder" valign="top" width="19.191919191919194%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p515285921292">healthcheck_interval</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p130664151292">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="66.66666666666667%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p517467191292">Specifies the maximum time between health checks in the unit of second.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row630672931292"><td class="cellrowborder" valign="top" width="19.191919191919194%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p81770971292">listener_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p583650811292">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="66.66666666666667%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p299510931292">Specifies the ID of the listener with which the health check is associated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row11243881292"><td class="cellrowborder" valign="top" width="19.191919191919194%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p239665901292">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p622456571292">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="66.66666666666667%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p87334691292">Specifies the health check ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row114923571292"><td class="cellrowborder" valign="top" width="19.191919191919194%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p584657201292">healthcheck_protocol</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p381028881292">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="66.66666666666667%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p664350681292">Specifies the health check protocol.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row610447031292"><td class="cellrowborder" valign="top" width="19.191919191919194%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p456739251292">unhealthy_threshold</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p86004511292">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="66.66666666666667%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p255479701292">Specifies the number of consecutive health checks when the health check result of a backend ECS changes from <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b962297891">success</strong> to <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b2128164379">fail</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row286051461292"><td class="cellrowborder" valign="top" width="19.191919191919194%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p353154521292">update_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p419793791292">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="66.66666666666667%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p448865671292">Specifies the time when the certificate was updated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row13259231292"><td class="cellrowborder" valign="top" width="19.191919191919194%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p402909401292">create_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p423407421292">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="66.66666666666667%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p70481051292">Specifies the time when the health check was created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row548289991292"><td class="cellrowborder" valign="top" width="19.191919191919194%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p119639641292">healthcheck_connect_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p295570501292">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="66.66666666666667%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p453108241292">Specifies the health check port.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row51442321292"><td class="cellrowborder" valign="top" width="19.191919191919194%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p140296661292">healthcheck_timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p626611521292">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="66.66666666666667%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p423885551292">Specifies the maximum time required for waiting for a response from the health check in the unit of second.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row459526761292"><td class="cellrowborder" valign="top" width="19.191919191919194%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p311792931292">healthcheck_uri</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p424947741292">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="66.66666666666667%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p195246311292">Specifies the health check URI. This parameter is valid when <strong>healthcheck_protocol</strong> is <strong>HTTP</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row415039541292"><td class="cellrowborder" valign="top" width="19.191919191919194%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p63771391292">healthy_threshold</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p467862891292">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="66.66666666666667%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p315930751292">Specifies the threshold at which the health check result is <strong>success</strong>, that is, the number of consecutive successful health checks when the health check result of a backend ECS changes from <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b1146852276">fail</strong> to <strong id="elb_jd_jk_0003__en-us_topic_0096561514_b1130809242">success</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</li></ul>
|
|
|
|
<ul id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_ul20409871"><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li49471114">Example response<pre class="screen" id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_screen3086720995527">{
|
|
"healthcheck_interval": 5,
|
|
"listener_id": "3ce8c4429478a5eb6ef4930de2d75b28",
|
|
"id": "134e5ea962327c6a574b83e6e7f31f35",
|
|
"healthcheck_protocol": "HTTP",
|
|
"unhealthy_threshold": 2,
|
|
"update_time": "2015-12-25 03:57:23",
|
|
"create_time": "2015-12-25 03:57:23",
|
|
"healthcheck_connect_port": 88,
|
|
"healthcheck_timeout": 10,
|
|
"healthcheck_uri": "/",
|
|
"healthy_threshold": 3
|
|
}</pre>
|
|
</li></ul>
|
|
<h4 class="sectiontitle">Status Code</h4><ul id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_ul59471393"><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li65480490">Normal<p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p52453505"><a name="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li65480490"></a><a name="en-us_topic_0096561514_en-us_topic_0020100166_li65480490"></a>200</p>
|
|
</li><li id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_li2319502">Error
|
|
<table cellpadding="4" cellspacing="0" summary="" id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_table23314621151543" frame="border" border="1" rules="all"><thead align="left"><tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row33875729151543"><th align="left" class="cellrowborder" valign="top" width="12.13%" id="mcps1.3.6.2.2.1.1.4.1.1"><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p59579522151543">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="41.63%" id="mcps1.3.6.2.2.1.1.4.1.2"><p id="elb_jd_jk_0003__en-us_topic_0096561514_p1245432612141">Message</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46.239999999999995%" id="mcps1.3.6.2.2.1.1.4.1.3"><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p61211943151543">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row59220328151543"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.6.2.2.1.1.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p32117295151543">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.6.2.2.1.1.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_p157371241131416">badRequest</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.6.2.2.1.1.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p51364065151543">Request error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row59623407151543"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.6.2.2.1.1.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p64766639151543">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.6.2.2.1.1.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_p1873710413145">unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.6.2.2.1.1.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p11606416151543">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row37348884151543"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.6.2.2.1.1.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p5360777151543">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.6.2.2.1.1.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_p13737144118142">userDisabled</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.6.2.2.1.1.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p31569778151543">You do not have the permission to perform the operation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row15692550151543"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.6.2.2.1.1.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p63137017151543">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.6.2.2.1.1.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_p12737194191411">Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.6.2.2.1.1.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p13824724151543">The requested page does not exist.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row57313656151543"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.6.2.2.1.1.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p11894596151543">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.6.2.2.1.1.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_p187382415140">authFault</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.6.2.2.1.1.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p23938187151543">System error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_row14117097151543"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.6.2.2.1.1.4.1.1 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p2634231151543">503</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.6.2.2.1.1.4.1.2 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_p117381141121419">serviceUnavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.6.2.2.1.1.4.1.3 "><p id="elb_jd_jk_0003__en-us_topic_0096561514_en-us_topic_0020100166_p12046133151543">The service is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</li></ul>
|
|
|
|
|
|
|
|
|
|
<strong>Parent topic:</strong> <a href="elb_jd_jk_0000.html">Health Check</a>
|
|
|
|
|
|
|