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>
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__section1165861375510"><h4 class="sectiontitle">Function</h4><p id="css_03_0134__p0658121365511">This API is used to obtain the intelligent O&M task list and details.</p>
|
|
</div>
|
|
<div class="section" id="css_03_0134__section11659161315513"><h4 class="sectiontitle">URI</h4><p id="css_03_0134__p4659111345513">GET /v1.0/{project_id}/clusters/{cluster_id}/ai-ops</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0134__table666171305519" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="css_03_0134__row12660171385513"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0134__p266101310554">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__p10661141355511">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__p9661613185516">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__p15662171305514">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row16660201310556"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0134__p96623132557">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__p166241320556">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0134__p10663913105514">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0134__p176634137558">Project ID. For details about how to obtain a project ID, see <a href="css_03_0071.html">Obtaining a Project ID and Name</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row166015138551"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0134__p19663613155513">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__p1266351355518">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0134__p866419133557">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0134__p96641813155519">ID of the cluster to be queried</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0134__table13665131313555" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query parameter</caption><thead align="left"><tr id="css_03_0134__row1166518133558"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="css_03_0134__p8665713165511">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__p96666134551">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__p7666111315515">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__p066612136550">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row16657135555"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="css_03_0134__p14666213155515">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="css_03_0134__p13667213135512">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="css_03_0134__p1566710136556">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="css_03_0134__p1066719138559">Maximum number of records displayed on a page</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row5665201313554"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="css_03_0134__p156680134553">start</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="css_03_0134__p15668813195515">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="css_03_0134__p166681713175518">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="css_03_0134__p1866951319558">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__section13669111375510"><h4 class="sectiontitle">Request Parameters</h4><p id="css_03_0134__p8669131345512">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0134__section66701213185515"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0134__p13670201310558"><strong id="css_03_0134__b202403844123811">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 parameter</caption><thead align="left"><tr id="css_03_0134__row767019137559"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="css_03_0134__p7671121395519">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__p16727132554">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__p8672913165513">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row1767113136550"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="css_03_0134__p10672413135516">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__p17672151317550">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="css_03_0134__p967331325515">Number of cluster detection tasks</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row12671191395510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="css_03_0134__p967318136553">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__p1567311335517">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__p166732013175510">Detection task list</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__row1567418134557"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="css_03_0134__p16676191395514">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__p167612131559">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__p1267671385519">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row36746131557"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p967711320559">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p19677913105513">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p166777139558">Detection task ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row13674141315510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p4678161313559">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p1667821319555">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p10678191335513">Detection task name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row16741413105514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p76787137551">desc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p11679913145515">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p5679813195518">Detection task description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row367431395512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p1567991345513">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p176792135557">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p1368010136553">Task execution status.</p>
|
|
<ul id="css_03_0134__ul1668011312553"><li id="css_03_0134__li368018131554"><strong id="css_03_0134__b57831239171014">150</strong>: Disabled</li><li id="css_03_0134__li156801133555"><strong id="css_03_0134__b3761643191114">200</strong>: Enabled</li><li id="css_03_0134__li868031325511"><strong id="css_03_0134__b898125910119">300</strong>: Sent</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row1467581312553"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p1568111133558">summary</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0134__p3681613125511"><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__p1468131316554">Risk summary</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row10675613175512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p16821113135517">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__p868271314558">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p1168231395519">Timestamp when a detection task is created</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row1967511320557"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p1968251335514">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__p166831413195513">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p86831413105517">Status of SMN alarm messages.</p>
|
|
<ul id="css_03_0134__ul12683213185512"><li id="css_03_0134__li14683131355516"><strong id="css_03_0134__b15436192416134">not_open</strong></li><li id="css_03_0134__li14683141320554"><strong id="css_03_0134__b5249533101310">not_trigger</strong></li><li id="css_03_0134__li20684171315553"><strong id="css_03_0134__b032917339148">sent</strong></li><li id="css_03_0134__li9684151325513"><strong id="css_03_0134__b19852183891410">send_fail</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row1867511315511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p1168418136554">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__p8684121320551">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0134__p17685131395518">Cause of the message sending failure</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row867511137552"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0134__p11685713125519">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__p1168513135550">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__p15686151312553">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__row46869132555"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="css_03_0134__p186884137555">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__p11688151395516">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__p16689171318558">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row168771317557"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="css_03_0134__p126891613135518">high</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="css_03_0134__p19689813155510">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="css_03_0134__p468914134551">Number of high-risk items</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row14687201317550"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="css_03_0134__p0690181314550">medium</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="css_03_0134__p1069021325510">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="css_03_0134__p9690101385516">Number of medium-risk items</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row12687191325518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="css_03_0134__p1769011315559">suggestion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="css_03_0134__p1769171314558">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="css_03_0134__p969131311552">Number of suggestion 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__row10691413135512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="css_03_0134__p196921113105515">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__p1169311315514">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__p1669341335513">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row206921313185519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="css_03_0134__p19693141311557">riskType</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="css_03_0134__p11694201335511">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="css_03_0134__p146946135552">Check item description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row11692161312559"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="css_03_0134__p146941613145515">level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="css_03_0134__p11694713105515">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="css_03_0134__p269514132557">Severity.</p>
|
|
<ul id="css_03_0134__ul46951513135512"><li id="css_03_0134__li1269521345516">high</li><li id="css_03_0134__li66951313135512">medium</li><li id="css_03_0134__li15695131313556">suggestion</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row1569291395516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="css_03_0134__p26962013105518">desc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="css_03_0134__p5696111395520">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="css_03_0134__p169621313556">Risk description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row16692013125515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="css_03_0134__p1769619135559">suggestion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="css_03_0134__p136971013205517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="css_03_0134__p96971313195520">Suggestions for the risks</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0134__section13697141395515"><h4 class="sectiontitle">Request Example</h4><p id="css_03_0134__p1969821318552">Obtain the intelligent O&M task list and details.</p>
|
|
<pre class="screen" id="css_03_0134__screen126989133554">GET /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/ai-ops</pre>
|
|
</div>
|
|
<div class="section" id="css_03_0134__section13698613145510"><h4 class="sectiontitle">Response Example</h4><p id="css_03_0134__p16981313135513"><strong id="css_03_0134__b36400764323811">Status code: 200</strong></p>
|
|
<p id="css_03_0134__p18699913115514">Request sent.</p>
|
|
<pre class="screen" id="css_03_0134__screen67006136553">{
|
|
"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 whether the cluster has snapshot backup failures or no snapshot backup records in the last seven days."
|
|
"level" : "suggestion",
|
|
"desc" : "The cluster has no snapshot backup records in the last seven days."
|
|
"suggestion" : "You are advised to enable the cluster snapshot function and ensure that snapshots generated in the last seven days are successfully backed up. If snapshot creation fails, click the cluster name, and check the failure details on the <strong id="css_03_0134__b10988192216">Cluster Snapshots</strong> and <strong id="css_03_0134__b118300155221">Logs</strong> pages."
|
|
}, {
|
|
"riskType" : "Check the number of nodes in the cluster and the number of AZs to evaluate the high availability 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 <strong id="css_03_0134__b825414612612">Clusters</strong> > <strong id="css_03_0134__b16106819263">Elasticsearch</strong>. In the <strong id="css_03_0134__b8337910152614">Operation</strong> column of a cluster, choose <strong id="css_03_0134__b2511012102617">More</strong> > <strong id="css_03_0134__b184151114132613">Modify Configuration</strong>. Click the <strong id="css_03_0134__b158991916142613">Change AZ</strong> tab and add AZs. Click the <strong id="css_03_0134__b164651120172617">Scale Cluster</strong> tab and change the number of nodes.
|
|
} ]
|
|
} ],
|
|
"total_size" : 1
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="css_03_0134__section127047139555"><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__row5704201325519"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="css_03_0134__p11705313125514">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__p1370561319552">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0134__row170561325511"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0134__p1570661315515">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0134__p177061413185513">Request sent.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row1770531316550"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0134__p370617136552">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0134__p20707613185519">Invalid request.</p>
|
|
<p id="css_03_0134__p07074131553">Modify the request instead of retrying.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row3705913115513"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0134__p370719136553">409</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0134__p170720135552">The request cannot be processed due to a conflict.</p>
|
|
<p id="css_03_0134__p270761312552">This status code indicates that the resource that the client attempts to create already exists, or the request fails to be processed because of the update of the conflict request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0134__row77051113185512"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0134__p15708713165518">412</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0134__p8708121325510">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__section1670811310552"><h4 class="sectiontitle">Error Codes</h4><p id="css_03_0134__p470871395516">For details, see <a href="css_03_0076.html">Error Code</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>
|
|
|