doc-exports/docs/ecs/api-ref/en-us_topic_0067600284.html
Goncharov, Artem e804cc1855 ecs api-ref update from https://github.com/opentelekomcloud-docs/doc-exports/pull/13/
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Goncharov, Artem <artem.goncharov@t-systems.com>
Co-committed-by: Goncharov, Artem <artem.goncharov@t-systems.com>
2022-08-17 15:16:30 +00:00

81 lines
6.8 KiB
HTML

<a name="EN-US_TOPIC_0067600284"></a><a name="EN-US_TOPIC_0067600284"></a>
<h1 class="topictitle1">Managing Automatic Recovery of an <span id="text1238975222410">ECS</span> (Discarded)</h1>
<div id="body1500690723208"><div class="section" id="EN-US_TOPIC_0067600284__en-us_topic_0057973216_section42686800"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0067600284__en-us_topic_0057973216_p56976982">This API is used to configure or delete automatic recovery of an <span id="EN-US_TOPIC_0067600284__text14606105315247">ECS</span>.</p>
</div>
<div class="section" id="EN-US_TOPIC_0067600284__en-us_topic_0057972837_section48648066"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0067600284__p60095679153449">PUT /v1/{project_id}/cloudservers/{server_id}/autorecovery</p>
<div class="p" id="EN-US_TOPIC_0067600284__p18735183717424"><a href="#EN-US_TOPIC_0067600284__table32475667">Table 1</a> describes the parameters in the URI.
<div class="tablenoborder"><a name="EN-US_TOPIC_0067600284__table32475667"></a><a name="table32475667"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0067600284__table32475667" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0067600284__row44937496"><th align="left" class="cellrowborder" valign="top" width="16.96%" id="mcps1.3.2.3.2.2.4.1.1"><p id="EN-US_TOPIC_0067600284__p16058544">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.44%" id="mcps1.3.2.3.2.2.4.1.2"><p id="EN-US_TOPIC_0067600284__p25673664">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="65.60000000000001%" id="mcps1.3.2.3.2.2.4.1.3"><p id="EN-US_TOPIC_0067600284__p66300913">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0067600284__row1664874"><td class="cellrowborder" valign="top" width="16.96%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0067600284__p637140">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0067600284__p51608407">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="65.60000000000001%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0067600284__p37593705">Specifies the project ID.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0067600284__row41565035"><td class="cellrowborder" valign="top" width="16.96%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0067600284__p11324657">server_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.44%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0067600284__p44882061">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="65.60000000000001%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0067600284__p11568292">Specifies the <span id="EN-US_TOPIC_0067600284__text469063745220">ECS</span> ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0067600284__en-us_topic_0057972837_section35179415"><h4 class="sectiontitle">Request</h4><p id="EN-US_TOPIC_0067600284__p16955159164210"><a href="#EN-US_TOPIC_0067600284__table10194370103926">Table 2</a> describes the request parameters.</p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0067600284__table10194370103926"></a><a name="table10194370103926"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0067600284__table10194370103926" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0067600284__row2464269103926"><th align="left" class="cellrowborder" valign="top" width="16.90830916908309%" id="mcps1.3.3.3.2.5.1.1"><p id="EN-US_TOPIC_0067600284__p65388140103926">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.428257174282567%" id="mcps1.3.3.3.2.5.1.2"><p id="EN-US_TOPIC_0067600284__p2158837123413">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.698630136986301%" id="mcps1.3.3.3.2.5.1.3"><p id="EN-US_TOPIC_0067600284__p61948020103926">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="51.96480351964803%" id="mcps1.3.3.3.2.5.1.4"><p id="EN-US_TOPIC_0067600284__p29680796103926">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0067600284__row55334285103926"><td class="cellrowborder" valign="top" width="16.90830916908309%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0067600284__p52892102103926">support_auto_recovery</p>
</td>
<td class="cellrowborder" valign="top" width="17.428257174282567%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0067600284__p15158337163413">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="13.698630136986301%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0067600284__p56401904103926">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.96480351964803%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0067600284__p4477201211456">Configures or deletes automatic recovery of an <span id="EN-US_TOPIC_0067600284__text13302154114522">ECS</span>.</p>
<ul id="EN-US_TOPIC_0067600284__ul1796286911458"><li id="EN-US_TOPIC_0067600284__li604668391150"><strong id="EN-US_TOPIC_0067600284__b842352706133929">true</strong>: indicates configuring automatic recovery for an ECS.</li><li id="EN-US_TOPIC_0067600284__li2429978811458"><strong id="EN-US_TOPIC_0067600284__b842352706134346">false</strong>: indicates deleting automatic recovery of an ECS.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0067600284__section46887454104452"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0067600284__p39787425104452">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0067600284__section23010434414"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0067600284__screen734210466279">PUT https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/autorecovery</pre>
<pre class="screen" id="EN-US_TOPIC_0067600284__screen50332744202657">{
"support_auto_recovery": "true"
}</pre>
</div>
<div class="section" id="EN-US_TOPIC_0067600284__section1579918291477"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0067600284__p1010218334472">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0067600284__section38423777104228"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0067600284__p25318238104228">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
</div>
<div class="section" id="EN-US_TOPIC_0067600284__section85821649202813"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0067600284__p7233105282813">See <a href="en-us_topic_0022067717.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000001266524365.html">Status Management</a></div>
</div>
</div>