forked from laiweijian4/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com> Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
192 lines
15 KiB
HTML
192 lines
15 KiB
HTML
<a name="sdrs_05_0702"></a><a name="sdrs_05_0702"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a DR Drill</h1>
|
|
<div id="body1532070330243"><div class="section" id="sdrs_05_0702__section10712172153513"><h4 class="sectiontitle">Function</h4><p id="sdrs_05_0702__p6866137113316">This API is used to delete a specified DR drill. After you delete the specified DR drill:</p>
|
|
<ul id="sdrs_05_0702__ul1698111313337"><li id="sdrs_05_0702__li3982331123316">The DR drill as well as the disks and NICs attached to the DR drill will be deleted.</li><li id="sdrs_05_0702__li139821031153310">The drill VPC and subnets of the drill VPC will not be deleted. You can create other servers using this VPC.</li></ul>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0702__section7717172173519"><h4 class="sectiontitle">Constraints and Limitations</h4><p id="sdrs_05_0702__p798014095919">The status of the DR drill must be <strong id="sdrs_05_0702__b2472201234716">available</strong>, <strong id="sdrs_05_0702__b11808582520">error</strong>, or <strong id="sdrs_05_0702__b47171341669">error-deleting</strong>.</p>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0702__section157201821113516"><h4 class="sectiontitle">URI</h4><ul id="sdrs_05_0702__ul780817228354"><li id="sdrs_05_0702__li78085226352">URI format<p id="sdrs_05_0702__p581062211357"><a name="sdrs_05_0702__li78085226352"></a><a name="li78085226352"></a>DELETE /v1/{project_id}/disaster-recovery-drills/{disaster_recovery_drill_id}</p>
|
|
</li><li id="sdrs_05_0702__li14810122216358">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0702__table77247213354" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0702__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_0702__p148101922163517"><strong id="sdrs_05_0702__b842352706151210">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_0702__p481032223510"><strong id="sdrs_05_0702__b84235270615447">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_0702__p148101322203518"><strong id="sdrs_05_0702__b84235270615453">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_0702__p178101222183514"><strong id="sdrs_05_0702__b84235270615457">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0702__row1981012224351"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.3.2.2.1.1.5.1.1 "><p id="sdrs_05_0702__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_0702__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_0702__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_0702__p28101227354">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row14810102243515"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.3.2.2.1.1.5.1.1 "><p id="sdrs_05_0702__p15810922193516">disaster_recovery_drill_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_0702__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_0702__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_0702__p20810722183512">Specifies the DR drill ID.</p>
|
|
<p id="sdrs_05_0702__p558414565416">To query details, see <a href="sdrs_05_0703.html">Querying DR Drills</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0702__section1973942115356"><h4 class="sectiontitle">Request</h4><ul id="sdrs_05_0702__ul105205322219"><li id="sdrs_05_0702__li5834145328">Request parameters<p id="sdrs_05_0702__p948651814329"><a name="sdrs_05_0702__li5834145328"></a><a name="li5834145328"></a>None</p>
|
|
</li><li id="sdrs_05_0702__li16438935122111">Example request<p id="sdrs_05_0702__p111110497213"><a name="sdrs_05_0702__li16438935122111"></a><a name="li16438935122111"></a>DELETE https://{Endpoint}/v1/{project_id}/disaster-recovery-drills/f96ac55f-35dd-4cc3-ba61-36c168900c99</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0702__section17391021133518"><h4 class="sectiontitle">Response</h4><ul id="sdrs_05_0702__ul205445312419"><li id="sdrs_05_0702__li75405312415">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0702__table1074342183511" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0702__row4810202233512"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.5.2.1.1.1.4.1.1"><p id="sdrs_05_0702__p0810622153517"><strong id="sdrs_05_0702__b842352706151210_1">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.5.2.1.1.1.4.1.2"><p id="sdrs_05_0702__p58115224351"><strong id="sdrs_05_0702__b84235270615453_1">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.5.2.1.1.1.4.1.3"><p id="sdrs_05_0702__p168112224356"><strong id="sdrs_05_0702__b84235270615457_1">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0702__row1781182210358"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="sdrs_05_0702__p13811922163518">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="sdrs_05_0702__p1281162219355">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="sdrs_05_0702__p18111322173518">Specifies the job ID.</p>
|
|
<p id="sdrs_05_0702__p54413436307">This is a returned parameter when the asynchronous API command is issued successfully. For details about the task execution result, see the description in <a href="sdrs_05_0101.html">Querying the Job Status</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="sdrs_05_0702__li83401955943">Example response<pre class="screen" id="sdrs_05_0702__screen17761325123715">{
|
|
"job_id": "0000000011db92d34587db9d20df32ch"
|
|
}</pre>
|
|
<div class="p" id="sdrs_05_0702__p1981122293518">Or<pre class="screen" id="sdrs_05_0702__screen73774318383">{
|
|
"error": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="p" id="sdrs_05_0702__p1381192214355">In this example, <strong id="sdrs_05_0702__b13669152717289">error</strong> represents a general error, including <strong id="sdrs_05_0702__b19670192792812">badrequest</strong> (shown below) and <strong id="sdrs_05_0702__b10671927142814">itemNotFound</strong>.<pre class="screen" id="sdrs_05_0702__screen028141213819">{
|
|
"badrequest": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0702__section0752821153510"><h4 class="sectiontitle"><strong id="sdrs_05_0702__b842352706175024">Returned Value</strong></h4><ul id="sdrs_05_0702__ul159781520551"><li id="sdrs_05_0702__li109780201052">Normal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0702__table875592143517" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0702__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_0702__p19811202216355"><strong id="sdrs_05_0702__b842352706175024_1">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_0702__p5811222153519"><strong id="sdrs_05_0702__b84235270615457_2">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0702__row8811622173516"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.6.2.1.1.1.3.1.1 "><p id="sdrs_05_0702__p581132212351">200</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_0702__p8812122215356">The server has accepted the request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="sdrs_05_0702__li839622319516">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0702__table575962153514" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0702__row5812112273512"><th align="left" class="cellrowborder" valign="top" width="43.43%" id="mcps1.3.6.2.2.1.1.3.1.1"><p id="sdrs_05_0702__p4812112210359"><strong id="sdrs_05_0702__b842352706175024_2">Returned Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.57%" id="mcps1.3.6.2.2.1.1.3.1.2"><p id="sdrs_05_0702__p28122227359"><strong id="sdrs_05_0702__b84235270615457_3">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0702__row198121227351"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p1581292223511">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p7812162233514">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row13812122173519"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p0812182215356">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p18121922143519">You must enter a username and the password to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row18812162263513"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p18121122163511">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p78121223353">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row281216228353"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p178128223353">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p281222218358">The server could not find the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row48121522133515"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p9812172213515">405 Method Not Allowed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p1481217224355">You are not allowed to use the method specified in the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row5812022113515"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p15812172263516">406 Not Acceptable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p19812142283512">The response generated by the server could not be accepted by the client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row1881222211354"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p1881213223352">407 Proxy Authentication Required</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p5812322173516">You must use the proxy server for authentication so that the request can be processed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row1781262210356"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p18121322113516">408 Request Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p081242212355">The request timed out.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row1681222213511"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p28138222358">409 Conflict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p198131223353">The request could not be processed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row19813182218353"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p481352213514">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p281332217358">Failed to complete the request because of a service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row1281392203511"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p1281382273512">501 Not Implemented</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p12813202233512">Failed to complete the request because the server does not support the requested function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row1881382213510"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p78137226353">502 Bad Gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p381317220350">Failed to complete the request because the server receives an invalid response from an upstream server.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row281352253519"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p581313227355">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p148131722153516">Failed to complete the request because the system is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0702__row198135221356"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0702__p9813102253520">504 Gateway Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0702__p381317223358">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_0700.html">DR Drill</a></div>
|
|
</div>
|
|
</div>
|
|
|