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>
90 lines
6.6 KiB
HTML
90 lines
6.6 KiB
HTML
<a name="css_03_0021"></a><a name="css_03_0021"></a>
|
|
|
|
<h1 class="topictitle1">Restarting a Cluster</h1>
|
|
<div id="body1502957786212"><div class="section" id="css_03_0021__section16607137567"><h4 class="sectiontitle">Function</h4><p id="css_03_0021__p201141014125619">This API is used to restart a cluster. Restarting the cluster will interrupt ongoing services.</p>
|
|
</div>
|
|
<div class="section" id="css_03_0021__section1566021345618"><h4 class="sectiontitle">URI</h4><pre class="screen" id="css_03_0021__screen2401124204013">POST /v1.0/{project_id}/clusters/{cluster_id}/restart</pre>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0021__table5660213195614" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="css_03_0021__row1114111425612"><th align="left" class="cellrowborder" valign="top" width="18.821782178217823%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0021__p0114121417563">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.84158415841584%" id="mcps1.3.2.3.2.5.1.2"><p id="css_03_0021__p51141140563">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.801980198019802%" id="mcps1.3.2.3.2.5.1.3"><p id="css_03_0021__p911411143567">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="36.53465346534654%" id="mcps1.3.2.3.2.5.1.4"><p id="css_03_0021__p511417145568">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0021__row4114314185617"><td class="cellrowborder" valign="top" width="18.821782178217823%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0021__p411491414569">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.84158415841584%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0021__p11141814195617">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.801980198019802%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0021__p151147141568">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.53465346534654%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0021__p181147147563">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_0021__row121141814115618"><td class="cellrowborder" valign="top" width="18.821782178217823%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0021__p1011491416566">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.84158415841584%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0021__p511441415614">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.801980198019802%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0021__p9114814125614">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.53465346534654%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0021__p211461445611">ID of the cluster to be restarted.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0021__section16676613185611"><h4 class="sectiontitle">Request</h4><p id="css_03_0021__p196944473118">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0021__section567618138567"><h4 class="sectiontitle">Response</h4><p id="css_03_0021__p3201134121215">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0021__section02195263215"><h4 class="sectiontitle">Examples</h4><p id="css_03_0021__p1854214427128">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0021__section87962546391"><h4 class="sectiontitle">Status Code</h4><p id="css_03_0021__p46921709171"><a href="#css_03_0021__table12321369178">Table 2</a> describes the status code.</p>
|
|
|
|
<div class="tablenoborder"><a name="css_03_0021__table12321369178"></a><a name="table12321369178"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0021__table12321369178" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Status codes</caption><thead align="left"><tr id="css_03_0021__en-us_topic_0000001342030725_row1972183521418"><th align="left" class="cellrowborder" valign="top" width="15.939999999999998%" id="mcps1.3.6.3.2.4.1.1"><p id="css_03_0021__en-us_topic_0000001342030725_p14560134151414">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="31.04%" id="mcps1.3.6.3.2.4.1.2"><p id="css_03_0021__en-us_topic_0000001342030725_p5563194141411">Message</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.02%" id="mcps1.3.6.3.2.4.1.3"><p id="css_03_0021__en-us_topic_0000001342030725_p256616411143">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0021__en-us_topic_0000001342030725_row129720356144"><td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.6.3.2.4.1.1 "><p id="css_03_0021__en-us_topic_0000001342030725_p1957004131410">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="31.04%" headers="mcps1.3.6.3.2.4.1.2 "><p id="css_03_0021__en-us_topic_0000001342030725_p165731141171419">BadRequest</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.02%" headers="mcps1.3.6.3.2.4.1.3 "><p id="css_03_0021__en-us_topic_0000001342030725_p65778413148">Invalid request.</p>
|
|
<p id="css_03_0021__en-us_topic_0000001342030725_p1557974171415">Modify the request instead of retrying.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0021__en-us_topic_0000001342030725_row8972103517147"><td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.6.3.2.4.1.1 "><p id="css_03_0021__en-us_topic_0000001342030725_p75841441191410">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="31.04%" headers="mcps1.3.6.3.2.4.1.2 "><p id="css_03_0021__en-us_topic_0000001342030725_p258716416142">NotFound</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.02%" headers="mcps1.3.6.3.2.4.1.3 "><p id="css_03_0021__en-us_topic_0000001342030725_p15589154118141">The requested resource cannot be found.</p>
|
|
<p id="css_03_0021__en-us_topic_0000001342030725_p14590164151410">Modify the request instead of retrying.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0021__en-us_topic_0000001342030725_row297223511416"><td class="cellrowborder" valign="top" width="15.939999999999998%" headers="mcps1.3.6.3.2.4.1.1 "><p id="css_03_0021__en-us_topic_0000001342030725_p13595164131416">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="31.04%" headers="mcps1.3.6.3.2.4.1.2 "><p id="css_03_0021__en-us_topic_0000001342030725_p9598741131416">OK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.02%" headers="mcps1.3.6.3.2.4.1.3 "><p id="css_03_0021__en-us_topic_0000001342030725_p659994115146">The request is processed successfully.</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>
|
|
|