forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
536 lines
46 KiB
HTML
536 lines
46 KiB
HTML
<a name="sdrs_05_0603"></a><a name="sdrs_05_0603"></a>
|
|
|
|
<h1 class="topictitle1">Querying Replication Pairs</h1>
|
|
<div id="body1524795306610"><div class="section" id="sdrs_05_0603__en-us_topic_0079693002_section34649765"><h4 class="sectiontitle">Function</h4><p id="sdrs_05_0603__en-us_topic_0079693002_p9084369">This API is used to query all replication pairs in a specified protection group. If you do not specify the protection group, the system lists all the replication pairs of the tenant.</p>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0603__section8242191544111"><h4 class="sectiontitle">Constraints and Limitations</h4><p id="sdrs_05_0603__p7294417174114">None</p>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0603__en-us_topic_0079693002_section39390935"><h4 class="sectiontitle">URI</h4><ul id="sdrs_05_0603__en-us_topic_0079693002_ul52084342"><li id="sdrs_05_0603__en-us_topic_0079693002_li66105898">URI format<p id="sdrs_05_0603__en-us_topic_0079693002_p212314194247"><a name="sdrs_05_0603__en-us_topic_0079693002_li66105898"></a><a name="en-us_topic_0079693002_li66105898"></a>GET /v1/{project_id}/replications</p>
|
|
</li><li id="sdrs_05_0603__en-us_topic_0079693002_li52977523">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0603__en-us_topic_0079693002_table63321005" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0603__en-us_topic_0079693002_row37593218"><th align="left" class="cellrowborder" valign="top" width="17.82178217821782%" id="mcps1.3.3.2.2.1.1.5.1.1"><p id="sdrs_05_0603__p7266170103719">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.82178217821782%" id="mcps1.3.3.2.2.1.1.5.1.2"><p id="sdrs_05_0603__p19266120123714">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.85148514851485%" id="mcps1.3.3.2.2.1.1.5.1.3"><p id="sdrs_05_0603__p19266208374">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.504950495049506%" id="mcps1.3.3.2.2.1.1.5.1.4"><p id="sdrs_05_0603__p6266120143715">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0603__en-us_topic_0079693002_row29123463"><td class="cellrowborder" valign="top" width="17.82178217821782%" headers="mcps1.3.3.2.2.1.1.5.1.1 "><p id="sdrs_05_0603__p62669019379">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.82178217821782%" headers="mcps1.3.3.2.2.1.1.5.1.2 "><p id="sdrs_05_0603__p72666016379">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.1.1.5.1.3 "><p id="sdrs_05_0603__p82664043719">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.504950495049506%" headers="mcps1.3.3.2.2.1.1.5.1.4 "><p id="sdrs_05_0603__p102661083713">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<ul id="sdrs_05_0603__ul209361417475"><li id="sdrs_05_0603__li64846622153528"><strong id="sdrs_05_0603__b9256124162312">Request filter</strong> field description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0603__en-us_topic_0079693002_table54932709" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0603__en-us_topic_0079693002_row41882373"><th align="left" class="cellrowborder" valign="top" width="19.68%" id="mcps1.3.4.1.2.1.5.1.1"><p id="sdrs_05_0603__en-us_topic_0079693002_p8696081161227">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.29%" id="mcps1.3.4.1.2.1.5.1.2"><p id="sdrs_05_0603__en-us_topic_0079693002_p33293980161227">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.6%" id="mcps1.3.4.1.2.1.5.1.3"><p id="sdrs_05_0603__en-us_topic_0079693002_p12457872161227">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.43%" id="mcps1.3.4.1.2.1.5.1.4"><p id="sdrs_05_0603__en-us_topic_0079693002_p2454675161227">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0603__en-us_topic_0079693002_row27990155"><td class="cellrowborder" valign="top" width="19.68%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0603__p1373492812595">server_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.29%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0603__p1446373253819">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.6%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0603__p124641232133816">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.43%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0603__p174641832183813">Specifies the ID of a protection group.</p>
|
|
<p id="sdrs_05_0603__p153591912192">You can obtain this value by calling the API described in <a href="sdrs_05_0402.html">Querying Protection Groups</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row93491834143716"><td class="cellrowborder" valign="top" width="19.68%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0603__p644423512379">server_group_ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.29%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0603__p1344463513712">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.6%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0603__en-us_topic_0098680634_p9113191413128">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.43%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0603__p85241852143216">Specifies the protection group ID list. The value is in the following format: server_group_ids=['server_group_id1','server_group_id2',...,'server_group_idx']. Convert it using URL encoding.</p>
|
|
<ul id="sdrs_05_0603__ul10888401339"><li id="sdrs_05_0603__li488816013313">All the replication pairs with valid <strong id="sdrs_05_0603__b16656812194617">server_group_id</strong> in <strong id="sdrs_05_0603__b13656121215467">server_group_ids</strong> are returned.</li><li id="sdrs_05_0603__li5888160183315">The replication pairs of a maximum of 30 <strong id="sdrs_05_0603__b683783394611">server_group_id</strong> values can be queried.</li><li id="sdrs_05_0603__li18891013318">If parameters <strong id="sdrs_05_0603__b1958594464614">server_group_id</strong> and <strong id="sdrs_05_0603__b1158664424612">server_group_ids</strong> are both specified in the request, <strong id="sdrs_05_0603__b1658764444619">server_group_id</strong> will be ignored.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row42471257594"><td class="cellrowborder" valign="top" width="19.68%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0603__p1573722810594">protected_instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.29%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0603__p1464183273817">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.6%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0603__p64647326381">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.43%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0603__p7464103283816">Specifies the ID of a protected instance.</p>
|
|
<p id="sdrs_05_0603__p224775319192">You can obtain this value by calling the API described in <a href="sdrs_05_0503.html">Querying Protected Instances</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row131583917377"><td class="cellrowborder" valign="top" width="19.68%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0603__p1023184073717">protected_instance_ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.29%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0603__p22314405374">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.6%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0603__p1843012811381">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.43%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0603__p86202017183412">Specifies the protected instance ID list. The value is in the following format: protected_instance_ids=['protected_instance_id1','protected_instance_id2',...,'protected_instance_idx']. Convert it using URL encoding.</p>
|
|
<ul id="sdrs_05_0603__ul413418239345"><li id="sdrs_05_0603__li5135323133418">All the replication pairs with valid <strong id="sdrs_05_0603__b11221115364610">protected_instance_id</strong> in <strong id="sdrs_05_0603__b522216538465">protected_instance_ids</strong> are returned.</li><li id="sdrs_05_0603__li21353237344">The replication pairs of a maximum of 30 <strong id="sdrs_05_0603__b17861910134712">protected_instance_id</strong> values can be queried.</li><li id="sdrs_05_0603__li31354237344">If parameters <strong id="sdrs_05_0603__b1015512177476">protected_instance_id</strong> and <strong id="sdrs_05_0603__b415681744713">protected_instance_ids</strong> are both specified in the request, <strong id="sdrs_05_0603__b6157617174714">protected_instance_id</strong> will be ignored.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row119592104596"><td class="cellrowborder" valign="top" width="19.68%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0603__p117381528165919">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.29%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0603__p19464193263817">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.6%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0603__p13464632163811">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.43%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0603__p5464532173820">Specifies the name of a replication pair. Fuzzy search is supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row1911351315593"><td class="cellrowborder" valign="top" width="19.68%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0603__p373862885918">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.29%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0603__p346414321380">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.6%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0603__p12464143213384">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.43%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0603__p64641232133812">Specifies the status of a replication pair.</p>
|
|
<p id="sdrs_05_0603__p1423313322464">For details, see <a href="en-us_topic_0126152932.html">Replication Pair Status</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row11106615185911"><td class="cellrowborder" valign="top" width="19.68%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0603__p9738182814599">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.29%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0603__p8464332193818">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.6%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0603__p3464203293818">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.43%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0603__p1446453218380">Specifies the maximum number of results returned each time. The value is a positive integer from 0 to 1000. The default value is <strong id="sdrs_05_0603__b842352706161435">1000</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row525231713592"><td class="cellrowborder" valign="top" width="19.68%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0603__p19739122875919">offset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.29%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0603__p1446517329384">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.6%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0603__p346523217384">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.43%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0603__p7465193223814">Specifies the offset of each request. The default value is <strong id="sdrs_05_0603__b74201644142916">0</strong>. The value must be a number and cannot be negative.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row188811982614"><td class="cellrowborder" valign="top" width="19.68%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0603__p1315305251611">query_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.29%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0603__p41537522160">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.6%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0603__p18153205216167">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.43%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0603__p1415405216161">Specifies the query type.</p>
|
|
<ul id="sdrs_05_0603__ul179222514136"><li id="sdrs_05_0603__li1092318571315">To query replication pairs in the abnormal status, set <strong id="sdrs_05_0603__b11545115712231">query_type</strong> to <strong id="sdrs_05_0603__b17269471248">status_abnormal</strong>.</li><li id="sdrs_05_0603__li8923175151317">Otherwise, set <strong id="sdrs_05_0603__b71722322261">query_type</strong> to general or leave it empty.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row445301418261"><td class="cellrowborder" valign="top" width="19.68%" headers="mcps1.3.4.1.2.1.5.1.1 "><p id="sdrs_05_0603__p13773157191611">availability_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.29%" headers="mcps1.3.4.1.2.1.5.1.2 "><p id="sdrs_05_0603__p3773957151611">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.6%" headers="mcps1.3.4.1.2.1.5.1.3 "><p id="sdrs_05_0603__p1177518571167">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.43%" headers="mcps1.3.4.1.2.1.5.1.4 "><p id="sdrs_05_0603__p1577510578162">Specifies the current production site AZ of the protection group containing the replication pair.</p>
|
|
<p id="sdrs_05_0603__p536413384228">You can obtain this value by calling the API described in <a href="sdrs_05_0301.html">Querying an Active-Active Domain</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<div class="section" id="sdrs_05_0603__section11251204264911"><h4 class="sectiontitle">Request</h4><ul id="sdrs_05_0603__ul96281629192511"><li id="sdrs_05_0603__li121781249152217">Request parameters<p id="sdrs_05_0603__p119456539227"><a name="sdrs_05_0603__li121781249152217"></a><a name="li121781249152217"></a>None</p>
|
|
</li><li id="sdrs_05_0603__li1629429132518">Example request<pre class="screen" id="sdrs_05_0603__screen1115215265716">https://{Endpoint}/v1/{project_id}/replications?server_group_ids=%5b%22<em id="sdrs_05_0603__i27962061993">21d65fa4-430e-4761-b9ad-4e27364f874c</em>%22%2c%22<em id="sdrs_05_0603__i15796461893">943c7d15-0371-4b89-b1a6-db1ef35c9263</em>&status=available</pre>
|
|
<div class="note" id="sdrs_05_0603__note41522026775"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="sdrs_05_0603__p5152132619718">Use URL encoding for <strong id="sdrs_05_0603__b58772182159">server_group_ids</strong> or <strong id="sdrs_05_0603__b1890372119157">protected_instance_ids</strong>.</p>
|
|
</div></div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0603__en-us_topic_0079693002_section36549175"><h4 class="sectiontitle">Response</h4><ul id="sdrs_05_0603__en-us_topic_0079693002_ul48735027"><li id="sdrs_05_0603__en-us_topic_0079693002_li35962059">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0603__table030131120410" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0603__row39715118415"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.6.2.1.1.1.4.1.1"><p id="sdrs_05_0603__p89711112419">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.6.2.1.1.1.4.1.2"><p id="sdrs_05_0603__p99701120411">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.6.2.1.1.1.4.1.3"><p id="sdrs_05_0603__p597101124111">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0603__row497161154114"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.1.1.4.1.1 "><p id="sdrs_05_0603__p19812113418">replications</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.1.1.4.1.2 "><p id="sdrs_05_0603__p159881119412">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.1.1.4.1.3 "><p id="sdrs_05_0603__p79801116418">Specifies the information about replication pairs.</p>
|
|
<p id="sdrs_05_0603__p18992205304911">For details, see <a href="#sdrs_05_0603__table111111245194113">Table 1</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row1989116419"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.1.1.4.1.1 "><p id="sdrs_05_0603__p7986118412">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.1.1.4.1.2 "><p id="sdrs_05_0603__p1898121111415">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.1.1.4.1.3 "><p id="sdrs_05_0603__p1398141134116">Specifies the number of replication pairs.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="sdrs_05_0603__table111111245194113"></a><a name="table111111245194113"></a><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0603__table111111245194113" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="sdrs_05_0603__b1271318576411">replications</strong> field description</caption><thead align="left"><tr id="sdrs_05_0603__row10237745184119"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.6.2.1.2.2.4.1.1"><p id="sdrs_05_0603__p142371645164118">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.6.2.1.2.2.4.1.2"><p id="sdrs_05_0603__p6237194510418">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.6.2.1.2.2.4.1.3"><p id="sdrs_05_0603__p1123794514419">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0603__row15237645194116"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p9237445124113">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p72371945204115">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p1923713455416">Specifies the ID of a replication pair.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row5237645124112"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p52377454412">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p823754594113">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p1823744514412">Specifies the name of a replication pair.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row6237154519416"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p1423744584110">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p1123720453418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p1223724554115">Specifies the description of a replication pair.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row1675624210366"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p182391945104110">replication_model</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p19239104518418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p823974516416">Specifies the replication mode of a replication pair. The default value is <strong id="sdrs_05_0603__b154591346194619">hypermetro</strong>, indicating synchronous replication.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row12237194504115"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p1723713459419">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p10237104514417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p14989153217341">Specifies the status of a replication pair.</p>
|
|
<p id="sdrs_05_0603__p698263217347">For details, see <a href="en-us_topic_0126152932.html">Replication Pair Status</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row18552444124215"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p112410453412">progress</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p32418456411">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p192417459418">Specifies the synchronization progress of a replication pair.</p>
|
|
<p id="sdrs_05_0603__p12411945134110">Unit: %</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row52101819483"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p1931012731819">replication_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p19589849375">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p17310171185">Specifies the data synchronization status.</p>
|
|
<ul id="sdrs_05_0603__ul1231014717183"><li id="sdrs_05_0603__li203102715189"><strong id="sdrs_05_0603__b45671721496">active</strong>: Data has been synchronized.</li><li id="sdrs_05_0603__li1059834019195"><strong id="sdrs_05_0603__b1479811519913">inactive</strong>: Data is not synchronized.</li><li id="sdrs_05_0603__li1592032682617"><strong id="sdrs_05_0603__b31301243984">copying</strong>: Data is being synchronized.</li><li id="sdrs_05_0603__li1886012381267"><strong id="sdrs_05_0603__b873942274910">active-stopped</strong>: Data synchronization is stopped.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row1295224218488"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p19238045144111">attachment</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p123816451416">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p15238204518415">Specifies the device name.</p>
|
|
<p id="sdrs_05_0603__p148224382504">For details, see <a href="#sdrs_05_0603__table47791613195012">Table 2</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row13797144154914"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p1324114504119">server_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p12241645174111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p196131933102220">Specifies the ID of a protection group.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row523724534116"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p102371745104116">volume_ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p6238174513419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p3238945194113">Specifies the ID of the disk used to create a replication pair.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row18238745204115"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p11520200202317">priority_station</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p052080132312">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p152013017236">Specifies the current production site AZ of the protection group containing the replication pair.</p>
|
|
<ul id="sdrs_05_0603__ul9520190172318"><li id="sdrs_05_0603__li752010032310"><strong id="sdrs_05_0603__b38099293294">source</strong>: indicates that the current production site AZ is the <strong id="sdrs_05_0603__b081082932918">source_availability_zone</strong> value.</li><li id="sdrs_05_0603__li752017012310"><strong id="sdrs_05_0603__b14382203442912">target</strong>: indicates that the current production site AZ is the <strong id="sdrs_05_0603__b138333462919">target_availability_zone</strong> value.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row418193913501"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p51291514122112">fault_level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p146221632122113">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p7391102810268">Specifies the fault level of a replication pair.</p>
|
|
<ul id="sdrs_05_0603__ul15357239152112"><li id="sdrs_05_0603__li8357239182111"><strong id="sdrs_05_0603__b84235270620364">0</strong>: No fault occurs.</li><li id="sdrs_05_0603__li9358113942114"><strong id="sdrs_05_0603__b0254829202018">2</strong>: The disk of the current production site does not have read/write permissions. In this case, you are advised to perform a failover.</li><li id="sdrs_05_0603__li193107052212"><strong id="sdrs_05_0603__b030211301215">5</strong>: The replication link is disconnected. In this case, a failover is not allowed. Contact <span id="sdrs_05_0603__text14315195475110">customer service</span>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row82381445114110"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p423874574115">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p122392454419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p192391245104118">Specifies the time when a replication pair was created.</p>
|
|
<p id="sdrs_05_0603__p1170522111317">The default format is as follows: ""yyyy-MM-ddTHH:mm:ss.SSSSSS", for example, <strong id="sdrs_05_0603__b823117472273">2019-04-01T12:00:00.000000</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row82392045114114"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p19239745174120">updated_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p16239144544115">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p12239745134118">Specifies the time when a replication pair was updated.</p>
|
|
<p id="sdrs_05_0603__p15338112513139">The default format is as follows: ""yyyy-MM-ddTHH:mm:ss.SSSSSS", for example, <strong id="sdrs_05_0603__b1288200253">2019-04-01T12:00:00.000000</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row923913456419"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p82411245114119">record_metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p724115456411">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p1424134512413">Specifies the SDR data of a replication pair.</p>
|
|
<p id="sdrs_05_0603__p1039194815514">For details, see <a href="#sdrs_05_0603__table5781813115015">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row24071171901"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="sdrs_05_0603__p16241194510417">failure_detail</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="sdrs_05_0603__p72411445104115">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="sdrs_05_0603__p17241154534117">Specifies the error code returned only when <strong id="sdrs_05_0603__b136121118251">status</strong> of a replication pair is <strong id="sdrs_05_0603__b1561917119254">error</strong>.</p>
|
|
<p id="sdrs_05_0603__p149661057101814">For details, see the returned value in <a href="en-us_topic_0113127626.html">Error Codes</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="sdrs_05_0603__table47791613195012"></a><a name="table47791613195012"></a><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0603__table47791613195012" frame="border" border="1" rules="all"><caption><b>Table 2 </b><strong id="sdrs_05_0603__b12932153714135">attachment</strong> field description</caption><thead align="left"><tr id="sdrs_05_0603__row117791138501"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.6.2.1.3.2.4.1.1"><p id="sdrs_05_0603__p577821345016">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.6.2.1.3.2.4.1.2"><p id="sdrs_05_0603__p177981375019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.6.2.1.3.2.4.1.3"><p id="sdrs_05_0603__p1677911375020">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0603__row19756649173310"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.3.2.4.1.1 "><p id="sdrs_05_0603__p157796138502">device</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.3.2.4.1.2 "><p id="sdrs_05_0603__p1877931375018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.3.2.4.1.3 "><p id="sdrs_05_0603__p1477971317507">Specifies the device name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row2077917135506"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.3.2.4.1.1 "><p id="sdrs_05_0603__p1779131305015">protected_instance</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.3.2.4.1.2 "><p id="sdrs_05_0603__p197792139509">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.3.2.4.1.3 "><p id="sdrs_05_0603__p157792132509">Specifies the ID of the protected instance to which the replication pair is attached.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="sdrs_05_0603__table5781813115015"></a><a name="table5781813115015"></a><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0603__table5781813115015" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="sdrs_05_0603__b826554651418">record_metadata</strong> field description</caption><thead align="left"><tr id="sdrs_05_0603__row16780413205018"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.6.2.1.4.2.4.1.1"><p id="sdrs_05_0603__p1478061314507">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.6.2.1.4.2.4.1.2"><p id="sdrs_05_0603__p8780181335010">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.6.2.1.4.2.4.1.3"><p id="sdrs_05_0603__p187803137501">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0603__row17780131355017"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.4.2.4.1.1 "><p id="sdrs_05_0603__p1878001305012">multiattach</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.4.2.4.1.2 "><p id="sdrs_05_0603__p3780513115013">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.4.2.4.1.3 "><p id="sdrs_05_0603__p4780413155010">Specifies whether the disk in a replication pair is a shared disk.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row678011315014"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.4.2.4.1.1 "><p id="sdrs_05_0603__p11780913175018">bootable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.4.2.4.1.2 "><p id="sdrs_05_0603__p1978017134502">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.4.2.4.1.3 "><p id="sdrs_05_0603__p7780101395019">Specifies whether the disk in a replication pair is a system disk.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row8781713105015"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.4.2.4.1.1 "><p id="sdrs_05_0603__p15781121315010">volume_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.4.2.4.1.2 "><p id="sdrs_05_0603__p378101375019">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.4.2.4.1.3 "><p id="sdrs_05_0603__p17781121375016">Specifies the size of the disk in a replication pair. Unit: GB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__row778112135503"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.6.2.1.4.2.4.1.1 "><p id="sdrs_05_0603__p207811913155015">volume_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.6.2.1.4.2.4.1.2 "><p id="sdrs_05_0603__p2781131318506">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.6.2.1.4.2.4.1.3 "><p id="sdrs_05_0603__p14380476104717">Specifies the type of the disk in a replication pair.</p>
|
|
<div class="p" id="sdrs_05_0603__p12887229134510">The value can be <strong id="sdrs_05_0603__b15583185913314">SSD</strong>, <strong id="sdrs_05_0603__b25831559153116">SAS</strong>, <strong id="sdrs_05_0603__b6583459103119">SATA</strong>, <strong id="sdrs_05_0603__b758455963116">co-p1</strong>, or <strong id="sdrs_05_0603__b85841959193119">uh-l1</strong>.<ul id="sdrs_05_0603__en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_ul11489121916439"><li id="sdrs_05_0603__en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li15488111934310"><strong id="sdrs_05_0603__b1949717351407">SSD</strong>: the ultra-high I/O type</li><li id="sdrs_05_0603__en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li0488119194318"><strong id="sdrs_05_0603__b19334143818402">SAS</strong>: the high I/O type</li><li id="sdrs_05_0603__en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li348881917438"><strong id="sdrs_05_0603__b14953114318405">SATA</strong>: the common I/O type</li><li id="sdrs_05_0603__en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li848817193433"><strong id="sdrs_05_0603__b5534174619408">co-p1</strong>: the high I/O (performance-optimized I) type</li><li id="sdrs_05_0603__en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li548917194430"><strong id="sdrs_05_0603__b891505354015">uh-l1</strong>: the ultra-high I/O (latency-optimized) type</li><li id="sdrs_05_0603__en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li17697121195818"><p id="sdrs_05_0603__en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_p19697421145811"><a name="sdrs_05_0603__en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li17697121195818"></a><a name="en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li17697121195818"></a>The <strong id="sdrs_05_0603__b8578423174113">co-p1</strong> and <strong id="sdrs_05_0603__b19579202384114">uh-l1</strong> types of disks are used exclusively for HPC ECSs and SAP HANA ECSs.</p>
|
|
<p id="sdrs_05_0603__p257012433517">The extreme SSD type is currently not supported.</p>
|
|
</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="sdrs_05_0603__ul57833136502"><li id="sdrs_05_0603__li17783171355013">Example response<pre class="screen" id="sdrs_05_0603__screen2782171345017">{
|
|
"count": 1,
|
|
"replications": [
|
|
{
|
|
"id": "b93bc1c4-67ee-45a1-bc8a-d022fdd28811",
|
|
"name": "test_replication_name",
|
|
"description": "description_test",
|
|
"replication_model": "hypermetro",
|
|
"status": "available",
|
|
"progress": 0,
|
|
"replication_status": "active",
|
|
"attachment": [
|
|
{
|
|
"device": "/dev/vda",
|
|
"protected_instance": "8a7a6339-679b-452b-948c-144e0ef85d9e"
|
|
}
|
|
],
|
|
"server_group_id": "c2aee29a-2959-4d01-9755-01cc76a4d17d",
|
|
"volume_ids": "48dda0c0-c800-46f2-9728-a519ff783d35,388b324a-a9d1-44a4-a00d-42085f22a9bc",
|
|
"priority_station": "source",
|
|
"fault_level": "0",
|
|
"created_at": "2018-05-04T03:43:24.108526",
|
|
"updated_at": "2018-05-04T03:44:28.322873",
|
|
"record_metadata": {
|
|
"multiattach": false,
|
|
"bootable": false,
|
|
"volume_size": 10,
|
|
"volume_type": "SATA"
|
|
}
|
|
}
|
|
]
|
|
}</pre>
|
|
<p id="sdrs_05_0603__p578241375012">Or</p>
|
|
<pre class="screen" id="sdrs_05_0603__screen9783213205012">{
|
|
"error": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
<p id="sdrs_05_0603__p9783413105018">In this example, <strong id="sdrs_05_0603__b995110110178">error</strong> represents a general error, including <strong id="sdrs_05_0603__b6952711179">badrequest</strong> (shown below) and <strong id="sdrs_05_0603__b1295315112172">itemNotFound</strong>.</p>
|
|
<pre class="screen" id="sdrs_05_0603__screen13783171318506">{
|
|
"badrequest": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0603__en-us_topic_0079693002_section60507121"><h4 class="sectiontitle">Returned Values</h4><ul id="sdrs_05_0603__en-us_topic_0079693002_ul18743339"><li id="sdrs_05_0603__li37400248244">Normal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0603__sdrs_05_0101_table4315991194956" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0603__sdrs_05_0101_row2336641294956"><th align="left" class="cellrowborder" valign="top" width="42.59%" id="mcps1.3.7.2.1.1.1.3.1.1"><p id="sdrs_05_0603__sdrs_05_0101_p1363125894956">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.410000000000004%" id="mcps1.3.7.2.1.1.1.3.1.2"><p id="sdrs_05_0603__sdrs_05_0101_p3039012494956">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0603__sdrs_05_0101_row507566794956"><td class="cellrowborder" valign="top" width="42.59%" headers="mcps1.3.7.2.1.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p847584694956">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.410000000000004%" headers="mcps1.3.7.2.1.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p1545496394956">The server has accepted the request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="sdrs_05_0603__li13951479">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0603__sdrs_05_0101_table22458872203835" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0603__sdrs_05_0101_row35704554203835"><th align="left" class="cellrowborder" valign="top" width="43.419999999999995%" id="mcps1.3.7.2.2.1.1.3.1.1"><p id="sdrs_05_0603__sdrs_05_0101_p6387753203835">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.58%" id="mcps1.3.7.2.2.1.1.3.1.2"><p id="sdrs_05_0603__sdrs_05_0101_p47646009203835">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0603__sdrs_05_0101_row34121538203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p12381163203835">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p63350108203835">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row33280063203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p11330608203835">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p45364094203835">You must enter a username and the password to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row5623667203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p52863895203835">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p54117066203835">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row17291554203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p58438642203835">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p35909542203835">The server could not find the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row54750425203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p5599455203835">405 Method Not Allowed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p50902717203835">You are not allowed to use the method specified in the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row55471277203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p63988484203835">406 Not Acceptable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p15684678203835">The response generated by the server could not be accepted by the client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row6944380203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p25623884203835">407 Proxy Authentication Required</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p62268733203835">You must use the proxy server for authentication so that the request can be processed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row23547689203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p28314670203835">408 Request Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p11786919203835">The request timed out.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row38973411203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p2729702203835">409 Conflict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p19779281203835">The request could not be processed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row43795805203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p57799353203835">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p51235984203835">Failed to complete the request because of a service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row58470678203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p38504500203835">501 Not Implemented</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p31856770203835">Failed to complete the request because the server does not support the requested function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row18275474203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p3918444203835">502 Bad Gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p48958538203835">Failed to complete the request because the server receives an invalid response from an upstream server.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row37973662203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p55967806203835">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p37098455203835">Failed to complete the request because the system is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0603__sdrs_05_0101_row65450640203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="sdrs_05_0603__sdrs_05_0101_p67010448203835">504 Gateway Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="sdrs_05_0603__sdrs_05_0101_p59137180203835">A gateway timeout error occurred.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="sdrs_05_0600.html">Replication Pair</a></div>
|
|
</div>
|
|
</div>
|
|
|