doc-exports/docs/css/api-ref/css_03_0108.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

88 lines
5.8 KiB
HTML

<a name="css_03_0108"></a><a name="css_03_0108"></a>
<h1 class="topictitle1">Disabling the Public Network Access Control Whitelist</h1>
<div id="body0000001475555610"><div class="section" id="css_03_0108__section490612158315"><h4 class="sectiontitle">Function</h4><p id="css_03_0108__p790813151337">This API is used to disable the public network access control whitelist.</p>
</div>
<div class="section" id="css_03_0108__section15916141511315"><h4 class="sectiontitle">URI</h4><p id="css_03_0108__p1491820151737">PUT /v1.0/{project_id}/clusters/{cluster_id}/public/whitelist/close</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0108__table109243159314" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="css_03_0108__row792171514318"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0108__p2925131515316">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_0108__p39271915335">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_0108__p169299151331">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_0108__p093114158311">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0108__row692112153314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0108__p193215155310">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0108__p593519151833">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0108__p39372158310">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0108__p4939201517310">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_0108__row092161510310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0108__p179411915734">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0108__p139431115932">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0108__p12945415134">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0108__p209474151311">ID of the cluster whose public network access control whitelist you want to disable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0108__section1194861513312"><h4 class="sectiontitle">Request Parameters</h4><p id="css_03_0108__p395041512316">None</p>
</div>
<div class="section" id="css_03_0108__section19953151514319"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0108__p119558158312">None</p>
</div>
<div class="section" id="css_03_0108__section20957141511310"><h4 class="sectiontitle">Example Requests</h4><p id="css_03_0108__p3959415137">None</p>
</div>
<div class="section" id="css_03_0108__section12960111512315"><h4 class="sectiontitle">Example Responses</h4><p id="css_03_0108__p1962415635">None</p>
</div>
<div class="section" id="css_03_0108__section996410155314"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0108__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0108__row149672015532"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="css_03_0108__p696913156315">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_0108__p15972131510316">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0108__row9967171513314"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0108__p49744151939">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0108__p1997615153317">Request succeeded.</p>
</td>
</tr>
<tr id="css_03_0108__row596711154313"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0108__p199771515530">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0108__p1297914151631">Invalid request.</p>
<p id="css_03_0108__p1981131520310">Modify the request before retry.</p>
</td>
</tr>
<tr id="css_03_0108__row396761512318"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0108__p1998317151331">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0108__p19861315439">The request could not be completed due to a conflict with the current state of the resource.</p>
<p id="css_03_0108__p9988315237">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_0108__row1396714151038"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0108__p149904151038">412</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0108__p899310151935">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>