forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: zhengxiu <zhengxiu@huawei.com> Co-committed-by: zhengxiu <zhengxiu@huawei.com>
97 lines
6.9 KiB
HTML
97 lines
6.9 KiB
HTML
<a name="StopSnapshot"></a><a name="StopSnapshot"></a>
|
|
|
|
<h1 class="topictitle1">Disabling the Snapshot Function</h1>
|
|
<div id="body1708331107508"><div class="section" id="StopSnapshot__section6187654141110"><h4 class="sectiontitle">Function</h4><p id="StopSnapshot__p171873542115">This API is used to disable the snapshot function.</p>
|
|
</div>
|
|
<div class="section" id="StopSnapshot__section318845410112"><h4 class="sectiontitle">Calling Method</h4><p id="StopSnapshot__p618885431119">For details, see <a href="css_03_0077.html">Calling APIs</a>.</p>
|
|
</div>
|
|
<div class="section" id="StopSnapshot__section1318813543118"><h4 class="sectiontitle">URI</h4><p id="StopSnapshot__p81881654201119">DELETE /v1.0/{project_id}/clusters/{cluster_id}/index_snapshots</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="StopSnapshot__table11190165441110" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="StopSnapshot__row118995491112"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="StopSnapshot__p101907543114">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="StopSnapshot__p16190195419112">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="StopSnapshot__p319045471116">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="StopSnapshot__p91908543116">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="StopSnapshot__row11895543113"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="StopSnapshot__p31901454121110">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="StopSnapshot__p1619015548111">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="StopSnapshot__p101911454161114">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="StopSnapshot__p12191754121120"><strong id="StopSnapshot__b1219115414110">Definition</strong>:</p>
|
|
<p id="StopSnapshot__p111911754191110">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>
|
|
<p id="StopSnapshot__p319185491112"><strong id="StopSnapshot__b101911854181114">Constraints</strong>:</p>
|
|
<p id="StopSnapshot__p1619115461116">N/A</p>
|
|
<p id="StopSnapshot__p419175461115"><strong id="StopSnapshot__b119175411111">Value range</strong>:</p>
|
|
<p id="StopSnapshot__p151919540118">Project ID of the account.</p>
|
|
<p id="StopSnapshot__p619118545116"><strong id="StopSnapshot__b1519175410116">Default value</strong>:</p>
|
|
<p id="StopSnapshot__p1819114540116">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="StopSnapshot__row91893548112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="StopSnapshot__p19192105491111">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="StopSnapshot__p1819255417115">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="StopSnapshot__p3192754111112">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="StopSnapshot__p919225431118"><strong id="StopSnapshot__b41921854131114">Definition</strong>:</p>
|
|
<p id="StopSnapshot__p201929546111">ID of the cluster for which snapshots are disabled. For details about how to obtain the cluster ID, see <a href="css_03_0101.html">Obtaining a Cluster ID</a>.</p>
|
|
<p id="StopSnapshot__p719245471110"><strong id="StopSnapshot__b20192185471119">Constraints</strong>:</p>
|
|
<p id="StopSnapshot__p19192175412116">N/A</p>
|
|
<p id="StopSnapshot__p19192175431111"><strong id="StopSnapshot__b519275471116">Value range</strong>:</p>
|
|
<p id="StopSnapshot__p11921054171119">Cluster ID.</p>
|
|
<p id="StopSnapshot__p61921254171117"><strong id="StopSnapshot__b17192854151115">Default value</strong>:</p>
|
|
<p id="StopSnapshot__p119265401119">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="StopSnapshot__section1619225413114"><h4 class="sectiontitle">Request Parameters</h4><p id="StopSnapshot__p1519275431115">None</p>
|
|
</div>
|
|
<div class="section" id="StopSnapshot__section6192175416114"><h4 class="sectiontitle">Response Parameters</h4><p id="StopSnapshot__p31921654111117"><strong id="StopSnapshot__b1219205420115">Status code: 200</strong></p>
|
|
<p id="StopSnapshot__p191921454121110">Request succeeded.</p>
|
|
<p id="StopSnapshot__p4192125431112">None</p>
|
|
</div>
|
|
<div class="section" id="StopSnapshot__section171921654181116"><h4 class="sectiontitle">Example Requests</h4><p id="StopSnapshot__p121924540119">Disable snapshots.</p>
|
|
<pre class="screen" id="StopSnapshot__screen18192454101111">DELETE https://{Endpoint}/v1.0/{project_id}/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/index_snapshots</pre>
|
|
</div>
|
|
<div class="section" id="StopSnapshot__section141928544114"><h4 class="sectiontitle">Example Responses</h4><p id="StopSnapshot__p1319314541112">None</p>
|
|
</div>
|
|
<div class="section" id="StopSnapshot__section1819813549112"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="StopSnapshot__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="StopSnapshot__row1419814546119"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="StopSnapshot__p1319825441115">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="StopSnapshot__p2019817547119">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="StopSnapshot__row0198154131110"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="StopSnapshot__p14198105451119">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="StopSnapshot__p319815411118">Request succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="StopSnapshot__row91983547112"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="StopSnapshot__p11198145411113">406</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="StopSnapshot__p1119845411117">The server could not fulfill the request according to the content characteristics of the request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="StopSnapshot__section1019835417117"><h4 class="sectiontitle">Error Codes</h4><p id="StopSnapshot__p101989546112">See <a href="css_03_0076.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="snapshot_management.html">Snapshot Management</a></div>
|
|
</div>
|
|
</div>
|
|
|