doc-exports/docs/css/api-ref/css_03_0021.html
Wuwan, Qi 8675132585 CSS API 23.2.1 20230926
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
2023-10-23 09:34:01 +00:00

90 lines
6.7 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="25.742574257425744%" 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="24.752475247524753%" 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="18.81188118811881%" 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="30.693069306930692%" 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="25.742574257425744%" 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="24.752475247524753%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0021__p11141814195617">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0021__p151147141568">String</p>
</td>
<td class="cellrowborder" valign="top" width="30.693069306930692%" 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="25.742574257425744%" 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="24.752475247524753%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0021__p511441415614">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="18.81188118811881%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0021__p9114814125614">String</p>
</td>
<td class="cellrowborder" valign="top" width="30.693069306930692%" 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__p1428494591914">None</p>
</div>
<div class="section" id="css_03_0021__section02195263215"><h4 class="sectiontitle">Examples</h4><p id="css_03_0021__p1230319508194">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 code</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">Code</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">Status Code 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">The client should not repeat the request without modifications.</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">The client should not repeat the request without modifications.</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>