doc-exports/docs/drs/api-ref/drs_03_0138.html
Wang , Deng Ke 231618c804 DRS API 2.0.38SP23 version
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>
2022-11-24 16:49:13 +00:00

571 lines
50 KiB
HTML

<a name="drs_03_0138"></a><a name="drs_03_0138"></a>
<h1 class="topictitle1">Querying Tasks of a Tenant</h1>
<div id="body1760824313435"><div class="section" id="drs_03_0138__section7608134394316"><h4 class="sectiontitle">Function</h4><p id="drs_03_0138__p116091843204312">This API is used to query tenant tasks by engine type, network type, task status, task name, or task ID.</p>
</div>
<div class="section" id="drs_03_0138__section460934311435"><h4 class="sectiontitle">URI</h4><p id="drs_03_0138__p1260964312436">POST /v3/{project_id}/jobs</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0138__table1961094384318" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="drs_03_0138__row161016434434"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="drs_03_0138__p361011432430">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_0138__p16114433437">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_0138__p561184324311">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_0138__p126116436433">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0138__row761034334314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="drs_03_0138__p86121143104319">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="drs_03_0138__p1761204317437">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="drs_03_0138__p11612943184319">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="drs_03_0138__p661324344314">Project ID of a tenant in a region</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="drs_03_0138__section3613154374319"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0138__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="drs_03_0138__row9613743164310"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="drs_03_0138__p196156439437">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_0138__p12615134394320">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_0138__p1061615433437">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_0138__p86161443134310">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0138__row9614134320438"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="drs_03_0138__p5616164344320">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="drs_03_0138__p3617194317430">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="drs_03_0138__p661715439437">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="drs_03_0138__p19554201875515">The content type.</p>
<p id="drs_03_0138__p123256415450">The default value is <strong id="drs_03_0138__b158946888184745">application/json</strong>.</p>
</td>
</tr>
<tr id="drs_03_0138__row1561454364318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="drs_03_0138__p8618154344315">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_0138__p461864384318">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="drs_03_0138__p206186434438">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="drs_03_0138__p76198431437">User token obtained from IAM.</p>
</td>
</tr>
<tr id="drs_03_0138__row1761484310432"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="drs_03_0138__p11619124374320">X-Language</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="drs_03_0138__p10620194344316">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="drs_03_0138__p10620134311439">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="drs_03_0138__p4869125616598">Request language type</p>
<p id="drs_03_0138__p68691956125917">Default value: <strong id="drs_03_0138__b1786912566599">en-us</strong></p>
<p id="drs_03_0138__p1386915625912">Values:</p>
<ul id="drs_03_0138__ul1586965613591"><li id="drs_03_0138__li1886915655910"><strong id="drs_03_0138__b158691656145912">en-us</strong></li><li id="drs_03_0138__li17869125685916"><strong id="drs_03_0138__b12869175615914">zh-cn</strong></li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0138__requestParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="drs_03_0138__row196217439439"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="drs_03_0138__p262313430438">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.97%" id="mcps1.3.3.3.2.5.1.2"><p id="drs_03_0138__p11623343104310">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.03%" id="mcps1.3.3.3.2.5.1.3"><p id="drs_03_0138__p116231343154320">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_0138__p186243433433">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0138__row1862134319435"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0138__p362464334313">cur_page</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0138__p1624114311435">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0138__p66251643194314">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0138__p1362584344313">Current page. Set the value to <strong id="drs_03_0138__b1555652735211">0</strong> to obtain all items.</p>
<p id="drs_03_0138__p0845194318434">Default value: <strong id="drs_03_0138__b484515433435">1</strong></p>
</td>
</tr>
<tr id="drs_03_0138__row96213438436"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0138__p186254431433">per_page</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0138__p1562624312434">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0138__p56266431437">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0138__p1162664354320">Number of records on each page.</p>
<ul id="drs_03_0138__ul8238503549"><li id="drs_03_0138__li1023816085419">Default value: <strong id="drs_03_0138__b73561625084745">10</strong></li><li id="drs_03_0138__li8238170185418">Minimum value: <strong id="drs_03_0138__b196279439434">0</strong></li><li id="drs_03_0138__li18238180105415">Maximum value: <strong id="drs_03_0138__b20627124314315">100</strong></li></ul>
</td>
</tr>
<tr id="drs_03_0138__row1962114310433"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0138__p10627134334314">db_use_type</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0138__p12628144334315">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0138__p9628134324313">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0138__p3531143155610">The migration scenario. The value can be <strong id="drs_03_0138__b36303904284745">migration</strong> (real-time migration), <strong id="drs_03_0138__b86579624184745">sync</strong> (real-time synchronization), or <strong id="drs_03_0138__b33480790184745">cloudDataGuard</strong> (real-time disaster recovery).</p>
<p id="drs_03_0138__p1887317563591">Values:</p>
<ul id="drs_03_0138__ul20873195675911"><li id="drs_03_0138__li1487310562596"><strong id="drs_03_0138__b19873145645914">migration</strong></li><li id="drs_03_0138__li4873135655916"><strong id="drs_03_0138__b128731356125911">sync</strong></li><li id="drs_03_0138__li188741256195913"><strong id="drs_03_0138__b087425614593">cloudDataGuard</strong></li></ul>
</td>
</tr>
<tr id="drs_03_0138__row106211543184316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0138__p463024312439">engine_type</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0138__p463164364313">No</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0138__p2063184334311">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0138__p10874185615598">Engine type of a DRS task.</p>
<p id="drs_03_0138__p108747566591">Default value: <strong id="drs_03_0138__b1870721716534">mysql</strong></p>
<p id="drs_03_0138__p78745566593">Values:</p>
<ul id="drs_03_0138__ul16990316193316"><li id="drs_03_0138__li9990161614337"><strong id="drs_03_0138__b9939131319155">mysql</strong>: used for migration and synchronization from MySQL to MySQL</li><li id="drs_03_0138__li19990616163318"><strong id="drs_03_0138__b1491715181514">mongodb</strong>: used for migration from MongoDB to DDS</li><li id="drs_03_0138__li179902016103316"><strong id="drs_03_0138__b59379154158">cloudDataGuard-mysql</strong>: used for DR from MySQL to MySQL</li><li id="drs_03_0138__li139901016153316"><strong id="drs_03_0138__b142451891519">mysql-to-taurus</strong>: used for synchronization from MySQL to GaussDB(for MySQL) primary/standby</li><li id="drs_03_0138__li1899020163331"><strong id="drs_03_0138__b178041819181514">postgresql</strong>: used for synchronization from PostgreSQL to PostgreSQL</li></ul>
</td>
</tr>
<tr id="drs_03_0138__row96221343164315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0138__p16331143204313">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0138__p8634543184310">No</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0138__p1563434317439">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0138__p0634154394313">Enterprise project. If no value is specified, this parameter is set to <strong id="drs_03_0138__b9470122711533">null</strong>. This parameter cannot be left blank. When enterprise project is enabled, this parameter can be set.</p>
</td>
</tr>
<tr id="drs_03_0138__row2622144334313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0138__p10635134354318">name</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0138__p4635943194317">No</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0138__p7635743204320">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0138__p16368434439">Name or ID.</p>
</td>
</tr>
<tr id="drs_03_0138__row176229437432"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0138__p1363616437431">net_type</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0138__p163614314312">No</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0138__p12636243104311">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0138__p18637204394313">Network type. Values:</p>
<ul id="drs_03_0138__ul2063794324311"><li id="drs_03_0138__li36371343204312"><strong id="drs_03_0138__b3638164319437">vpn</strong></li><li id="drs_03_0138__li963854312436"><strong id="drs_03_0138__b8638204334312">vpc</strong></li><li id="drs_03_0138__li1363894314312"><strong id="drs_03_0138__b18639194334313">eip</strong></li></ul>
</td>
</tr>
<tr id="drs_03_0138__row116221043204314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0138__p4639443104310">service_name</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0138__p6639643114319">No</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0138__p9640124344312">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0138__p364034344310">Service name.</p>
</td>
</tr>
<tr id="drs_03_0138__row14622104312431"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0138__p0641164334320">status</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0138__p6641643204311">No</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0138__p1064114374310">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0138__p373318386014">Status. The value can be <strong id="drs_03_0138__b928617518548">CREATING</strong>, <strong id="drs_03_0138__b729917811545">CREATE_FAILED</strong>, or <strong id="drs_03_0138__b860341085416">CONFIGURATION</strong>.</p>
<p id="drs_03_0138__p1519494610017"><strong id="drs_03_0138__b15907192111566">STARTJOBING</strong>: The task is being started.</p>
<p id="drs_03_0138__p157494532411"><strong id="drs_03_0138__b17361162612564">WAITING_FOR_START</strong>: The task is waiting to be started.</p>
<p id="drs_03_0138__p138886565415"><strong id="drs_03_0138__b5885147184745">START_JOB_FAILED</strong>: The task fails to be started.</p>
<p id="drs_03_0138__p245211114518"><strong id="drs_03_0138__b1417633365614">FULL_TRANSFER_STARTED</strong>: Full migration is in progress, and the DR scenario is initialized.</p>
<p id="drs_03_0138__p586843252"><strong id="drs_03_0138__b11728103585618">FULL_TRANSFER_FAILED</strong>: Full migration failed. Initialization failed in the DR scenario.</p>
<p id="drs_03_0138__p11819891256"><strong id="drs_03_0138__b1482113817562">FULL_TRANSFER_COMPLETE</strong>: Full migration is complete, and the initialization is complete in the DR scenario.</p>
<p id="drs_03_0138__p121671416151"><strong id="drs_03_0138__b119127425569">INCRE_TRANSFER_STARTED</strong>: Incremental migration is being performed, and the DR task is in progress.</p>
<p id="drs_03_0138__p267218225513"><strong id="drs_03_0138__b964913468568">INCRE_TRANSFER_FAILED</strong>: Incremental migration fails and a DR exception occurs.</p>
<p id="drs_03_0138__p193549361955"><strong id="drs_03_0138__b464105055611">RELEASE_RESOURCE_STARTED</strong>: The task is being stopped.</p>
<p id="drs_03_0138__p094814494515"><strong id="drs_03_0138__b4578453195616">RELEASE_RESOURCE_FAILED</strong>: Stop task failed.</p>
<p id="drs_03_0138__p9874195618511"><strong id="drs_03_0138__b108851157205618">RELEASE_RESOURCE_COMPLETE</strong>: The task is stopped.</p>
<p id="drs_03_0138__p836887171115"><strong id="drs_03_0138__b186118110575">CHANGE_JOB_STARTED</strong>: The task is being changed.</p>
<p id="drs_03_0138__p683017156110"><strong id="drs_03_0138__b1857614415710">CHANGE_JOB_FAILED</strong>: Change task failed.</p>
<p id="drs_03_0138__p78731219201119"><strong id="drs_03_0138__b034112712576">CHILD_TRANSFER_STARTING</strong>: The subtask is being started.</p>
<p id="drs_03_0138__p101292245114"><strong id="drs_03_0138__b0270141665713">CHILD_TRANSFER_STARTED</strong>: The subtask is being migrated.</p>
<p id="drs_03_0138__p1274132891112"><strong id="drs_03_0138__b14560121912578">CHILD_TRANSFER_COMPLETE</strong>: The subtask migration is complete.</p>
<p id="drs_03_0138__p6964153221119"><strong id="drs_03_0138__b298372225711">CHILD_TRANSFER_FAILED</strong>: Migrate subtask failed.</p>
<p id="drs_03_0138__p142061337181112"><strong id="drs_03_0138__b4851426105710">RELEASE_CHILD_TRANSFER_STARTED</strong>: The subtask is being stopped.</p>
<p id="drs_03_0138__p6297160185720"><strong id="drs_03_0138__b134815295575">RELEASE_CHILD_TRANSFER_COMPLETE</strong>: The subtask is complete.</p>
<p id="drs_03_0138__p88792056115919">Values:</p>
<ul id="drs_03_0138__ul18879456175920"><li id="drs_03_0138__li2879656155911"><strong id="drs_03_0138__b19879135695917">CREATING</strong></li><li id="drs_03_0138__li78792566593"><strong id="drs_03_0138__b108791056105916">CREATE_FAILED</strong></li><li id="drs_03_0138__li1787985685913"><strong id="drs_03_0138__b287985617597">CONFIGURATION</strong></li><li id="drs_03_0138__li28797569598"><strong id="drs_03_0138__b68791856145914">STARTJOBING</strong></li><li id="drs_03_0138__li78796564590"><strong id="drs_03_0138__b118791056115911">WAITING_FOR_START</strong></li><li id="drs_03_0138__li14879145616593"><strong id="drs_03_0138__b2087985613593">START_JOB_FAILED</strong></li><li id="drs_03_0138__li4879956145919"><strong id="drs_03_0138__b38802567591">FULL_TRANSFER_STARTED</strong></li><li id="drs_03_0138__li3880175614597"><strong id="drs_03_0138__b178808567593">FULL_TRANSFER_FAILED</strong></li><li id="drs_03_0138__li4880656175912"><strong id="drs_03_0138__b15880115645910">FULL_TRANSFER_COMPLETE</strong></li><li id="drs_03_0138__li178805567595"><strong id="drs_03_0138__b208801656175912">INCRE_TRANSFER_STARTED</strong></li><li id="drs_03_0138__li13880145665918"><strong id="drs_03_0138__b12880115695914">INCRE_TRANSFER_FAILED</strong></li><li id="drs_03_0138__li8880155685914"><strong id="drs_03_0138__b1888075635912">RELEASE_RESOURCE_STARTED</strong></li><li id="drs_03_0138__li158801956125917"><strong id="drs_03_0138__b208801856105913">RELEASE_RESOURCE_FAILED</strong></li><li id="drs_03_0138__li15880456155916"><strong id="drs_03_0138__b208801356125911">RELEASE_RESOURCE_COMPLETE</strong></li><li id="drs_03_0138__li5880125614590"><strong id="drs_03_0138__b15881125615598">CHANGE_JOB_STARTED</strong></li><li id="drs_03_0138__li68811856165911"><strong id="drs_03_0138__b3881185625911">CHANGE_JOB_FAILED</strong></li><li id="drs_03_0138__li1988125610592"><strong id="drs_03_0138__b208818568597">CHILD_TRANSFER_STARTING</strong></li><li id="drs_03_0138__li10881135655910"><strong id="drs_03_0138__b48811456135911">CHILD_TRANSFER_STARTED</strong></li><li id="drs_03_0138__li148814562599"><strong id="drs_03_0138__b5881135655916">CHILD_TRANSFER_COMPLETE</strong></li><li id="drs_03_0138__li68811956155910"><strong id="drs_03_0138__b1688119566591">CHILD_TRANSFER_FAILED</strong></li><li id="drs_03_0138__li3881956145917"><strong id="drs_03_0138__b4881145665916">RELEASE_CHILD_TRANSFER_STARTED</strong></li><li id="drs_03_0138__li158811564596"><strong id="drs_03_0138__b48818562596">RELEASE_CHILD_TRANSFER_COMPLETE</strong></li></ul>
</td>
</tr>
<tr id="drs_03_0138__row15622743144312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0138__p13650184311438">tags</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0138__p20651154354310">No</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0138__p875218394144">Array of <a href="drs_03_0104.html#drs_03_0104__request_ResourceTag">ResourceTag</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0138__p20651443104318">Tags.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="drs_03_0138__section116522043114313"><h4 class="sectiontitle">Response Parameters</h4><p id="drs_03_0138__p3652154313436"><strong id="drs_03_0138__b1165313433432">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0138__responseParameter" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="drs_03_0138__row166531943204320"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="drs_03_0138__p0654144374312">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_0138__p9654164310435">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_0138__p6655174394315">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0138__row1165319438439"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="drs_03_0138__p12655194318437">total_record</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="drs_03_0138__p56551243104320">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="drs_03_0138__p16656743104316">Total number of tasks</p>
</td>
</tr>
<tr id="drs_03_0138__row14653204319436"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="drs_03_0138__p1265644324312">jobs</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="drs_03_0138__p1565684316435">Array of <a href="#drs_03_0138__response_JobInfo">JobInfo</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="drs_03_0138__p116579437435">Task details.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="drs_03_0138__response_JobInfo"></a><a name="response_JobInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0138__response_JobInfo" frame="border" border="1" rules="all"><caption><b>Table 5 </b>JobInfo</caption><thead align="left"><tr id="drs_03_0138__row16582431435"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="drs_03_0138__p13660144312433">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="drs_03_0138__p206601643104314">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="drs_03_0138__p1366064374315">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0138__row565884314319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p766115434432">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p1661184312438">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p566244317433">Task ID.</p>
</td>
</tr>
<tr id="drs_03_0138__row9658144310436"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p3662184324313">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p266219437438">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p1866294324318">Task name.</p>
</td>
</tr>
<tr id="drs_03_0138__row1658194354313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p14663204304313">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p106631443124320">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p18663343164316">Task status. Values:</p>
<ul id="drs_03_0138__ul1887172414016"><li id="drs_03_0138__li78814241408"><strong id="drs_03_0138__b20163150155816">CREATING</strong>: The task is being created.</li><li id="drs_03_0138__li188810241011"><strong id="drs_03_0138__b1669575310584">CREATE_FAILED</strong>: The task fails to be created.</li><li id="drs_03_0138__li158810248011"><strong id="drs_03_0138__b135207567588">CONFIGURATION</strong>: The task is being configured.</li><li id="drs_03_0138__li78817241401"><strong id="drs_03_0138__b1178405919587">STARTJOBING</strong>: The task is being started.</li><li id="drs_03_0138__li38814243011"><strong id="drs_03_0138__b18325734597">WAITING_FOR_START</strong>: The task is waiting to be started.</li><li id="drs_03_0138__li8889241508"><strong id="drs_03_0138__b0307605912">START_JOB_FAILED</strong>: The task fails to be started.</li><li id="drs_03_0138__li13889243012"><strong id="drs_03_0138__b4281496595">FULL_TRANSFER_STARTED</strong>: Full migration is in progress, and the DR scenario is initialized.</li><li id="drs_03_0138__li138819245016"><strong id="drs_03_0138__b437501810598">FULL_TRANSFER_FAILED</strong>: Full migration failed. Initialization failed in the DR scenario.</li><li id="drs_03_0138__li1588124202"><strong id="drs_03_0138__b1816852275918">FULL_TRANSFER_COMPLETE</strong>: Full migration is complete, and the initialization is complete in the DR scenario.</li><li id="drs_03_0138__li98811247020"><strong id="drs_03_0138__b48712615917">INCRE_TRANSFER_STARTED</strong>: Incremental migration is being performed, and the DR task is in progress.</li><li id="drs_03_0138__li128872418019"><strong id="drs_03_0138__b20567133017590">INCRE_TRANSFER_FAILED</strong>: Incremental migration fails and a DR exception occurs.</li><li id="drs_03_0138__li168916244016"><strong id="drs_03_0138__b1968916367596">RELEASE_RESOURCE_STARTED</strong>: The task is being stopped.</li><li id="drs_03_0138__li1989924904"><strong id="drs_03_0138__b57842040135915">RELEASE_RESOURCE_FAILED</strong>: Stop task failed.</li><li id="drs_03_0138__li189624605"><strong id="drs_03_0138__b26109438592">RELEASE_RESOURCE_COMPLETE</strong>: The task is stopped.</li><li id="drs_03_0138__li7892243020"><strong id="drs_03_0138__b589315462593">CHANGE_JOB_STARTED</strong>: The task is being changed.</li><li id="drs_03_0138__li6891242012"><strong id="drs_03_0138__b4272165065918">CHANGE_JOB_FAILED</strong>: Change task failed.</li><li id="drs_03_0138__li1389192419018"><strong id="drs_03_0138__b65381754105910">CHILD_TRANSFER_STARTING</strong>: The subtask is being started.</li><li id="drs_03_0138__li6893240013"><strong id="drs_03_0138__b327135855918">CHILD_TRANSFER_STARTED</strong>: The subtask is being migrated.</li><li id="drs_03_0138__li1891424501"><strong id="drs_03_0138__b11753171403">CHILD_TRANSFER_COMPLETE</strong>: The subtask migration is complete.</li><li id="drs_03_0138__li17891624707"><strong id="drs_03_0138__b116881148017">CHILD_TRANSFER_FAILED</strong>: Migrate subtask failed.</li><li id="drs_03_0138__li12893241705"><strong id="drs_03_0138__b1119117208">RELEASE_CHILD_TRANSFER_STARTED</strong>: The subtask is being stopped.</li><li id="drs_03_0138__li11899244016"><strong id="drs_03_0138__b29121296011">RELEASE_CHILD_TRANSFER_COMPLETE</strong>: The subtask is complete.</li></ul>
</td>
</tr>
<tr id="drs_03_0138__row126582437434"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p167164317434">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p66721843174318">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p46721243164317">Task description.</p>
</td>
</tr>
<tr id="drs_03_0138__row1465854320431"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p1867319435439">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p167354324313">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p166731743164313">Time when a task is created</p>
</td>
</tr>
<tr id="drs_03_0138__row19658114354312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p14674104394312">engine_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p1267464334310">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p126751435438">Engine type of a DRS task. Values:</p>
<ul id="drs_03_0138__ul1449541932815"><li id="drs_03_0138__li4496151910282"><strong id="drs_03_0138__b391913227156">mysql</strong>: used for migration and synchronization from MySQL to MySQL</li><li id="drs_03_0138__li0496719172813"><strong id="drs_03_0138__b20190824121518">mongodb</strong>: used for migration from MongoDB to DDS</li><li id="drs_03_0138__li24968191288"><strong id="drs_03_0138__b1797742441518">cloudDataGuard-mysql</strong>: used for DR from MySQL to MySQL</li><li id="drs_03_0138__li84965199289"><strong id="drs_03_0138__b1598192617152">mysql-to-taurus</strong>: used for synchronization from MySQL to GaussDB(for MySQL) primary/standby</li><li id="drs_03_0138__li1749701972813"><strong id="drs_03_0138__b17793102811512">postgresql</strong>: used for synchronization from PostgreSQL to PostgreSQL</li></ul>
</td>
</tr>
<tr id="drs_03_0138__row96581843164313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p26772043124314">net_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p146771243164312">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p176771343174318">Network type. Values:</p>
<ul id="drs_03_0138__ul36781443144311"><li id="drs_03_0138__li146781243194319"><strong id="drs_03_0138__b26781543194319">vpn</strong></li><li id="drs_03_0138__li067811436436"><strong id="drs_03_0138__b1567844344319">vpc</strong></li><li id="drs_03_0138__li116783432435"><strong id="drs_03_0138__b967944394312">eip</strong></li></ul>
</td>
</tr>
<tr id="drs_03_0138__row176581436432"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p36791543204318">billing_tag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p2740205111">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p1868018431435">Billing tag.</p>
</td>
</tr>
<tr id="drs_03_0138__row0658134344318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p20680204311431">job_direction</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p7681843134320">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p10681144314432">Task direction. Values:</p>
<ul id="drs_03_0138__ul11682164374314"><li id="drs_03_0138__li12682194314439"><strong id="drs_03_0138__b468264384310">up</strong></li><li id="drs_03_0138__li12682154374311"><strong id="drs_03_0138__b13683543154317">down</strong></li></ul>
</td>
</tr>
<tr id="drs_03_0138__row1865994313431"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p15984943174319">db_use_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p119841643144312">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p15984204310439">Task scenario. Values:</p>
<ul id="drs_03_0138__ul15984164314316"><li id="drs_03_0138__li4984743114311"><strong id="drs_03_0138__b192005111016">migration</strong>: real-time migration.</li><li id="drs_03_0138__li12984843184319"><strong id="drs_03_0138__b87401555006">sync</strong>: real-time synchronization.</li><li id="drs_03_0138__li6985184384320"><strong id="drs_03_0138__b199728582012">cloudDataGuard</strong>: real-time disaster recovery.</li></ul>
</td>
</tr>
<tr id="drs_03_0138__row3659543184314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p398524384312">task_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p18985843114317">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p19985134310436">Task mode. Values:</p>
<ul id="drs_03_0138__ul1598524344312"><li id="drs_03_0138__li1198534384316"><strong id="drs_03_0138__b32377119111">FULL_TRANS</strong>: full migration</li><li id="drs_03_0138__li20985184318439"><strong id="drs_03_0138__b1727617142119">FULL_INCR_TRANS</strong>: full+incremental migration</li><li id="drs_03_0138__li798594314320"><strong id="drs_03_0138__b1272361615111">INCR_TRANS</strong>: incremental migration</li></ul>
</td>
</tr>
<tr id="drs_03_0138__row15659194374311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p99851243194316">children</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p1998512431431">Array of <a href="#drs_03_0138__response_ChildrenJobInfo">ChildrenJobInfo</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p17985243154315">Subtask information body.</p>
</td>
</tr>
<tr id="drs_03_0138__row365934344314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_03_0138__p10985154318433">node_newFramework</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_03_0138__p498512435434">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_03_0138__p298594314430">Whether the framework is a new framework.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="drs_03_0138__response_ChildrenJobInfo"></a><a name="response_ChildrenJobInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0138__response_ChildrenJobInfo" frame="border" border="1" rules="all"><caption><b>Table 6 </b>ChildrenJobInfo</caption><thead align="left"><tr id="drs_03_0138__row1570213438438"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="drs_03_0138__p1898914437432">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_0138__p18989443134312">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_0138__p199899438435">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0138__row5702134384311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p11989743154316">billing_tag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p1298944344312">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p99891243174318">Billing tag.</p>
</td>
</tr>
<tr id="drs_03_0138__row19702174318435"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p3990204394310">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p2990184318433">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p1599084317439">Time when a task is created</p>
</td>
</tr>
<tr id="drs_03_0138__row870274316439"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p69907433435">db_use_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p20990143154310">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p149901743184312">Replication scenario. Values:</p>
<ul id="drs_03_0138__ul1966211834"><li id="drs_03_0138__li366211110311"><strong id="drs_03_0138__b183261819621">migration</strong>: real-time migration.</li><li id="drs_03_0138__li126621211739"><strong id="drs_03_0138__b94259221028">sync</strong>: real-time synchronization.</li><li id="drs_03_0138__li146631217315"><strong id="drs_03_0138__b9612025129">cloudDataGuard</strong>: real-time disaster recovery.</li></ul>
</td>
</tr>
<tr id="drs_03_0138__row16702114318434"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p2990443174311">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p159901843174317">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p99901443144313">Task description.</p>
</td>
</tr>
<tr id="drs_03_0138__row8702154364314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p7990643104315">engine_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p4990143194319">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p09902431438">Engine type of a DRS task. Values:</p>
<ul id="drs_03_0138__ul999194316439"><li id="drs_03_0138__li13204143322519"><strong id="drs_03_0138__b1027024211516">mysql</strong>: used for migration and synchronization from MySQL to MySQL</li><li id="drs_03_0138__li13204633152515"><strong id="drs_03_0138__b558034331517">mongodb</strong>: used for migration from MongoDB to DDS</li><li id="drs_03_0138__li15204633172514"><strong id="drs_03_0138__b1641354412151">cloudDataGuard-mysql</strong>: used for DR from MySQL to MySQL</li><li id="drs_03_0138__li320573315255"><strong id="drs_03_0138__b188513460152">mysql-to-taurus</strong>: used for synchronization from MySQL to GaussDB(for MySQL) primary/standby</li><li id="drs_03_0138__li142055331250"><strong id="drs_03_0138__b1063115489157">postgresql</strong>: used for synchronization from PostgreSQL to PostgreSQL</li></ul>
</td>
</tr>
<tr id="drs_03_0138__row1370274314318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p179913434436">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p2991104324310">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p2991243184316">Task failure cause.</p>
</td>
</tr>
<tr id="drs_03_0138__row3702943194310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p4991174316434">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p119911043204310">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p599194324311">Task ID.</p>
</td>
</tr>
<tr id="drs_03_0138__row470216431434"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p199114432433">job_direction</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p6991243164311">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p1099224318438">Migration direction. Values:</p>
<ul id="drs_03_0138__ul1533584104514"><li id="drs_03_0138__li33354464512"><strong id="drs_03_0138__b7691174718220">up</strong>: The current cloud is the standby cloud in the DR and to-the-cloud scenarios.</li><li id="drs_03_0138__li6336164104516"><strong id="drs_03_0138__b176185010210">down</strong>: The current cloud is the active cloud in the DR and out-of-cloud scenarios.</li><li id="drs_03_0138__li11336184174518"><strong id="drs_03_0138__b15202119192012">non-dbs</strong>: self-built databases.</li></ul>
</td>
</tr>
<tr id="drs_03_0138__row11703184344310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p1799244384315">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p149921843134311">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p17992134320436">Task name.</p>
</td>
</tr>
<tr id="drs_03_0138__row14703134384316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p10992124394317">net_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p79921243144316">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p9992144320431">Network type. Values:</p>
<ul id="drs_03_0138__ul12992104315436"><li id="drs_03_0138__li10992184317438"><strong id="drs_03_0138__b499213436436">vpc</strong></li><li id="drs_03_0138__li4993943134311"><strong id="drs_03_0138__b1099324311437">vpn</strong></li><li id="drs_03_0138__li199344311435"><strong id="drs_03_0138__b5993154317434">eip</strong></li></ul>
</td>
</tr>
<tr id="drs_03_0138__row167031343144318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p29937431434">node_newFramework</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p189935438435">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p599311438434">New framework</p>
</td>
</tr>
<tr id="drs_03_0138__row207034437434"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p1799324314319">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p1899314324315">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p14993243194311">Task status.</p>
</td>
</tr>
<tr id="drs_03_0138__row157037435433"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="drs_03_0138__p109936439437">task_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="drs_03_0138__p1299320432439">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="drs_03_0138__p4880125713315">Task mode. Values:</p>
<ul id="drs_03_0138__ul10880185714313"><li id="drs_03_0138__li11880257536"><strong id="drs_03_0138__b1824715131933">FULL_TRANS</strong>: full migration</li><li id="drs_03_0138__li38801857631"><strong id="drs_03_0138__b16437416333">FULL_INCR_TRANS</strong>: full+incremental migration</li><li id="drs_03_0138__li1888120571333"><strong id="drs_03_0138__b119116182039">INCR_TRANS</strong>: incremental migration</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="drs_03_0138__section4994104324314"><h4 class="sectiontitle">Example Request</h4><ul id="drs_03_0138__ul899414304313"><li id="drs_03_0138__li6994104344312">Example of querying the real-time migration task list:<pre class="screen" id="drs_03_0138__screen1532515126610">https://{EndPoint}/v3/054ba152d480d55b2f5dc0069e7ddef0/jobs</pre>
<pre class="screen" id="drs_03_0138__screen19902171616615">{
"cur_page" : 1,
"db_use_type" : "migration",
"engine_type" : "",
"name" : "",
"net_type" : "",
"per_page" : 5,
"status" : ""
}</pre>
</li></ul>
</div>
<div class="section" id="drs_03_0138__section7995543134319"><h4 class="sectiontitle">Example Response</h4><p id="drs_03_0138__p9995144394317"><strong id="drs_03_0138__b2995843124318">Status code: 200</strong></p>
<p id="drs_03_0138__p12995843154310">OK</p>
<ul id="drs_03_0138__ul10995243194320"><li id="drs_03_0138__li199554394317">Example response for querying the real-time migration tasks:<pre class="screen" id="drs_03_0138__screen149951643124318">{
"jobs" : [ {
"id" : "24834eb6-be30-464e-a299-f7aa730jb101",
"name" : "DRS-3999-lws",
"status" : "INCRE_TRANSFER_FAILED",
"description" : "",
"create_time" : "2020-12-21 10:57:49",
"error_msg" : "service LOGMANAGER failed, cause by: Unable to connect to DBMS: url=jdbc:mysql://172.22.74.56:3306?useUnicode=true&amp;allowLoadLocalInfile=false&amp;characterEncoding=UTF-8&amp;connectTimeout=5000&amp;useSSL=false&amp;allowPublicKeyRetrieval=true&amp;verifyServerCertificate=false&amp;serverTimezone=UTC user=root",
"engine_type" : "mysql",
"net_type" : "eip",
"billing_tag" : false,
"job_direction" : "up",
"db_use_type" : "migration",
"task_type" : "FULL_INCR_TRANS",
"node_newFramework" : false
}, {
"id" : "140b5236-88ad-43c8-811c-1268453jb101",
"name" : "DRS-0042-linxiaolu",
"status" : "CONFIGURATION",
"description" : "",
"create_time" : "2020-12-19 16:23:24",
"engine_type" : "mysql",
"net_type" : "eip",
"billing_tag" : false,
"job_direction" : "up",
"db_use_type" : "migration",
"task_type" : "FULL_INCR_TRANS",
"node_newFramework" : false
}, {
"id" : "7f8e6f74-72d2-4ddd-bb8f-6c41397jb101",
"name" : "DRS-0796",
"status" : "RELEASE_RESOURCE_COMPLETE",
"description" : "",
"create_time" : "2020-12-18 10:48:11",
"engine_type" : "mysql",
"net_type" : "eip",
"billing_tag" : false,
"job_direction" : "non-dbs",
"db_use_type" : "migration",
"task_type" : "FULL_INCR_TRANS",
"node_newFramework" : false
}, {
"id" : "14d88eeb-ee7e-4d30-a46e-a5ec8eajb101",
"name" : "masj-mysql_migration_down-1",
"status" : "INCRE_TRANSFER_STARTED",
"description": "[using] api test 2\n1. This API is used to configure the source and destination database information. Before selecting a table, you must perform this operation. \n2. If the description of a task in the configuration is successfully modified, 202 success is returned. \n3. If the description of a task in an incremental migration fails to be modified, 202 failed DRS.M01504\nAnother operation is being performed on the migration task or the migration task is abnormal. Try again later./",
"create_time" : "2020-12-15 15:43:02",
"engine_type" : "mysql",
"net_type" : "eip",
"billing_tag" : true,
"job_direction" : "down",
"db_use_type" : "migration",
"task_type" : "FULL_INCR_TRANS",
"node_newFramework" : false
}, {
"id" : "d54691d2-f105-434d-a75d-809b017jb101",
"name" : "masj-2-mysql_migration_down",
"status" : "CONFIGURATION",
"description": "[using] api test 2\n1. This API is used to configure the source and destination database information. Before selecting a table, you must perform this operation. \n2. If the description of a task in the configuration is successfully modified, 202 success is returned. \n3. If the description of a task in an incremental migration fails to be modified, 202 failed DRS.M01504\nAnother operation is being performed on the migration task or the migration task is abnormal. Try again later./",
"create_time" : "2020-12-14 21:39:07",
"engine_type" : "mysql",
"net_type" : "eip",
"billing_tag" : false,
"job_direction" : "down",
"db_use_type" : "migration",
"task_type" : "FULL_INCR_TRANS",
"node_newFramework" : false
} ],
"total_record" : 7
}</pre>
</li></ul>
</div>
<div class="section" id="drs_03_0138__section84114418438"><h4 class="sectiontitle">Status Code</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0138__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="drs_03_0138__row675815439435"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="drs_03_0138__p442448438">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_0138__p5413447438">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="drs_03_0138__row47581243144312"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="drs_03_0138__p64124412435">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="drs_03_0138__p8424424314">OK</p>
</td>
</tr>
<tr id="drs_03_0138__row475874334317"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="drs_03_0138__p847448436">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="drs_03_0138__p141844184310">Bad Request</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="drs_03_0138__section84044124312"><h4 class="sectiontitle">Error Code</h4><p id="drs_03_0138__p10411448433">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>