forked from docs/doc-exports
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
236 lines
24 KiB
HTML
236 lines
24 KiB
HTML
<a name="EN-US_TOPIC_0000002332909545"></a><a name="EN-US_TOPIC_0000002332909545"></a>
|
|
|
|
<h1 class="topictitle1">Querying Details About a Shard Configuration Task<span id="ph106031900831323"> (a V3 API)</span></h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_section71971443122216"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p171207573245">This API is used to query details about a shard configuration task.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_section5205164312213"><h4 class="sectiontitle">Constraints</h4><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p13208743102219">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_section018620371764"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p43571414182418">GET /v3/{project_id}/instances/{instance_id}/databases/{db_name}/migration/jobs/{job_id}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_table1126028" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row146686416415"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p7669164745"><strong id="EN-US_TOPIC_0000002332909545__b293138495112742">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p0670144643"><strong id="EN-US_TOPIC_0000002332909545__b1944847513114016">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="11.76470588235294%" id="mcps1.3.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p1767016415420"><strong id="EN-US_TOPIC_0000002332909545__b2111567406112924">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p0670847413"><strong id="EN-US_TOPIC_0000002332909545__b45250810731334">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row1466994547"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p56703414418">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p96711141345">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p116714411415">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p367117413420">Project ID of a tenant in a region</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row166691241344"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p2067211417414">instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p186721144412">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p067215414410">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p467244643">Instance ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row8551322718"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p5551921878">db_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p25528213718">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p555282671">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p35521321273">Schema name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row32061117143116"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p10206817153118">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p280972618319">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p1780902611319">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p580952618316">ID of the shard configuration task</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_section1703735142515"><h4 class="sectiontitle">Request<span id="EN-US_TOPIC_0000002332909545__ph19811165943748"> Parameters</span></h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row1030416437226"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p11308643112210"><strong id="EN-US_TOPIC_0000002332909545__b1334307972112742">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p9310134319223"><strong id="EN-US_TOPIC_0000002332909545__b1880451448112924">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p18313144332214"><strong id="EN-US_TOPIC_0000002332909545__b1756329969114016">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p1731614435223"><strong id="EN-US_TOPIC_0000002332909545__b213340425831334">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row11304174332210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p18319184352220">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p183214430225">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p032464332211">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p109669374313">User token.</p>
|
|
<p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p163271343192215">You can obtain the token by calling the IAM API used to obtain a user token.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_section12296195852419"><h4 class="sectiontitle">Example Request</h4><div class="p" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p175211447116">Querying details about a shard configuration task<pre class="screen" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_screen8878182161411">GET https://ddm.eu-de.otc.t-systems.com/v3/74f57817ca8f42e19318eb0e0ad41d18/instances/733c7e8d73a54c27b8308ec784a8be8cin09/databases/db_e487/migration/jobs/10501cd3-0c19-498b-9ba4-8935ed447542</pre>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_section71865377618"><h4 class="sectiontitle">Response</h4><ul id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_ul141861137968"><li id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_li218617373612">Normal response
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_table518714374616" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row111871437563"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.6.2.1.1.2.4.1.1"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p151873371064"><strong id="EN-US_TOPIC_0000002332909545__b1574714745112742">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.6.2.1.1.2.4.1.2"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p161871371162"><strong id="EN-US_TOPIC_0000002332909545__b2071221172114016">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.6.2.1.1.2.4.1.3"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p1418716371861"><strong id="EN-US_TOPIC_0000002332909545__b208477898331334">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row8187237362"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p1818793714610">instance_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p171871337560">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p14897475383">Instance name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row711012671015"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p1911016614109">original_shard_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p11108651018">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p21101660101">Total number of shards before configuration</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row969561911105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p3695121981014">after_shard_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p9695181910105">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p169551901012">Total number of shards after configuration</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row14277427121012"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p527717275101">original_dn_info_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p651654333919">Array of <a href="#EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_request_CreateDatabaseDetail">DnInfo</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p1427719276103">Information about data nodes before configuration</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row136063312103"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p736073311013">after_dn_info_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p698311192619">Array of <a href="#EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_request_CreateDatabaseDetail">DnInfo</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p1836063320106">Information about data nodes after configuration</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row12747203716108"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p10747037141014">switch_route_is_manual</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p07475372106">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p157471737191012">Whether manual route switching is used.</p>
|
|
<ul id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_ul1053111815220"><li id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_li6531318105214"><strong id="EN-US_TOPIC_0000002332909545__b119961237529">true</strong>: Manual route switching is used.</li><li id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_li12531518205218"><strong id="EN-US_TOPIC_0000002332909545__b4854181013315">false</strong>: Automatic route switching is used.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row1234704317106"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p3347154341010">auto_switch_begin_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p19347114351013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p734724317108">Time when the automatic route switching starts (in the <em id="EN-US_TOPIC_0000002332909545__i650116118131">hh</em><strong id="EN-US_TOPIC_0000002332909545__b55011418134">:</strong><em id="EN-US_TOPIC_0000002332909545__i85011715133">mm</em><strong id="EN-US_TOPIC_0000002332909545__b1750111151318">:</strong><em id="EN-US_TOPIC_0000002332909545__i165011914133">ss</em> format, for example, <strong id="EN-US_TOPIC_0000002332909545__b1150110141313">17:00:00</strong>)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row1991849111019"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p299104913107">auto_switch_end_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p179934913109">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p499194941010">Time when the automatic route switching ends (in the <em id="EN-US_TOPIC_0000002332909545__i169871110133">hh</em><strong id="EN-US_TOPIC_0000002332909545__b9698121161314">:</strong><em id="EN-US_TOPIC_0000002332909545__i1169861101320">mm</em><strong id="EN-US_TOPIC_0000002332909545__b8698161118134">:</strong><em id="EN-US_TOPIC_0000002332909545__i1469841115131">ss</em> format, for example, <strong id="EN-US_TOPIC_0000002332909545__b12698511141312">18:00:00</strong>)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row482785501018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p88270551107">node_id_for_migrate</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p14827955201011">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p98272553109">Node where shard configuration is performed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row11731181111117"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p173211113114">is_exclusive</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.6.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p127321113119">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p13732310113">Whether shard configuration exclusively occupies a node. The value can be:</p>
|
|
<ul id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_ul91651309517"><li id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_li1316583095115"><strong id="EN-US_TOPIC_0000002332909545__b15600144117303">true</strong>: It exclusively occupies a node.</li><li id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_li1616517307519"><strong id="EN-US_TOPIC_0000002332909545__b72331452309">false</strong>: It does not exclusively occupy a node.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_request_CreateDatabaseDetail"></a><a name="en-us_topic_0000002285238426_request_CreateDatabaseDetail"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_request_CreateDatabaseDetail" frame="border" border="1" rules="all"><caption><b>Table 4 </b>DnInfo</caption><thead align="left"><tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row1864310140243"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.6.2.1.2.2.4.1.1"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p565811442411"><strong id="EN-US_TOPIC_0000002332909545__b1605957374112742">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.6.2.1.2.2.4.1.2"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p767515147243"><strong id="EN-US_TOPIC_0000002332909545__b825248083114016">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.6.2.1.2.2.4.1.3"><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p868341412417"><strong id="EN-US_TOPIC_0000002332909545__b212945344531334">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row664315143242"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p499118270381">dn_instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p3991162773819">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p8513841174016">Data node ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_row146431614132419"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p7807435192312">dn_instance_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p6991727123817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_p720149134019">Data node name</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_li1718716371610">Normal response example<pre class="screen" id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_screen91870371868">{
|
|
"instance_name": "UTS-src",
|
|
"original_shard_num": 8,
|
|
"after_shard_num": 9,
|
|
"original_dn_info_list": [
|
|
{
|
|
"dn_instance_id": "7edae0250ebc464897bd92b8d3e8b769in01",
|
|
"dn_instance_name": "UTS-rds-src"
|
|
}
|
|
],
|
|
"after_dn_info_list": [
|
|
{
|
|
"dn_instance_id": "7edae0250ebc464897bd92b8d3e8b769in01",
|
|
"dn_instance_name": "UTS-rds-src"
|
|
}
|
|
],
|
|
"switch_route_is_manual": true,
|
|
"auto_switch_begin_time": "",
|
|
"auto_switch_end_time": "",
|
|
"node_id_for_migrate": "0c12161a26a4426c9bc72efe4ff05224no09",
|
|
"is_exclusive": false
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_li15551925175513">Abnormal response<p id="EN-US_TOPIC_0000002332909545__en-us_topic_0000002167894376_p8181342786"><a name="EN-US_TOPIC_0000002332909545__en-us_topic_0000002285238426_li15551925175513"></a><a name="en-us_topic_0000002285238426_li15551925175513"></a>For details, see <a href="ddm_api_01_0059.html">Abnormal Request Results</a>.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002332909545__section4778540915440"><h4 class="sectiontitle">Status Codes</h4><ul id="EN-US_TOPIC_0000002332909545__en-us_topic_0110967248_ul7858132212142"><li id="EN-US_TOPIC_0000002332909545__en-us_topic_0110967248_li58581622171411">Normal<p id="EN-US_TOPIC_0000002332909545__en-us_topic_0110967248_p1040982941020"><a name="EN-US_TOPIC_0000002332909545__en-us_topic_0110967248_li58581622171411"></a><a name="en-us_topic_0110967248_li58581622171411"></a>200</p>
|
|
</li><li id="EN-US_TOPIC_0000002332909545__en-us_topic_0110967248_li11583183218149">Abnormal<p id="EN-US_TOPIC_0000002332909545__p81763119262"><a name="EN-US_TOPIC_0000002332909545__en-us_topic_0110967248_li11583183218149"></a><a name="en-us_topic_0110967248_li11583183218149"></a>For details, see <a href="ddm_api_01_0060.html">Status Codes</a>.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002332909545__section67241224201212"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000002332909545__p137251024181213">For details, see <a href="ddm_api_01_0061.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="ddm_api_01_0027.html">Schemas</a></div>
|
|
</div>
|
|
</div>
|
|
|