forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
125 lines
14 KiB
HTML
125 lines
14 KiB
HTML
<a name="EN-US_TOPIC_0000001231272815"></a><a name="EN-US_TOPIC_0000001231272815"></a>
|
|
|
|
<h1 class="topictitle1">Restarting a Cluster</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_s7aa3de1b44f14c0487bab690bb5702d6"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_af45ba7dd71a6422c9a39c39b44dbd8a8">This API is used to restart clusters.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_s9db56e76e7694a5cbfd993c7d1db0606"><h4 class="sectiontitle">URI</h4><ul id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_u4cf609fc053741998eedd89cf45caf2c"><li id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_l2b8b579a356f4f1f8118dc22b4a322e5">URI format<pre class="screen" id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_screen711213995816">POST /v1.0/{project_id}/clusters/{cluster_id}/restart</pre>
|
|
</li><li id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_l04279980b92848f4b97e6cdbfac33319">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_tb301b46821994ee6ae8cb5d508bfd564" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_r09f2cf7e302f4b1197b293cb5b91aa42"><th align="left" class="cellrowborder" valign="top" width="19.64%" id="mcps1.3.2.2.2.1.2.5.1.1"><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_ad24f94544e3448e588d569b4cf5d3df1"><strong id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_b84235270611710">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="9.58%" id="mcps1.3.2.2.2.1.2.5.1.2"><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a23ce55ff78b64009b06caaddea7be777"><strong id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_b16976651162625">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.7%" id="mcps1.3.2.2.2.1.2.5.1.3"><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_aa68a5c620b7741ebb873bc22f4abf72b"><strong id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_b63441152313">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.08%" id="mcps1.3.2.2.2.1.2.5.1.4"><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a5c07a285f796424888ea8c9b215ef172"><strong id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_b27112162319">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_rd49c40cc2e534fb38fc1ce2158dda6da"><td class="cellrowborder" valign="top" width="19.64%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_adf89366c8cdf490b91f7ab0b1aa4c9d7">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.58%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a03a216c626564f1eb88d9562a41ee374">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.7%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a9bf19da6d557419eb7768b4c0d4dc441">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.08%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_p1266145715419"><span id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_text18643193123114">Project ID</span>. For details about how to obtain the ID, see <a href="dws_02_0011.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_r3f1019a86e164120957b6c78183aed5c"><td class="cellrowborder" valign="top" width="19.64%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_ac8206c593fb6478d90922a1317be1af3">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.58%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a723b9ebdf5d14520ac6db771eea07716">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.7%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a42225196447a466a8b27488e9f840018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.08%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a3c9219ff8f544b6db2665fbab0057dab">ID of the cluster to be restarted. For details about how to obtain the ID, see <a href="dws_02_00068.html">Obtaining the Cluster ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_sa64d5fde1cb94be29689b1aab5bc2bb2"><h4 class="sectiontitle">Request Message</h4><ul id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_u56175bf842bc4ad4955c9629175fdcf6"><li id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_le3efc5a2349b4c1084d325bac163560c">Request example<pre class="screen" id="EN-US_TOPIC_0000001231272815__screen1733210301989">POST https://{Endpoint}/v1.0/89cd04f168b84af6be287f71730fdb4b/clusters/4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba90/restart
|
|
|
|
{
|
|
"restart" : { }
|
|
}</pre>
|
|
</li></ul>
|
|
<ul id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_uf93db65bd61b4726a254602f9dca6091"><li id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_lae6e367885da4d8a9f688f856f1553fc">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_tc32f843a9ead4035a871c86d7a4846cf" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_rcf972ba57cb945bca28c72ec13f32fb4"><th align="left" class="cellrowborder" valign="top" width="20.97%" id="mcps1.3.3.3.1.1.2.5.1.1"><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a04409112453b4054b07ce0e5d3fd7aac"><strong id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_b57255583285">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10.549999999999999%" id="mcps1.3.3.3.1.1.2.5.1.2"><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_ac42ccdeeb5ca426cba55f7d3103a3e4d"><strong id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_b116471559142817">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.15%" id="mcps1.3.3.3.1.1.2.5.1.3"><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a3be50d1d99d643778bb995586c600e14"><strong id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_b1798787172316">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.33%" id="mcps1.3.3.3.1.1.2.5.1.4"><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a028e0ec2d58b47edb787e6e49333ec7f"><strong id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_b157696842315">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_recb12ef1d4f24c248e72fa202d02918c"><td class="cellrowborder" valign="top" width="20.97%" headers="mcps1.3.3.3.1.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_aa79b2667616f4f9f84a72005adac2a74">restart</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.549999999999999%" headers="mcps1.3.3.3.1.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a6219947762bf4127ad4313192186f4b0">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.15%" headers="mcps1.3.3.3.1.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a49c27493d4b44d74ae91d624f93bb313">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.33%" headers="mcps1.3.3.3.1.1.2.5.1.4 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a7c97c57ca08b420c93d593eed95ed934">Restart flag.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_saf8285fea2964e558a059d985c498559"><h4 class="sectiontitle">Response Message</h4><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_en-us_topic_0067625516_p070316818262">Example response</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_sabffaf8806d04531be3a32b013bf56e3">status CODE 200</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_s318da95b204f47c4bef42e78b54a9089"><h4 class="sectiontitle">Status Code</h4><ul id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_u6b27dfff47284d9eb4526aa606fd904d"><li id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_lc3e480c720a44ace9824ad63cbfe527d">Normal<p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_afe8c3c6bf90a42eca6518dde64ab22ed"><a name="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_lc3e480c720a44ace9824ad63cbfe527d"></a><a name="en-us_topic_0000001145496635_lc3e480c720a44ace9824ad63cbfe527d"></a>200</p>
|
|
</li><li id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_la038d54e5c39431386902a311ea0a9bd">Exception
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_tfd7a877a4eed4992a077edb0bb8f7352" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Returned values</caption><thead align="left"><tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_red5a03b5306f46e0900cacc8c992c838"><th align="left" class="cellrowborder" valign="top" width="32.24%" id="mcps1.3.5.2.2.1.2.3.1.1"><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a72e8066c2a994394ba0ece17bd467376"><strong id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_b930573803019">Returned Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="67.75999999999999%" id="mcps1.3.5.2.2.1.2.3.1.2"><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a2982bcdae3bb45f8b90b4baeef64cc05"><strong id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_b7605515182317">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_r5d0fed0ce30740a49f01318c52c42592"><td class="cellrowborder" valign="top" width="32.24%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_ae37fb97120e94cbea677f88d0ab4edbd">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.75999999999999%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_ac2c1c94571004267a7297152e7edb7fc">Request error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_r45192eae966e4de885d09edc4b3eee3c"><td class="cellrowborder" valign="top" width="32.24%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_adfc757440c4849e09a2516b04e8a1d01">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.75999999999999%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_af986420c033c45dea198eb80d6c07471">Authorization failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_r41d8f90f2d864d6b92339cf01794c677"><td class="cellrowborder" valign="top" width="32.24%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a24892b03923545f48aa72a00f90ac7d3">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.75999999999999%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a6ac5aa0c4d654b33aa51c2193a5b6e83">No operation permission.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_rb2e58285b54e40058c475f72290b1e68"><td class="cellrowborder" valign="top" width="32.24%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a3a8f1a544d714b28b85c80856fe07ae5">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.75999999999999%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a75dc6f72a9044650829d4fd51c48beb5">No resources found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_r02aba20d19bc40bea95f3b9dc09780c1"><td class="cellrowborder" valign="top" width="32.24%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_ade198c372ecb4b6786369a2cd1d0a5dc">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.75999999999999%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_ad8ec7dfac3ae464f86a085852ac0db58">Internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_r77f8af8054384d23bf198428f13a207b"><td class="cellrowborder" valign="top" width="32.24%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a73100e054b9840dd80134200f3624a23">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.75999999999999%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231272815__en-us_topic_0000001145496635_a7d16065e572f480a95470cafcc622e7b">The service is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_02_0017.html">Cluster Management APIs</a></div>
|
|
</div>
|
|
</div>
|
|
|