1
0
forked from docs/doc-exports
doc-exports/docs/css/api-ref/css_03_0105.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

185 lines
12 KiB
HTML

<a name="css_03_0105"></a><a name="css_03_0105"></a>
<h1 class="topictitle1">Disabling Public Network Access</h1>
<div id="body0000001526555181"><div class="section" id="css_03_0105__section977913409553"><h4 class="sectiontitle">Function</h4><p id="css_03_0105__p1778012405553">This API is used to disable public network access to Kibana.</p>
</div>
<div class="section" id="css_03_0105__section1078164018557"><h4 class="sectiontitle">URI</h4><p id="css_03_0105__p17781104011557">PUT /v1.0/{project_id}/clusters/{cluster_id}/public/close</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0105__table107848403559" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="css_03_0105__row15782114085511"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0105__p11784144015557">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="css_03_0105__p3785124015519">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="css_03_0105__p1786174025512">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="css_03_0105__p167861040135513">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0105__row11783194085510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0105__p1378654055514">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0105__p7787114015556">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0105__p1278717405559">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0105__p1778815402552">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_0105__row5783240195510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0105__p77891440105518">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0105__p1978964012552">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0105__p1479094075511">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0105__p8791140165512">ID of the cluster whose public network access you want to disable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0105__section16791154011555"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0105__request_unBindPublicReq" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="css_03_0105__row179317403553"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="css_03_0105__p15794184015511">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="css_03_0105__p57941740195518">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="css_03_0105__p107951840135510">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="css_03_0105__p779516400551">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0105__row2793184020551"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="css_03_0105__p1779612408553">eip</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="css_03_0105__p3796174018552">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="css_03_0105__p5797440125512"><a href="#css_03_0105__request_UnBindPublicReqEipReq">UnBindPublicReqEipReq</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="css_03_0105__p11797640145516">EIP information.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="css_03_0105__request_UnBindPublicReqEipReq"></a><a name="request_UnBindPublicReqEipReq"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0105__request_UnBindPublicReqEipReq" frame="border" border="1" rules="all"><caption><b>Table 3 </b>UnBindPublicReqEipReq</caption><thead align="left"><tr id="css_03_0105__row07981940135514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="css_03_0105__p11798940125512">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_0105__p1579984025510">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_0105__p147991540135512">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_0105__p480084015552">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0105__row197984403555"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0105__p9800164014556">bandWidth</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0105__p188009401559">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0105__p2801194035512"><a href="#css_03_0105__request_BindPublicReqEipBandWidth">BindPublicReqEipBandWidth</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0105__p8801104015512">Public network bandwidth.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="css_03_0105__request_BindPublicReqEipBandWidth"></a><a name="request_BindPublicReqEipBandWidth"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0105__request_BindPublicReqEipBandWidth" frame="border" border="1" rules="all"><caption><b>Table 4 </b>BindPublicReqEipBandWidth</caption><thead align="left"><tr id="css_03_0105__row4802640195514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="css_03_0105__p780344014559">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="css_03_0105__p12804114018550">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="css_03_0105__p168041440175519">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="css_03_0105__p4804154017554">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0105__row9802124005513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="css_03_0105__p1480584005518">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="css_03_0105__p68051640145518">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="css_03_0105__p280516404556">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="css_03_0105__p13806134015556">Bandwidth range. Unit: Mbit/s</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0105__section1806140175514"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0105__p11806440145513"><strong id="css_03_0105__b980784085518">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0105__response_UnbindPublicResponseBody" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="css_03_0105__row18071840195510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="css_03_0105__p280811408555">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="css_03_0105__p1180984015515">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="css_03_0105__p880964016552">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0105__row9807164065520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="css_03_0105__p2081024035512">action</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="css_03_0105__p12811134018558">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="css_03_0105__p181194015516">Operations. The fixed value is <strong id="css_03_0105__b7811740185516">unbindZone</strong>, indicating that the unbinding is successful.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0105__section18121940105520"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="css_03_0105__screen11813440185511">{
"eip" : {
"bandWidth" : {
"size" : 5
}
}
}</pre>
</div>
<div class="section" id="css_03_0105__section128142406558"><h4 class="sectiontitle">Example Responses</h4><p id="css_03_0105__p58151440205519"><strong id="css_03_0105__b208153408552">Status code: 200</strong></p>
<p id="css_03_0105__p14815640105514">Request succeeded.</p>
<pre class="screen" id="css_03_0105__screen12815124011555">{
"action" : "unbindZone"
}</pre>
</div>
<div class="section" id="css_03_0105__section11816540195518"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0105__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0105__row981774011556"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="css_03_0105__p1781710402552">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="css_03_0105__p5818940155515">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0105__row178178403559"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0105__p181914075512">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0105__p108191640145516">Request succeeded.</p>
</td>
</tr>
<tr id="css_03_0105__row1817134015512"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0105__p8819164045517">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0105__p15820174017554">Invalid request.</p>
<p id="css_03_0105__p198227407556">Modify the request before retry.</p>
</td>
</tr>
<tr id="css_03_0105__row1981714018551"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0105__p1782324019553">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0105__p1882354013550">The request could not be completed due to a conflict with the current state of the resource.</p>
<p id="css_03_0105__p982354011558">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_0105__row0817164075514"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0105__p108248407550">412</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0105__p1082434015553">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>