doc-exports/docs/css/api-ref/css_03_0106.html
Zheng, Xiu 99a2d77599 css api 23.5.1 20240520
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>
2024-06-07 17:47:08 +00:00

140 lines
9.1 KiB
HTML

<a name="css_03_0106"></a><a name="css_03_0106"></a>
<h1 class="topictitle1">Modifying Public Network Access Bandwidth</h1>
<div id="body0000001526435509"><div class="section" id="css_03_0106__section1276512581301"><h4 class="sectiontitle">Function</h4><p id="css_03_0106__p1876510581509">This API is used to modify the public network access bandwidth.</p>
</div>
<div class="section" id="css_03_0106__section157661358407"><h4 class="sectiontitle">Debugging</h4><p id="css_03_0106__p2766205811012">You can debug this API in . Automatic authentication is supported.</p>
</div>
<div class="section" id="css_03_0106__section12767158500"><h4 class="sectiontitle">URI</h4><p id="css_03_0106__p15767258509">POST /v1.0/{project_id}/clusters/{cluster_id}/public/bandwidth</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0106__table17692581207" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="css_03_0106__row1876817581014"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="css_03_0106__p1376919581804">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="css_03_0106__p677010581703">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="css_03_0106__p177095818015">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="css_03_0106__p197717582012">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0106__row87686581206"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0106__p187711258801">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0106__p1772165820020">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0106__p18773155810020">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0106__p157738584012">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_0106__row2768758204"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0106__p37741658001">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0106__p17774145811017">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0106__p187751658909">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0106__p1477575810016">ID of the cluster that you want to modify the public network access bandwidth</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0106__section7775058107"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0106__request_BindPublicReqEipReq" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameter</caption><thead align="left"><tr id="css_03_0106__row18777658305"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="css_03_0106__p167793585013">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="css_03_0106__p6779125816016">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="css_03_0106__p877935817020">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="css_03_0106__p57809580016">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0106__row1977718581708"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="css_03_0106__p1178012581309">bandWidth</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="css_03_0106__p178185810019">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="css_03_0106__p27816581308"><a href="#css_03_0106__request_BindPublicReqEipBandWidth">BindPublicReqEipBandWidth</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="css_03_0106__p378119581002">EIP bandwidth information</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="css_03_0106__request_BindPublicReqEipBandWidth"></a><a name="request_BindPublicReqEipBandWidth"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0106__request_BindPublicReqEipBandWidth" frame="border" border="1" rules="all"><caption><b>Table 3 </b>BindPublicReqEipBandWidth</caption><thead align="left"><tr id="css_03_0106__row2078417583013"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="css_03_0106__p8785125816015">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="css_03_0106__p11786135819012">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="css_03_0106__p978616582019">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="css_03_0106__p19786558101">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0106__row207846581400"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="css_03_0106__p19787858507">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="css_03_0106__p19787258507">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="css_03_0106__p278716581307">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="css_03_0106__p177879581308">Bandwidth. Unit: Mbit/s</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0106__section87881258208"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0106__p378811581104">None</p>
</div>
<div class="section" id="css_03_0106__section87881581204"><h4 class="sectiontitle">Request Example</h4><pre class="screen" id="css_03_0106__screen1478995817016">{
"bandWidth" : {
"size" : 5
},
"isAutoPay" : 1
}</pre>
</div>
<div class="section" id="css_03_0106__section197902581408"><h4 class="sectiontitle">Response Example</h4><p id="css_03_0106__p979016584013">None</p>
</div>
<div class="section" id="css_03_0106__section147967582008"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0106__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0106__row27970581508"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="css_03_0106__p879717581205">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="css_03_0106__p179816581906">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0106__row167971585020"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0106__p187989588014">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0106__p187989581601">The request is processed successfully.</p>
</td>
</tr>
<tr id="css_03_0106__row10797185810020"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0106__p87993582019">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0106__p19799145815016">Invalid request.</p>
<p id="css_03_0106__p177991258703">Modify the request instead of retrying.</p>
</td>
</tr>
<tr id="css_03_0106__row1379714587016"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0106__p17799145817018">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0106__p5800125813019">The request cannot be processed due to a conflict.</p>
<p id="css_03_0106__p2080013581005">This status code indicates that the resource that the client attempts to create already exists, or the request fails to be processed because of the update of the conflict request.</p>
</td>
</tr>
<tr id="css_03_0106__row127971758809"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0106__p16800115812017">412</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0106__p480035814020">The server does not meet one of the requirements that the requester puts on the request.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_03_0103.html">Public Network Access</a></div>
</div>
</div>