forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
339 lines
24 KiB
HTML
339 lines
24 KiB
HTML
<a name="drs_03_0134"></a><a name="drs_03_0134"></a>
|
|
|
|
<h1 class="topictitle1">Changing the Passwords of the Sources and Destinations</h1>
|
|
<div id="body1728161545518"><div class="section" id="drs_03_0134__section152819153554"><h4 class="sectiontitle">Function</h4><p id="drs_03_0134__p16282161555515">This API is used to change the passwords of the sources and destinations after a task is started.</p>
|
|
</div>
|
|
<div class="section" id="drs_03_0134__section20901627163916"><h4 class="sectiontitle">Constraints</h4><ul id="drs_03_0134__ul1582633623213"><li id="drs_03_0134__li482683673211">This API can be called only when the task is in the <strong id="drs_03_0134__b416315582612">STARTJOBING</strong>, <strong id="drs_03_0134__b256417912619">STARTJOB_FAILED</strong>, <strong id="drs_03_0134__b94281513122617">FULL_TRANSFER_STARTED</strong>, <strong id="drs_03_0134__b1581971715269">FULL_TRANSFER_FAILED</strong>, <strong id="drs_03_0134__b134421521162618">FULL_TRANSFER_COMPLETE</strong>, <strong id="drs_03_0134__b33591925162618">INCRE_TRANSFER_STARTED</strong>, <strong id="drs_03_0134__b413562917263">INCRE_TRANSFER_FAILED</strong> or <strong id="drs_03_0134__b2128163215261">PAUSING</strong> state.</li><li id="drs_03_0134__li19629425183310">In the dual-active DR scenario, the parent task cannot call the API.</li></ul>
|
|
</div>
|
|
<div class="section" id="drs_03_0134__section12828159553"><h4 class="sectiontitle">URI</h4><p id="drs_03_0134__p1283181516551">PUT /v3/{project_id}/jobs/batch-modify-pwd</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0134__table14288215155517" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="drs_03_0134__row1228451512552"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="drs_03_0134__p1628931519556">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="drs_03_0134__p10290615145513">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="drs_03_0134__p1529151512557">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_0134__p1029221517557">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0134__row828461545511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_03_0134__p52931815165517">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_03_0134__p20295515145517">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_03_0134__p3296141515554">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_03_0134__p1299101512553">Project ID of a tenant in a region</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_03_0134__section1130013157555"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0134__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="drs_03_0134__row1330241519550"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="drs_03_0134__p3306101519556">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="drs_03_0134__p630619156553">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="drs_03_0134__p430719151556">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="drs_03_0134__p3308141575516">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0134__row15302131520557"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="drs_03_0134__p11308315135518">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="drs_03_0134__p13309181511555">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="drs_03_0134__p9310131518550">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="drs_03_0134__p1795144294612">The content type.</p>
|
|
<p id="drs_03_0134__p123256415450">The default value is <strong id="drs_03_0134__b11331646134619">application/json</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row1030371585511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="drs_03_0134__p10312131585514">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="drs_03_0134__p731221511556">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="drs_03_0134__p16313121565520">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="drs_03_0134__p1231415158553">User token obtained from IAM.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row13303151515551"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="drs_03_0134__p193160158551">X-Language</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="drs_03_0134__p123173157557">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="drs_03_0134__p131816159557">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="drs_03_0134__p4869125616598">Request language type</p>
|
|
<p id="drs_03_0134__p68691956125917">Default value: <strong id="drs_03_0134__b1786912566599">en-us</strong></p>
|
|
<p id="drs_03_0134__p1386915625912">Values:</p>
|
|
<ul id="drs_03_0134__ul1586965613591"><li id="drs_03_0134__li1886915655910"><strong id="drs_03_0134__b158691656145912">en-us</strong></li><li id="drs_03_0134__li17869125685916"><strong id="drs_03_0134__b12869175615914">zh-cn</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0134__requestParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="drs_03_0134__row2032021565511"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="drs_03_0134__p123241515185513">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="drs_03_0134__p1032561512551">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="drs_03_0134__p1832618154558">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="drs_03_0134__p03261815105517">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0134__row1632161575510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="drs_03_0134__p1032871514554">jobs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="drs_03_0134__p8328121520558">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="drs_03_0134__p732914159551">Array of <a href="#drs_03_0134__request_ModifyPwdEndPoint">ModifyPwdEndPoint</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="drs_03_0134__p9330161516558">List of database passwords to be changed in batches.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="drs_03_0134__request_ModifyPwdEndPoint"></a><a name="request_ModifyPwdEndPoint"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0134__request_ModifyPwdEndPoint" frame="border" border="1" rules="all"><caption><b>Table 4 </b>ModifyPwdEndPoint</caption><thead align="left"><tr id="drs_03_0134__row3332715105518"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.1"><p id="drs_03_0134__p733881565519">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.2"><p id="drs_03_0134__p12340111520553">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.3"><p id="drs_03_0134__p19341215125515">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.4.2.5.1.4"><p id="drs_03_0134__p6342191575516">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0134__row7332415135516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="drs_03_0134__p0343171565510">db_password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="drs_03_0134__p1334381555513">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="drs_03_0134__p33441915195516">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="drs_03_0134__p13346171525518">Database password.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row3332181565511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="drs_03_0134__p17350101516555">end_point_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="drs_03_0134__p193516155557">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="drs_03_0134__p63517159552">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="drs_03_0134__p4905811124718">Type. <strong id="drs_03_0134__b17725102420279">so</strong> indicates the source database. <strong id="drs_03_0134__b428933142712">ta</strong> indicates the destination database.</p>
|
|
<p id="drs_03_0134__p672019132217">Values:</p>
|
|
<ul id="drs_03_0134__ul17201913172114"><li id="drs_03_0134__li4720513152111"><strong id="drs_03_0134__b16720121362111">so</strong></li><li id="drs_03_0134__li1472110134215"><strong id="drs_03_0134__b872121332119">ta</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row2332191565517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="drs_03_0134__p14355161555520">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="drs_03_0134__p93561015115510">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="drs_03_0134__p035716158558">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="drs_03_0134__p2358201535516">Task ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row533381517557"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="drs_03_0134__p53651315155516">kerberos</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="drs_03_0134__p6366151516554">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="drs_03_0134__p1836710159556"><a href="#drs_03_0134__request_KerberosVO">KerberosVO</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="drs_03_0134__p1836841595519">Information required for Kerberos authentication.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="drs_03_0134__request_KerberosVO"></a><a name="request_KerberosVO"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0134__request_KerberosVO" frame="border" border="1" rules="all"><caption><b>Table 5 </b>KerberosVO</caption><thead align="left"><tr id="drs_03_0134__row11370191515553"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.1"><p id="drs_03_0134__p03731415165510">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.2"><p id="drs_03_0134__p437421517555">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.3"><p id="drs_03_0134__p18375151595513">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.5.2.5.1.4"><p id="drs_03_0134__p1537671555519">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0134__row14370161519556"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="drs_03_0134__p037811575519">krb5_conf_file</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="drs_03_0134__p63791615155510">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="drs_03_0134__p17380151565512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="drs_03_0134__p11381151512556">krb5 configuration file.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row103701215175518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="drs_03_0134__p133821615185510">key_tab_file</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="drs_03_0134__p17383181535519">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="drs_03_0134__p1538441545511">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="drs_03_0134__p6386171555519">Key file.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row637031510551"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="drs_03_0134__p19387101565514">domain_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="drs_03_0134__p18388315115513">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="drs_03_0134__p15388915195515">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="drs_03_0134__p13891815195520">Domain name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row1737061545510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="drs_03_0134__p338971505517">user_principal</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="drs_03_0134__p839051512555">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="drs_03_0134__p8392101513555">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="drs_03_0134__p7393181555516">Kerberos user object.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_03_0134__section1539441555514"><h4 class="sectiontitle">Response Parameters</h4><p id="drs_03_0134__p103955155550"><strong id="drs_03_0134__b7396315125514">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0134__responseParameter" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="drs_03_0134__row339711513555"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="drs_03_0134__p939991545512">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="drs_03_0134__p2400181535510">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="drs_03_0134__p3401515135520">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0134__row93971915185517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="drs_03_0134__p1140111515554">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="drs_03_0134__p124022157556">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="drs_03_0134__p1440215157556">Total number.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row14397131585516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="drs_03_0134__p124034152552">results</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="drs_03_0134__p15404101565511">Array of <a href="#drs_03_0134__response_ModifyJobResp">ModifyJobResp</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="drs_03_0134__p44047158551">List of tasks that are modified in batches.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="drs_03_0134__response_ModifyJobResp"></a><a name="response_ModifyJobResp"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0134__response_ModifyJobResp" frame="border" border="1" rules="all"><caption><b>Table 7 </b>ModifyJobResp</caption><thead align="left"><tr id="drs_03_0134__row124061315205513"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="drs_03_0134__p2408415125515">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.2"><p id="drs_03_0134__p2409171511559">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.4.2.4.1.3"><p id="drs_03_0134__p141161565515">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0134__row74061415165516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="drs_03_0134__p104121715145513">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="drs_03_0134__p641291513553">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="drs_03_0134__p1413915165516">Task ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row1406191535518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="drs_03_0134__p1414121516551">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="drs_03_0134__p84161415195519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="drs_03_0134__p10416151514558">Status Values:</p>
|
|
<ul id="drs_03_0134__ul11417415165513"><li id="drs_03_0134__li1241731513559"><strong id="drs_03_0134__b1141116610243">success</strong>: The task is successful.</li><li id="drs_03_0134__li2418015175514"><strong id="drs_03_0134__b78483832418">failed</strong>: The task fails.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row3803558192410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="drs_03_0134__p1763211811253">end_point_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="drs_03_0134__p1116891417259">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="drs_03_0134__p563268132519">Type. <strong id="drs_03_0134__b77501452113118">so</strong> indicates the source database. <strong id="drs_03_0134__b1775217521316">ta</strong> indicates the destination database.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row4406815125512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="drs_03_0134__p17419121585512">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="drs_03_0134__p13420215145518">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="drs_03_0134__p164201415125520">Error code, which is optional and indicates the returned information about the failure status.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row2406161517559"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="drs_03_0134__p104211315185517">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="drs_03_0134__p142291575510">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="drs_03_0134__p1942371518556">Error message, which is optional and indicates the returned information about the failure status.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_03_0134__section5424115145516"><h4 class="sectiontitle">Example Request</h4><p id="drs_03_0134__p3426171512550">Example request for changing the passwords of the sources and destinations:</p>
|
|
<pre class="screen" id="drs_03_0134__screen66150471243">https://{Endpoint}/v3/054ba152d480d55b2f5dc0069e7ddef0/jobs/batch-modify-pwd</pre>
|
|
<pre class="screen" id="drs_03_0134__screen116815612252">{
|
|
"jobs" : [ {
|
|
"db_password" : "<strong id="drs_03_0134__en-us_topic_0117388899_b11681345144418"><em id="drs_03_0134__en-us_topic_0117388899_i126812457441">********</em></strong>",
|
|
"end_point_type" : "so",
|
|
"job_id" : "25df459d-a37c-41b9-bc2b-8c00ba32jb52"
|
|
}, {
|
|
"db_password" : "<strong id="drs_03_0134__b2541194612617"><em id="drs_03_0134__i1554134672616">********</em></strong>",
|
|
"end_point_type" : "ta",
|
|
"job_id" : "25df459d-a37c-41b9-bc2b-8c00ba32jb52"
|
|
} ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="drs_03_0134__section164361715175517"><h4 class="sectiontitle">Example Response</h4><p id="drs_03_0134__p343711151553"><strong id="drs_03_0134__b19437615175514">Status code: 200</strong></p>
|
|
<p id="drs_03_0134__p54371315165512">OK</p>
|
|
<pre class="screen" id="drs_03_0134__screen194411815105518">{
|
|
"results" : [ {
|
|
"id" : "8d0e8e36-a618-490d-8a46-8c61ac9jb502",
|
|
"status" : "success",
|
|
"end_point_type" : "so"
|
|
}, {
|
|
"id" : "8d0e8e36-a618-490d-8a46-8c61ac9jb502",
|
|
"status" : "success",
|
|
"end_point_type" : "ta"
|
|
} ],
|
|
"count" : 2
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="drs_03_0134__section9449101515520"><h4 class="sectiontitle">Status Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_0134__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="drs_03_0134__row14511615115518"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="drs_03_0134__p154533156552">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="drs_03_0134__p84541915145519">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_03_0134__row14451161535518"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="drs_03_0134__p13454151514559">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="drs_03_0134__p14557158555">OK</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_03_0134__row16451115185518"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="drs_03_0134__p045681513552">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="drs_03_0134__p045741545515">Bad Request</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_03_0134__section1645821545514"><h4 class="sectiontitle">Error Code</h4><p id="drs_03_0134__p104601158557">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>
|
|
|