forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com> Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
804 lines
52 KiB
HTML
804 lines
52 KiB
HTML
<a name="CreateJob"></a><a name="CreateJob"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Job in a Specified Cluster</h1>
|
|
<div id="body1615095174515"><div class="section" id="CreateJob__section1315017515452"><h4 class="sectiontitle">Function</h4><p id="CreateJob__p715110518457">This API is used to create a job in a specified cluster.</p>
|
|
</div>
|
|
<div class="section" id="CreateJob__section01510594516"><h4 class="sectiontitle">URI</h4><p id="CreateJob__p1115211511455">POST /v1.1/{project_id}/clusters/{cluster_id}/cdm/job</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__table9155175194513" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="CreateJob__row6154195164517"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="CreateJob__p181562524514">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="CreateJob__p715735184513">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="CreateJob__p915765104510">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="CreateJob__p12157157455">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row1215495134511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="CreateJob__p2157656450">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="CreateJob__p81583520455">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="CreateJob__p415817524516">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="CreateJob__p5158125174519">Project ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row61541757452"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="CreateJob__p615910515455">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="CreateJob__p3159659459">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="CreateJob__p10159195114516">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="CreateJob__p1315912519457">Cluster ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateJob__section18160358454"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="CreateJob__row191600517457"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="CreateJob__p13162854459">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="CreateJob__p21624554515">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="CreateJob__p616312514519">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="CreateJob__p31631151455">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row716165184513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateJob__p916355144516">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateJob__p1416312519457">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateJob__p1616415184513">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateJob__p11645574515">User token. It can be obtained by calling the IAM API (value of X-Subject-Token in the response header).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__request_CdmCreateJobJsonReq" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="CreateJob__row91656504516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="CreateJob__p141661559451">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="CreateJob__p61661258452">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="CreateJob__p1216619517457">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="CreateJob__p3166352458">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row416555144514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateJob__p116712574515">jobs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateJob__p1516715124519">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateJob__p161678510458">Array of <a href="#CreateJob__request_Job">Job</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateJob__p31675520454">Job list. For details, see the descriptions of <strong id="CreateJob__b316813519454">jobs</strong> parameters.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateJob__request_Job"></a><a name="request_Job"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__request_Job" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Job</caption><thead align="left"><tr id="CreateJob__row171701957456"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="CreateJob__p117817564513">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="CreateJob__p1417845164514">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="CreateJob__p1617917544510">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="CreateJob__p1617905154516">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row1017020515452"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p01791524515">job_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p1617913594519">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p101804544517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p1318019518458">Job type</p>
|
|
<ul id="CreateJob__ul1618013554512"><li id="CreateJob__li118065134511"><strong id="CreateJob__b12180155124517">NORMAL_JOB</strong>: table/file migration</li><li id="CreateJob__li7180175194512"><strong id="CreateJob__b141811524513">BATCH_JOB</strong>: entire DB migration</li><li id="CreateJob__li818116516455"><strong id="CreateJob__b11181658452">SCENARIO_JOB</strong>: scenario migration</li></ul>
|
|
<p id="CreateJob__p1618114584513">Enumeration values:</p>
|
|
<ul id="CreateJob__ul71811357456"><li id="CreateJob__li0181175204510"><strong id="CreateJob__b31811752455">NORMAL_JOB</strong></li><li id="CreateJob__li1918116518451"><strong id="CreateJob__b4182359451">BATCH_JOB</strong></li><li id="CreateJob__li181821253455"><strong id="CreateJob__b11182105184516">SCENARIO_JOB</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1417010554516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p51825524515">from-connector-name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p71821054453">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p318355124518">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p118335114514">Source link type</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row121712517450"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p171833512452">to-config-values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p12184175144515">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p1518415124512"><a href="#CreateJob__request_ConfigValues">ConfigValues</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p218518584515">Destination link parameter configuration</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1817105204514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p1518511524517">to-link-name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p21852052456">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p1418514524512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p161861657452">Destination link name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row21711859458"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p12186155455">driver-config-values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p618616594516">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p4186175204515"><a href="#CreateJob__request_ConfigValues">ConfigValues</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p151872518455">Job parameter configuration</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row8171195194510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p518718513451">from-config-values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p151876514518">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p171877514457"><a href="#CreateJob__request_ConfigValues">ConfigValues</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p518895134516">Source link parameter configuration</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row201711959457"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p71885584512">to-connector-name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p1218835154517">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p118814564520">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p7188115134517">Destination link type</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row917113544511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p1318913516450">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p418935184520">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p111896516453">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p4189175134512">Job name, which contains 1 to 240 characters</p>
|
|
<p id="CreateJob__p1418915194513">Minimum: <strong id="CreateJob__b81891552459">1</strong></p>
|
|
<p id="CreateJob__p1319015174517">Maximum: <strong id="CreateJob__b18190056454">240</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row51712519454"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p141901558452">from-link-name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p91904513454">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p11902512458">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p4190852451">Source link name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1517112518456"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p91911953454">creation-user</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p319125124519">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p171912514450">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p18192458453">User who created the job</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row151721753452"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p619211514457">creation-date</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p17192958451">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p171931157457">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p319315517451">Time when the job was created, accurate to millisecond</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row12172105114512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p1119316512455">update-date</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p0194454451">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p1919415144520">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p4194185194513">Time when the job was last updated, accurate to millisecond</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row18172195164518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p419416594518">is_incre_job</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p16195155114514">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p1219517515452">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p01951859457">Incremental or not</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row14172195204517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p19195658451">flag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p719617511459">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p21960524513">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p319615544519">Flag</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row017217574517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p1219614515457">files_read</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p131961353457">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p019718514454">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p13197251451">Number of read files</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1417275104519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p1019713544514">update-user</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p81971554457">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p18198195124512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p111985534519">User who last updated the job</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1117395104514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p2019815516452">external_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p219945104514">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p919995174511">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p11993512454">External ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row617317564518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p111994534516">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p220018516455">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p192001355452">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p17200457455">Task type</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row171737574512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p1820018594510">execute_start_date</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p102014520458">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p5201856455">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p220116519458">Execution start date</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1917312519455"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p22017564516">delete_rows</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p52024516451">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p820235174515">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p1520217594516">Number of deleted rows</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row717314510452"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p92027519451">enabled</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p122031554512">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p12203105184519">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p2020310574515">Whether to activate the link</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row01736513453"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p202031518454">bytes_written</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p9204552454">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p152041659454">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p1620455114512">Number of written bytes</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row2017317504511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p02044517450">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p32057554516">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p132051457451">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p102057514455">Job ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row41737519456"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p162089514456">is_use_sql</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p16208135164516">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p3208165184512">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p72098516459">Whether to use SQL statements</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1173955455"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p920919520457">update_rows</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p16209358452">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p1620913519452">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p14210115174515">Number of updated rows</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row01748515458"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p152104514511">group_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p1221010594514">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p11211155104511">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p2211857453">Group name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row91748594515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p7211953457">bytes_read</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p521210534520">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p1821219584514">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p182124517458">Number of read bytes</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row171741594510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p14212185184515">execute_update_date</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p15213175104513">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p3213135174516">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p821385104517">Execution update date</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1517445114511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p4214353457">write_rows</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p20214155194512">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p1221425134513">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p1021516511454">Number of written rows</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1017415514510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p5215115174510">rows_written</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p14215359450">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p52156584513">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p12216754456">Number of written rows</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row217410518452"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p112161554511">rows_read</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p421615514518">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p721612517458">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p192163504511">Number of rows that are read</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row191748518451"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p112171257458">files_written</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p1521795184510">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p17217656451">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p142177514517">Number of written files</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row01744544510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p42184520451">is_incrementing</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p172181758453">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p921819524515">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p5218255453">Incremental or not</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row141759594510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p12219165144515">execute_create_date</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p12219105114517">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p1721912594512">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p11219756458">Execution creation date</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row14175165164511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateJob__p132201855456">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateJob__p112205514450">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateJob__p6220145104515">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateJob__p822015510451">Job execution status</p>
|
|
<ul id="CreateJob__ul14220256455"><li id="CreateJob__li17221125124519"><strong id="CreateJob__b422118534512">BOOTING</strong>: The job is starting.</li><li id="CreateJob__li1221145144518"><strong id="CreateJob__b222175154517">RUNNING</strong>: The job is running.</li><li id="CreateJob__li72215594512"><strong id="CreateJob__b22229518455">SUCCEEDED</strong>: The job was successfully executed.</li><li id="CreateJob__li549813574516"><strong id="CreateJob__b9498653452">FAILED</strong>: The job execution failed.</li><li id="CreateJob__li1449815554514"><strong id="CreateJob__b0498653451">NEW</strong>: The job was not executed.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateJob__request_ConfigValues"></a><a name="request_ConfigValues"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__request_ConfigValues" frame="border" border="1" rules="all"><caption><b>Table 5 </b>ConfigValues</caption><thead align="left"><tr id="CreateJob__row422320510457"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="CreateJob__p104994524513">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="CreateJob__p149985124510">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="CreateJob__p134991150459">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="CreateJob__p1949955174512">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row162242511455"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateJob__p4499254458">configs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateJob__p1849918511457">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateJob__p18499653455">Array of <a href="#CreateJob__request_configs">configs</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateJob__p950085104515">The data structures of source link parameters, destination link parameters, and job parameters are the same. However, the <strong id="CreateJob__b15008534513">inputs</strong> parameter varies. For details, see the descriptions of <strong id="CreateJob__b17500175184515">configs</strong> parameters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1322415544519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateJob__p95003524519">extended-configs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateJob__p85001956452">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateJob__p850035194517"><a href="#CreateJob__request_extended-configs">extended-configs</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateJob__p195001555452">Extended configuration. For details, see the descriptions of <strong id="CreateJob__b18500653459">extended-configs</strong> parameters.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateJob__request_configs"></a><a name="request_configs"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__request_configs" frame="border" border="1" rules="all"><caption><b>Table 6 </b>configs</caption><thead align="left"><tr id="CreateJob__row1322845144512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="CreateJob__p5501105174511">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.2"><p id="CreateJob__p10501195104520">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.3"><p id="CreateJob__p450155134519">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.6.2.5.1.4"><p id="CreateJob__p1850113564519">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row1022813512456"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="CreateJob__p125019512458">inputs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="CreateJob__p1750118517457">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="CreateJob__p195017517455">Array of <a href="#CreateJob__request_Input">Input</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="CreateJob__p15502157451">Input parameter list. Each element in the list is in <strong id="CreateJob__b135024594519">name,value</strong> format. For details, see the descriptions of <strong id="CreateJob__b18502852459">inputs</strong> parameters. In the <strong id="CreateJob__b0502115194514">from-config-values</strong> data structure, the value of this parameter varies with the source link type. For details, see section "Source Job Parameters" in the <strong id="CreateJob__b18502105154516">Cloud Data Migration User Guide</strong>. In the <strong id="CreateJob__b450205134513">to-cofig-values</strong> data structure, the value of this parameter varies with the destination link type. For details, see section "Destination Job Parameters" in the <strong id="CreateJob__b85025511451">Cloud Data Migration User Guide</strong>. For details about the <strong id="CreateJob__b11502752452">inputs</strong> parameter in the <strong id="CreateJob__b1350235104510">driver-config-values</strong> data structure, see the job parameter descriptions.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row152285544517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="CreateJob__p65022544517">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="CreateJob__p1850212554516">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="CreateJob__p85021159456">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="CreateJob__p10502135154518">Configuration name. The value is <strong id="CreateJob__b1050210514514">fromJobConfig</strong> for a source job, <strong id="CreateJob__b85094517451">toJobConfig</strong> for a destination job, and <strong id="CreateJob__b145091515453">linkConfig</strong> for a link.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1322810511459"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="CreateJob__p1650965104512">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="CreateJob__p18509851452">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="CreateJob__p155091957459">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="CreateJob__p151015144512">Configuration ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row142282514459"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="CreateJob__p13510135164516">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="CreateJob__p185101555458">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="CreateJob__p151085194519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="CreateJob__p175106513458">Configuration type</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateJob__request_Input"></a><a name="request_Input"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__request_Input" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Input</caption><thead align="left"><tr id="CreateJob__row82330504519"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.1"><p id="CreateJob__p751115504518">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.2"><p id="CreateJob__p8511195194515">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.3"><p id="CreateJob__p105129520453">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.7.2.5.1.4"><p id="CreateJob__p1151214524517">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row1823485154517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="CreateJob__p251217519459">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="CreateJob__p5512165104515">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="CreateJob__p25125514452">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="CreateJob__p15121654454">Parameter name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row72343512450"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="CreateJob__p0512175104519">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="CreateJob__p25127574515">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="CreateJob__p45123514457">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="CreateJob__p16512105144514">Parameter value</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row72347518452"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="CreateJob__p5513135124513">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="CreateJob__p551375104517">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="CreateJob__p125135584511">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="CreateJob__p105139518455">Value type</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateJob__request_extended-configs"></a><a name="request_extended-configs"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__request_extended-configs" frame="border" border="1" rules="all"><caption><b>Table 8 </b>extended-configs</caption><thead align="left"><tr id="CreateJob__row1023820514510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.1"><p id="CreateJob__p5513155184511">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.2"><p id="CreateJob__p851318554510">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.3"><p id="CreateJob__p195132564514">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.8.2.5.1.4"><p id="CreateJob__p65141510454">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row723845164514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="CreateJob__p951413517453">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="CreateJob__p1851420544511">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="CreateJob__p105141594517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="CreateJob__p145141450454">Name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row202389584514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="CreateJob__p3514165124512">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="CreateJob__p9514457454">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="CreateJob__p1651414554514">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="CreateJob__p95148512457">Value</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateJob__section12514354452"><h4 class="sectiontitle">Response Parameters</h4><p id="CreateJob__p75144514516"><strong id="CreateJob__b85153514459">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__response_CdmCreateJobResponse" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="CreateJob__row172437514510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="CreateJob__p4515175164512">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="CreateJob__p205157512450">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="CreateJob__p1851511534518">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row3243951458"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateJob__p13515955457">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateJob__p751515514514">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateJob__p6515859451">Job name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row72435516451"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateJob__p155152519456">validation-result</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateJob__p145151552456">Array of <a href="#CreateJob__response_JobValidationResult">JobValidationResult</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateJob__p115161358458">Check result</p>
|
|
<ul id="CreateJob__ul85161517457"><li id="CreateJob__li115166594517">If the modification fails, the failure cause is returned.</li><li id="CreateJob__li4517165114518">If the modification is successful, an empty list is returned.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateJob__response_JobValidationResult"></a><a name="response_JobValidationResult"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__response_JobValidationResult" frame="border" border="1" rules="all"><caption><b>Table 10 </b>JobValidationResult</caption><thead align="left"><tr id="CreateJob__row02491059456"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="CreateJob__p8518252456">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="CreateJob__p1551875104517">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="CreateJob__p451818520453">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row152496534517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateJob__p195182511452">message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateJob__p185181534515">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateJob__p145189514456">Error message</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1124920574515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateJob__p1518175144518">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateJob__p251895174511">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateJob__p951855154511">ERROR,WARNING</p>
|
|
<p id="CreateJob__p75194515459">Enumeration values:</p>
|
|
<ul id="CreateJob__ul145202056459"><li id="CreateJob__li1852015174514"><strong id="CreateJob__b55201544515">ERROR</strong></li><li id="CreateJob__li252011510452"><strong id="CreateJob__b175201254455">WARNING</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="CreateJob__p145206524518"><strong id="CreateJob__b75211854451">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__response_CommonErrResponse" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="CreateJob__row13252150453"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="CreateJob__p145227534511">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="CreateJob__p1152218594511">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="CreateJob__p13522758451">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row425325184520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateJob__p5522951451">code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateJob__p25221956451">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateJob__p1522185104516">Return code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1325325194516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateJob__p35226544510">errCode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateJob__p12522655458">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateJob__p1752225134513">Error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row162536524512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateJob__p15522115154515">message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateJob__p135233524518">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateJob__p155237512454">Error message</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row2025320519459"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateJob__p3523135174510">externalMessage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateJob__p752310514518">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateJob__p952312516450">Additional information</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateJob__section1952315104516"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="CreateJob__screen45231519452">POST /v1.1/1551c7f6c808414d8e9f3c514a170f2e/clusters/6ec9a0a4-76be-4262-8697-e7af1fac7920/cdm/job
|
|
|
|
{
|
|
"jobs" : [ {
|
|
"job_type" : "NORMAL_JOB",
|
|
"from-connector-name" : "elasticsearch-connector",
|
|
"to-config-values" : {
|
|
"configs" : [ {
|
|
"inputs" : [ {
|
|
"name" : "toJobConfig.streamName",
|
|
"value" : "dis-lkGm"
|
|
}, {
|
|
"name" : "toJobConfig.separator",
|
|
"value" : "|"
|
|
}, {
|
|
"name" : "toJobConfig.columnList",
|
|
"value" : "1&2&3"
|
|
} ],
|
|
"name" : "toJobConfig"
|
|
} ]
|
|
},
|
|
"to-link-name" : "dis",
|
|
"driver-config-values" : {
|
|
"configs" : [ {
|
|
"inputs" : [ {
|
|
"name" : "throttlingConfig.numExtractors",
|
|
"value" : "1"
|
|
}, {
|
|
"name" : "throttlingConfig.submitToCluster",
|
|
"value" : "false"
|
|
}, {
|
|
"name" : "throttlingConfig.numLoaders",
|
|
"value" : "1"
|
|
}, {
|
|
"name" : "throttlingConfig.recordDirtyData",
|
|
"value" : "false"
|
|
} ],
|
|
"name" : "throttlingConfig"
|
|
}, {
|
|
"inputs" : { },
|
|
"name" : "jarConfig"
|
|
}, {
|
|
"inputs" : [ {
|
|
"name" : "schedulerConfig.isSchedulerJob",
|
|
"value" : "false"
|
|
}, {
|
|
"name" : "schedulerConfig.disposableType",
|
|
"value" : "NONE"
|
|
} ],
|
|
"name" : "schedulerConfig"
|
|
}, {
|
|
"inputs" : { },
|
|
"name" : "transformConfig"
|
|
}, {
|
|
"inputs" : [ {
|
|
"name" : "retryJobConfig.retryJobType",
|
|
"value" : "NONE"
|
|
} ],
|
|
"name" : "retryJobConfig"
|
|
} ]
|
|
},
|
|
"from-config-values" : {
|
|
"configs" : [ {
|
|
"inputs" : [ {
|
|
"name" : "fromJobConfig.index",
|
|
"value" : "52est"
|
|
}, {
|
|
"name" : "fromJobConfig.type",
|
|
"value" : "est_array"
|
|
}, {
|
|
"name" : "fromJobConfig.columnList",
|
|
"value" : "array_f1_int:long&array_f2_text:string&array_f3_object:nested"
|
|
}, {
|
|
"name" : "fromJobConfig.splitNestedField",
|
|
"value" : "false"
|
|
} ],
|
|
"name" : "fromJobConfig"
|
|
} ]
|
|
},
|
|
"to-connector-name" : "dis-connector",
|
|
"name" : "es_css",
|
|
"from-link-name" : "css"
|
|
} ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="CreateJob__section65288514450"><h4 class="sectiontitle">Example Responses</h4><p id="CreateJob__p16528195204517"><strong id="CreateJob__b15528175174515">Status code: 200</strong></p>
|
|
<p id="CreateJob__p185281758457">ok</p>
|
|
<pre class="screen" id="CreateJob__screen175286519458">{
|
|
"name" : "mysql2hive"
|
|
}</pre>
|
|
<p id="CreateJob__p185286518450"><strong id="CreateJob__b155291257453">Status code: 400</strong></p>
|
|
<p id="CreateJob__p165295512453">Request error</p>
|
|
<pre class="screen" id="CreateJob__screen352905194516">{
|
|
"code" : "Cdm.0104",
|
|
"errCode" : "Cdm.0104",
|
|
"message" : "Job name already exist or created by other.",
|
|
"externalMessage" : "Job name already exist or created by other."
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="CreateJob__section05302584511"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateJob__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="CreateJob__row22712517452"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="CreateJob__p14530658453">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="CreateJob__p10530155194513">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateJob__row14271105194515"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateJob__p2530155174513">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateJob__p4530185174515">ok</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateJob__row1827111513458"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateJob__p5530175124515">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateJob__p125302512453">Request error</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateJob__section4530155455"><h4 class="sectiontitle">Error Codes</h4><p id="CreateJob__p1553111574513">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000001_2.html">Job Management</a></div>
|
|
</div>
|
|
</div>
|
|
|