forked from docs/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>
332 lines
25 KiB
HTML
332 lines
25 KiB
HTML
<a name="EN-US_TOPIC_0059304221"></a><a name="EN-US_TOPIC_0059304221"></a>
|
|
|
|
<h1 class="topictitle1">Querying the Restoration Capability of a Resource</h1>
|
|
<div id="body23087953"><div class="section" id="EN-US_TOPIC_0059304221__section60828768"><h4 class="sectiontitle">Function</h4><p class="msonormal" id="EN-US_TOPIC_0059304221__p58184929">This API is used to check whether a target resource can be restored.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0059304221__section10588005"><h4 class="sectiontitle">URI</h4><ul id="EN-US_TOPIC_0059304221__ul15358826"><li id="EN-US_TOPIC_0059304221__li4011707">URI format<p id="EN-US_TOPIC_0059304221__p36105363"><a name="EN-US_TOPIC_0059304221__li4011707"></a><a name="li4011707"></a>POST https://{endpoint}/v1/{project_id}/providers/{provider_id}/resources/action</p>
|
|
</li><li id="EN-US_TOPIC_0059304221__li56512811">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0059304221__table38853252" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0059304221__row62235384"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.2.2.2.1.2.5.1.1"><p id="EN-US_TOPIC_0059304221__p7901367">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.2.2.2.1.2.5.1.2"><p id="EN-US_TOPIC_0059304221__p36030986">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.2.2.2.1.2.5.1.3"><p id="EN-US_TOPIC_0059304221__p32828762">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46%" id="mcps1.3.2.2.2.1.2.5.1.4"><p id="EN-US_TOPIC_0059304221__p41884046">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0059304221__row37164559"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="EN-US_TOPIC_0059304221__p57539268">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="EN-US_TOPIC_0059304221__p30169109">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="EN-US_TOPIC_0059304221__p27778796">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="EN-US_TOPIC_0059304221__p65779720">Project ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row50974244"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="EN-US_TOPIC_0059304221__p35273076">provider_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="EN-US_TOPIC_0059304221__p38546917">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="EN-US_TOPIC_0059304221__p35292574">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="EN-US_TOPIC_0059304221__p58434680">Backup provider ID, which specifies whether the backup object is a server or disk. This parameter has a fixed value. For CSBS, the value is <strong id="EN-US_TOPIC_0059304221__b64907295339">fc4d5750-22e7-4798-8a46-f48f62c4c1da</strong>. </p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0059304221__section28183181"><h4 class="sectiontitle">Request</h4><ul id="EN-US_TOPIC_0059304221__ul29003275"><li id="EN-US_TOPIC_0059304221__li59702885">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0059304221__table455054" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0059304221__row35180024"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.3.2.1.1.2.5.1.1"><p id="EN-US_TOPIC_0059304221__p31009716">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.2.1.1.2.5.1.2"><p id="EN-US_TOPIC_0059304221__p28759101">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.3.2.1.1.2.5.1.3"><p id="EN-US_TOPIC_0059304221__p47785850">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46%" id="mcps1.3.3.2.1.1.2.5.1.4"><p id="EN-US_TOPIC_0059304221__p45448660">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0059304221__row57462834"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="EN-US_TOPIC_0059304221__p23977981">check_restorable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="EN-US_TOPIC_0059304221__p63168284">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="EN-US_TOPIC_0059304221__p16357368">List<restorable_param></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="EN-US_TOPIC_0059304221__p49878392">Query parameter list</p>
|
|
<p id="EN-US_TOPIC_0059304221__p1268982420503">For details, see <a href="#EN-US_TOPIC_0059304221__table13617924">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="EN-US_TOPIC_0059304221__li46252345">Parameter description of field <strong id="EN-US_TOPIC_0059304221__b41760071">restorable_param</strong>
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0059304221__table13617924"></a><a name="table13617924"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0059304221__table13617924" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameter description of field <strong id="EN-US_TOPIC_0059304221__b618380605">restorable_param</strong></caption><thead align="left"><tr id="EN-US_TOPIC_0059304221__row60772788"><th align="left" class="cellrowborder" valign="top" width="23.232323232323235%" id="mcps1.3.3.2.2.2.2.5.1.1"><p id="EN-US_TOPIC_0059304221__p23648759">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.161616161616163%" id="mcps1.3.3.2.2.2.2.5.1.2"><p id="EN-US_TOPIC_0059304221__p36501364">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.141414141414144%" id="mcps1.3.3.2.2.2.2.5.1.3"><p id="EN-US_TOPIC_0059304221__p3820497">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46.46464646464647%" id="mcps1.3.3.2.2.2.2.5.1.4"><p id="EN-US_TOPIC_0059304221__p41024822">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0059304221__row34676300"><td class="cellrowborder" valign="top" width="23.232323232323235%" headers="mcps1.3.3.2.2.2.2.5.1.1 "><p id="EN-US_TOPIC_0059304221__p57316922">checkpoint_item_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.161616161616163%" headers="mcps1.3.3.2.2.2.2.5.1.2 "><p id="EN-US_TOPIC_0059304221__p12159145">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.3.2.2.2.2.5.1.3 "><p id="EN-US_TOPIC_0059304221__p45366721">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.46464646464647%" headers="mcps1.3.3.2.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0059304221__p50825769">ID of the backup used to restore data</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row54778738"><td class="cellrowborder" valign="top" width="23.232323232323235%" headers="mcps1.3.3.2.2.2.2.5.1.1 "><p id="EN-US_TOPIC_0059304221__p7892822">target</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.161616161616163%" headers="mcps1.3.3.2.2.2.2.5.1.2 "><p id="EN-US_TOPIC_0059304221__p35338846">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.3.2.2.2.2.5.1.3 "><p id="EN-US_TOPIC_0059304221__p43874291">restorable_target</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.46464646464647%" headers="mcps1.3.3.2.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0059304221__p64156668">Restoration target</p>
|
|
<p id="EN-US_TOPIC_0059304221__p46241633185512">For details, see <a href="#EN-US_TOPIC_0059304221__table29307618">Table 4</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="EN-US_TOPIC_0059304221__li40539104">Parameter description of field <strong id="EN-US_TOPIC_0059304221__b17022773">restorable_target</strong>
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0059304221__table29307618"></a><a name="table29307618"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0059304221__table29307618" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Parameter description of field <strong id="EN-US_TOPIC_0059304221__b2145482535">restorable_target</strong></caption><thead align="left"><tr id="EN-US_TOPIC_0059304221__row31188670"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.3.2.3.2.2.5.1.1"><p id="EN-US_TOPIC_0059304221__p43254371">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.2.3.2.2.5.1.2"><p id="EN-US_TOPIC_0059304221__p13943185">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.3.2.3.2.2.5.1.3"><p id="EN-US_TOPIC_0059304221__p55656175">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46%" id="mcps1.3.3.2.3.2.2.5.1.4"><p id="EN-US_TOPIC_0059304221__p11856293">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0059304221__row20835676"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.3.2.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0059304221__p9968187">resource_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0059304221__p2116843">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0059304221__p37246612">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.3.2.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0059304221__p64185565">ID of the resource to which the backup is restored</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row15677191352"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.3.2.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0059304221__p29702147354">resource_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0059304221__p097011483517">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0059304221__p397071417357">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.3.2.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0059304221__p13970201443514">Type of the target to which the backup is restored, for example, <strong id="EN-US_TOPIC_0059304221__b842352706105620">OS::Nova::Server</strong> for an ECS</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row699049"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.3.2.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0059304221__p56622972">volumes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0059304221__p23058057">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0059304221__p55763318">List<restore_volume_mapping></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.3.2.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0059304221__p20534891">Disk mapping list for restoring an ECS. Enter the mapping between disks and backups based on the actual situation.</p>
|
|
<p id="EN-US_TOPIC_0059304221__p11429445426">For details, see <a href="#EN-US_TOPIC_0059304221__table52713489">Table 5</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="EN-US_TOPIC_0059304221__li50596297">Parameter description of field <strong id="EN-US_TOPIC_0059304221__b17004965">restore_volume_mapping</strong>
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0059304221__table52713489"></a><a name="table52713489"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0059304221__table52713489" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Parameter description of field <strong id="EN-US_TOPIC_0059304221__b21445423">restore_volume_mapping</strong></caption><thead align="left"><tr id="EN-US_TOPIC_0059304221__row58237160"><th align="left" class="cellrowborder" valign="top" width="24%" id="mcps1.3.3.2.4.2.2.5.1.1"><p id="EN-US_TOPIC_0059304221__p19589535">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.4.2.2.5.1.2"><p id="EN-US_TOPIC_0059304221__p43248531">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.3.2.4.2.2.5.1.3"><p id="EN-US_TOPIC_0059304221__p13470123">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46%" id="mcps1.3.3.2.4.2.2.5.1.4"><p id="EN-US_TOPIC_0059304221__p17338192">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0059304221__row62216297"><td class="cellrowborder" valign="top" width="24%" headers="mcps1.3.3.2.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0059304221__p6355295">backup_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0059304221__p45016857">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0059304221__p22486783">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.3.2.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0059304221__p9490171">Disk backup ID. Use the API in <a href="en-us_topic_0059304234.html">Querying a Single Backup</a> to obtain the disk backup ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row18302675"><td class="cellrowborder" valign="top" width="24%" headers="mcps1.3.3.2.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0059304221__p6121736">volume_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0059304221__p26098630">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0059304221__p33614260">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.3.2.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0059304221__p38400506">ID of the destination disk for the restoration</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="EN-US_TOPIC_0059304221__li10060238">Example request<pre class="screen" id="EN-US_TOPIC_0059304221__screen1799183871311">POST https://{endpoint}/v1/{project_id}/providers/{provider_id}/resources/action
|
|
{
|
|
"check_restorable" : [ {
|
|
"checkpoint_item_id" : "8986ce68-3da7-4d29-9cc2-1921e9504975",
|
|
"target" : {
|
|
"resource_type" : "OS::Nova::Server",
|
|
"resource_id" : "5aa119a8-d25b-45a7-8d1b-88e127885635",
|
|
"volumes" : [ {
|
|
"backup_id" : "7ea119a8-d25b-43a7-8d1b-88e12788513a",
|
|
"volume_id" : "45baf976-c20a-4894-a7c3-c94b7376bf55"
|
|
} ]
|
|
}
|
|
} ]
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0059304221__section52322043"><h4 class="sectiontitle">Response</h4><ul id="EN-US_TOPIC_0059304221__ul27964253"><li id="EN-US_TOPIC_0059304221__li50351690">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0059304221__table50512031" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0059304221__row1710363"><th align="left" class="cellrowborder" valign="top" width="29.76%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="EN-US_TOPIC_0059304221__p4321696">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.67%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="EN-US_TOPIC_0059304221__p34711268">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.57000000000001%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="EN-US_TOPIC_0059304221__p60149363">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0059304221__row40260267"><td class="cellrowborder" valign="top" width="29.76%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0059304221__p39856179">restorable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.67%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0059304221__p40257620">List<check_resp></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.57000000000001%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0059304221__p39641789">Response parameter list</p>
|
|
<p id="EN-US_TOPIC_0059304221__p69311451934">For details, see <a href="#EN-US_TOPIC_0059304221__table56868375">Table 7</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="EN-US_TOPIC_0059304221__li21231789">Parameter description of field <strong id="EN-US_TOPIC_0059304221__b33559471">check_resp</strong>
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0059304221__table56868375"></a><a name="table56868375"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0059304221__table56868375" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Parameter description of field <strong id="EN-US_TOPIC_0059304221__b27728531052">check_resp</strong></caption><thead align="left"><tr id="EN-US_TOPIC_0059304221__row3799708"><th align="left" class="cellrowborder" valign="top" width="29.76%" id="mcps1.3.4.2.2.2.2.4.1.1"><p id="EN-US_TOPIC_0059304221__p39340968">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.67%" id="mcps1.3.4.2.2.2.2.4.1.2"><p id="EN-US_TOPIC_0059304221__p15400731">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.57000000000001%" id="mcps1.3.4.2.2.2.2.4.1.3"><p id="EN-US_TOPIC_0059304221__p39499732">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0059304221__row45361729"><td class="cellrowborder" valign="top" width="29.76%" headers="mcps1.3.4.2.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0059304221__p50421451">result</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.67%" headers="mcps1.3.4.2.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0059304221__p35551828">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.57000000000001%" headers="mcps1.3.4.2.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0059304221__p61125795">Whether the resource can be restored</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row13261246"><td class="cellrowborder" valign="top" width="29.76%" headers="mcps1.3.4.2.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0059304221__p419111">resource_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.67%" headers="mcps1.3.4.2.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0059304221__p65432826">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.57000000000001%" headers="mcps1.3.4.2.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0059304221__p65567540">Resource type</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row53236954"><td class="cellrowborder" valign="top" width="29.76%" headers="mcps1.3.4.2.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0059304221__p17226028">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.67%" headers="mcps1.3.4.2.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0059304221__p8647870">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.57000000000001%" headers="mcps1.3.4.2.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0059304221__p29388878">Error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row63173312"><td class="cellrowborder" valign="top" width="29.76%" headers="mcps1.3.4.2.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0059304221__p16764629">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.67%" headers="mcps1.3.4.2.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0059304221__p1307193">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.57000000000001%" headers="mcps1.3.4.2.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0059304221__p38773848">Error reason</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row13420320"><td class="cellrowborder" valign="top" width="29.76%" headers="mcps1.3.4.2.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0059304221__p13304098">resource_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.67%" headers="mcps1.3.4.2.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0059304221__p46668301">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.57000000000001%" headers="mcps1.3.4.2.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0059304221__p22036037">Resource ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="EN-US_TOPIC_0059304221__li64106610">Example response<pre class="screen" id="EN-US_TOPIC_0059304221__screen18109135910131">{
|
|
"restorable" : [ {
|
|
"resource_id" : "6507cb66-90dc-4a12-a573-c9f3398f899d",
|
|
"resource_type" : "OS::Nova::Server",
|
|
"result" : true,
|
|
"error_msg" : "",
|
|
"error_code" : ""
|
|
} ]
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0059304221__section1136343"><h4 class="sectiontitle">Status Codes</h4><ul id="EN-US_TOPIC_0059304221__ul35142229"><li id="EN-US_TOPIC_0059304221__li47844605">Normal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0059304221__table27948268" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0059304221__row43246910"><th align="left" class="cellrowborder" valign="top" width="42.42%" id="mcps1.3.5.2.1.1.1.3.1.1"><p id="EN-US_TOPIC_0059304221__p13338788">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.58%" id="mcps1.3.5.2.1.1.1.3.1.2"><p id="EN-US_TOPIC_0059304221__p6700043">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0059304221__row5832602"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.1.1.1.3.1.1 "><p id="EN-US_TOPIC_0059304221__p2678778">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.1.1.1.3.1.2 "><p id="EN-US_TOPIC_0059304221__p15654483">OK</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="EN-US_TOPIC_0059304221__li6672620">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0059304221__table60053580" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0059304221__row4363833"><th align="left" class="cellrowborder" valign="top" width="42.42%" id="mcps1.3.5.2.2.1.1.3.1.1"><p id="EN-US_TOPIC_0059304221__p17926231">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.58%" id="mcps1.3.5.2.2.1.1.3.1.2"><p id="EN-US_TOPIC_0059304221__p42738617">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0059304221__row39275976"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0059304221__p27237483">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0059304221__p58752523">Invalid request parameters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row59010661"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0059304221__p15134218">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0059304221__p17912160">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row26991717"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0059304221__p38845446">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0059304221__p59473453">No operation permission.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row65499029"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0059304221__p3821117">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0059304221__p41075037">Requested object not found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row34131018"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0059304221__p13149074">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0059304221__p58442087">Service internal error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0059304221__row56216737"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0059304221__p57261876">503</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0059304221__p7700359">Service unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0059304221__section61541938486"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0059304221__p999593594811">For details, see <a href="en-us_topic_0071888297.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0059304218.html">Resource Management</a></div>
|
|
</div>
|
|
</div>
|
|
|