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

112 lines
7.2 KiB
HTML

<a name="css_03_0114"></a><a name="css_03_0114"></a>
<h1 class="topictitle1">Modifying the Endpoint Service Whitelist</h1>
<div id="body0000001476050534"><div class="section" id="css_03_0114__section1499119022718"><h4 class="sectiontitle">Function</h4><p id="css_03_0114__p1991501273">This API is used to modify the endpoint service whitelist.</p>
</div>
<div class="section" id="css_03_0114__section899216042713"><h4 class="sectiontitle">URI</h4><p id="css_03_0114__p69931502270">POST /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/permissions</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0114__table1499514013273" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="css_03_0114__row1399414042720"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0114__p159963015276">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_0114__p29962032711">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_0114__p499711017271">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_0114__p99978022711">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0114__row16994402275"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0114__p199971201275">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0114__p1399820122715">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0114__p149985082712">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0114__p1099920152714">Project ID. For details about how to obtain the project ID and name, see <a href="css_03_0071.html">Obtaining the Project ID and Name</a>.</p>
</td>
</tr>
<tr id="css_03_0114__row99941804271"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0114__p1199919012714">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0114__p1401319275">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0114__p4012114272">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0114__p120413271">Cluster ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0114__section181610274"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0114__request_UpdateVpcepWhitelistReq" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="css_03_0114__row101612278"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="css_03_0114__p122111182714">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_0114__p1034110275">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_0114__p16321172711">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_0114__p4412113271">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0114__row12219110278"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="css_03_0114__p184614275">vpcPermissions</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="css_03_0114__p1351017274">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="css_03_0114__p3519110276">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="css_03_0114__p468112272">Whitelist (user account ID).</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0114__section26311271"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0114__p8614172720">None</p>
</div>
<div class="section" id="css_03_0114__section207116277"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="css_03_0114__screen5871142718">{
"vpcPermissions" : [ "dffef70c1db243cbb373e45791165281" ]
}</pre>
</div>
<div class="section" id="css_03_0114__section7914142715"><h4 class="sectiontitle">Example Responses</h4><p id="css_03_0114__p8101113271">None</p>
</div>
<div class="section" id="css_03_0114__section17103112278"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0114__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0114__row2015918278"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="css_03_0114__p8163112275">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_0114__p8165116271">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0114__row20155182714"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0114__p1216191132712">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0114__p91751202713">Request succeeded.</p>
</td>
</tr>
<tr id="css_03_0114__row51531112710"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0114__p817911272">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0114__p171810152713">Invalid request.</p>
<p id="css_03_0114__p1018181122714">Modify the request before retry.</p>
</td>
</tr>
<tr id="css_03_0114__row1115118272"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0114__p3181819271">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0114__p121917162719">The request could not be completed due to a conflict with the current state of the resource.</p>
<p id="css_03_0114__p13199102710">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_0114__row415315275"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0114__p619712279">412</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0114__p16201917274">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_0109.html">VPC Endpoint</a></div>
</div>
</div>