forked from docs/doc-exports
move doc sources to other location Reviewed-by: OpenTelekomCloud Bot <None>
79 lines
6.0 KiB
HTML
79 lines
6.0 KiB
HTML
<a name="EN-US_TOPIC_0020212648"></a><a name="EN-US_TOPIC_0020212648"></a>
|
|
|
|
<h1 class="topictitle1">Starting an <span id="text9286612194516">ECS</span></h1>
|
|
<div id="body31674992"><div class="section" id="EN-US_TOPIC_0020212648__section5894231"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212648__p15537542">This API is used to start a single <span id="EN-US_TOPIC_0020212648__text209041334510">ECS</span>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0020212648__section53048087"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212648__p599616595208">POST /v2.1/{project_id}/servers/{server_id}/action</p>
|
|
<p id="EN-US_TOPIC_0020212648__p183731413182818">POST /v2/{project_id}/servers/{server_id}/action</p>
|
|
<div class="p" id="EN-US_TOPIC_0020212648__p1683004643319"><a href="#EN-US_TOPIC_0020212648__table48630964">Table 1</a> describes the parameters in the URI.
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212648__table48630964"></a><a name="table48630964"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212648__table48630964" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212648__row59481773"><th align="left" class="cellrowborder" valign="top" width="16.98%" id="mcps1.3.2.4.2.2.4.1.1"><p id="EN-US_TOPIC_0020212648__p5187119">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.169999999999998%" id="mcps1.3.2.4.2.2.4.1.2"><p id="EN-US_TOPIC_0020212648__p17503500">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="65.85%" id="mcps1.3.2.4.2.2.4.1.3"><p id="EN-US_TOPIC_0020212648__p8497414">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0020212648__row2533231"><td class="cellrowborder" valign="top" width="16.98%" headers="mcps1.3.2.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0020212648__p3865173">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.169999999999998%" headers="mcps1.3.2.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0020212648__p44643603">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.85%" headers="mcps1.3.2.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0020212648__p37593705">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0020212648__row64497130"><td class="cellrowborder" valign="top" width="16.98%" headers="mcps1.3.2.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0020212648__p56885004">server_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.169999999999998%" headers="mcps1.3.2.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0020212648__p44282627">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.85%" headers="mcps1.3.2.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0020212648__p30123063">Specifies the <span id="EN-US_TOPIC_0020212648__text189551074914">ECS</span> ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0020212648__section7670737"><h4 class="sectiontitle">Request</h4><div class="p" id="EN-US_TOPIC_0020212648__p16743142123419"><a href="#EN-US_TOPIC_0020212648__table48180537">Table 2</a> describes the request parameters.
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212648__table48180537"></a><a name="table48180537"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212648__table48180537" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0020212648__row15499871"><th align="left" class="cellrowborder" valign="top" width="16.91%" id="mcps1.3.3.2.2.2.5.1.1"><p id="EN-US_TOPIC_0020212648__p47530006">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.29%" id="mcps1.3.3.2.2.2.5.1.2"><p id="EN-US_TOPIC_0020212648__p24725298">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.860000000000001%" id="mcps1.3.3.2.2.2.5.1.3"><p id="EN-US_TOPIC_0020212648__p56592155">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.94%" id="mcps1.3.3.2.2.2.5.1.4"><p id="EN-US_TOPIC_0020212648__p20561848">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0020212648__row54897010"><td class="cellrowborder" valign="top" width="16.91%" headers="mcps1.3.3.2.2.2.5.1.1 "><p id="EN-US_TOPIC_0020212648__p17472816">os-start</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.29%" headers="mcps1.3.3.2.2.2.5.1.2 "><p id="EN-US_TOPIC_0020212648__p6011995">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.860000000000001%" headers="mcps1.3.3.2.2.2.5.1.3 "><p id="EN-US_TOPIC_0020212648__p17209562">Null</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.94%" headers="mcps1.3.3.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0020212648__p63522246">Specifies the operation to start the <span id="EN-US_TOPIC_0020212648__text1612212153458">ECS</span>. The data structure is empty.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0020212648__section1927776"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212648__p45028263">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0020212648__section050015816355"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212648__screen1480918581518">POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/action</pre>
|
|
<pre class="screen" id="EN-US_TOPIC_0020212648__screen1452063193959">{
|
|
"os-start": {}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0020212648__section74690516211"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0020212648__p1914211562210">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0020212648__section17349988"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0020212648__p23410681">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0124385016.html">Status Management</a></div>
|
|
</div>
|
|
</div>
|
|
|