forked from docs/doc-exports
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>
88 lines
5.7 KiB
HTML
88 lines
5.7 KiB
HTML
<a name="css_03_0095"></a><a name="css_03_0095"></a>
|
|
|
|
<h1 class="topictitle1">Disabling the Log Function</h1>
|
|
<div id="body0000001475709474"><div class="section" id="css_03_0095__section016739184610"><h4 class="sectiontitle">Function</h4><p id="css_03_0095__p16161839104614">This API is used to disable the log function.</p>
|
|
</div>
|
|
<div class="section" id="css_03_0095__section61893912464"><h4 class="sectiontitle">URI</h4><p id="css_03_0095__p61913399465">PUT /v1.0/{project_id}/clusters/{cluster_id}/logs/close</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0095__table4212392468" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="css_03_0095__row171943914617"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0095__p1421939184611">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_0095__p12183964615">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_0095__p142283911468">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_0095__p622163984610">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0095__row122018390460"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0095__p523143912469">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0095__p323123984617">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0095__p102463924613">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0095__p13241339174614">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_0095__row1620153915467"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0095__p162473934619">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0095__p14255396461">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0095__p182514397465">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0095__p8251239164620">ID of the cluster whose log function you want to disable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0095__section526133913466"><h4 class="sectiontitle">Request Parameters</h4><p id="css_03_0095__p72673914469">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0095__section112614396467"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0095__p727113919462">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0095__section727133920467"><h4 class="sectiontitle">Example Requests</h4><p id="css_03_0095__p32713399461">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0095__section18281639114615"><h4 class="sectiontitle">Example Responses</h4><p id="css_03_0095__p18287397468">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0095__section1628123964611"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0095__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0095__row1729143910463"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="css_03_0095__p113012391463">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_0095__p1330103920464">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0095__row42933984614"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0095__p133010392463">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0095__p131123920461">Request succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0095__row22993910465"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0095__p6311239154620">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0095__p831113910468">Invalid request.</p>
|
|
<p id="css_03_0095__p193103974612">Modify the request before retry.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0095__row42963915462"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0095__p1932123984620">409</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0095__p33233919464">The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
<p id="css_03_0095__p1132143924620">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_0095__row10298396462"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0095__p15331339164617">412</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0095__p034183918468">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>
|
|
|