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>
388 lines
28 KiB
HTML
388 lines
28 KiB
HTML
<a name="sdrs_05_0703"></a><a name="sdrs_05_0703"></a>
|
|
|
|
<h1 class="topictitle1">Querying DR Drills</h1>
|
|
<div id="body1532070330243"><div class="section" id="sdrs_05_0703__section778722103515"><h4 class="sectiontitle">Function</h4><p id="sdrs_05_0703__p28135228352">This API is used to query all DR drills in a specified protection group. If you do not specify the protection group, the system lists all the DR drills of the tenant.</p>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0703__section578752118358"><h4 class="sectiontitle">Constraints and Limitations</h4><p id="sdrs_05_0703__p1981318225351">None</p>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0703__section1478822113513"><h4 class="sectiontitle">URI</h4><ul id="sdrs_05_0703__ul1881342283517"><li id="sdrs_05_0703__li881317229351">URI format<p id="sdrs_05_0703__p6813922163520"><a name="sdrs_05_0703__li881317229351"></a><a name="li881317229351"></a>GET /v1/{project_id}/disaster-recovery-drills</p>
|
|
</li><li id="sdrs_05_0703__li981362212353">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0703__table979182173511" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0703__row148131622173515"><th align="left" class="cellrowborder" valign="top" width="17.528247175282473%" id="mcps1.3.3.2.2.1.1.5.1.1"><p id="sdrs_05_0703__p2813132253518"><strong id="sdrs_05_0703__b84235270615443">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.528247175282473%" id="mcps1.3.3.2.2.1.1.5.1.2"><p id="sdrs_05_0703__p281362215352"><strong id="sdrs_05_0703__b84235270615447">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.428557144285573%" id="mcps1.3.3.2.2.1.1.5.1.3"><p id="sdrs_05_0703__p1081332263518"><strong id="sdrs_05_0703__b84235270615453">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.51494850514948%" id="mcps1.3.3.2.2.1.1.5.1.4"><p id="sdrs_05_0703__p19813142220351"><strong id="sdrs_05_0703__b84235270615457">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0703__row581312226353"><td class="cellrowborder" valign="top" width="17.528247175282473%" headers="mcps1.3.3.2.2.1.1.5.1.1 "><p id="sdrs_05_0703__p1813172263520">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.528247175282473%" headers="mcps1.3.3.2.2.1.1.5.1.2 "><p id="sdrs_05_0703__p78131822193520">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.428557144285573%" headers="mcps1.3.3.2.2.1.1.5.1.3 "><p id="sdrs_05_0703__p38131122183510">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.51494850514948%" headers="mcps1.3.3.2.2.1.1.5.1.4 "><p id="sdrs_05_0703__p081332213352">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<ul id="sdrs_05_0703__ul664861442311"><li id="sdrs_05_0703__li1264821414236"><strong id="sdrs_05_0703__b8952114810474">Request filter</strong> field description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0703__table136481148235" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0703__row1964611148237"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.1.2.1.5.1.1"><p id="sdrs_05_0703__p16646161412313"><strong id="sdrs_05_0703__b317842268">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.4.1.2.1.5.1.2"><p id="sdrs_05_0703__p1164610141234"><strong id="sdrs_05_0703__b1626023206">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.4.1.2.1.5.1.3"><p id="sdrs_05_0703__p86461214202317"><strong id="sdrs_05_0703__b1865430743">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46%" id="mcps1.3.4.1.2.1.5.1.4"><p id="sdrs_05_0703__p3646111412237"><strong id="sdrs_05_0703__b123490740">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0703__row7646111462318"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0703__p164691416237">server_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0703__p6646131411233">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0703__p96462014202314">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0703__p5646914172319">Specifies the ID of a protection group.</p>
|
|
<p id="sdrs_05_0703__p5313954812">For details, see <a href="sdrs_05_0402.html">Querying Protection Groups</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row14647181422313"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0703__p19646101410237">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0703__p20646141482315">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0703__p96469140238">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0703__p164701482319">Specifies the DR drill name. Fuzzy search is supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row964781412317"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0703__p1364716149233">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0703__p4647114182312">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0703__p18647141442317">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0703__p7647151482318">Specifies the DR drill status.</p>
|
|
<p id="sdrs_05_0703__p2194153619493">For details, see <a href="en-us_topic_0126152933.html">DR Drill Status</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row26471314102313"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0703__p10647914142314">drill_vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0703__p164717144233">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0703__p66476149235">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0703__p764712147235">Specifies the ID of the VPC used for a DR drill.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row8647314102313"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0703__p26471814122310">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0703__p964761452315">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0703__p1864761442310">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0703__p168455995811">Specifies the maximum number of results returned each time. The value is a positive integer from 0 to 1000. The default value is <strong id="sdrs_05_0703__b842352706161435">1000</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row564818148231"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0703__p36471414122314">offset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0703__p1664771482310">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0703__p1648171472319">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0703__p2648201462319">Specifies the offset of each request. The default value is <strong id="sdrs_05_0703__b74201644142916">0</strong>. The value must be a number and cannot be negative.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<div class="section" id="sdrs_05_0703__section118509155316"><h4 class="sectiontitle">Request</h4><ul id="sdrs_05_0703__ul64061257105715"><li id="sdrs_05_0703__li108078529332">Request parameters<p id="sdrs_05_0703__p206339093413"><a name="sdrs_05_0703__li108078529332"></a><a name="li108078529332"></a>None</p>
|
|
</li><li id="sdrs_05_0703__li940611575576">Example request<p id="sdrs_05_0703__p175921510195820"><a name="sdrs_05_0703__li940611575576"></a><a name="li940611575576"></a>GET https://{Endpoint}/v1/{project_id}/disaster-recovery-drills</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0703__section11837142115358"><h4 class="sectiontitle">Response</h4><ul id="sdrs_05_0703__ul488653416517"><li id="sdrs_05_0703__li48861534455">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0703__table12856421203510" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0703__row3815172218357"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.6.2.1.1.1.4.1.1"><p id="sdrs_05_0703__p1381517225355"><strong id="sdrs_05_0703__b842352706151210">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.6.2.1.1.1.4.1.2"><p id="sdrs_05_0703__p8815132253512"><strong id="sdrs_05_0703__b2135923967">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.6.2.1.1.1.4.1.3"><p id="sdrs_05_0703__p781532243513"><strong id="sdrs_05_0703__b46304009">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0703__row18815322123513"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.1.1.4.1.1 "><p id="sdrs_05_0703__p63741048153010">disaster_recovery_drills</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.1.1.4.1.2 "><p id="sdrs_05_0703__p10815132233511">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.1.1.4.1.3 "><p id="sdrs_05_0703__p881562243512">Specifies the DR drills.</p>
|
|
<p id="sdrs_05_0703__p16579547331">For details, see <a href="#sdrs_05_0703__table687013217358">Table 1</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row08151122193517"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.1.1.4.1.1 "><p id="sdrs_05_0703__p581542293513">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.1.1.4.1.2 "><p id="sdrs_05_0703__p18815322113517">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.1.1.4.1.3 "><p id="sdrs_05_0703__p18815142219355">Specifies the number of DR drills.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="sdrs_05_0703__table687013217358"></a><a name="table687013217358"></a><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0703__table687013217358" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="sdrs_05_0703__b19767174972320">disaster_recovery_drills</strong> field description</caption><thead align="left"><tr id="sdrs_05_0703__row58152224359"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.6.2.1.2.2.4.1.1"><p id="sdrs_05_0703__p381542263514"><strong id="sdrs_05_0703__b868335053">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.6.2.1.2.2.4.1.2"><p id="sdrs_05_0703__p781519229359"><strong id="sdrs_05_0703__b665028524">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.6.2.1.2.2.4.1.3"><p id="sdrs_05_0703__p881532219350"><strong id="sdrs_05_0703__b1091063929">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0703__row11815182213353"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0703__p5815192253519">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0703__p17816172218355">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0703__p381611221355">Specifies the DR drill ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row1281692214358"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0703__p481618223353">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0703__p081622212355">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0703__p178168220357">Specifies the DR drill name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row5816122210357"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0703__p4816142217357">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0703__p1281652283516">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0703__p9816182233510">Specifies the DR drill status. For details, see <a href="en-us_topic_0126152933.html">DR Drill Status</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row11613744173412"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0703__p15816102210353">server_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0703__p1281620222357">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0703__p28164224351">Specifies the ID of a protection group.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row281617220355"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0703__p681652212354">drill_vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0703__p68166224355">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0703__p881620224359">Specifies the ID of the VPC used for a DR drill.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row1081622283516"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0703__p1481615223355">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0703__p08161522173511">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0703__p981662283512">Specifies the time when a DR drill was created.</p>
|
|
<p id="sdrs_05_0703__p96037251917">The default format is as follows: "yyyy-MM-dd HH:mm:ss.SSS", for example, <strong id="sdrs_05_0703__b11541162817347">2019-04-01 12:00:00.000</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row381622212359"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0703__p12816522173513">updated_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0703__p781672213512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0703__p178160225352">Specifies the time when a DR drill was updated.</p>
|
|
<p id="sdrs_05_0703__p20627853192">The default format is as follows: "yyyy-MM-dd HH:mm:ss.SSS", for example, <strong id="sdrs_05_0703__b385193412341">2019-04-01 12:00:00.000</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row381617220359"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0703__p6816122219352">drill_servers</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0703__p881612211359">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0703__p19816172220358">Specifies the drill servers.</p>
|
|
<p id="sdrs_05_0703__p16741135444">For details, see <a href="#sdrs_05_0703__table898673912313">Table 2</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="sdrs_05_0703__table898673912313"></a><a name="table898673912313"></a><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0703__table898673912313" frame="border" border="1" rules="all"><caption><b>Table 2 </b><strong id="sdrs_05_0703__b62968996114224">drill_servers</strong> field description</caption><thead align="left"><tr id="sdrs_05_0703__row1998523912313"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.6.2.1.3.2.4.1.1"><p id="sdrs_05_0703__p1198513394315"><strong id="sdrs_05_0703__b334345166">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.6.2.1.3.2.4.1.2"><p id="sdrs_05_0703__p1985839934"><strong id="sdrs_05_0703__b1751986888">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.6.2.1.3.2.4.1.3"><p id="sdrs_05_0703__p39851739733"><strong id="sdrs_05_0703__b1322689094">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0703__row798643912316"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.3.2.4.1.1 "><p id="sdrs_05_0703__p89867391313">protected_instance</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.3.2.4.1.2 "><p id="sdrs_05_0703__p39865391836">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.3.2.4.1.3 "><p id="sdrs_05_0703__p99861939932">Specifies the protected instance ID of the drill server.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row1198615391339"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.3.2.4.1.1 "><p id="sdrs_05_0703__p59866391237">drill_server_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.3.2.4.1.2 "><p id="sdrs_05_0703__p69862391638">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.3.2.4.1.3 "><p id="sdrs_05_0703__p998643912313">Specifies the drill server ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="sdrs_05_0703__ul1498819394313"><li id="sdrs_05_0703__li7988339635">Example response<pre class="screen" id="sdrs_05_0703__screen10988339034">{
|
|
"count": 2,
|
|
"disaster_recovery_drills": [
|
|
{
|
|
"id": "e472d26f-9624-42fb-8bfc-717d4714c225",
|
|
"name": "dr_drill_test",
|
|
"status": "available",
|
|
"server_group_id": "c2aee29a-2959-4d01-9755-01cc76a4d17d",
|
|
"drill_vpc_id": "7881f1d2-1f41-419c-873a-14ac620bc46e",
|
|
"created_at": "2018-07-18 06:41:58.681",
|
|
"updated_at": "2018-07-18 09:41:14.677",
|
|
"drill_servers": [
|
|
{
|
|
"protected_instance": "d08ca8d7-a784-41ae-b32a-c592943f5dfc",
|
|
"drill_server_id": "9de0439a-4ee4-4199-919a-44afd20952dc"
|
|
},
|
|
{
|
|
"protected_instance": "ea308e8b-043c-4fc6-a53c-856eae137b13",
|
|
"drill_server_id": "3eaa1c70-9719-4eb5-b577-cb92ddbffd03"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f96ac55f-35dd-4cc3-ba61-36c168900c99",
|
|
"name": "drill_test",
|
|
"status": "available",
|
|
"server_group_id": "3a60f45d-cf5b-49f1-a05e-ddee78cb6eef",
|
|
"drill_vpc_id": "ac784bd6-a79c-4def-9ff8-dc87940d5335",
|
|
"created_at": "2018-07-17 22:38:21.111",
|
|
"updated_at": "2018-07-17 22:47:54.845",
|
|
"drill_servers": []
|
|
}
|
|
]
|
|
}</pre>
|
|
<div class="p" id="sdrs_05_0703__p798819391315">Or<pre class="screen" id="sdrs_05_0703__screen1898814391737">{
|
|
"error": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="p" id="sdrs_05_0703__p3988439133">In this example, <strong id="sdrs_05_0703__b13669152717289">error</strong> represents a general error, including <strong id="sdrs_05_0703__b19670192792812">badrequest</strong> (shown below) and <strong id="sdrs_05_0703__b10671927142814">itemNotFound</strong>.<pre class="screen" id="sdrs_05_0703__screen1298817396314">{
|
|
"badrequest": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0703__section897722112352"><h4 class="sectiontitle"><strong id="sdrs_05_0703__b842352706175024">Returned Value</strong></h4><ul id="sdrs_05_0703__ul1675711311765"><li id="sdrs_05_0703__li1475713311066">Normal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0703__table398016219357" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0703__row1481842213516"><th align="left" class="cellrowborder" valign="top" width="42.42%" id="mcps1.3.7.2.1.1.1.3.1.1"><p id="sdrs_05_0703__p2081822243510"><strong id="sdrs_05_0703__b1317832452">Returned Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.58%" id="mcps1.3.7.2.1.1.1.3.1.2"><p id="sdrs_05_0703__p118187225354"><strong id="sdrs_05_0703__b1784892819">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0703__row6818112243517"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.7.2.1.1.1.3.1.1 "><p id="sdrs_05_0703__p8818112215352">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.7.2.1.1.1.3.1.2 "><p id="sdrs_05_0703__p2081882211354">The server has accepted the request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="sdrs_05_0703__li1856133267">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0703__table698592133515" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0703__row11818102223512"><th align="left" class="cellrowborder" valign="top" width="43.43%" id="mcps1.3.7.2.2.1.1.3.1.1"><p id="sdrs_05_0703__p15818192217351"><strong id="sdrs_05_0703__b118277695">Returned Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.57%" id="mcps1.3.7.2.2.1.1.3.1.2"><p id="sdrs_05_0703__p1381892212354"><strong id="sdrs_05_0703__b1128450899">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0703__row581842218356"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p16818102253513">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p1181820228356">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row68181122143513"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p1481862243520">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p16818192243515">You must enter a username and the password to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row1481810227356"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p58184223353">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p981862253518">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row1981872213511"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p881814225357">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p11818202214353">The server could not find the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row181822210353"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p081812213518">405 Method Not Allowed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p14819182243518">You are not allowed to use the method specified in the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row6819192215352"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p1981912224359">406 Not Acceptable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p17819202243511">The response generated by the server could not be accepted by the client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row98190222354"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p9819112218355">407 Proxy Authentication Required</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p1819322143513">You must use the proxy server for authentication so that the request can be processed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row281917223358"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p381972203512">408 Request Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p208198228358">The request timed out.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row581992233511"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p78191322153512">409 Conflict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p10819192218355">The request could not be processed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row178191822163517"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p681913226357">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p18191022133511">Failed to complete the request because of a service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row5819522193519"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p981932283510">501 Not Implemented</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p14819522103517">Failed to complete the request because the server does not support the requested function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row1819122213357"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p28197225351">502 Bad Gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p118192228352">Failed to complete the request because the server receives an invalid response from an upstream server.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row128196222350"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p19819102243512">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p38190223354">Failed to complete the request because the system is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0703__row281942216356"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0703__p8819142243515">504 Gateway Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0703__p178191722173514">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>
|
|
|