doc-exports/elb/api-ref/elb_zq_hd_0004.html

252 lines
25 KiB
HTML

<a name="elb_zq_hd_0004"></a><a name="elb_zq_hd_0004"></a>
<h1 class="topictitle1">Updating a Backend Server</h1>
<h4 class="sectiontitle">Function</h4><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p23646388">This API is used to update a backend server. You can modify its name and weight. You can set a larger weight for backend servers that can receive more traffic.</p>
<h4 class="sectiontitle">Constraints</h4><p id="elb_zq_hd_0004__en-us_topic_0096561557_p487420220171">If the provisioning status of the associated load balancer is not <strong id="elb_zq_hd_0004__en-us_topic_0096561557_b1918964713289">ACTIVE</strong>, the backend server cannot be updated.</p>
<h4 class="sectiontitle">URI</h4><p id="elb_zq_hd_0004__en-us_topic_0096561557_p6822145354310">PUT /v2.0/lbaas/pools/{pool_id}/members/{member_id}</p>
<table cellpadding="4" cellspacing="0" summary="" id="elb_zq_hd_0004__en-us_topic_0096561557_table1885913523161" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="elb_zq_hd_0004__en-us_topic_0096561557_row1089314520167"><th align="left" class="cellrowborder" valign="top" width="14.141414141414144%" id="mcps1.3.3.3.2.5.1.1"><p id="elb_zq_hd_0004__en-us_topic_0096561557_p2893105251618">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10.101010101010102%" id="mcps1.3.3.3.2.5.1.2"><p id="elb_zq_hd_0004__en-us_topic_0096561557_p58949525162">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.141414141414144%" id="mcps1.3.3.3.2.5.1.3"><p id="elb_zq_hd_0004__en-us_topic_0096561557_p48940529160">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="61.61616161616161%" id="mcps1.3.3.3.2.5.1.4"><p id="elb_zq_hd_0004__en-us_topic_0096561557_p1889413524161">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="elb_zq_hd_0004__en-us_topic_0096561557_row389416528162"><td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.3.3.2.5.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p1289455281617">pool_id</p>
</td>
<td class="cellrowborder" valign="top" width="10.101010101010102%" headers="mcps1.3.3.3.2.5.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p18946529167">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.3.3.2.5.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p1689410522165">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.61616161616161%" headers="mcps1.3.3.3.2.5.1.4 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p14894135218168">Specifies the ID of the backend server group.</p>
</td>
</tr>
<tr id="elb_zq_hd_0004__en-us_topic_0096561557_row9894115291615"><td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.3.3.2.5.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p19894952151616">member_id</p>
</td>
<td class="cellrowborder" valign="top" width="10.101010101010102%" headers="mcps1.3.3.3.2.5.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p138941152171612">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.3.3.2.5.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p11894552121618">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.61616161616161%" headers="mcps1.3.3.3.2.5.1.4 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p1894125271615">Specifies the backend server ID.</p>
<span class="notetitle"> NOTE: </span><ul id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561555_ul1345681012434"><li id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561555_li14456151018436">The value of this parameter is not the ID of the server but an ID automatically generated for the backend server that has already associated with the load balancer.</li><li id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561555_li44567107434">You can obtain this value by calling the API described in <a href="elb_zq_hd_0002.html#elb_zq_hd_0002">Querying Backend Servers</a>.</li></ul>
</td>
</tr>
</tbody>
</table>
<h4 class="sectiontitle">Request</h4>
<table cellpadding="4" cellspacing="0" summary="" id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_table2134014" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_row2911981"><th align="left" class="cellrowborder" valign="top" width="23.630000000000003%" id="mcps1.3.4.2.2.5.1.1"><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p34543924">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.59%" id="mcps1.3.4.2.2.5.1.2"><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p46594488">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.04%" id="mcps1.3.4.2.2.5.1.3"><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p16057184">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="44.74%" id="mcps1.3.4.2.2.5.1.4"><p id="elb_zq_hd_0004__en-us_topic_0096561557_p6768729185511">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_row57380926"><td class="cellrowborder" valign="top" width="23.630000000000003%" headers="mcps1.3.4.2.2.5.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p17343428">member</p>
</td>
<td class="cellrowborder" valign="top" width="18.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p62640398">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="13.04%" headers="mcps1.3.4.2.2.5.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p40707460">Object</p>
</td>
<td class="cellrowborder" valign="top" width="44.74%" headers="mcps1.3.4.2.2.5.1.4 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139657_p24745166">Specifies the backend server. For details, see <a href="#elb_zq_hd_0004__en-us_topic_0096561557_table86692915171">Table 3</a>.</p>
</td>
</tr>
</tbody>
</table>
<a name="elb_zq_hd_0004__en-us_topic_0096561557_table86692915171"></a><a name="en-us_topic_0096561557_table86692915171"></a><table cellpadding="4" cellspacing="0" summary="" id="elb_zq_hd_0004__en-us_topic_0096561557_table86692915171" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="elb_zq_hd_0004__en-us_topic_0096561557_b19767174972320">member</strong> parameter description</caption><thead align="left"><tr id="elb_zq_hd_0004__en-us_topic_0096561557_row2136102917173"><th align="left" class="cellrowborder" valign="top" width="26.632663266326627%" id="mcps1.3.4.3.2.5.1.1"><p id="elb_zq_hd_0004__en-us_topic_0096561557_p51361829161716">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.111111111111112%" id="mcps1.3.4.3.2.5.1.2"><p id="elb_zq_hd_0004__en-us_topic_0096561557_p213642951714">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.4013401340134%" id="mcps1.3.4.3.2.5.1.3"><p id="elb_zq_hd_0004__en-us_topic_0096561557_p1113682971717">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="48.85488548854885%" id="mcps1.3.4.3.2.5.1.4"><p id="elb_zq_hd_0004__en-us_topic_0096561557_p7136182981712">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="elb_zq_hd_0004__en-us_topic_0096561557_row18136132913179"><td class="cellrowborder" valign="top" width="26.632663266326627%" headers="mcps1.3.4.3.2.5.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p51361429161716">name</p>
</td>
<td class="cellrowborder" valign="top" width="11.111111111111112%" headers="mcps1.3.4.3.2.5.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p11369296173">No</p>
</td>
<td class="cellrowborder" valign="top" width="13.4013401340134%" headers="mcps1.3.4.3.2.5.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p16136129131712">String</p>
</td>
<td class="cellrowborder" valign="top" width="48.85488548854885%" headers="mcps1.3.4.3.2.5.1.4 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p1549137131615">Specifies the backend server name.</p>
<p id="elb_zq_hd_0004__en-us_topic_0096561557_p1264211013318">The value contains a maximum of 255 characters.</p>
</td>
</tr>
<tr id="elb_zq_hd_0004__en-us_topic_0096561557_row16136142991717"><td class="cellrowborder" valign="top" width="26.632663266326627%" headers="mcps1.3.4.3.2.5.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p1113613292171">admin_state_up</p>
</td>
<td class="cellrowborder" valign="top" width="11.111111111111112%" headers="mcps1.3.4.3.2.5.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p813792910178">No</p>
</td>
<td class="cellrowborder" valign="top" width="13.4013401340134%" headers="mcps1.3.4.3.2.5.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p713618297172">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="48.85488548854885%" headers="mcps1.3.4.3.2.5.1.4 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p1558456113514">Specifies the administrative status of the backend server. </p>
<p id="elb_zq_hd_0004__en-us_topic_0096561557_p136141610163013">This parameter is reserved, and the default value is <strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0141008273_b7386530455">true</strong>.</p>
</td>
</tr>
<tr id="elb_zq_hd_0004__en-us_topic_0096561557_row113742916172"><td class="cellrowborder" valign="top" width="26.632663266326627%" headers="mcps1.3.4.3.2.5.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p913710293172">weight</p>
</td>
<td class="cellrowborder" valign="top" width="11.111111111111112%" headers="mcps1.3.4.3.2.5.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p10137172991712">No</p>
</td>
<td class="cellrowborder" valign="top" width="13.4013401340134%" headers="mcps1.3.4.3.2.5.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p3137112971714">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="48.85488548854885%" headers="mcps1.3.4.3.2.5.1.4 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_p1210816309619">Specifies the backend server weight. The value ranges from <strong id="elb_zq_hd_0004__en-us_topic_0096561557_b17722143113012">0</strong> to <strong id="elb_zq_hd_0004__en-us_topic_0096561557_b14723131133010">100</strong>.</p>
<p id="elb_zq_hd_0004__en-us_topic_0096561557_p72901421173616">If the value is <strong id="elb_zq_hd_0004__en-us_topic_0096561557_b1683233143319">0</strong>, the backend server will not accept new requests. The default value is <strong>1</strong>.</p>
</td>
</tr>
</tbody>
</table>
<h4 class="sectiontitle">Response</h4>
<table cellpadding="4" cellspacing="0" summary="" id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_table55481367" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response parameters</caption><thead align="left"><tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_row33910007"><th align="left" class="cellrowborder" valign="top" width="23.41%" id="mcps1.3.5.2.2.4.1.1"><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p62356046">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.2.4.1.2"><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p17674957">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="51.59%" id="mcps1.3.5.2.2.4.1.3"><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p1281126">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_row36662351"><td class="cellrowborder" valign="top" width="23.41%" headers="mcps1.3.5.2.2.4.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p16860416">member</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.2.4.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p23516450">Object</p>
</td>
<td class="cellrowborder" valign="top" width="51.59%" headers="mcps1.3.5.2.2.4.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_p8152279">Specifies the backend server. For details, see <a href="#elb_zq_hd_0004__en-us_topic_0096561557_table165363113183">Table 5</a>.</p>
</td>
</tr>
</tbody>
</table>
<a name="elb_zq_hd_0004__en-us_topic_0096561557_table165363113183"></a><a name="en-us_topic_0096561557_table165363113183"></a><table cellpadding="4" cellspacing="0" summary="" id="elb_zq_hd_0004__en-us_topic_0096561557_table165363113183" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_b1987790351">member</strong> parameter description</caption><thead align="left"><tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_row1215463171615"><th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.5.3.2.4.1.1"><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p1315410319169">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.5.3.2.4.1.2"><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p141541431101611">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="72%" id="mcps1.3.5.3.2.4.1.3"><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p2154153161615">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_row161541231151616"><td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p71549319164">id</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p937416199308">String</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.5.3.2.4.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p6154231141610">Specifies the backend server ID.</p>
<span class="notetitle"> NOTE: </span><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p7954937184520">The value of this parameter is not the ID of the server but an ID automatically generated for the backend server that has already associated with the load balancer.</p>
</td>
</tr>
<tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_row8154123119164"><td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p2015420313169">tenant_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p131565312169">String</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.5.3.2.4.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p201561631141618">Specifies the ID of the project where the backend server is used.</p>
<p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p4289054517">The value contains a maximum of 255 characters.</p>
</td>
</tr>
<tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_row41561731101617"><td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p2015683161617">name</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p915643117163">String</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.5.3.2.4.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p13156193151618">Specifies the backend server name.</p>
<p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p126641735112">The value contains a maximum of 255 characters.</p>
</td>
</tr>
<tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_row12156113141613"><td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p215633112161">address</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p61561331181617">String</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.5.3.2.4.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p2611194017408">Specifies the private IP address of the backend server. This IP address must be in the subnet specified by <strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_b17159113041919">subnet_id</strong>.</p>
<p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p18611164024019">This parameter can be set only to the IP address of the primary NIC, for example, 192.168.3.11.</p>
<p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p1314571145112">The value contains a maximum of 64 characters.</p>
</td>
</tr>
<tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_row121562031101617"><td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p1115653101620">protocol_port</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p111561631171619">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.5.3.2.4.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p141561431161615">Specifies the port used by the backend server. The port number ranges from 1 to 65535.</p>
</td>
</tr>
<tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_row111561931111610"><td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p171561231151617">subnet_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p1577372523116">String</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.5.3.2.4.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p986015317414">Specifies the ID of the subnet where the backend server works. The private IP address of the backend server is in this subnet.</p>
<p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p88604374112">IPv6 subnets are not supported.</p>
</td>
</tr>
<tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_row111561331101617"><td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p19156231141611">admin_state_up</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p1915603181610">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.5.3.2.4.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p38145286413">Specifies the administrative status of the backend server.</p>
<p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p124391238151518">This parameter is reserved. The value can be <strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_en-us_topic_0141008273_b165949352520">true</strong> or <strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_en-us_topic_0141008273_b76047354513">false</strong>.</p>
<ul id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_ul34394383151"><li id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_en-us_topic_0141008273_li1786915015393"><strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_en-us_topic_0141008273_b1178053714514">true</strong>: Enabled</li><li id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_en-us_topic_0141008273_li1031815323916"><strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_en-us_topic_0141008273_b1524614510615">false</strong>: Disabled</li></ul>
</td>
</tr>
<tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_row8156193116164"><td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p171561931151617">weight</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p4156103110161">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.5.3.2.4.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p8605175104117">Specifies the backend server weight. The value ranges from <strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_b736895210190">0</strong> to <strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_b10369135211196">100</strong>.</p>
<p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p1460555119418">If the value is <strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_b142577543194">0</strong>, the backend server will not accept new requests. The default value is <strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_b7720155541911">1</strong>.</p>
</td>
</tr>
<tr id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_row7156631161615"><td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.1 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p31561031161610">operating_status</p>
</td>
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p715663171614">String</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.5.3.2.4.1.3 "><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_p13931747122017">Specifies the health check result of the backend server. The value can be one of the following:</p>
<ul id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_ul182681814182112"><li id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_li11268191418212"><strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_b237573620916">ONLINE</strong>: The backend server is running normally.</li><li id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_li12681214132115"><strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_b103891719105114">NO_MONITOR</strong>: No health check is configured for the backend server group that the backend server belongs to.</li><li id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_li3268191412116"><strong id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561556_b976682611106">OFFLINE</strong>: The cloud server used as the backend server is stopped or does not exist.</li></ul>
</td>
</tr>
</tbody>
</table>
<h4 class="sectiontitle">Example Request</h4><ul id="elb_zq_hd_0004__en-us_topic_0096561557_ul7877193564817"><li id="elb_zq_hd_0004__en-us_topic_0096561557_li1085095911273">Example request: Updating the name and weight of a backend server<pre class="screen" id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0049139658_screen32450128124953">PUT https://{Endpoint}/v2.0/lbaas/pools/5a9a3e9e-d1aa-448e-af37-a70171f2a332/members/c0042496-e220-44f6-914b-e6ca33bab503
{
"member": {
"name": "member create test",
"weight": 10
}
}</pre>
</li></ul>
<h4 class="sectiontitle">Example Response</h4><ul id="elb_zq_hd_0004__en-us_topic_0096561557_ul015814106198"><li id="elb_zq_hd_0004__en-us_topic_0096561557_li10158410101914">Example response<pre class="screen" id="elb_zq_hd_0004__en-us_topic_0096561557_screen9158161041911">{
"member": {
"name": "member-jy-tt-1",
"weight": 1,
"admin_state_up": true,
"subnet_id": "33d8b01a-bbe6-41f4-bc45-78a1d284d503",
"tenant_id": "145483a5107745e9b3d80f956713e6a3",
"address": "192.168.44.11",
"protocol_port": 88,
"operating_status": "ONLINE",
"id": "c0042496-e220-44f6-914b-e6ca33bab503"
}
}</pre>
</li></ul>
<h4 class="sectiontitle">Status Code</h4><p id="elb_zq_hd_0004__en-us_topic_0096561557_en-us_topic_0096561531_en-us_topic_0049139631_p12358762">For details, see <a href="elb_gc_1102.html#elb_gc_1102">Status Codes</a>.</p>
<strong>Parent topic:</strong> <a href="elb_zq_hd_0000.html">Backend Server</a>