forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
298 lines
25 KiB
HTML
298 lines
25 KiB
HTML
<a name="EN-US_TOPIC_0000001186151624"></a><a name="EN-US_TOPIC_0000001186151624"></a>
|
|
|
|
<h1 class="topictitle1">Restoring a Cluster</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_s4bb187ea1af94154b7c794fc9f01b061"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_en-us_topic_0084768514_p36702580">This API is used to restore clusters using the snapshot.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_s6a55719cec1c4188a8156444c922d0d5"><h4 class="sectiontitle">URI</h4><pre class="screen" id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_screen1344933114013">POST /v1.0/{project_id}/snapshots/{snapshot_id}/actions</pre>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001186151624__table727235135312" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001186151624__row727085135313"><th align="left" class="cellrowborder" valign="top" width="17.7%" id="mcps1.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0000001186151624__p1127065195310"><strong id="EN-US_TOPIC_0000001186151624__b147126798582019">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10.18%" id="mcps1.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0000001186151624__p1627085117536"><strong id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_b6167984116271">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.6%" id="mcps1.3.2.3.2.5.1.3"><p id="EN-US_TOPIC_0000001186151624__p427017511531"><strong id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_b145791954142914">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="59.519999999999996%" id="mcps1.3.2.3.2.5.1.4"><p id="EN-US_TOPIC_0000001186151624__p1227075111538"><strong id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_b127886559295">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001186151624__row92711551105310"><td class="cellrowborder" valign="top" width="17.7%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p12270105185319">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.18%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p112704514534">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.6%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p427135118531">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.519999999999996%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p1327135119532"><span id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_text1033617398342">Project ID</span>. For details about how to obtain the ID, see <a href="dws_02_0011.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row1127118514530"><td class="cellrowborder" valign="top" width="17.7%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p19271551185312">snapshot_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.18%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p227145112538">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.6%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p1727175165315">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.519999999999996%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p13271751165311">ID of the snapshot to be restored</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001186151624__section154805810542"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001186151624__table4446152455410" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001186151624__row184464246546"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001186151624__p5447162416545"><strong id="EN-US_TOPIC_0000001186151624__b158197235582019">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001186151624__p4447424185415"><strong id="EN-US_TOPIC_0000001186151624__b1579344641">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001186151624__p944772410549"><strong id="EN-US_TOPIC_0000001186151624__b1950303008">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001186151624__p1044713246547"><strong id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_b9775181120307">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001186151624__row1044762445417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p134476249549">restore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p124471124135418">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p0447112411548"><a href="#EN-US_TOPIC_0000001186151624__table15447172418545">Restore</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p1044762475419">Object to be restored</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001186151624__table15447172418545"></a><a name="table15447172418545"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001186151624__table15447172418545" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Restore</caption><thead align="left"><tr id="EN-US_TOPIC_0000001186151624__row74481324105416"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000001186151624__p10448132418548"><strong id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_b11531165474511">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000001186151624__p544818246544"><strong id="EN-US_TOPIC_0000001186151624__b990873783">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000001186151624__p6448162420544"><strong id="EN-US_TOPIC_0000001186151624__b1934456986">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000001186151624__p114486248546"><strong id="EN-US_TOPIC_0000001186151624__b1493245393">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001186151624__row1444852413546"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p2448324185412">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p1044852417542">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p194491724125415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p11449224185410">Cluster name, which must be unique. The cluster name must contain 4 to 64 characters, which must start with a letter. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row1449192435412"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p18449924175413">subnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p44491724135412">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p5449142411540">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p64493242541">Subnet ID, which is used for configuring cluster network. The default value is the same as that of the original cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row1544932415419"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p13449162495415">security_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p145072411542">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p13450112417547">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p545062415549">Security group ID, which is used for configuring cluster network. The default value is the same as that of the original cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row15450162411549"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p1845162465417">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p1245102410549">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p154521024195415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p1045213246546">VPC ID, which is used for configuring cluster network. The default value is the same as that of the original cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row34521024125414"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p18452724135416">availability_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p1145262410546">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p1045212241542">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p145292420544">AZ of a cluster. The default value is the same as that of the original cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row10452324135413"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p194531824145414">port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p1245317248546">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p5453624185411">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p44531245549">Service port of a cluster. The value ranges from 8000 to 30000. The default value is <strong id="EN-US_TOPIC_0000001186151624__b17954353171519">8000</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row94538246549"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p8453172411546">public_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p8453172455411">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p0453132419547"><a href="#EN-US_TOPIC_0000001186151624__table44541224145418">PublicIp</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p9453152415415">Public IP address. If the parameter is not specified, public connection is not used by default.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row144531124115413"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p045492455412">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p20454112455417">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p545472435410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p44541124185414">Enterprise project. The default enterprise project ID is <strong id="EN-US_TOPIC_0000001186151624__b163620177052457">0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001186151624__table44541224145418"></a><a name="table44541224145418"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001186151624__table44541224145418" frame="border" border="1" rules="all"><caption><b>Table 4 </b>PublicIp</caption><thead align="left"><tr id="EN-US_TOPIC_0000001186151624__row4485162410549"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="EN-US_TOPIC_0000001186151624__p1448518249548"><strong id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_b13916410174815">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="EN-US_TOPIC_0000001186151624__p134851924125416"><strong id="EN-US_TOPIC_0000001186151624__b2127273635">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="EN-US_TOPIC_0000001186151624__p2485122435418"><strong id="EN-US_TOPIC_0000001186151624__b966391519">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="EN-US_TOPIC_0000001186151624__p1048592455410"><strong id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_b71088497478">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001186151624__row2048518242544"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p3485824205411">public_bind_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p54866244546">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p17486324155419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p20486112425416">Binding type of an EIP. The value can be one of the following:</p>
|
|
<ul id="EN-US_TOPIC_0000001186151624__ul6486324135415"><li id="EN-US_TOPIC_0000001186151624__li17486112420543"><strong id="EN-US_TOPIC_0000001186151624__b27434662482019"><span id="EN-US_TOPIC_0000001186151624__ph122438795782019">auto_assign</span></strong></li><li id="EN-US_TOPIC_0000001186151624__li54866249543"><strong id="EN-US_TOPIC_0000001186151624__b10741369282019">not_use</strong></li><li id="EN-US_TOPIC_0000001186151624__li9486122419542"><strong id="EN-US_TOPIC_0000001186151624__b1221513311917">bind_existing</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row9486102414547"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001186151624__p5487162425419">eip_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001186151624__p648717244547">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001186151624__p13487142415547">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="EN-US_TOPIC_0000001186151624__p54871242549">EIP ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001186151624__section16442183765415"><h4 class="sectiontitle">Response Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001186151624__table136215592541" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001186151624__row19362155915418"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.4.1.1"><p id="EN-US_TOPIC_0000001186151624__p436365918542"><strong id="EN-US_TOPIC_0000001186151624__b51463345282019">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.4.1.2"><p id="EN-US_TOPIC_0000001186151624__p23631759155411"><strong id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_b196222111484">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.2.2.4.1.3"><p id="EN-US_TOPIC_0000001186151624__p14363115955415"><strong id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_b5199162213306">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001186151624__row143631559185418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001186151624__p1336355911545">cluster</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001186151624__p3363135955414"><a href="#EN-US_TOPIC_0000001186151624__table153641059125418">Cluster</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001186151624__p43638594544">Cluster object</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001186151624__table153641059125418"></a><a name="table153641059125418"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001186151624__table153641059125418" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Cluster</caption><thead align="left"><tr id="EN-US_TOPIC_0000001186151624__row193641159205419"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0000001186151624__p23644598541"><strong id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_b162382644812">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="EN-US_TOPIC_0000001186151624__p636418598543"><strong id="EN-US_TOPIC_0000001186151624__b627518010">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="EN-US_TOPIC_0000001186151624__p1364145995410"><strong id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_b71201227114816">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001186151624__row113640597546"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001186151624__p936485915411">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001186151624__p17364165913548">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001186151624__p7365125965416">Cluster ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_sa8d6a7d82f7142a0b8f412a419261ad6"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_s883724b546c94463a23541334cdcb66a">POST
|
|
https://{Endpoint}/v1.0/89cd04f168b84af6be287f71730fdb4b/snapshots/4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba90/actions
|
|
{"restore": {
|
|
"name": "dws-1",
|
|
"subnet_id": "374eca02-cfc4-4de7-8ab5-dbebf7d9a720",
|
|
"security_group_id": "dc3ec145-9029-4b39-b5a3-ace5a01f772b",
|
|
"vpc_id": "85b20d7e-9eb7-4b2a-98f3-3c8843ea3574",
|
|
"availability_zone": "eu-de-01",
|
|
"port": 8000,
|
|
"public_ip": {
|
|
"public_bind_type": "auto_assign",
|
|
"eip_id": ""
|
|
},
|
|
"enterprise_project_id":"aca4e50a-266f-4786-827c-f8d6cc3fbada"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_sb3ef013c33a348739e46163a3251532e"><h4 class="sectiontitle">Example Responses</h4><pre class="screen" id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_s20efcda16e1f4ff286ec2312a7e3a61f">{
|
|
"cluster": {
|
|
"id": "7d85f602-a948-4a30-afd4-e84f47471c15"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001145816475_s47782db7ac574d0596c1a51df09a94cc"><h4 class="sectiontitle">Status Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001186151624__en-us_topic_0000001437698605_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001186151624__row104331310162011"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="EN-US_TOPIC_0000001186151624__p84381610132011">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="EN-US_TOPIC_0000001186151624__p844111107208"><strong id="EN-US_TOPIC_0000001186151624__b1652336459">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001186151624__row11433121092011"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001186151624__p12448141018204">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001186151624__p154511310162017">The cluster is restored.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row14433010182018"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001186151624__p1445411019203">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001186151624__p245891011203">Request error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row5433191013206"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001186151624__p246111052010">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001186151624__p246421032018">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row1643331092015"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001186151624__p1446791010208">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001186151624__p647016102204">You do not have required permissions.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row3434910142016"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001186151624__p747418103206">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001186151624__p12476510152015">No resources found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row1543491022010"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001186151624__p1448018105207">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001186151624__p154831103201">Internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001186151624__row043411013205"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001186151624__p16488201072016">503</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001186151624__p1449061072010">Service unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_02_0023.html">Snapshot Management APIs</a></div>
|
|
</div>
|
|
</div>
|
|
|