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

111 lines
7.3 KiB
HTML

<a name="css_03_0111"></a><a name="css_03_0111"></a>
<h1 class="topictitle1">Disabling the VPC Endpoint Service</h1>
<div id="body0000001475890722"><div class="section" id="css_03_0111__section7474904276"><h4 class="sectiontitle">Function</h4><p id="css_03_0111__p14742014277">This API is used to disable the VPC endpoint service.</p>
</div>
<div class="section" id="css_03_0111__section847515042714"><h4 class="sectiontitle">URI</h4><p id="css_03_0111__p134753022716">PUT /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/close</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0111__table1447715002712" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="css_03_0111__row2476702271"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0111__p3478004275">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_0111__p04781102271">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_0111__p1547850132711">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_0111__p1479908276">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0111__row647680132716"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0111__p94799052710">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0111__p94801003275">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0111__p174811703279">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0111__p848218032717">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_0111__row1547610017278"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0111__p11483110132718">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0111__p184841902279">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0111__p1248420112712">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0111__p64859010276">ID of the cluster whose VPC endpoint you want to disable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0111__section848590152717"><h4 class="sectiontitle">Request Parameters</h4><p id="css_03_0111__p184851905275">None</p>
</div>
<div class="section" id="css_03_0111__section1486160102710"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0111__p114869011275"><strong id="css_03_0111__b1548615032719">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0111__response_StopVpecpResponseBody" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response body parameters</caption><thead align="left"><tr id="css_03_0111__row848611010276"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="css_03_0111__p34874010276">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_0111__p164882004279">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_0111__p124882016275">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0111__row54875042712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="css_03_0111__p948810015275">action</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="css_03_0111__p548910010275">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="css_03_0111__p74891007271">Operations. The fixed value is <strong id="css_03_0111__b54890032713">deleteVpcepservice</strong>, indicating that the VPC endpoint has been disabled.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0111__section19490008274"><h4 class="sectiontitle">Example Requests</h4><p id="css_03_0111__p149017016276">None</p>
</div>
<div class="section" id="css_03_0111__section1749015012712"><h4 class="sectiontitle">Example Responses</h4><p id="css_03_0111__p34912013278"><strong id="css_03_0111__b749110052716">Status code: 200</strong></p>
<p id="css_03_0111__p349160152710">Request succeeded.</p>
<pre class="screen" id="css_03_0111__screen949220182713">{
"action" : "deleteVpcepservice"
}</pre>
</div>
<div class="section" id="css_03_0111__section5493150152713"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0111__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0111__row34954032716"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="css_03_0111__p1049660202718">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_0111__p1949720192718">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0111__row194953022710"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0111__p54971504278">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0111__p1649740202710">Request succeeded.</p>
</td>
</tr>
<tr id="css_03_0111__row2049514022717"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0111__p249819022718">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0111__p34982019275">Invalid request.</p>
<p id="css_03_0111__p1949919014275">Modify the request before retry.</p>
</td>
</tr>
<tr id="css_03_0111__row34958018273"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0111__p16499200132712">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0111__p18499306272">The request could not be completed due to a conflict with the current state of the resource.</p>
<p id="css_03_0111__p1350010162713">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_0111__row1049512014275"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0111__p8500180142715">412</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0111__p12500180202715">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>