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

125 lines
8.4 KiB
HTML

<a name="css_03_0113"></a><a name="css_03_0113"></a>
<h1 class="topictitle1">Updating a VPC Endpoint Connection</h1>
<div id="body0000001526450985"><div class="section" id="css_03_0113__section1865459162015"><h4 class="sectiontitle">Function</h4><p id="css_03_0113__p386515992015">This API is used to update a VPC endpoint connection.</p>
</div>
<div class="section" id="css_03_0113__section986575932011"><h4 class="sectiontitle">Debugging</h4><p id="css_03_0113__p1986805913209">You can debug this API in . Automatic authentication is supported.</p>
</div>
<div class="section" id="css_03_0113__section168681459182010"><h4 class="sectiontitle">URI</h4><p id="css_03_0113__p1869259192011">POST /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/connections</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0113__table208711259192015" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="css_03_0113__row8870105915201"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="css_03_0113__p1987195952010">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_0113__p18871175916208">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_0113__p3872205920204">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_0113__p108727596201">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0113__row5870195922015"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0113__p148722592202">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0113__p1387375902014">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0113__p38732059162014">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0113__p1887355962012">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_0113__row587075982015"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0113__p1087455913201">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0113__p1874115910203">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0113__p6874159202010">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0113__p13875115914209">ID of the cluster that you want to update the VPC endpoint</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0113__section28750599209"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0113__request_UpdateVpcepConnectionReq" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameter</caption><thead align="left"><tr id="css_03_0113__row287665910204"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="css_03_0113__p11877145902017">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_0113__p687895942012">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_0113__p1087865915203">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_0113__p38786595205">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0113__row12876159152013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="css_03_0113__p887935962018">action</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="css_03_0113__p13879959112012">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="css_03_0113__p1188016591203">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="css_03_0113__p88801959142015">Expected operation.</p>
<ul id="css_03_0113__ul1588110590208"><li id="css_03_0113__li68817597202"><strong id="css_03_0113__b0251440145314">receive</strong>: accept the VPC endpoint connection</li><li id="css_03_0113__li10881135918207"><strong id="css_03_0113__b8278845155316">reject</strong>: reject the VPC endpoint connection</li></ul>
</td>
</tr>
<tr id="css_03_0113__row987618599207"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="css_03_0113__p1788218591204">endpointIdList</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="css_03_0113__p9882159202015">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="css_03_0113__p14882115992010">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_0113__p1883185932014">VPC endpoint IDs list</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0113__section1388310593206"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0113__p20884175916201">None</p>
</div>
<div class="section" id="css_03_0113__section68841590201"><h4 class="sectiontitle">Request Example</h4><pre class="screen" id="css_03_0113__screen1188495922016">{
"action" : "receive",
"endpointIdList" : [ "f132bb14-e1d5-4f25-9f7c-a29e4c8effd4" ]
}</pre>
</div>
<div class="section" id="css_03_0113__section168858598202"><h4 class="sectiontitle">Response Example</h4><p id="css_03_0113__p8886759122015">None</p>
</div>
<div class="section" id="css_03_0113__section1688614596208"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0113__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0113__row188795912207"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="css_03_0113__p188814595208">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_0113__p1488815920202">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0113__row888719599208"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0113__p5888125972013">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0113__p5889959162014">The request is processed successfully.</p>
</td>
</tr>
<tr id="css_03_0113__row1688705911205"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0113__p16889195915202">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0113__p5890195902015">Invalid request.</p>
<p id="css_03_0113__p20890115972016">Modify the request instead of retrying.</p>
</td>
</tr>
<tr id="css_03_0113__row788785919208"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0113__p12890859102020">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0113__p989112596205">The request cannot be processed due to a conflict.</p>
<p id="css_03_0113__p13891145913204">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_0113__row28871359132017"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0113__p1789165914208">412</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0113__p12892859182014">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>