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

114 lines
7.5 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__section1398616598207"><h4 class="sectiontitle">Function</h4><p id="css_03_0114__p199861959112013">This API is used to modify the endpoint service whitelist.</p>
</div>
<div class="section" id="css_03_0114__section159872591207"><h4 class="sectiontitle">Debugging</h4><p id="css_03_0114__p18987195962010">You can debug this API in . Automatic authentication is supported.</p>
</div>
<div class="section" id="css_03_0114__section59881259202020"><h4 class="sectiontitle">URI</h4><p id="css_03_0114__p1298875913201">POST /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/permissions</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0114__table13991459152010" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="css_03_0114__row99891659112019"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="css_03_0114__p1299195992014">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_0114__p799285912017">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_0114__p119930599208">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_0114__p799305932010">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0114__row1199035982011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0114__p1299485962015">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0114__p1899435914206">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0114__p19995959182017">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0114__p1999615912017">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_0114__row39907592209"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0114__p10998159172013">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0114__p1599814599202">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0114__p59991259142020">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0114__p149991159192019">ID of the cluster that you want to modify the endpoint service whitelist</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0114__section199991059132019"><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 parameter</caption><thead align="left"><tr id="css_03_0114__row12012092111"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="css_03_0114__p15219017219">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_0114__p1231102213">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_0114__p5314015214">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_0114__p846018217">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0114__row141608212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="css_03_0114__p104130172116">vpcPermissions</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="css_03_0114__p6419013215">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="css_03_0114__p18517015219">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="css_03_0114__p1853032112">Whitelist (user account ID)</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0114__section1851209214"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0114__p1061800213">None</p>
</div>
<div class="section" id="css_03_0114__section126160162110"><h4 class="sectiontitle">Request Example</h4><pre class="screen" id="css_03_0114__screen167200182118">{
"vpcPermissions" : [ "dffef70c1db243cbb373e45791165281" ]
}</pre>
</div>
<div class="section" id="css_03_0114__section4819082111"><h4 class="sectiontitle">Response Example</h4><p id="css_03_0114__p108180142119">None</p>
</div>
<div class="section" id="css_03_0114__section9850132118"><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__row210110172113"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="css_03_0114__p101120182116">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_0114__p101212022113">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0114__row310506218"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0114__p2134019219">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0114__p1613109212">The request is processed successfully.</p>
</td>
</tr>
<tr id="css_03_0114__row61012032114"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0114__p1714110182111">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0114__p19142062118">Invalid request.</p>
<p id="css_03_0114__p71517017217">Modify the request instead of retrying.</p>
</td>
</tr>
<tr id="css_03_0114__row510170122115"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0114__p116170172115">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0114__p71615092113">The request cannot be processed due to a conflict.</p>
<p id="css_03_0114__p41713015215">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_0114__row19109032115"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0114__p161710019217">412</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0114__p517805215">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_0109.html">VPC Endpoint</a></div>
</div>
</div>