doc-exports/docs/sdrs/api-ref/sdrs_05_0604.html
zhangyue 55da809bbb SDRS API Doc
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2023-02-10 10:40:03 +00:00

416 lines
35 KiB
HTML

<a name="sdrs_05_0604"></a><a name="sdrs_05_0604"></a>
<h1 class="topictitle1">Querying Details About a Replication Pair</h1>
<div id="body1524795306610"><div class="section" id="sdrs_05_0604__en-us_topic_0079693002_section34649765"><h4 class="sectiontitle">Function</h4><p id="sdrs_05_0604__en-us_topic_0079693002_p9084369">This API is used to query the details about a replication pair.</p>
</div>
<div class="section" id="sdrs_05_0604__section14394105720412"><h4 class="sectiontitle">Constraints and Limitations</h4><p id="sdrs_05_0604__p139175924111">None</p>
</div>
<div class="section" id="sdrs_05_0604__en-us_topic_0079693002_section39390935"><h4 class="sectiontitle">URI</h4><ul id="sdrs_05_0604__en-us_topic_0079693002_ul52084342"><li id="sdrs_05_0604__en-us_topic_0079693002_li66105898">URI format<p id="sdrs_05_0604__en-us_topic_0079693002_p212314194247"><a name="sdrs_05_0604__en-us_topic_0079693002_li66105898"></a><a name="en-us_topic_0079693002_li66105898"></a>GET /v1/{project_id}/replications/{replication_id}</p>
</li><li id="sdrs_05_0604__en-us_topic_0079693002_li52977523">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0604__en-us_topic_0079693002_table63321005" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0604__en-us_topic_0079693002_row37593218"><th align="left" class="cellrowborder" valign="top" width="29.76%" id="mcps1.3.3.2.2.1.1.4.1.1"><p id="sdrs_05_0604__en-us_topic_0079693002_p25151854">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.67%" id="mcps1.3.3.2.2.1.1.4.1.2"><p id="sdrs_05_0604__en-us_topic_0079693002_p1556805116115">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.57000000000001%" id="mcps1.3.3.2.2.1.1.4.1.3"><p id="sdrs_05_0604__en-us_topic_0079693002_p2565159161120">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0604__en-us_topic_0079693002_row29123463"><td class="cellrowborder" valign="top" width="29.76%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="sdrs_05_0604__p1955525154517">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.67%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="sdrs_05_0604__p1555195114518">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="53.57000000000001%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="sdrs_05_0604__p655525119457">Specifies the project ID.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row209064399310"><td class="cellrowborder" valign="top" width="29.76%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="sdrs_05_0604__p14555451204519">replication_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.67%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="sdrs_05_0604__p1555545124511">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="53.57000000000001%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="sdrs_05_0604__p555555110456">Specifies the ID of a replication pair.</p>
<p id="sdrs_05_0604__p1427173615218">You can obtain this value by calling the API described in <a href="sdrs_05_0603.html">Querying Replication Pairs</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="sdrs_05_0604__en-us_topic_0079693002_section18974100"><h4 class="sectiontitle">Request</h4><ul id="sdrs_05_0604__ul128033962915"><li id="sdrs_05_0604__li1114894642520">Request parameters<p id="sdrs_05_0604__p128194492254"><a name="sdrs_05_0604__li1114894642520"></a><a name="li1114894642520"></a>None</p>
</li><li id="sdrs_05_0604__li328017391293">Example request<p id="sdrs_05_0604__p9298191917305"><a name="sdrs_05_0604__li328017391293"></a><a name="li328017391293"></a>GET https://{Endpoint}/v1/{project_id}/replications/b93bc1c4-67ee-45a1-bc8a-d022fdd28811</p>
</li></ul>
</div>
<div class="section" id="sdrs_05_0604__en-us_topic_0079693002_section36549175"><h4 class="sectiontitle">Response</h4><ul id="sdrs_05_0604__en-us_topic_0079693002_ul48735027"><li id="sdrs_05_0604__en-us_topic_0079693002_li35962059">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0604__table155991608555" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0604__row460510055518"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.5.2.1.1.1.4.1.1"><p id="sdrs_05_0604__p19409173684810">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.5.2.1.1.1.4.1.2"><p id="sdrs_05_0604__p941053617485">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.5.2.1.1.1.4.1.3"><p id="sdrs_05_0604__p74105367482">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0604__row86164025512"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="sdrs_05_0604__p6840181219244">replication</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="sdrs_05_0604__p18840181222411">Object</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="sdrs_05_0604__p5840712122416">Specifies the information about a replication pair.</p>
<p id="sdrs_05_0604__p239671215525">For details, see <a href="#sdrs_05_0604__table84048224492">Table 1</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="sdrs_05_0604__table84048224492"></a><a name="table84048224492"></a><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0604__table84048224492" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="sdrs_05_0604__b1351522603612">replication</strong> field description</caption><thead align="left"><tr id="sdrs_05_0604__row258022264919"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.5.2.1.2.2.4.1.1"><p id="sdrs_05_0604__p7580222114911">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.5.2.1.2.2.4.1.2"><p id="sdrs_05_0604__p658017226491">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.5.2.1.2.2.4.1.3"><p id="sdrs_05_0604__p858162214494">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0604__row558172244916"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p12581722154920">id</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p155812022124920">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p19581322154910">Specifies the ID of a replication pair.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row6581922124910"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p6581132214919">name</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p958162284920">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p1758172217497">Specifies the name of a replication pair.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row10581132294910"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p1458182224913">description</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p1658162274918">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p6581142234917">Specifies the description of a replication pair.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row24151831192816"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p958352219493">replication_model</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p1958302220497">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p758322214914">Specifies the replication mode of a replication pair. The default value is <strong id="sdrs_05_0604__b01721019506">hypermetro</strong>, indicating synchronous replication.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row185811122114912"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p558192224911">status</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p13581152213492">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p758115222495">Specifies the status of a replication pair. For details, see <a href="en-us_topic_0126152932.html">Replication Pair Status</a>.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row18952102202911"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p1058415222498">progress</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p1358492224911">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p13584142264910">Specifies the synchronization progress of a replication pair.</p>
<p id="sdrs_05_0604__p125841322144911">Unit: %</p>
</td>
</tr>
<tr id="sdrs_05_0604__row752590155911"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p1931012731819">replication_status</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p19589849375">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p17310171185">Specifies the data synchronization status.</p>
<ul id="sdrs_05_0604__ul1231014717183"><li id="sdrs_05_0604__li203102715189"><strong id="sdrs_05_0604__b169761184917">active</strong>: Data has been synchronized.</li><li id="sdrs_05_0604__li1059834019195"><strong id="sdrs_05_0604__b8316151014910">inactive</strong>: Data is not synchronized.</li><li id="sdrs_05_0604__li1592032682617"><strong id="sdrs_05_0604__b91417111395">copying</strong>: Data is being synchronized.</li><li id="sdrs_05_0604__li1886012381267"><strong id="sdrs_05_0604__b1778019121892">active-stopped</strong>: Data synchronization is stopped.</li></ul>
</td>
</tr>
<tr id="sdrs_05_0604__row221493292917"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p75811922164919">attachment</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p201191223013">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p2583122144910">Specifies the device name.</p>
<p id="sdrs_05_0604__p159014171534">For details, see <a href="#sdrs_05_0604__table03591028145217">Table 2</a>.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row155036470297"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p1310134114816">server_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p171011454814">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p181074144815">Specifies the ID of a protection group.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row55811622124919"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p65811822104915">volume_ids</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p1858118221496">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p558142274912">Specifies the ID of the disk used to create a replication pair.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row13581922194914"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p210940487">priority_station</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p910134174818">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p14104484816">Specifies the current production site AZ of the protection group containing the replication pair.</p>
<ul id="sdrs_05_0604__ul3102418482"><li id="sdrs_05_0604__li1910154104815"><strong id="sdrs_05_0604__b6129886568">source</strong>: indicates that the current production site AZ is the <strong id="sdrs_05_0604__b11130188195610">source_availability_zone</strong> value.</li><li id="sdrs_05_0604__li686712854815"><strong id="sdrs_05_0604__b10871143125611">target</strong>: indicates that the current production site AZ is the <strong id="sdrs_05_0604__b38884315566">target_availability_zone</strong> value.</li></ul>
</td>
</tr>
<tr id="sdrs_05_0604__row18606162620306"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p2584122213498">fault_level</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p15584172274917">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p155848220495">Specifies the fault level of a replication pair.</p>
<ul id="sdrs_05_0604__ul2584112215491"><li id="sdrs_05_0604__li858415223497"><strong id="sdrs_05_0604__b1237212459139">0</strong>: No fault occurs.</li><li id="sdrs_05_0604__li95841922204913"><strong id="sdrs_05_0604__b1677475415514">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_0604__li15848229497"><strong id="sdrs_05_0604__b206395182253">5</strong>: The replication link is disconnected. In this case, a failover is not allowed. Contact <span id="sdrs_05_0604__text1533123393119">customer service</span>.</li></ul>
</td>
</tr>
<tr id="sdrs_05_0604__row6583162264917"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p195833226491">created_at</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p85831022194913">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p558352217495">Specifies the time when a replication pair was created.</p>
<p id="sdrs_05_0604__p852335742213">The default format is as follows: ""yyyy-MM-ddTHH:mm:ss.SSSSSS", for example, <strong id="sdrs_05_0604__b823117472273">2019-04-01T12:00:00.000000</strong>.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row25831822194911"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p11583152211495">updated_at</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p258312210493">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p185831822184915">Specifies the time when a replication pair was updated.</p>
<p id="sdrs_05_0604__p942310122313">The default format is as follows: ""yyyy-MM-ddTHH:mm:ss.SSSSSS", for example, <strong id="sdrs_05_0604__b123101593135">2019-04-01T12:00:00.000000</strong>.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row185831822184918"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p65841722164911">record_metadata</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p6584132211492">Object</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p4584722164919">Specifies the SDR data of a replication pair.</p>
<p id="sdrs_05_0604__p2310353125317">For details, see <a href="#sdrs_05_0604__table1636242815523">Table 3</a>.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row95841322154913"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0604__p15848228493">failure_detail</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0604__p058462216499">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0604__p1258419228499">Specifies the error code returned only when <strong id="sdrs_05_0604__b136121118251">status</strong> of a replication pair is <strong id="sdrs_05_0604__b1561917119254">error</strong>.</p>
<p id="sdrs_05_0604__p355010444262">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_0604__table03591028145217"></a><a name="table03591028145217"></a><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0604__table03591028145217" frame="border" border="1" rules="all"><caption><b>Table 2 </b><strong id="sdrs_05_0604__b135817204308">attachment</strong> field description</caption><thead align="left"><tr id="sdrs_05_0604__row635882865210"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.5.2.1.3.2.4.1.1"><p id="sdrs_05_0604__p173585289526">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.5.2.1.3.2.4.1.2"><p id="sdrs_05_0604__p14358192811524">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.5.2.1.3.2.4.1.3"><p id="sdrs_05_0604__p16358132815220">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0604__row267413352"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="sdrs_05_0604__p435982835213">device</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="sdrs_05_0604__p6359192810529">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="sdrs_05_0604__p2359528105212">Specifies the device name.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row63591128105213"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="sdrs_05_0604__p4359102819529">protected_instance</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="sdrs_05_0604__p13359172811521">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="sdrs_05_0604__p53593287528">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_0604__table1636242815523"></a><a name="table1636242815523"></a><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0604__table1636242815523" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="sdrs_05_0604__b8558175710300">record_metadata</strong> field description</caption><thead align="left"><tr id="sdrs_05_0604__row13360172815217"><th align="left" class="cellrowborder" valign="top" width="29.07%" id="mcps1.3.5.2.1.4.2.4.1.1"><p id="sdrs_05_0604__p93605283527">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.5.2.1.4.2.4.1.2"><p id="sdrs_05_0604__p0360162845212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.5.2.1.4.2.4.1.3"><p id="sdrs_05_0604__p1836062855220">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0604__row336015282524"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="sdrs_05_0604__p03601628125218">multiattach</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="sdrs_05_0604__p19360628165219">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="sdrs_05_0604__p636022895213">Specifies whether the disk in a replication pair is a shared disk.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row736222820524"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="sdrs_05_0604__p536272814529">bootable</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="sdrs_05_0604__p15362162815218">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="sdrs_05_0604__p14362142817528">Specifies whether the disk in a replication pair is a system disk.</p>
</td>
</tr>
<tr id="sdrs_05_0604__row436215284528"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="sdrs_05_0604__p83621528105212">volume_size</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="sdrs_05_0604__p4362102815217">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="sdrs_05_0604__p143621528205213">Specifies the size of the disk in a replication pair. Unit: GB</p>
</td>
</tr>
<tr id="sdrs_05_0604__row53621284522"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="sdrs_05_0604__p1736212815211">volume_type</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="sdrs_05_0604__p536213287526">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="sdrs_05_0604__p14380476104717">Specifies the type of the disk in a replication pair.</p>
<div class="p" id="sdrs_05_0604__p322212531483">The value can be <strong id="sdrs_05_0604__sdrs_05_0603_b15583185913314">SSD</strong>, <strong id="sdrs_05_0604__sdrs_05_0603_b25831559153116">SAS</strong>, <strong id="sdrs_05_0604__sdrs_05_0603_b6583459103119">SATA</strong>, <strong id="sdrs_05_0604__sdrs_05_0603_b758455963116">co-p1</strong>, or <strong id="sdrs_05_0604__sdrs_05_0603_b85841959193119">uh-l1</strong>.<ul id="sdrs_05_0604__sdrs_05_0603_en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_ul11489121916439"><li id="sdrs_05_0604__sdrs_05_0603_en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li15488111934310"><strong id="sdrs_05_0604__sdrs_05_0603_b1949717351407">SSD</strong>: the ultra-high I/O type</li><li id="sdrs_05_0604__sdrs_05_0603_en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li0488119194318"><strong id="sdrs_05_0604__sdrs_05_0603_b19334143818402">SAS</strong>: the high I/O type</li><li id="sdrs_05_0604__sdrs_05_0603_en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li348881917438"><strong id="sdrs_05_0604__sdrs_05_0603_b14953114318405">SATA</strong>: the common I/O type</li><li id="sdrs_05_0604__sdrs_05_0603_en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li848817193433"><strong id="sdrs_05_0604__sdrs_05_0603_b5534174619408">co-p1</strong>: the high I/O (performance-optimized I) type</li><li id="sdrs_05_0604__sdrs_05_0603_en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li548917194430"><strong id="sdrs_05_0604__sdrs_05_0603_b891505354015">uh-l1</strong>: the ultra-high I/O (latency-optimized) type</li><li id="sdrs_05_0604__sdrs_05_0603_en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li17697121195818"><p id="sdrs_05_0604__sdrs_05_0603_en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_p19697421145811"><a name="sdrs_05_0604__sdrs_05_0603_en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li17697121195818"></a><a name="sdrs_05_0603_en-us_topic_0094124248_en-us_topic_0044524833_en-us_topic_0094124248_li17697121195818"></a>The <strong id="sdrs_05_0604__sdrs_05_0603_b8578423174113">co-p1</strong> and <strong id="sdrs_05_0604__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_0604__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_0604__ul1636417284521"><li id="sdrs_05_0604__li8364128155220">Example response<pre class="screen" id="sdrs_05_0604__screen1436452865217">{
"replication":
{
"id": "b93bc1c4-67ee-45a1-bc8a-d022fdd28811",
"name": "test_sdrs_replication",
"description": "test_description",
"replication_model": "hypermetro",
"status": "available",
"progress": 0,
"replication_status": "active",
"attachment": [
{
"device": "/dev/vda",
"protected_instance": "8a7a6339-679b-452b-948c-144e0ef85d9c"
}
],
"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_0604__p17364228115219">Or</p>
<pre class="screen" id="sdrs_05_0604__screen9364828175217">{
"error": {
"message": "XXXX",
"code": "XXX"
}
}</pre>
<p id="sdrs_05_0604__p236462811529">In this example, <strong id="sdrs_05_0604__b14510533312">error</strong> represents a general error, including <strong id="sdrs_05_0604__b8714534315">badrequest</strong> (shown below) and <strong id="sdrs_05_0604__b8813535316">itemNotFound</strong>.</p>
<pre class="screen" id="sdrs_05_0604__screen936412287528">{
"badrequest": {
"message": "XXXX",
"code": "XXX"
}
}</pre>
</li></ul>
</div>
<div class="section" id="sdrs_05_0604__en-us_topic_0079693002_section60507121"><h4 class="sectiontitle">Returned Values</h4><ul id="sdrs_05_0604__en-us_topic_0079693002_ul18743339"><li id="sdrs_05_0604__li37400248244">Normal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0604__sdrs_05_0101_table4315991194956" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0604__sdrs_05_0101_row2336641294956"><th align="left" class="cellrowborder" valign="top" width="42.59%" id="mcps1.3.6.2.1.1.1.3.1.1"><p id="sdrs_05_0604__sdrs_05_0101_p1363125894956">Returned Value</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="57.410000000000004%" id="mcps1.3.6.2.1.1.1.3.1.2"><p id="sdrs_05_0604__sdrs_05_0101_p3039012494956">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0604__sdrs_05_0101_row507566794956"><td class="cellrowborder" valign="top" width="42.59%" headers="mcps1.3.6.2.1.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p847584694956">200</p>
</td>
<td class="cellrowborder" valign="top" width="57.410000000000004%" headers="mcps1.3.6.2.1.1.1.3.1.2 "><p id="sdrs_05_0604__sdrs_05_0101_p1545496394956">The server has accepted the request.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="sdrs_05_0604__li13951479">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0604__sdrs_05_0101_table22458872203835" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0604__sdrs_05_0101_row35704554203835"><th align="left" class="cellrowborder" valign="top" width="43.419999999999995%" id="mcps1.3.6.2.2.1.1.3.1.1"><p id="sdrs_05_0604__sdrs_05_0101_p6387753203835">Returned Value</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="56.58%" id="mcps1.3.6.2.2.1.1.3.1.2"><p id="sdrs_05_0604__sdrs_05_0101_p47646009203835">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0604__sdrs_05_0101_row34121538203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p12381163203835">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__sdrs_05_0101_p63350108203835">The server failed to process the request.</p>
</td>
</tr>
<tr id="sdrs_05_0604__sdrs_05_0101_row33280063203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p11330608203835">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__sdrs_05_0101_p45364094203835">You must enter a username and the password to access the requested page.</p>
</td>
</tr>
<tr id="sdrs_05_0604__sdrs_05_0101_row5623667203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p52863895203835">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__sdrs_05_0101_p54117066203835">You are forbidden to access the requested page.</p>
</td>
</tr>
<tr id="sdrs_05_0604__sdrs_05_0101_row17291554203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p58438642203835">404 Not Found</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__sdrs_05_0101_p35909542203835">The server could not find the requested page.</p>
</td>
</tr>
<tr id="sdrs_05_0604__sdrs_05_0101_row54750425203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p5599455203835">405 Method Not Allowed</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__sdrs_05_0101_p50902717203835">You are not allowed to use the method specified in the request.</p>
</td>
</tr>
<tr id="sdrs_05_0604__sdrs_05_0101_row55471277203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p63988484203835">406 Not Acceptable</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__sdrs_05_0101_p15684678203835">The response generated by the server could not be accepted by the client.</p>
</td>
</tr>
<tr id="sdrs_05_0604__sdrs_05_0101_row6944380203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p25623884203835">407 Proxy Authentication Required</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__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_0604__sdrs_05_0101_row23547689203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p28314670203835">408 Request Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__sdrs_05_0101_p11786919203835">The request timed out.</p>
</td>
</tr>
<tr id="sdrs_05_0604__sdrs_05_0101_row38973411203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p2729702203835">409 Conflict</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__sdrs_05_0101_p19779281203835">The request could not be processed due to a conflict.</p>
</td>
</tr>
<tr id="sdrs_05_0604__sdrs_05_0101_row43795805203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p57799353203835">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__sdrs_05_0101_p51235984203835">Failed to complete the request because of a service error.</p>
</td>
</tr>
<tr id="sdrs_05_0604__sdrs_05_0101_row58470678203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p38504500203835">501 Not Implemented</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__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_0604__sdrs_05_0101_row18275474203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p3918444203835">502 Bad Gateway</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__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_0604__sdrs_05_0101_row37973662203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p55967806203835">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__sdrs_05_0101_p37098455203835">Failed to complete the request because the system is unavailable.</p>
</td>
</tr>
<tr id="sdrs_05_0604__sdrs_05_0101_row65450640203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sdrs_05_0604__sdrs_05_0101_p67010448203835">504 Gateway Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sdrs_05_0604__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>