doc-exports/docs/sdrs/api-ref/sdrs_05_0904.html
Wei, Hongmin ab56d080fb SDRS API initial version
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com>
Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
2022-10-26 13:51:50 +00:00

154 lines
13 KiB
HTML

<a name="sdrs_05_0904"></a><a name="sdrs_05_0904"></a>
<h1 class="topictitle1">Deleting All Failed Tasks of a Protection Group</h1>
<div id="body1548475791989"><div class="section" id="sdrs_05_0904__section10712172153513"><h4 class="sectiontitle">Function</h4><p id="sdrs_05_0904__p1480852233514">This API is used to delete failed tasks in a protection group, such as failed protected instance creation or deletion tasks, and failed replication pair creation and deletion tasks.</p>
</div>
<div class="section" id="sdrs_05_0904__section7717172173519"><h4 class="sectiontitle">Constraints and Limitations</h4><ul id="sdrs_05_0904__ul1380810226358"><li id="sdrs_05_0904__li2808202253511">None</li></ul>
</div>
<div class="section" id="sdrs_05_0904__section157201821113516"><h4 class="sectiontitle">URI</h4><ul id="sdrs_05_0904__ul780817228354"><li id="sdrs_05_0904__li78085226352">URI format<p id="sdrs_05_0904__p581062211357"><a name="sdrs_05_0904__li78085226352"></a><a name="li78085226352"></a>DELETE /v1/{project_id}/task-center/{server_group_id}/failure-jobs/batch</p>
</li><li id="sdrs_05_0904__li14810122216358">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0904__table77247213354" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0904__row8810132213510"><th align="left" class="cellrowborder" valign="top" width="21.21212121212121%" id="mcps1.3.3.2.2.1.1.5.1.1"><p id="sdrs_05_0904__p148101922163517"><strong id="sdrs_05_0904__b1268225553815">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.141414141414138%" id="mcps1.3.3.2.2.1.1.5.1.2"><p id="sdrs_05_0904__p481032223510"><strong id="sdrs_05_0904__b15361508397">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.23232323232323%" id="mcps1.3.3.2.2.1.1.5.1.3"><p id="sdrs_05_0904__p148101322203518"><strong id="sdrs_05_0904__b148434223912">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="41.41414141414141%" id="mcps1.3.3.2.2.1.1.5.1.4"><p id="sdrs_05_0904__p178101222183514"><strong id="sdrs_05_0904__b1652118815397">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0904__row1981012224351"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.3.2.2.1.1.5.1.1 "><p id="sdrs_05_0904__p1810152215359">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.141414141414138%" headers="mcps1.3.3.2.2.1.1.5.1.2 "><p id="sdrs_05_0904__p14810152213353">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="23.23232323232323%" headers="mcps1.3.3.2.2.1.1.5.1.3 "><p id="sdrs_05_0904__p7810192217351">String</p>
</td>
<td class="cellrowborder" valign="top" width="41.41414141414141%" headers="mcps1.3.3.2.2.1.1.5.1.4 "><p id="sdrs_05_0904__p28101227354">Specifies the project ID.</p>
</td>
</tr>
<tr id="sdrs_05_0904__row14810102243515"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.3.2.2.1.1.5.1.1 "><p id="sdrs_05_0904__p15810922193516">server_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.141414141414138%" headers="mcps1.3.3.2.2.1.1.5.1.2 "><p id="sdrs_05_0904__p881015229351">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="23.23232323232323%" headers="mcps1.3.3.2.2.1.1.5.1.3 "><p id="sdrs_05_0904__p2810322173515">String</p>
</td>
<td class="cellrowborder" valign="top" width="41.41414141414141%" headers="mcps1.3.3.2.2.1.1.5.1.4 "><p id="sdrs_05_0904__p1225754919450">Specifies the ID of a protection group.</p>
<p id="sdrs_05_0904__p3282955163715">For details, see <a href="sdrs_05_0402.html">Querying Protection Groups</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="sdrs_05_0904__section1973942115356"><h4 class="sectiontitle">Request</h4><ul id="sdrs_05_0904__ul15158540113912"><li id="sdrs_05_0904__li341525441514">Request parameters<p id="sdrs_05_0904__p4836959161512"><a name="sdrs_05_0904__li341525441514"></a><a name="li341525441514"></a>None</p>
</li><li id="sdrs_05_0904__li815834013393">Example request<p id="sdrs_05_0904__p929738194019"><a name="sdrs_05_0904__li815834013393"></a><a name="li815834013393"></a>DELETE https://{Endpoint}/v1/{project_id}/task-center/decf224d-87fe-403a-8721-037a1a45c287/failure-jobs/batch</p>
</li></ul>
</div>
<div class="section" id="sdrs_05_0904__section17391021133518"><h4 class="sectiontitle">Response</h4><p id="sdrs_05_0904__p206684120377">None</p>
</div>
<div class="section" id="sdrs_05_0904__section0752821153510"><h4 class="sectiontitle"><strong id="sdrs_05_0904__b5877193283916">Returned Value</strong></h4><ul id="sdrs_05_0904__ul206081164558"><li id="sdrs_05_0904__li160816645518">Normal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0904__table875592143517" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0904__row19811422123519"><th align="left" class="cellrowborder" valign="top" width="42.42%" id="mcps1.3.6.2.1.1.1.3.1.1"><p id="sdrs_05_0904__p19811202216355"><strong id="sdrs_05_0904__b1083343663919">Returned Value</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="57.58%" id="mcps1.3.6.2.1.1.1.3.1.2"><p id="sdrs_05_0904__p5811222153519"><strong id="sdrs_05_0904__b1365816377395">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0904__row8811622173516"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.6.2.1.1.1.3.1.1 "><p id="sdrs_05_0904__p8818112215352">204</p>
</td>
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.6.2.1.1.1.3.1.2 "><p id="sdrs_05_0904__p2081882211354">No Content</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="sdrs_05_0904__li165972865513">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0904__sdrs_05_0101_table22458872203835" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0904__sdrs_05_0101_row35704554203835"><th align="left" class="cellrowborder" valign="top" width="43.419999999999995%" id="mcps1.3.6.2.2.1.1.3.1.1"><p id="sdrs_05_0904__sdrs_05_0101_p6387753203835">Returned Value</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="56.58%" id="mcps1.3.6.2.2.1.1.3.1.2"><p id="sdrs_05_0904__sdrs_05_0101_p47646009203835">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0904__sdrs_05_0101_row34121538203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p12381163203835">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p63350108203835">The server failed to process the request.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row33280063203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p11330608203835">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p45364094203835">You must enter a username and the password to access the requested page.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row5623667203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p52863895203835">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p54117066203835">You are forbidden to access the requested page.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row17291554203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p58438642203835">404 Not Found</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p35909542203835">The server could not find the requested page.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row54750425203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p5599455203835">405 Method Not Allowed</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p50902717203835">You are not allowed to use the method specified in the request.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row55471277203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p63988484203835">406 Not Acceptable</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p15684678203835">The response generated by the server could not be accepted by the client.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row6944380203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p25623884203835">407 Proxy Authentication Required</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p62268733203835">You must use the proxy server for authentication so that the request can be processed.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row23547689203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p28314670203835">408 Request Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p11786919203835">The request timed out.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row38973411203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p2729702203835">409 Conflict</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p19779281203835">The request could not be processed due to a conflict.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row43795805203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p57799353203835">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p51235984203835">Failed to complete the request because of a service error.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row58470678203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p38504500203835">501 Not Implemented</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p31856770203835">Failed to complete the request because the server does not support the requested function.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row18275474203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p3918444203835">502 Bad Gateway</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p48958538203835">Failed to complete the request because the server receives an invalid response from an upstream server.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row37973662203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p55967806203835">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p37098455203835">Failed to complete the request because the system is unavailable.</p>
</td>
</tr>
<tr id="sdrs_05_0904__sdrs_05_0101_row65450640203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0904__sdrs_05_0101_p67010448203835">504 Gateway Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0904__sdrs_05_0101_p59137180203835">A gateway timeout error occurred.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="sdrs_05_0900.html">Task Center</a></div>
</div>
</div>