forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com> Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
94 lines
6.1 KiB
HTML
94 lines
6.1 KiB
HTML
<a name="css_03_0090"></a><a name="css_03_0090"></a>
|
|
|
|
<h1 class="topictitle1">Replacing a Node</h1>
|
|
<div id="body0000001526665653"><div class="section" id="css_03_0090__section5957192616269"><h4 class="sectiontitle">Function</h4><p id="css_03_0090__p139571626152617">This API is used to replace a failed node.</p>
|
|
</div>
|
|
<div class="section" id="css_03_0090__section19957162616266"><h4 class="sectiontitle">Debugging</h4><p id="css_03_0090__p189586266266">You can debug this API in . Automatic authentication is supported.</p>
|
|
</div>
|
|
<div class="section" id="css_03_0090__section199591326172617"><h4 class="sectiontitle">URI</h4><p id="css_03_0090__p209591326142615">PUT /v1.0/{project_id}/clusters/{cluster_id}/instance/{instance_id}/replace</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0090__table1961126142616" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="css_03_0090__row596010268263"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="css_03_0090__p189621826122618">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="css_03_0090__p1996215265269">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="css_03_0090__p1196319262263">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="css_03_0090__p1496332619267">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0090__row396014261269"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0090__p996422614264">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0090__p19964142619269">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0090__p1596562618262">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0090__p296615265269">Project ID. For details, see <a href="css_03_0071.html">Obtaining a Project ID and Name</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0090__row296022672619"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0090__p129661326102613">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0090__p129671268269">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0090__p1196832662617">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0090__p1996992612263">ID of the cluster where nodes are to be replaced</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0090__row18960152620260"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0090__p4970926202620">instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0090__p129701626162611">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0090__p19971112615266">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0090__p1497272620269">ID of the node to be replaced</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0090__section997272662614"><h4 class="sectiontitle">Request Parameters</h4><p id="css_03_0090__p13973202616261">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0090__section1974926172614"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0090__p119754262269">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0090__section1297592602612"><h4 class="sectiontitle">Request Example</h4><pre class="screen" id="css_03_0090__screen109761726112620">PUT /v1.0/{project_id}/clusters/{cluster_id}/instance/{instance_id}/replace</pre>
|
|
</div>
|
|
<div class="section" id="css_03_0090__section6977102622614"><h4 class="sectiontitle">Response Example</h4><p id="css_03_0090__p29771264267">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0090__section997820263268"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0090__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0090__row79798260265"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="css_03_0090__p1798114266267">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="css_03_0090__p69834267266">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0090__row14979526172618"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0090__p12983192672617">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0090__p19841326142612">The request is processed successfully.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0090__row149801926182613"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0090__p1798452642620">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0090__p59851826102616">Invalid request.</p>
|
|
<p id="css_03_0090__p5985122613263">Modify the request instead of retrying.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0090__row16980726142610"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0090__p098612672618">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0090__p198682619260">The requested resource cannot be found.</p>
|
|
<p id="css_03_0090__p1298762642618">Modify the request instead of retrying.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_03_0008.html">Cluster Management APIs</a></div>
|
|
</div>
|
|
</div>
|
|
|