Files
doc-exports/docs/cce/api-ref/cce_02_0358.html
qiujiandong1 affc0093ff CCE API 20251107 version
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>
2026-02-17 10:09:34 +00:00

171 lines
16 KiB
HTML

<a name="cce_02_0358"></a><a name="cce_02_0358"></a>
<h1 class="topictitle1">Synchronizing Node Pool Configurations to Existing Nodes</h1>
<div id="body32001227"><div class="section" id="cce_02_0358__en-us_topic_0000002484863640_section1061551812466"><h4 class="sectiontitle">Function</h4><p id="cce_02_0358__en-us_topic_0000002484863640_p461517188469">This API is used to synchronize node pool configurations to existing nodes.</p>
</div>
<div class="section" id="cce_02_0358__en-us_topic_0000002484863640_section17615918154610"><h4 class="sectiontitle">URI</h4><p id="cce_02_0358__en-us_topic_0000002484863640_p1661511189467">PUT /api/v3.1/projects/{project_id}/clusters/{cluster_id}/nodepool/{nodepool_id}/sync</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0358__en-us_topic_0000002484863640_table46167189466" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="cce_02_0358__en-us_topic_0000002484863640_row7615121874612"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="cce_02_0358__en-us_topic_0000002484863640_p161651824615">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="cce_02_0358__en-us_topic_0000002484863640_p5616818104616">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="cce_02_0358__en-us_topic_0000002484863640_p461614188469">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="cce_02_0358__en-us_topic_0000002484863640_p1561641864610">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cce_02_0358__en-us_topic_0000002484863640_row15615121874611"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cce_02_0358__en-us_topic_0000002484863640_p1561691864612">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="cce_02_0358__en-us_topic_0000002484863640_p18616718154615">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="cce_02_0358__en-us_topic_0000002484863640_p4616171816466">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="cce_02_0358__en-us_topic_0000002484863640_p6616191864620"><strong id="cce_02_0358__en-us_topic_0000002484863640_b2061631824619">Details</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p0616121819462">Project ID. For details about how to obtain the value, see <a href="cce_02_0271.html">How to Obtain Parameters in the API URI</a>.</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p1661651864610"><strong id="cce_02_0358__en-us_topic_0000002484863640_b18616121874619">Constraints</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p14616101824616">None</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p176164184460"><strong id="cce_02_0358__en-us_topic_0000002484863640_b7616191884612">Options</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p1161610185469">Project IDs of the account</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p16616101814463"><strong id="cce_02_0358__en-us_topic_0000002484863640_b20616151884617">Default value</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p7616131894612">N/A</p>
</td>
</tr>
<tr id="cce_02_0358__en-us_topic_0000002484863640_row76161718194616"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cce_02_0358__en-us_topic_0000002484863640_p4617111814619">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="cce_02_0358__en-us_topic_0000002484863640_p8617181854613">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="cce_02_0358__en-us_topic_0000002484863640_p166172187464">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="cce_02_0358__en-us_topic_0000002484863640_p1161719182462"><strong id="cce_02_0358__en-us_topic_0000002484863640_b16617718164615">Details</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p11617318194614">Cluster ID. For details about how to obtain the value, see <a href="cce_02_0271.html">How to Obtain Parameters in the API URI</a>.</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p0617151824618"><strong id="cce_02_0358__en-us_topic_0000002484863640_b76177188461">Constraints</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p36171818134619">None</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p1361713186466"><strong id="cce_02_0358__en-us_topic_0000002484863640_b156171318184614">Options</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p8617151817467">Cluster IDs</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p7617181894618"><strong id="cce_02_0358__en-us_topic_0000002484863640_b1861716182463">Default value</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p5617191834610">N/A</p>
</td>
</tr>
<tr id="cce_02_0358__en-us_topic_0000002484863640_row1061601813467"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cce_02_0358__en-us_topic_0000002484863640_p3617918154615">nodepool_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="cce_02_0358__en-us_topic_0000002484863640_p361751817461">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="cce_02_0358__en-us_topic_0000002484863640_p461731864615">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="cce_02_0358__en-us_topic_0000002484863640_p961712180468"><strong id="cce_02_0358__en-us_topic_0000002484863640_b06171018114610">Details</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p17617141804615">Node pool ID. For details about how to obtain the ID, see <a href="cce_02_0271.html">How to Obtain Parameters in the API URI</a>.</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p461701813469"><strong id="cce_02_0358__en-us_topic_0000002484863640_b13617111844615">Constraints</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p12617418114618">None</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p3617201824616"><strong id="cce_02_0358__en-us_topic_0000002484863640_b1617918204613">Options</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p1261710185467">Cluster IDs</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p16617118194619"><strong id="cce_02_0358__en-us_topic_0000002484863640_b3617918164615">Default value</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p1461891854614">N/A</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="cce_02_0358__en-us_topic_0000002484863640_section196189183467"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0358__en-us_topic_0000002484863640_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="cce_02_0358__en-us_topic_0000002484863640_row1618191814465"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="cce_02_0358__en-us_topic_0000002484863640_p7618191854620">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="cce_02_0358__en-us_topic_0000002484863640_p166181818114620">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="cce_02_0358__en-us_topic_0000002484863640_p461813181464">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="cce_02_0358__en-us_topic_0000002484863640_p5618131814619">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cce_02_0358__en-us_topic_0000002484863640_row3618218144617"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="cce_02_0358__en-us_topic_0000002484863640_p16618161854617">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="cce_02_0358__en-us_topic_0000002484863640_p1661811185466">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="cce_02_0358__en-us_topic_0000002484863640_p16181118114618">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="cce_02_0358__en-us_topic_0000002484863640_p66192185462"><strong id="cce_02_0358__en-us_topic_0000002484863640_b9619918134620">Details</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p8619141811466">The request body type or format</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p5619201814462"><strong id="cce_02_0358__en-us_topic_0000002484863640_b16619618204620">Constraints</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p1061917184461">The GET method is not verified.</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p166191618134616"><strong id="cce_02_0358__en-us_topic_0000002484863640_b1619171864618">Options</strong>:</p>
<ul id="cce_02_0358__en-us_topic_0000002484863640_ul1761913184469"><li id="cce_02_0358__en-us_topic_0000002484863640_li106199185465"><p id="cce_02_0358__en-us_topic_0000002484863640_p66191118114617"><a name="cce_02_0358__en-us_topic_0000002484863640_li106199185465"></a><a name="en-us_topic_0000002484863640_li106199185465"></a>application/json</p>
</li><li id="cce_02_0358__en-us_topic_0000002484863640_li26199183462"><p id="cce_02_0358__en-us_topic_0000002484863640_p18619201810462"><a name="cce_02_0358__en-us_topic_0000002484863640_li26199183462"></a><a name="en-us_topic_0000002484863640_li26199183462"></a>application/json;charset=utf-8</p>
</li><li id="cce_02_0358__en-us_topic_0000002484863640_li861981813468"><p id="cce_02_0358__en-us_topic_0000002484863640_p261991844617"><a name="cce_02_0358__en-us_topic_0000002484863640_li861981813468"></a><a name="en-us_topic_0000002484863640_li861981813468"></a>application/x-pem-file</p>
</li><li id="cce_02_0358__en-us_topic_0000002484863640_li12619418154613"><p id="cce_02_0358__en-us_topic_0000002484863640_p17619118114618"><a name="cce_02_0358__en-us_topic_0000002484863640_li12619418154613"></a><a name="en-us_topic_0000002484863640_li12619418154613"></a>multipart/form-data (used when the <strong id="cce_02_0358__en-us_topic_0000002484863640_b36193180462">FormData</strong> parameter is present)</p>
</li></ul>
<p id="cce_02_0358__en-us_topic_0000002484863640_p13619318154615"><strong id="cce_02_0358__en-us_topic_0000002484863640_b1661951817463">Default value</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p146191918174611">N/A</p>
</td>
</tr>
<tr id="cce_02_0358__en-us_topic_0000002484863640_row136181181467"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="cce_02_0358__en-us_topic_0000002484863640_p10619171854611">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="cce_02_0358__en-us_topic_0000002484863640_p661915181466">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="cce_02_0358__en-us_topic_0000002484863640_p15619101817467">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="cce_02_0358__en-us_topic_0000002484863640_p186191318114616"><strong id="cce_02_0358__en-us_topic_0000002484863640_b12619121894617">Details</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p46198186465">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. For details, see <a href="cce_02_0004.html">Obtaining a User Token</a>.</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p1061961811467"><strong id="cce_02_0358__en-us_topic_0000002484863640_b166191818114613">Constraints</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p161991818463">None</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p206191218134612"><strong id="cce_02_0358__en-us_topic_0000002484863640_b2061931894615">Options</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p26196187467">N/A</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p1462061834618"><strong id="cce_02_0358__en-us_topic_0000002484863640_b1662012183465">Default value</strong>:</p>
<p id="cce_02_0358__en-us_topic_0000002484863640_p12620181864613">N/A</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="cce_02_0358__en-us_topic_0000002484863640_section10620318184619"><h4 class="sectiontitle">Response Parameters</h4><p id="cce_02_0358__en-us_topic_0000002484863640_p7620111874615"><strong id="cce_02_0358__en-us_topic_0000002484863640_b16201918124618">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0358__en-us_topic_0000002484863640_response_SyncNodePoolResp" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="cce_02_0358__en-us_topic_0000002484863640_row8620318184616"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="cce_02_0358__en-us_topic_0000002484863640_p362021814462">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="cce_02_0358__en-us_topic_0000002484863640_p1262010185465">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="cce_02_0358__en-us_topic_0000002484863640_p162081874619">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cce_02_0358__en-us_topic_0000002484863640_row1562051814466"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="cce_02_0358__en-us_topic_0000002484863640_p1462091811464">-</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="cce_02_0358__en-us_topic_0000002484863640_p7620318114612">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="cce_02_0358__en-us_topic_0000002484863640_p20620161884612">-</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="cce_02_0358__en-us_topic_0000002484863640_section186203188463"><h4 class="sectiontitle">Example Requests</h4><p id="cce_02_0358__en-us_topic_0000002484863640_p12620121814467">None</p>
</div>
<div class="section" id="cce_02_0358__en-us_topic_0000002484863640_section1762041812466"><h4 class="sectiontitle">Example Responses</h4><p id="cce_02_0358__en-us_topic_0000002484863640_p1662091884618">None</p>
</div>
<div class="section" id="cce_02_0358__en-us_topic_0000002484863640_section1462141816464"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cce_02_0358__en-us_topic_0000002484863640_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="cce_02_0358__en-us_topic_0000002484863640_row1662111187460"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="cce_02_0358__en-us_topic_0000002484863640_p15621318124615">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="cce_02_0358__en-us_topic_0000002484863640_p106211618104616">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cce_02_0358__en-us_topic_0000002484863640_row1762131820466"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cce_02_0358__en-us_topic_0000002484863640_p16621201819466">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cce_02_0358__en-us_topic_0000002484863640_p196211218154611">The node pool configurations are successfully synchronized to the existing nodes.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="cce_02_0358__en-us_topic_0000002484863640_section16621218114610"><h4 class="sectiontitle">Error Codes</h4><p id="cce_02_0358__en-us_topic_0000002484863640_p1962131864612">See <a href="cce_02_0250.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_02_0092.html">Cluster Management</a></div>
</div>
</div>