doc-exports/docs/sdrs/api-ref/sdrs_05_0403.html
Wei, Hongmin ab56d080fb SDRS API initial version
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com>
Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
2022-10-26 13:51:50 +00:00

427 lines
34 KiB
HTML

<a name="sdrs_05_0403"></a><a name="sdrs_05_0403"></a>
<h1 class="topictitle1">Querying the Details of a Protection Group</h1>
<div id="body1524795306609"><div class="section" id="sdrs_05_0403__en-us_topic_0079693002_section34649765"><h4 class="sectiontitle">Function</h4><p id="sdrs_05_0403__en-us_topic_0079693002_p9084369">This API is used to query the details about a protection group, such as the protection group ID and name.</p>
</div>
<div class="section" id="sdrs_05_0403__section1786733742514"><h4 class="sectiontitle">Constraints and Limitations</h4><p id="sdrs_05_0403__p68863379258">None</p>
</div>
<div class="section" id="sdrs_05_0403__en-us_topic_0079693002_section39390935"><h4 class="sectiontitle">URI</h4><ul id="sdrs_05_0403__en-us_topic_0079693002_ul52084342"><li id="sdrs_05_0403__en-us_topic_0079693002_li66105898">URI format<p id="sdrs_05_0403__en-us_topic_0079693002_p212314194247"><a name="sdrs_05_0403__en-us_topic_0079693002_li66105898"></a><a name="en-us_topic_0079693002_li66105898"></a>GET /v1/{project_id}/server-groups/{server_group_id}</p>
</li><li id="sdrs_05_0403__en-us_topic_0079693002_li52977523">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0403__en-us_topic_0079693002_table63321005" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0403__en-us_topic_0079693002_row37593218"><th align="left" class="cellrowborder" valign="top" width="21.782178217821784%" id="mcps1.3.3.2.2.1.1.5.1.1"><p id="sdrs_05_0403__p196932036702">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.841584158415841%" id="mcps1.3.3.2.2.1.1.5.1.2"><p id="sdrs_05_0403__p7693736605">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.871287128712872%" id="mcps1.3.3.2.2.1.1.5.1.3"><p id="sdrs_05_0403__p7693123615017">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_0403__p16693103614011">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0403__en-us_topic_0079693002_row29123463"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.3.2.2.1.1.5.1.1 "><p id="sdrs_05_0403__p1693173618016">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="15.841584158415841%" headers="mcps1.3.3.2.2.1.1.5.1.2 "><p id="sdrs_05_0403__p1169314369015">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.871287128712872%" headers="mcps1.3.3.2.2.1.1.5.1.3 "><p id="sdrs_05_0403__p869333614015">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_0403__p186931736008">Specifies the project ID.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row641619276586"><td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.3.2.2.1.1.5.1.1 "><p id="sdrs_05_0403__p116934369015">server_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="15.841584158415841%" headers="mcps1.3.3.2.2.1.1.5.1.2 "><p id="sdrs_05_0403__p6693133618014">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.871287128712872%" headers="mcps1.3.3.2.2.1.1.5.1.3 "><p id="sdrs_05_0403__p26930362014">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_0403__p206933364011">Specifies the ID of a protection group.</p>
<p id="sdrs_05_0403__p1214719284341">For details, see <a href="sdrs_05_0402.html">Querying Protection Groups</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="sdrs_05_0403__en-us_topic_0079693002_section18974100"><h4 class="sectiontitle">Request</h4><ul id="sdrs_05_0403__ul162563269168"><li id="sdrs_05_0403__li1043725516297">Request parameters<p id="sdrs_05_0403__p1720811593297"><a name="sdrs_05_0403__li1043725516297"></a><a name="li1043725516297"></a>None</p>
</li><li id="sdrs_05_0403__li192561126191615">Example request<p id="sdrs_05_0403__p882818165110"><a name="sdrs_05_0403__li192561126191615"></a><a name="li192561126191615"></a>GET https://{Endpoint}/v1/{project_id}/server-groups/decf224d-87fe-403a-8721-037a1a45c287</p>
</li></ul>
</div>
<div class="section" id="sdrs_05_0403__en-us_topic_0079693002_section36549175"><h4 class="sectiontitle">Response</h4><ul id="sdrs_05_0403__ul113020715187"><li id="sdrs_05_0403__li930297191810">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0403__table196985615184" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0403__row5304167101814"><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_0403__p15304077181">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_0403__p10304197101814">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_0403__p1305127141811">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0403__row17305107191820"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="sdrs_05_0403__p1130516781816">server_group</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_0403__p5305479182">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_0403__p1430516717182">Specifies the details of a protection group.</p>
<p id="sdrs_05_0403__p0854195513214">For details, see <a href="#sdrs_05_0403__table137214610187">Table 1</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="sdrs_05_0403__table137214610187"></a><a name="table137214610187"></a><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0403__table137214610187" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="sdrs_05_0403__b14982274582">server_group</strong> field description</caption><thead align="left"><tr id="sdrs_05_0403__row1130511721816"><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_0403__p183059712186">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.509999999999998%" id="mcps1.3.5.2.1.2.2.4.1.2"><p id="sdrs_05_0403__p23051875185">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="54.42%" id="mcps1.3.5.2.1.2.2.4.1.3"><p id="sdrs_05_0403__p2305177171819">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0403__row43053721816"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p4305572182">id</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p1305157191815">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p730567191810">Specifies the ID of a protection group.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row1630619761819"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p133061675183">name</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p113066713185">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p18306207121820">Specifies the name of a protection group.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row9306575181"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p6306197101817">description</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p133060719181">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p1930647121816">Specifies the description of a protection group.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row163061701813"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p63062076187">status</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p10306167101820">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p3306197181814">Specifies the status of a protection group.</p>
<p id="sdrs_05_0403__p22471848111518">For details, see <a href="en-us_topic_0126152930.html">Protection Group Status</a>.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row1730615713189"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p113062720188">progress</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p1830712716181">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p1330727191818">Specifies the synchronization progress of a protection group.</p>
<p id="sdrs_05_0403__p12307127121818">Unit: %</p>
</td>
</tr>
<tr id="sdrs_05_0403__row0307975181"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p930712741820">source_availability_zone</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p2307187201810">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p1924824245820">Specifies the production site AZ configured when a protection group is created.</p>
<p id="sdrs_05_0403__p17155343195615">The value does not change after a planned failover or failover.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row133074741820"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p23071473186">target_availability_zone</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p13074710185">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p1324834217585">Specifies the DR site AZ configured when a protection group is created.</p>
<p id="sdrs_05_0403__p17776141625919">The value does not change after a planned failover or failover.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row173070741817"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p7307197131813">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p1030716741814">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p14307127171813">Specifies the ID of an active-active domain.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row43071177184"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p530720717188">domain_name</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p13307078184">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p6307187191819">Specifies the name of an active-active domain.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row33071473183"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p20307776181">priority_station</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p13097721818">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p131071535152615">Specifies the current production site of a protection group.</p>
<ul id="sdrs_05_0403__ul1610773522614"><li id="sdrs_05_0403__li1610713514266"><strong id="sdrs_05_0403__b112131138183817">source</strong>: indicates that the current production site AZ is the <strong id="sdrs_05_0403__b18213238203816">source_availability_zone</strong> value.</li><li id="sdrs_05_0403__li167713375262"><strong id="sdrs_05_0403__b26381540153815">target</strong>: indicates that the current production site AZ is the <strong id="sdrs_05_0403__b263924019387">target_availability_zone</strong> value.</li></ul>
</td>
</tr>
<tr id="sdrs_05_0403__row730997181811"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p1030967161815">protected_instance_num</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p1230927121811">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p630910719185">Specifies the number of protected instances in a protection group.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row33091771811"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p83096710185">replication_num</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p8309579186">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p102251831191914">Specifies the number of replication pairs in a protection group.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row142115237160"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p19950730121614">disaster_recovery_drill_num</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p19950123010166">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p179501630181613">Specifies the number of DR drills in a protection group.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row33091373185"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p43098714185">protected_status</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p2030916710184">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p730947201815">Specifies whether protection is enabled or not.</p>
<ul id="sdrs_05_0403__ul11309167101820"><li id="sdrs_05_0403__li113096714184"><strong id="sdrs_05_0403__b1415212501284">started</strong>: Protection is enabled.</li><li id="sdrs_05_0403__li176106369194"><strong id="sdrs_05_0403__b136645542817">stopped</strong>: Protection is disabled.</li></ul>
<div class="note" id="sdrs_05_0403__note76221353195215"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="sdrs_05_0403__p162255319523">The system is upgraded recently. For protection groups created after the upgrade, the value of this parameter is <strong id="sdrs_05_0403__b16984252153816">null</strong>.</p>
</div></div>
</td>
</tr>
<tr id="sdrs_05_0403__row13107791817"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p1931012731819">replication_status</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p17310197171819">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p17310171185">Specifies the data synchronization status.</p>
<ul id="sdrs_05_0403__ul1231014717183"><li id="sdrs_05_0403__li203102715189"><strong id="sdrs_05_0403__b45671721496">active</strong>: Data has been synchronized.</li><li id="sdrs_05_0403__li1059834019195"><strong id="sdrs_05_0403__b1479811519913">inactive</strong>: Data is not synchronized.</li><li id="sdrs_05_0403__li1592032682617"><strong>copying</strong>: Data is being synchronized.</li><li id="sdrs_05_0403__li1886012381267"><strong id="sdrs_05_0403__b873942274910">active-stopped</strong>: Data synchronization is stopped.</li></ul>
<div class="note" id="sdrs_05_0403__note6413165811363"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="sdrs_05_0403__p1041435815367">The system is upgraded recently. For protection groups created after the upgrade, the value of this parameter is <strong id="sdrs_05_0403__b867518823610">null</strong>.</p>
</div></div>
</td>
</tr>
<tr id="sdrs_05_0403__row123104715180"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p1731018713187">health_status</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p183104716183">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p173104711182">Specifies the health status of a protection group.</p>
<ul id="sdrs_05_0403__ul1431027201816"><li id="sdrs_05_0403__li23101577185"><strong id="sdrs_05_0403__b573101420919">normal</strong>: The protection group is normal.</li><li id="sdrs_05_0403__li1137024331917"><strong id="sdrs_05_0403__b556914181493">abnormal</strong>: The protection group is abnormal.</li></ul>
<div class="note" id="sdrs_05_0403__note5601173317499"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="sdrs_05_0403__p16601133164914">The system is upgraded recently. For protection groups created after the upgrade, the value of this parameter is <strong id="sdrs_05_0403__b14427113274018">null</strong>.</p>
</div></div>
</td>
</tr>
<tr id="sdrs_05_0403__row8310187101813"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p13108716184">source_vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p11310877188">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p031019714182">Specifies the ID of the VPC for the production site.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row143108714185"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p6310167151820">target_vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p831019715189">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p73107761816">Specifies the ID of the VPC for the DR site.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row203106761813"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p123108731810">test_vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p1631014717187">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p679912462113">Specifies the ID of the VPC used for a DR drill.</p>
<div class="note" id="sdrs_05_0403__note37861924172113"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="sdrs_05_0403__p1378616248213">This parameter is reserved.</p>
</div></div>
</td>
</tr>
<tr id="sdrs_05_0403__row63104751811"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p18311107101814">dr_type</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p5311167121818">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p431112731818">Specifies the deployment model. The default value is <strong id="sdrs_05_0403__b1963647298">migration</strong>, indicating migration within a VPC.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row33111781814"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p5311197141811">created_at</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p1331116701814">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p142344961915">Specifies the time when a protection group was created.</p>
<p id="sdrs_05_0403__p956113341684">The default format is as follows: "yyyy-MM-dd HH:mm:ss.SSS", for example, <strong id="sdrs_05_0403__b72748597117">2019-04-01 12:00:00.000</strong>.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row173111778187"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p1331116741817">updated_at</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p17311127131810">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p4937194917196">Specifies the time when a protection group was updated.</p>
<p id="sdrs_05_0403__p5750101910918">The default format is as follows: "yyyy-MM-dd HH:mm:ss.SSS", for example, <strong id="sdrs_05_0403__b1180010718122">2019-04-01 12:00:00.000</strong>.</p>
</td>
</tr>
<tr id="sdrs_05_0403__row141671032161819"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p1416763219184">protection_type</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p101678327184">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p137228404418">Specifies the protection mode.</p>
<ul id="sdrs_05_0403__ul1022812151351"><li id="sdrs_05_0403__li202318153510"><strong id="sdrs_05_0403__b187503498152">null</strong>: indicates that data synchronization is performed at the replication consistency group level. No partial synchronization failure will occur.</li><li id="sdrs_05_0403__li1323461513519"><strong id="sdrs_05_0403__b2971738164">replication-pair</strong>: indicates that data synchronization is performed at the replication pair level.</li></ul>
</td>
</tr>
<tr id="sdrs_05_0403__row108144414914"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p261318522911">replication_model</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p96152525910">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p96158524910">Specifies the protection mode.</p>
<div class="note" id="sdrs_05_0403__note86150521919"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="sdrs_05_0403__p161511521693">This parameter is reserved.</p>
</div></div>
</td>
</tr>
<tr id="sdrs_05_0403__row47697720489"><td class="cellrowborder" valign="top" width="29.07%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="sdrs_05_0403__p1776947114816">server_type</p>
</td>
<td class="cellrowborder" valign="top" width="16.509999999999998%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="sdrs_05_0403__p1476977114815">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.42%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="sdrs_05_0403__p3878141012513">Specifies the type of managed servers.</p>
<ul id="sdrs_05_0403__ul19521189537"><li id="sdrs_05_0403__li1526187533"><strong id="sdrs_05_0403__b780211399291">ECS</strong>: indicates that ECSs are managed. </li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="sdrs_05_0403__en-us_topic_0079693002_ul48735027"><li id="sdrs_05_0403__en-us_topic_0079693002_li66450672">Example response<pre class="screen" id="sdrs_05_0403__screen1924982152014">{
"server_group": {
"id": "decf224d-87fe-403a-8721-037a1a45c287",
"name": "Protection-Group-lwx",
"description": null,
"source_availability_zone": "eu-de-01",
"target_availability_zone": "eu-de-02",
"domain_id": "fb4bb8e3-a574-4437-a156-78c916aeea4d",
"domain_name": "ActiveactiveDomain",
"status": "available",
"protected_status": null,
"replication_status": null,
"health_status": null,
"progress": 0,
"priority_station": "source",
"protected_instance_num": 0,
"replication_num": 0,
"disaster_recovery_drill_num": 0,
"source_vpc_id": "046852ef-c49d-409b-8389-546aaaa5701f",
"target_vpc_id": "046852ef-c49d-409b-8389-546aaaa5701f",
"test_vpc_id": null,
"dr_type": "migration",
"server_type": "ECS",
"created_at": "2019-05-22 08:16:54.413",
"updated_at": "2019-05-23 09:11:10.856",
"protection_type": "replication-pair",
"replication_model": null
}
}</pre>
<p id="sdrs_05_0403__p9854205704117">Or</p>
<pre class="screen" id="sdrs_05_0403__screen7855165719416">{
"error": {
"message": "XXXX",
"code": "XXX"
}
}</pre>
<p id="sdrs_05_0403__p585595774112">In the preceding example, <strong id="sdrs_05_0403__b35496508223440">error</strong> indicates a general error, for example, <strong id="sdrs_05_0403__b799500880223440">badrequest</strong> or <strong id="sdrs_05_0403__b1326274240223440">itemNotFound</strong>. An example is provided as follows:</p>
<pre class="screen" id="sdrs_05_0403__screen68551657114115">{
"badrequest": {
"message": "XXXX",
"code": "XXX"
}
}</pre>
</li></ul>
</div>
<div class="section" id="sdrs_05_0403__en-us_topic_0079693002_section60507121"><h4 class="sectiontitle">Returned Values</h4><ul id="sdrs_05_0403__en-us_topic_0079693002_ul18743339"><li id="sdrs_05_0403__li37400248244">Normal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0403__sdrs_05_0101_table4315991194956" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0403__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_0403__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_0403__sdrs_05_0101_p3039012494956">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0403__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_0403__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_0403__sdrs_05_0101_p1545496394956">The server has accepted the request.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="sdrs_05_0403__li13951479">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0403__sdrs_05_0101_table22458872203835" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0403__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_0403__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_0403__sdrs_05_0101_p47646009203835">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sdrs_05_0403__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_0403__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_0403__sdrs_05_0101_p63350108203835">The server failed to process the request.</p>
</td>
</tr>
<tr id="sdrs_05_0403__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_0403__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_0403__sdrs_05_0101_p45364094203835">You must enter a username and the password to access the requested page.</p>
</td>
</tr>
<tr id="sdrs_05_0403__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_0403__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_0403__sdrs_05_0101_p54117066203835">You are forbidden to access the requested page.</p>
</td>
</tr>
<tr id="sdrs_05_0403__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_0403__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_0403__sdrs_05_0101_p35909542203835">The server could not find the requested page.</p>
</td>
</tr>
<tr id="sdrs_05_0403__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_0403__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_0403__sdrs_05_0101_p50902717203835">You are not allowed to use the method specified in the request.</p>
</td>
</tr>
<tr id="sdrs_05_0403__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_0403__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_0403__sdrs_05_0101_p15684678203835">The response generated by the server could not be accepted by the client.</p>
</td>
</tr>
<tr id="sdrs_05_0403__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_0403__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_0403__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_0403__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_0403__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_0403__sdrs_05_0101_p11786919203835">The request timed out.</p>
</td>
</tr>
<tr id="sdrs_05_0403__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_0403__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_0403__sdrs_05_0101_p19779281203835">The request could not be processed due to a conflict.</p>
</td>
</tr>
<tr id="sdrs_05_0403__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_0403__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_0403__sdrs_05_0101_p51235984203835">Failed to complete the request because of a service error.</p>
</td>
</tr>
<tr id="sdrs_05_0403__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_0403__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_0403__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_0403__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_0403__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_0403__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_0403__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_0403__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_0403__sdrs_05_0101_p37098455203835">Failed to complete the request because the system is unavailable.</p>
</td>
</tr>
<tr id="sdrs_05_0403__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_0403__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_0403__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_0400.html">Protection Group</a></div>
</div>
</div>