forked from docs/doc-exports
Reviewed-by: Gergo-Bence Lorincz <a200452876@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
105 lines
7.6 KiB
HTML
105 lines
7.6 KiB
HTML
<a name="RetryClusterActivation"></a><a name="RetryClusterActivation"></a>
|
|
|
|
<h1 class="topictitle1">Activating a Cluster</h1>
|
|
<div id="body1712313150576"><div class="section" id="RetryClusterActivation__section412301565719"><h4 class="sectiontitle">Function</h4><p id="RetryClusterActivation__p191243158572">This API is used to activate a cluster. The cluster ID must comply with the Kubernetes UUID format rules, and you must have the required permission on the corresponding cluster. Otherwise, the authentication fails.</p>
|
|
</div>
|
|
<div class="section" id="RetryClusterActivation__section7124815125714"><h4 class="sectiontitle">URI</h4><p id="RetryClusterActivation__p71240159579">PUT /v1/clusters/{clusterid}/activation</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="RetryClusterActivation__table512520156579" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameter</caption><thead align="left"><tr id="RetryClusterActivation__row1112512158579"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="RetryClusterActivation__p19131615205711">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="RetryClusterActivation__p1413231513572">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="RetryClusterActivation__p1713271516574">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="RetryClusterActivation__p10133191595717">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="RetryClusterActivation__row10125171525719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="RetryClusterActivation__p16133615195719">clusterid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="RetryClusterActivation__p913361505716">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="RetryClusterActivation__p21331315155716">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="RetryClusterActivation__p11134915195720">Cluster ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="RetryClusterActivation__section12134151595710"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="RetryClusterActivation__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request header</caption><thead align="left"><tr id="RetryClusterActivation__row7137315125714"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="RetryClusterActivation__p414981575711">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="RetryClusterActivation__p2014918155572">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="RetryClusterActivation__p191501715105716">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="RetryClusterActivation__p5150121515718">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="RetryClusterActivation__row151371915205715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="RetryClusterActivation__p1715071510579">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="RetryClusterActivation__p18151151565719">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="RetryClusterActivation__p20151815115715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="RetryClusterActivation__p1266617331861">Identity authentication information. Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="RetryClusterActivation__row12535446141913"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="RetryClusterActivation__p20110172212422">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="RetryClusterActivation__p411018227429">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="RetryClusterActivation__p7110152218429">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="RetryClusterActivation__p12110172216422">Message body type (format). Only <strong id="RetryClusterActivation__b122162689341718">application/json</strong> is supported.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="RetryClusterActivation__section41524155570"><h4 class="sectiontitle">Response Parameters</h4><p id="RetryClusterActivation__p5157111513576">None</p>
|
|
</div>
|
|
<div class="section" id="RetryClusterActivation__section51571315185716"><h4 class="sectiontitle">Example Requests</h4><p id="RetryClusterActivation__p10158315175717">None</p>
|
|
</div>
|
|
<div class="section" id="RetryClusterActivation__section15158715155715"><h4 class="sectiontitle">Example Responses</h4><p id="RetryClusterActivation__p19158715155713">None</p>
|
|
</div>
|
|
<div class="section" id="RetryClusterActivation__section1515941535710"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="RetryClusterActivation__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="RetryClusterActivation__row9159215135711"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="RetryClusterActivation__p816071514578">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="RetryClusterActivation__p116516153577">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="RetryClusterActivation__row1815913157576"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="RetryClusterActivation__p6165101595719">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="RetryClusterActivation__p1816617156578">The cluster has been activated for reconnection.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="RetryClusterActivation__row715981515710"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="RetryClusterActivation__p116671520572">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="RetryClusterActivation__p416671512573">Client request error. The server could not execute the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="RetryClusterActivation__row315919159578"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="RetryClusterActivation__p1716751525710">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="RetryClusterActivation__p1716731517572">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="RetryClusterActivation__section9168191575719"><h4 class="sectiontitle">Error Codes</h4><p id="RetryClusterActivation__p516891512571">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000000.html">UCS Clusters</a></div>
|
|
</div>
|
|
</div>
|
|
|