forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
324 lines
21 KiB
HTML
324 lines
21 KiB
HTML
<a name="drs_03_0114"></a><a name="drs_03_0114"></a>
|
|
|
|
<h1 class="topictitle1">Querying Task Progress in Batches</h1>
|
|
<div id="body7342181312516"><div class="section" id="drs_03_0114__section234241311519"><h4 class="sectiontitle">Function</h4><p id="drs_03_0114__p13421131513">This API is used to query the full progress and incremental delay information in batches based on the task ID.</p>
|
|
</div>
|
|
<div class="section" id="drs_03_0114__section0343713105116"><h4 class="sectiontitle">URI</h4><p id="drs_03_0114__p73432133514">POST /v3/{project_id}/jobs/batch-progress</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0114__table43431132515" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="drs_03_0114__row334341313516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="drs_03_0114__p134421335115">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="drs_03_0114__p4344613145113">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="drs_03_0114__p93447134512">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="drs_03_0114__p83442013155119">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0114__row63437133512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="drs_03_0114__p934517138517">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="drs_03_0114__p434561316518">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="drs_03_0114__p173451313165113">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="drs_03_0114__p14345513175112">Project ID of a tenant in a region</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_03_0114__section1534512137510"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0114__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="drs_03_0114__row134601355117"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="drs_03_0114__p7346141345114">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="drs_03_0114__p143461113165111">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="drs_03_0114__p12347151310511">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="drs_03_0114__p1634751320512">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0114__row17346151319511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="drs_03_0114__p133471013115110">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="drs_03_0114__p113471513185112">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="drs_03_0114__p33481136512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="drs_03_0114__p7948386545">The content type.</p>
|
|
<p id="drs_03_0114__p123256415450">The default value is <strong id="drs_03_0114__b12746240195419">application/json</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row16346201375115"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="drs_03_0114__p53481113195114">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="drs_03_0114__p2348191314515">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="drs_03_0114__p16348141317512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="drs_03_0114__p534918139512">User token obtained from IAM.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row134612134518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="drs_03_0114__p434971375112">X-Language</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="drs_03_0114__p33512013195117">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="drs_03_0114__p10351131314513">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="drs_03_0114__p4869125616598">Request language type</p>
|
|
<p id="drs_03_0114__p68691956125917">Default value: <strong id="drs_03_0114__b1786912566599">en-us</strong></p>
|
|
<p id="drs_03_0114__p1386915625912">Values:</p>
|
|
<ul id="drs_03_0114__ul1586965613591"><li id="drs_03_0114__li1886915655910"><strong id="drs_03_0114__b158691656145912">en-us</strong></li><li id="drs_03_0114__li17869125685916"><strong id="drs_03_0114__b12869175615914">zh-cn</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0114__requestParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="drs_03_0114__row163511913105113"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="drs_03_0114__p835216134516">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="drs_03_0114__p18352161313515">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="drs_03_0114__p1235310130514">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="drs_03_0114__p183531913145119">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0114__row435221316518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0114__p93532130519">jobs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0114__p13353113145119">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0114__p735315132517">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0114__p1635312132512">Request for querying task progress in batches.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_03_0114__section19354813105110"><h4 class="sectiontitle">Response Parameters</h4><p id="drs_03_0114__p18354161345117"><strong id="drs_03_0114__b2035414138517">Status code: 202</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0114__responseParameter" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="drs_03_0114__row435411385119"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="drs_03_0114__p193557136519">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="drs_03_0114__p19355141375114">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="drs_03_0114__p103554138514">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0114__row10354141310518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="drs_03_0114__p83552013135117">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="drs_03_0114__p3356131325114">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="drs_03_0114__p9356181355112">Total number.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row5354161315110"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="drs_03_0114__p53561113165110">results</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="drs_03_0114__p435631312514">Array of <a href="#drs_03_0114__response_QueryProgressResp">QueryProgressResp</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="drs_03_0114__p153561113105112">Response body for querying the migration progress in batches.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="drs_03_0114__response_QueryProgressResp"></a><a name="response_QueryProgressResp"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0114__response_QueryProgressResp" frame="border" border="1" rules="all"><caption><b>Table 5 </b>QueryProgressResp</caption><thead align="left"><tr id="drs_03_0114__row18357191325111"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="drs_03_0114__p20358171385115">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.98%" id="mcps1.3.4.4.2.4.1.2"><p id="drs_03_0114__p1235891320518">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60.019999999999996%" id="mcps1.3.4.4.2.4.1.3"><p id="drs_03_0114__p2035810137510">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0114__row1435711139519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0114__p1435917137517">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0114__p7359161311510">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0114__p1035991312511">Task ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row19357201315117"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0114__p7359151317511">progress</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0114__p935918138519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0114__p5359513105116">Migration percentage.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row13357161395111"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0114__p13601013175113">incre_trans_delay</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0114__p036061319515">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0114__p736171355118">Incremental migration delay.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row2357191314519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0114__p93611713105112">task_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0114__p936119132518">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0114__p136120134516">Task mode. Values:</p>
|
|
<ul id="drs_03_0114__ul836111315510"><li id="drs_03_0114__li10361111395115"><strong id="drs_03_0114__b917363914282">FULL_TRANS</strong>: full migration</li><li id="drs_03_0114__li143621613135120"><strong id="drs_03_0114__b18952194452815">INCR_TRANS</strong>: incremental migration</li><li id="drs_03_0114__li4362713115114"><strong id="drs_03_0114__b164881752182817">FULL_INCR_TRANS</strong>: full+incremental migration<p id="drs_03_0114__p165423913109">In the single-active DR scenario, only <strong id="drs_03_0114__b65358255119">FULL_INCR_TRANS</strong> is available.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row9357131315516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0114__p036281355119">transfer_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0114__p036261305116">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0114__p93629139519">Task status.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row10357111365112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0114__p43633131512">process_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0114__p1736321325111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0114__p1636315132518">Migration time in timestamp format.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row153571313205116"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0114__p4364151385113">remaining_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0114__p14364131311517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0114__p1836441313510">Estimated remaining time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row535791345111"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0114__p1836481395110">progress_map</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0114__p5378161820121">Array of <a href="#drs_03_0114__response_ProgressInfo">ProgressInfo</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0114__p163651513115115">Data, structure, and index migration progress information body.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row7358121385115"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0114__p1836501315111">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0114__p1436531325110">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0114__p15365131325120">Error code, which is optional and indicates the returned information about the failure status.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row1935841314517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0114__p236511132511">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0114__p136691325113">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0114__p183661313165116">Error message, which is optional and indicates the returned information about the failure status.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="drs_03_0114__response_ProgressInfo"></a><a name="response_ProgressInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0114__response_ProgressInfo" frame="border" border="1" rules="all"><caption><b>Table 6 </b>ProgressInfo</caption><thead align="left"><tr id="drs_03_0114__row1436641315119"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="drs_03_0114__p183671013125117">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="drs_03_0114__p53688135515">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="drs_03_0114__p11368101325110">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0114__row1936671325116"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0114__p15368121365112">completed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0114__p153681213195118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0114__p43689133510">Progress.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row73661213115119"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0114__p93681013115111">remaining_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0114__p1436981319518">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0114__p136931315119">Estimated remaining time.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_03_0114__section3369201319518"><h4 class="sectiontitle">Example Request</h4><p id="drs_03_0114__p8369161335113">Example of querying the DR progress:</p>
|
|
<pre class="screen" id="drs_03_0114__screen101917195252">https://{EndPoint}/drs/v3/054ba152d480d55b2f5dc0069e7ddef0/jobs/batch-progress</pre>
|
|
<pre class="screen" id="drs_03_0114__screen811626152516">{
|
|
"jobs" : [ "8d0e8e36-a618-490d-8a46-8c61ac9jb502" ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="drs_03_0114__section437112139515"><h4 class="sectiontitle">Example Response</h4><p id="drs_03_0114__p18371191355111"><strong id="drs_03_0114__b537161313513">Status code: 202</strong></p>
|
|
<p id="drs_03_0114__p183711913125115">OK</p>
|
|
<ul id="drs_03_0114__ul8371141365118"><li id="drs_03_0114__li5371191310519">Example response 1 for querying the DR progress:<pre class="screen" id="drs_03_0114__screen9372713105117">{
|
|
"count" : 1,
|
|
"results" : [ {
|
|
"progress" : "100",
|
|
"job_id" : "8d0e8e36-a618-490d-8a46-8c61ac9jb502",
|
|
"incre_trans_delay" : "0",
|
|
"task_mode" : "FULL_INCR_TRANS",
|
|
"transfer_status" : "INCRE_TRANSFER_STARTED",
|
|
"process_time" : "1608274919000",
|
|
"remaining_time" : "0"
|
|
} ]
|
|
}</pre>
|
|
</li><li id="drs_03_0114__li1337341316518">Example response 2 for querying the DR progress:<pre class="screen" id="drs_03_0114__screen437419133510">{
|
|
"count" : 2,
|
|
"results" : [ {
|
|
"progress" : "100",
|
|
"job_id" : "edae91cb-5892-49b6-a529-4921fb26jb21",
|
|
"incre_trans_delay" : "0",
|
|
"task_mode" : "FULL_INCR_TRANS",
|
|
"transfer_status" : "INCRE_TRANSFER_STARTED",
|
|
"process_time" : "1594864576000",
|
|
"remaining_time" : "10"
|
|
}, {
|
|
"progress" : "0",
|
|
"job_id" : "f95c5d83-d0c9-42bd-b295-38c31cd1jb15",
|
|
"incre_trans_delay" : "-1",
|
|
"task_mode" : "FULL_INCR_TRANS",
|
|
"transfer_status" : "FULL_TRANSFER_COMPLETE",
|
|
"process_time" : "0",
|
|
"remaining_time" : "0",
|
|
"progress_map" : {
|
|
"struct" : {
|
|
"completed" : "94%",
|
|
"remaining_time" : null
|
|
},
|
|
"data" : {
|
|
"completed" : "100%",
|
|
"remaining_time" : null
|
|
},
|
|
"index" : {
|
|
"completed" : "100%",
|
|
"remaining_time" : null
|
|
}
|
|
}
|
|
} ]
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="drs_03_0114__section163792139519"><h4 class="sectiontitle">Status Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0114__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="drs_03_0114__row13379213195111"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="drs_03_0114__p5379111395118">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="drs_03_0114__p103800135516">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0114__row7379101319514"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="drs_03_0114__p9380181319519">202</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="drs_03_0114__p9257132219176">Accepted</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0114__row1737971310518"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="drs_03_0114__p1738051317518">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="drs_03_0114__p838111315120">Bad Request</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_03_0114__section2038131365118"><h4 class="sectiontitle">Error Code</h4><p id="drs_03_0114__p153825138511">For details, see <a href="drs_05_0004.html">Error Code</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_03_0101.html">Public API Management</a></div>
|
|
</div>
|
|
</div>
|
|
|