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

89 lines
5.8 KiB
HTML

<a name="css_03_0100"></a><a name="css_03_0100"></a>
<h1 class="topictitle1">Disabling the Automatic Log Backup Policy</h1>
<div id="body0000001526709289"><div class="section" id="css_03_0100__section1739984020556"><h4 class="sectiontitle">Function</h4><p id="css_03_0100__p15400740165514">This API is used to disable the automatic log backup policy.</p>
</div>
<p id="css_03_0100__p1440074075520"></p>
<div class="section" id="css_03_0100__section7401124095514"><h4 class="sectiontitle">URI</h4><p id="css_03_0100__p640114016558">PUT /v1.0/{project_id}/clusters/{cluster_id}/logs/policy/close</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0100__table34031240155515" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="css_03_0100__row16402164085512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="css_03_0100__p1040384018552">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_0100__p3403240125510">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_0100__p74031140195515">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_0100__p54041240175515">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0100__row24024408551"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0100__p34042407556">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0100__p1940404020558">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0100__p154044404554">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0100__p1140515403552">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_0100__row11402440195512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="css_03_0100__p9405540185514">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="css_03_0100__p84051940125513">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="css_03_0100__p5406154025515">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="css_03_0100__p640614402556">ID of the cluster whose automatic log backup policy you want to disable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="css_03_0100__section13406840115510"><h4 class="sectiontitle">Request Parameters</h4><p id="css_03_0100__p7406340195516">None</p>
</div>
<div class="section" id="css_03_0100__section15407340185512"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0100__p74071540105515">None</p>
</div>
<div class="section" id="css_03_0100__section11407240135513"><h4 class="sectiontitle">Example Requests</h4><p id="css_03_0100__p3407174065519">None</p>
</div>
<div class="section" id="css_03_0100__section1740717404551"><h4 class="sectiontitle">Example Responses</h4><p id="css_03_0100__p84088402553">None</p>
</div>
<div class="section" id="css_03_0100__section1540814408558"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0100__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0100__row1840954035512"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="css_03_0100__p14409194065516">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_0100__p341044015559">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_03_0100__row3409340125517"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0100__p17410940165516">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0100__p1341015408559">Request succeeded.</p>
</td>
</tr>
<tr id="css_03_0100__row1840994025517"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0100__p16411194011559">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0100__p0411040125516">Invalid request.</p>
<p id="css_03_0100__p541124012556">Modify the request before retry.</p>
</td>
</tr>
<tr id="css_03_0100__row14093409554"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0100__p9412840175514">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0100__p1741264095515">The request could not be completed due to a conflict with the current state of the resource.</p>
<p id="css_03_0100__p1841274045520">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_0100__row74091440125518"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="css_03_0100__p3413140165510">412</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="css_03_0100__p194131140165512">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_0093.html">Log Management</a></div>
</div>
</div>