forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
329 lines
23 KiB
HTML
329 lines
23 KiB
HTML
<a name="css_03_0134"></a><a name="css_03_0134"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining the Intelligent O&M Task List and Details</h1>
|
|
<div id="body0000001715757213"><div class="section" id="css_03_0134__section1436919326144"><h4 class="sectiontitle">Function</h4><p id="css_03_0134__p13370113251415">This API is used to obtain the intelligent O&M task list and details.</p>
|
|
</div>
|
|
<div class="section" id="css_03_0134__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p id="css_03_0134__p123722323147">GET /v1.0/{project_id}/clusters/{cluster_id}/ai-ops</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0134__table1637483216149" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="css_03_0134__row73731332161418"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0134__p137463211147">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_0134__p1537553261419">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_0134__p103751632201419">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_0134__p4376173221412">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row7373133218149"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0134__p173761732121412">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0134__p193771632111415">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0134__p1337783291412">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0134__p17378153231418">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>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row173731932181419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0134__p8379232111416">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0134__p1837993217140">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0134__p537910329144">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0134__p1538013281411">ID of the cluster you want to query</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0134__table12381432181419" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="css_03_0134__row13381133216145"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="css_03_0134__p738243201412">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="css_03_0134__p338210323148">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="css_03_0134__p183831132131417">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="css_03_0134__p53831132151414">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row19381133231418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="css_03_0134__p8384332141413">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="css_03_0134__p1038523217142">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="css_03_0134__p83853321143">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="css_03_0134__p9386632131418">Pagination parameter, indicating the maximum number of records on a page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row5381203219144"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="css_03_0134__p1238611321144">start</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="css_03_0134__p9386132141419">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="css_03_0134__p138703281412">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="css_03_0134__p03871832161419">Offset. All VPC endpoint services after this offset will be queried. The offset must be an integer greater than 0 but less than the number of VPC endpoint services.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0134__section93881032161414"><h4 class="sectiontitle">Request Parameters</h4><p id="css_03_0134__p1388103214147">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0134__section438823213147"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0134__p3389153211141"><strong id="css_03_0134__b8389113211413">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0134__response_ListAiOpsRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="css_03_0134__row12389132181411"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="css_03_0134__p123901032171415">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_0134__p1539114329140">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_0134__p13391183219148">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row103901326142"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="css_03_0134__p3392113271412">total_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="css_03_0134__p4394632131414">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="css_03_0134__p1839553220141">Number of detection tasks</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row5390163215144"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="css_03_0134__p93952323142">aiops_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="css_03_0134__p11395143241419">Array of <a href="#css_03_0134__response_aiops_list">aiops_list</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="css_03_0134__p133961632131416">Create a cluster detection task.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="css_03_0134__response_aiops_list"></a><a name="response_aiops_list"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0134__response_aiops_list" frame="border" border="1" rules="all"><caption><b>Table 4 </b>aiops_list</caption><thead align="left"><tr id="css_03_0134__row1739719324146"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="css_03_0134__p1399103251412">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="css_03_0134__p13399163261415">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="css_03_0134__p740013213149">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row439783210141"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p11400163211141">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p164011432141415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p164016328147">Detection task ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row143972323146"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p64021532181413">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p84021032181420">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p19403143214142">Detection task name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row0397232181413"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p15403532101413">desc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p440453211420">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p1840443261411">Detection task description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row1639763251417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p11405832101418">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p340583231411">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p240583271415">Task execution status.</p>
|
|
<ul id="css_03_0134__ul64061132181410"><li id="css_03_0134__li204061932131414"><strong id="css_03_0134__b134065326149">150</strong>: The function is disabled.</li><li id="css_03_0134__li16406163281418"><strong id="css_03_0134__b3407132101416">200</strong>: The function is enabled.</li><li id="css_03_0134__li1740714325146"><strong id="css_03_0134__b340743271418">300</strong>: A message has been sent.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row11397103271411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p74075324143">summary</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p14082329145"><a href="#css_03_0134__response_summary">summary</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p194091632111411">Risk summary</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row1539713221414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p14409132111420">create_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p4410113220147">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p1741083221414">Timestamp when a detection task is created</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row17397153241417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p16410632181416">smn_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p154115327143">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p6411123251412">Status of the SMN alarm message sending task.</p>
|
|
<ul id="css_03_0134__ul2041215322141"><li id="css_03_0134__li741223291416"><strong id="css_03_0134__b041213216148">not_open</strong></li><li id="css_03_0134__li144122326146"><strong id="css_03_0134__b3413133281418">not_trigger</strong></li><li id="css_03_0134__li1141311326148"><strong id="css_03_0134__b14131332101410">sent</strong></li><li id="css_03_0134__li341313329142"><strong id="css_03_0134__b144140327141">send_fail</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row1039723201413"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p14141632121410">smn_fail_reason</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p164141332171412">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p2415123212142">Cause of the message sending failure</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row1139723251419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p44151832151417">task_risks</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p8416133231411">Array of <a href="#css_03_0134__response_AIOpsRiskInfo">AIOpsRiskInfo</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p1741643214143">Risk item details</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="css_03_0134__response_summary"></a><a name="response_summary"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0134__response_summary" frame="border" border="1" rules="all"><caption><b>Table 5 </b>summary</caption><thead align="left"><tr id="css_03_0134__row13417113215143"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="css_03_0134__p2041893210141">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="css_03_0134__p1419203211146">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="css_03_0134__p1241923271411">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row17417143218142"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="css_03_0134__p114191632141415">high</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="css_03_0134__p14420133241413">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="css_03_0134__p642033215144">Number of high-risk detection items</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row0417123216146"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="css_03_0134__p12421132181417">medium</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="css_03_0134__p642113323149">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="css_03_0134__p342219322146">Number of medium-risk detection items</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row24171832171410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="css_03_0134__p1742223217146">suggestion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="css_03_0134__p1242283212149">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="css_03_0134__p18423143216143">Number of suggestion detection items</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="css_03_0134__response_AIOpsRiskInfo"></a><a name="response_AIOpsRiskInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0134__response_AIOpsRiskInfo" frame="border" border="1" rules="all"><caption><b>Table 6 </b>AIOpsRiskInfo</caption><thead align="left"><tr id="css_03_0134__row342453210147"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="css_03_0134__p14425153210146">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="css_03_0134__p94251932111416">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="css_03_0134__p19426113271418">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row3424932161418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="css_03_0134__p8426113219148">riskType</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="css_03_0134__p14426193241410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="css_03_0134__p042719324148">Check item description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row104241432171419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="css_03_0134__p1642723241419">level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="css_03_0134__p134281532121410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="css_03_0134__p24281032171420">Risk level.</p>
|
|
<ul id="css_03_0134__ul4429173251411"><li id="css_03_0134__li0429133220149"><strong id="css_03_0134__b164293325144">high</strong></li><li id="css_03_0134__li6429183219140"><strong id="css_03_0134__b7430183211145">medium</strong></li><li id="css_03_0134__li2430153214146"><strong id="css_03_0134__b843033210140">suggestion</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row24248324145"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="css_03_0134__p1543023251412">desc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="css_03_0134__p6431163271411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="css_03_0134__p443253213147">Risk description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row1242433216149"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="css_03_0134__p743213217145">suggestion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="css_03_0134__p114334329149">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="css_03_0134__p1543317322148">Risk suggestion</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0134__section144331232121418"><h4 class="sectiontitle">Example Requests</h4><p id="css_03_0134__p8434103231415">This API is used to obtain the intelligent O&M task list and details.</p>
|
|
<pre class="screen" id="css_03_0134__screen144340322148">GET /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/ai-ops</pre>
|
|
</div>
|
|
<div class="section" id="css_03_0134__section15435032101413"><h4 class="sectiontitle">Example Responses</h4><p id="css_03_0134__p2435432111413"><strong id="css_03_0134__b1435203214143">Status code: 200</strong></p>
|
|
<p id="css_03_0134__p12436232171418">Request succeeded.</p>
|
|
<pre class="screen" id="css_03_0134__screen343713241411">{
|
|
"aiops_list" : [ {
|
|
"id" : "7381a80b-68cb-4b9e-8226-37d686b18b1d",
|
|
"name" : "aiops-test",
|
|
"desc" : "",
|
|
"status" : 200,
|
|
"summary" : {
|
|
"high" : 1,
|
|
"medium" : 0,
|
|
"suggestion" : 1
|
|
},
|
|
"create_time" : 1687944156750,
|
|
"smn_status" : "not_open",
|
|
"smn_fail_reason" : null,
|
|
"task_risks" : [ {
|
|
"riskType" : "Check for snapshot creation failures and snapshot records in the cluster in the last seven days.",
|
|
"level" : "suggestion",
|
|
"desc" : "There are no snapshot records in the cluster in the last seven days.",
|
|
"suggestion" : "You are advised to enable cluster snapshot and ensure that snapshots are successfully created within seven days. If snapshot creation fails, click the cluster name, and check the failure details on the Cluster Snapshots and Logs pages."
|
|
}, {
|
|
"riskType" : "Check the number of nodes in the cluster and the number of AZs to evaluate the high availability status of the distributed Elasticsearch cluster.",
|
|
"level" : "high",
|
|
"desc" : "The current cluster has one or two nodes. If a node is faulty, the entire cluster may become unavailable. The service availability risk is high.",
|
|
"suggestion" : "You are advised to change the cluster to a multi-AZ cluster. Procedure: On the CSS cluster console, choose Clusters > Elasticsearch. In the Operation column of a cluster, choose More > Modify Configuration. Click the Change AZ tab and add AZs. Click the Scale Cluster tab and change the number of nodes."
|
|
} ]
|
|
} ],
|
|
"total_size" : 1
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="css_03_0134__section944516325145"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0134__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0134__row134469322148"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="css_03_0134__p444733221418">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_0134__p14448113210147">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row1744614328147"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0134__p11448232151410">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0134__p17449143210149">Request succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row144653213145"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0134__p13449203219142">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0134__p1045093215149">Invalid request.</p>
|
|
<p id="css_03_0134__p1450532101415">Modify the request instead of retrying.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row19446123241418"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0134__p345014325148">409</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0134__p12451123210146">The request cannot be processed due to a conflict.</p>
|
|
<p id="css_03_0134__p1545110323147">This status code indicates that the resource that the client attempts to create already exits, or the requested update failed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row74464320148"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0134__p114521432191412">412</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0134__p14452932151411">The server does not meet one of the requirements that the requester puts on the request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0134__section11452532171412"><h4 class="sectiontitle">Error Codes</h4><p id="css_03_0134__p345310326146">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="css_03_0132.html">Intelligent O&M</a></div>
|
|
</div>
|
|
</div>
|
|
|