doc-exports/docs/css/api-ref/css_03_0106.html
Zheng, Xiu bf0cbd66f9 CSS API 22.4.1 Version
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>
2023-04-12 00:11:02 +00:00

138 lines
9.0 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__section46777263598"><h4 class="sectiontitle">Function</h4><p id="css_03_0106__p1681132620592">This API is used to modify the public network access bandwidth.</p>
</div>
<p id="css_03_0106__p18692172613597"></p>
<div class="section" id="css_03_0106__section156977268592"><h4 class="sectiontitle">URI</h4><p id="css_03_0106__p470312625920">POST /v1.0/{project_id}/clusters/{cluster_id}/public/bandwidth</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0106__table1571012685914" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="css_03_0106__row19706162615590"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="css_03_0106__p371311263598">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__p2717326165918">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__p47224261591">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__p8725326155916">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0106__row57066267594"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0106__p9729192619591">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__p7734126105911">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0106__p573918260594">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0106__p16743172614597">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__row870602612592"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0106__p1975013264595">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__p475452645916">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0106__p18758112611596">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0106__p1763182625912">ID of the cluster whose public network access bandwidth you want to modify.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0106__section16767526185918"><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 parameters</caption><thead align="left"><tr id="css_03_0106__row1877218268593"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="css_03_0106__p19780152675918">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__p14784826175920">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__p178892685913">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__p19794142615593">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0106__row1677262615911"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="css_03_0106__p1798142685913">bandWidth</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="css_03_0106__p58021826165915">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="css_03_0106__p12806182616594"><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__p20810122615914">Public network bandwidth.</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__row178361426155913"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="css_03_0106__p18434265594">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__p188471263598">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__p16850426105910">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__p1985452613598">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0106__row083622685919"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="css_03_0106__p7859152645919">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="css_03_0106__p1586342616594">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="css_03_0106__p17867102645914">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="css_03_0106__p10872172625916">Bandwidth range. Unit: Mbit/s</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0106__section148766264590"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0106__p9881172695914">None</p>
</div>
<div class="section" id="css_03_0106__section3884202685915"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="css_03_0106__screen147620595155">{
"bandWidth" : {
"size" : 5
}
}</pre>
</div>
<div class="section" id="css_03_0106__section14893026135918"><h4 class="sectiontitle">Example Responses</h4><p id="css_03_0106__p158978261593">None</p>
</div>
<div class="section" id="css_03_0106__section3901626165911"><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__row4906226145918"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="css_03_0106__p16910192695911">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__p1914142645915">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0106__row8906122614590"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0106__p791822655916">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0106__p8922726115911">Request succeeded.</p>
</td>
</tr>
<tr id="css_03_0106__row09061426195911"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0106__p159261261594">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0106__p14930112615912">Invalid request.</p>
<p id="css_03_0106__p169332262596">Modify the request before retry.</p>
</td>
</tr>
<tr id="css_03_0106__row890672695910"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0106__p19371526205918">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0106__p1694112645911">The request could not be completed due to a conflict with the current state of the resource.</p>
<p id="css_03_0106__p159441526145916">The resource that the client attempts to create already exists, or the update request fails to be processed because of a conflict.</p>
</td>
</tr>
<tr id="css_03_0106__row990692617593"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0106__p14949172611598">412</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0106__p129537262592">The server did not meet one of the preconditions contained in 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>