forked from docs/doc-exports
ECS API 20231016 version
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
This commit is contained in:
parent
b9f5622cca
commit
4edaa4a4cc
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
<a name="EN-US_TOPIC_0000001207623588"></a><a name="EN-US_TOPIC_0000001207623588"></a>
|
||||
|
||||
<h1 class="topictitle1">Querying Project Tags (Discarded)</h1>
|
||||
<div id="body0000001207623588"><div class="section" id="EN-US_TOPIC_0000001207623588__section192222559445"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001207623588__en-us_topic_0070518924_p16454058112126">Projects are used to group and isolate OpenStack resources, which include computing, storage, and network resources. A project can be a department or a team. Multiple projects can be created under one account.</p>
|
||||
<div id="body0000001207623588"><div class="section" id="EN-US_TOPIC_0000001207623588__section192222559445"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001207623588__en-us_topic_0070518924_p16454058112126">Projects are used to group and isolate OpenStack resources, which include computing, storage, and network resources. A project can be a department or a team. Multiple projects can be created for the same account.</p>
|
||||
<p id="EN-US_TOPIC_0000001207623588__p174297413217">This API is used to query all tags used by a user in a specified project.</p>
|
||||
<div class="note" id="EN-US_TOPIC_0000001207623588__note622817463448"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001207623588__p222804613447">This API has been discarded. Use the API described in <a href="en-us_topic_0167811966.html">Querying Project Tags</a>.</p>
|
||||
</div></div>
|
||||
|
75
docs/ecs/api-ref/en-us_topic_0000001635605869.html
Normal file
75
docs/ecs/api-ref/en-us_topic_0000001635605869.html
Normal file
@ -0,0 +1,75 @@
|
||||
<a name="EN-US_TOPIC_0000001635605869"></a><a name="EN-US_TOPIC_0000001635605869"></a>
|
||||
|
||||
<h1 class="topictitle1">Adding an ECS to the Monitoring List</h1>
|
||||
<div id="body32001227"><div class="section" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_section3492751018840"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p49510961891">This API is used to add an <span id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_text127741094264">ECS</span> to the monitoring list.</p>
|
||||
<p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p445598691891">Ceilometer periodically collects monitoring data on the ECSs added to the monitoring list and reports the data to Cloud Eye. The data includes the platform version, CPU, memory, NICs, disks, and hardware version. </p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_section3752955218923"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p798048518945">POST /v1.0/servers/{server_id}/action</p>
|
||||
<div class="p" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p115804316444"><a href="#EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_table3713317418952">Table 1</a> describes the parameters in the URI.
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_table3713317418952"></a><a name="en-us_topic_0081529857_table3713317418952"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_table3713317418952" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_row5865996918952"><th align="left" class="cellrowborder" valign="top" width="20.43%" id="mcps1.3.2.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p5383705918952">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17.49%" id="mcps1.3.2.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p6583454618952">Mandatory</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="62.08%" id="mcps1.3.2.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p3099800518952">Description</p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_row2781048518952"><td class="cellrowborder" valign="top" width="20.43%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p3805679318952">server_id</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="17.49%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p6270138618952">Yes</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="62.08%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p4564747118952">Specifies the <span id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_text855418301351">ECS</span> ID.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_section61456643181021"><h4 class="sectiontitle">Request</h4><div class="p" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p983636459"><a href="#EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_table20892986181041">Table 2</a> describes the request parameters.
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_table20892986181041"></a><a name="en-us_topic_0081529857_table20892986181041"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_table20892986181041" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_row38729067181041"><th align="left" class="cellrowborder" valign="top" width="20.44%" id="mcps1.3.3.2.2.2.5.1.1"><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p50046718181041">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_0000001635605869__en-us_topic_0081529857_p27252366181041">Mandatory</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="11.66%" id="mcps1.3.3.2.2.2.5.1.3"><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p59958018181041">Type</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="50.61%" id="mcps1.3.3.2.2.2.5.1.4"><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p24761283181041">Description</p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_row59506872181041"><td class="cellrowborder" valign="top" width="20.44%" headers="mcps1.3.3.2.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p55327305181041">monitorMetrics</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_0000001635605869__en-us_topic_0081529857_p52326752181041">Yes</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="11.66%" headers="mcps1.3.3.2.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p10608482181041">Null</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50.61%" headers="mcps1.3.3.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p53980729181041">Enables monitoring on the <span id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_text19430151717261">ECS</span>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_section7035651181135"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p2553478181141">None</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_section65518423453"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p81792045134519">Add a specified ECS to the monitoring list.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_screen36527430181110">POST https://{endpoint}/v1.0/servers/{server_id}/action
|
||||
|
||||
{
|
||||
"monitorMetrics" : null
|
||||
}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_section733344563613"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p17356164873616">None</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_section4901036318129"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_p37947247181212">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_section85821649202813"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000001635605869__en-us_topic_0081529857_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_0020212691.html">Status Management</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,7 +1,8 @@
|
||||
<a name="EN-US_TOPIC_0020212207"></a><a name="EN-US_TOPIC_0020212207"></a>
|
||||
|
||||
<h1 class="topictitle1">Starting <span id="text590801817265">ECS</span>s in a Batch</h1>
|
||||
<div id="body20084682"><div class="section" id="EN-US_TOPIC_0020212207__section18389930"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212207__p16246551">This API is used to start <span id="EN-US_TOPIC_0020212207__text184481972617">ECS</span>s in a batch based on specified <span id="EN-US_TOPIC_0020212207__text56551812104">ECS</span> IDs. A maximum of 1000 <span id="EN-US_TOPIC_0020212207__text9234136181017">ECS</span>s can be started at a time.</p>
|
||||
<div id="body20084682"><div class="section" id="EN-US_TOPIC_0020212207__section18389930"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212207__p16246551">This API is used to start ECSs in a batch based on specified ECS IDs. A maximum of 1,000 ECSs can be started in one minute.</p>
|
||||
<p id="EN-US_TOPIC_0020212207__p56438412012">This API is an asynchronous API. After the batch start request is successfully delivered, a job ID is returned. This does not mean the batch start is complete. You need to call the API by referring to <a href="en-us_topic_0022225398.html">Querying Task Execution Status</a> to query the job status. The SUCCESS status indicates that the batch start is successful.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212207__section31291646"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212207__p40289078154117">POST /v1/{project_id}/cloudservers/action</p>
|
||||
<div class="p" id="EN-US_TOPIC_0020212207__p446815165189"><a href="#EN-US_TOPIC_0020212207__table58892473">Table 1</a> describes the parameters in the URI.
|
||||
@ -72,7 +73,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212207__table23507505"></a><a name="table23507505"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212207__table23507505" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong>servers</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212207__row5109846"><th align="left" class="cellrowborder" valign="top" width="16.73%" id="mcps1.3.3.4.2.5.1.1"><p id="EN-US_TOPIC_0020212207__p477877142215">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212207__table23507505"></a><a name="table23507505"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212207__table23507505" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="EN-US_TOPIC_0020212207__b7773121981915">servers</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212207__row5109846"><th align="left" class="cellrowborder" valign="top" width="16.73%" id="mcps1.3.3.4.2.5.1.1"><p id="EN-US_TOPIC_0020212207__p477877142215">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17.48%" id="mcps1.3.3.4.2.5.1.2"><p id="EN-US_TOPIC_0020212207__p1777847162211">Mandatory</p>
|
||||
</th>
|
||||
@ -97,8 +98,9 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212207__section51595365"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212207__p12844374">See <a href="en-us_topic_0022067714.html">Responses (Task)</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212207__section1741103616214"><h4 class="sectiontitle">Example Request</h4><div class="p" id="EN-US_TOPIC_0020212207__p7408329165216">In the request, the parameters to start <span id="EN-US_TOPIC_0020212207__text36852236260">ECS</span>s must be sent with field <strong id="EN-US_TOPIC_0020212207__b15323102912111">os-start</strong>. For details, see the example request.<pre class="screen" id="EN-US_TOPIC_0020212207__screen312418227307">POST https://{endpoint}/v1/{project_id}/cloudservers/action</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212207__screen11949642193750">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212207__section1741103616214"><h4 class="sectiontitle">Example Request</h4><div class="p" id="EN-US_TOPIC_0020212207__p7408329165216">Batch start ECSs whose IDs are <strong id="EN-US_TOPIC_0020212207__b2444114642013">616fb98f-46ca-475e-917e-2563e5a8cd19</strong> and <strong id="EN-US_TOPIC_0020212207__b18647164952011">726fb98f-46ca-475e-917e-2563e5a8cd20</strong> with the request parameter set to <strong id="EN-US_TOPIC_0020212207__b22397165216">os-start</strong>.<pre class="screen" id="EN-US_TOPIC_0020212207__screen11949642193750">POST https://{endpoint}/v1/{project_id}/cloudservers/action
|
||||
|
||||
{
|
||||
"os-start": {
|
||||
"servers": [
|
||||
{
|
||||
@ -112,7 +114,9 @@
|
||||
}</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212207__section1589616484522"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0020212207__p116281453185218">None</p>
|
||||
<div class="section" id="EN-US_TOPIC_0020212207__section1589616484522"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212207__screen620519579128">{
|
||||
"job_id": "ff808082889bd9690189061140c235fe"
|
||||
}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212207__section17349988"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0020212207__p23410681">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
||||
</div>
|
||||
|
@ -60,8 +60,10 @@
|
||||
</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">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212648__section050015816355"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212648__p17157627122819">Start a specified ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212648__screen1452063193959">POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/action
|
||||
|
||||
{
|
||||
"os-start": {}
|
||||
}</pre>
|
||||
</div>
|
||||
|
@ -1,7 +1,8 @@
|
||||
<a name="EN-US_TOPIC_0020212649"></a><a name="EN-US_TOPIC_0020212649"></a>
|
||||
|
||||
<h1 class="topictitle1">Restarting <span id="text264719253267">ECS</span>s in a Batch</h1>
|
||||
<div id="body2701015"><div class="section" id="EN-US_TOPIC_0020212649__section39601516"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212649__p17455632">This API is used to restart <span id="EN-US_TOPIC_0020212649__text18806126182610">ECS</span>s in a batch based on specified <span id="EN-US_TOPIC_0020212649__text1130623615126">ECS</span> IDs. A maximum of 1000 <span id="EN-US_TOPIC_0020212649__text18468143916128">ECS</span>s can be restarted at a time.</p>
|
||||
<div id="body2701015"><div class="section" id="EN-US_TOPIC_0020212649__section39601516"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212649__p17455632">This API is used to restart <span id="EN-US_TOPIC_0020212649__text18806126182610">ECS</span>s in a batch based on specified <span id="EN-US_TOPIC_0020212649__text1130623615126">ECS</span> IDs. A maximum of 1,000 <span id="EN-US_TOPIC_0020212649__text18468143916128">ECS</span>s can be restarted in one minute.</p>
|
||||
<p id="EN-US_TOPIC_0020212649__p197811421905">This API is an asynchronous API. After the batch restart request is successfully delivered, a job ID is returned. This does not mean the batch restart is complete. You need to call the API by referring to <a href="en-us_topic_0022225398.html">Querying Task Execution Status</a> to query the job status. The SUCCESS status indicates that the batch restart is successful.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212649__section20869327"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212649__p55283621154452">POST /v1/{project_id}/cloudservers/action</p>
|
||||
<div class="p" id="EN-US_TOPIC_0020212649__p187987782310"><a href="#EN-US_TOPIC_0020212649__table33008913">Table 1</a> describes the parameters in the URI.
|
||||
@ -49,7 +50,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212649__table64591731162222"></a><a name="table64591731162222"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212649__table64591731162222" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong>reboot</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212649__row30453945162222"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212649__p26274222513">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212649__table64591731162222"></a><a name="table64591731162222"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212649__table64591731162222" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0020212649__b11710562218">reboot</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212649__row30453945162222"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212649__p26274222513">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17.48%" id="mcps1.3.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0020212649__p4627202192519">Mandatory</p>
|
||||
</th>
|
||||
@ -66,7 +67,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.18%" headers="mcps1.3.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212649__p59031541162336">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="49.99%" headers="mcps1.3.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212649__p16825496162336">Specifies the type of the restart operation.</p>
|
||||
<ul id="EN-US_TOPIC_0020212649__ul62344604154036"><li id="EN-US_TOPIC_0020212649__li24796316154036"><strong>SOFT</strong>: soft restart</li><li id="EN-US_TOPIC_0020212649__li21840259154036"><strong id="EN-US_TOPIC_0020212649__b5811448105018">HARD</strong>: forcible restart (hard restart)</li></ul>
|
||||
<ul id="EN-US_TOPIC_0020212649__ul62344604154036"><li id="EN-US_TOPIC_0020212649__li24796316154036"><strong id="EN-US_TOPIC_0020212649__b191716567211">SOFT</strong>: soft restart</li><li id="EN-US_TOPIC_0020212649__li21840259154036"><strong id="EN-US_TOPIC_0020212649__b5811448105018">HARD</strong>: forcible restart (hard restart)</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212649__row10461780162222"><td class="cellrowborder" valign="top" width="16.35%" headers="mcps1.3.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212649__p19668200162240">servers</p>
|
||||
@ -82,7 +83,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212649__table26785545162223"></a><a name="table26785545162223"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212649__table26785545162223" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong>servers</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212649__row56759147162223"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.3.2.4.2.5.1.1"><p id="EN-US_TOPIC_0020212649__p1468216622519">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212649__table26785545162223"></a><a name="table26785545162223"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212649__table26785545162223" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="EN-US_TOPIC_0020212649__b51845622119">servers</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212649__row56759147162223"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.3.2.4.2.5.1.1"><p id="EN-US_TOPIC_0020212649__p1468216622519">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17.49%" id="mcps1.3.3.2.4.2.5.1.2"><p id="EN-US_TOPIC_0020212649__p11682168253">Mandatory</p>
|
||||
</th>
|
||||
@ -108,8 +109,9 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212649__section12693918"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212649__p26323242">See <a href="en-us_topic_0022067714.html">Responses (Task)</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212649__section366624342413"><h4 class="sectiontitle">Example Request</h4><div class="p" id="EN-US_TOPIC_0020212649__p587418175535">In the request, the parameters to restart <span id="EN-US_TOPIC_0020212649__text18501143218267">ECS</span>s must be sent with field <strong id="EN-US_TOPIC_0020212649__b6509388164">reboot</strong>. For details, see the example request.<pre class="screen" id="EN-US_TOPIC_0020212649__screen1094117493114">POST https://{endpoint}/v1/{project_id}/cloudservers/action</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212649__screen16134303194410">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212649__section366624342413"><h4 class="sectiontitle">Example Request</h4><div class="p" id="EN-US_TOPIC_0020212649__p587418175535">Batch restart ECSs whose IDs are <strong id="EN-US_TOPIC_0020212649__b178023433212">616fb98f-46ca-475e-917e-2563e5a8cd19</strong> and <strong id="EN-US_TOPIC_0020212649__b3802164352119">726fb98f-46ca-475e-917e-2563e5a8cd20</strong> with the request parameter set to <strong id="EN-US_TOPIC_0020212649__b1802743152113">reboot</strong>.<pre class="screen" id="EN-US_TOPIC_0020212649__screen16134303194410">POST https://{endpoint}/v1/{project_id}/cloudservers/action
|
||||
|
||||
{
|
||||
"reboot": {
|
||||
"type":"SOFT",
|
||||
"servers": [
|
||||
@ -119,14 +121,13 @@
|
||||
{
|
||||
"id": "726fb98f-46ca-475e-917e-2563e5a8cd20"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
}</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212649__section18237102335311"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212649__screen63943111336">{
|
||||
"job_id": "70a599e0-31e7-49b7-b260-868f441e862b"
|
||||
"job_id": "ff80808288d41e1b018990260955686a"
|
||||
}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212649__section27037160"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0020212649__p23224207">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
||||
|
@ -84,8 +84,10 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212650__section32830290"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212650__p29397739">None</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212650__section7158465403"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212650__screen15753193211">POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/action</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212650__screen52812733194534">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212650__section7158465403"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212650__p175556188293">Restart a specified ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212650__screen52812733194534">POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/action
|
||||
|
||||
{
|
||||
"reboot": {
|
||||
"type": "SOFT"
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
<a name="EN-US_TOPIC_0020212651"></a><a name="EN-US_TOPIC_0020212651"></a>
|
||||
|
||||
<h1 class="topictitle1">Stopping <span id="text18399103411264">ECS</span>s in a Batch</h1>
|
||||
<div id="body66592127"><div class="section" id="EN-US_TOPIC_0020212651__section14270750"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212651__p25253189">This API is used to stop <span id="EN-US_TOPIC_0020212651__text1162923512261">ECS</span>s in a batch based on the specified <span id="EN-US_TOPIC_0020212651__text275813480146">ECS</span> ID list. A maximum of 1000 <span id="EN-US_TOPIC_0020212651__text1418218511145">ECS</span>s can be stopped at a time.</p>
|
||||
<div id="body66592127"><div class="section" id="EN-US_TOPIC_0020212651__section14270750"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212651__p25253189">This API is used to stop <span id="EN-US_TOPIC_0020212651__text1162923512261">ECS</span>s in a batch based on the specified <span id="EN-US_TOPIC_0020212651__text275813480146">ECS</span> ID list. A maximum of 1,000 <span id="EN-US_TOPIC_0020212651__text1418218511145">ECS</span>s can be stopped in one minute.</p>
|
||||
<p id="EN-US_TOPIC_0020212651__p6986181210116">This API is an asynchronous API. After the batch stop request is successfully delivered, a job ID is returned. This does not mean the batch stop is complete. You need to call the API by referring to <a href="en-us_topic_0022225398.html">Querying Task Execution Status</a> to query the job status. The SUCCESS status indicates that the batch stop is successful.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212651__section61327894"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212651__p65852633155046">POST /v1/{project_id}/cloudservers/action</p>
|
||||
<div class="p" id="EN-US_TOPIC_0020212651__p823913315267"><a href="#EN-US_TOPIC_0020212651__table66418347">Table 1</a> describes the parameters in the URI.
|
||||
@ -108,8 +109,9 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212651__section1503503"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212651__p54575646">See <a href="en-us_topic_0022067714.html">Responses (Task)</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212651__section78042033102712"><h4 class="sectiontitle">Example Request</h4><div class="p" id="EN-US_TOPIC_0020212651__p1070212407536">In the request parameters, the request for stopping the <span id="EN-US_TOPIC_0020212651__text1578143972619">ECS</span> must be issued with field <strong id="EN-US_TOPIC_0020212651__b159725111510">os-stop</strong>, as shown in the example request.<pre class="screen" id="EN-US_TOPIC_0020212651__screen1515224184910">POST https://{endpoint}/v1/{project_id}/cloudservers/action</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212651__screen41547899194556">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212651__section78042033102712"><h4 class="sectiontitle">Example Request</h4><div class="p" id="EN-US_TOPIC_0020212651__p1070212407536">Batch stop ECSs whose IDs are <strong id="EN-US_TOPIC_0020212651__b8967182113239">616fb98f-46ca-475e-917e-2563e5a8cd19</strong> and <strong id="EN-US_TOPIC_0020212651__b1296762132318">726fb98f-46ca-475e-917e-2563e5a8cd20</strong> with the request parameter set to <strong id="EN-US_TOPIC_0020212651__b17967172132310">os-stop</strong>.<pre class="screen" id="EN-US_TOPIC_0020212651__screen41547899194556">POST https://{endpoint}/v1/{project_id}/cloudservers/action
|
||||
|
||||
{
|
||||
"os-stop": {
|
||||
"type":"HARD",
|
||||
"servers": [
|
||||
@ -119,13 +121,14 @@
|
||||
{
|
||||
"id": "726fb98f-46ca-475e-917e-2563e5a8cd20"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
}</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212651__section14343105213539"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0020212651__p1484610115415">None</p>
|
||||
<div class="section" id="EN-US_TOPIC_0020212651__section14343105213539"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212651__screen1688302231313">{
|
||||
"job_id": "ff808082889bd9690189061140c235fe"
|
||||
}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212651__section27037160"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0020212651__p23224207">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
||||
</div>
|
||||
|
@ -84,8 +84,10 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212652__section50439840"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212652__p33212803">None</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212652__section38609473427"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212652__screen63704316220">POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/action</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212652__screen64712762194611">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212652__section38609473427"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212652__p10230144892919">Stop a specified ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212652__screen64712762194611">POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/action
|
||||
|
||||
{
|
||||
"os-stop": {}
|
||||
}</pre>
|
||||
</div>
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Modifying the Specifications of an <span id="text17988164611250">ECS</span></h1>
|
||||
<div id="body28932175"><div class="section" id="EN-US_TOPIC_0020212653__section5379216"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212653__p5596104012214"><span id="EN-US_TOPIC_0020212653__text71951219496">ECS</span> specifications can be modified, for example, upgrading the vCPUs and memory, to meet service requirements. This API is used to modify <span id="EN-US_TOPIC_0020212653__text107161833175810">ECS</span> specifications.</p>
|
||||
<p id="EN-US_TOPIC_0020212653__p4263113112566">This API is an asynchronous API. After the specifications modification request is successfully delivered, a job ID is returned. This does not mean the modification is complete. You need to call the API by referring to <a href="en-us_topic_0022225398.html">Querying Task Execution Status</a> to query the job status. The SUCCESS status indicates that the modification is successful.</p>
|
||||
<p id="EN-US_TOPIC_0020212653__p65611548195111">An ECS flavor cannot be changed to certain flavors. For details, see <a href="en-us_topic_0110472767.html">Querying the Target Flavors to Which an ECS Flavor Can Be Changed</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212653__section10197106104013"><h4 class="sectiontitle">Constraints</h4><ul id="EN-US_TOPIC_0020212653__ul2178142918719"><li id="EN-US_TOPIC_0020212653__li31785299713">You can modify the <span id="EN-US_TOPIC_0020212653__text1319665212519">ECS</span> specifications only when the <span id="EN-US_TOPIC_0020212653__text1873103611716">ECS</span> is stopped.</li></ul>
|
||||
@ -62,9 +63,9 @@
|
||||
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.4.2.2.2.5.1.3 "><p id="EN-US_TOPIC_0020212653__p1614493811514">Boolean</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.4.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0020212653__p1198681771619">Specifies whether to only check the request and not modify the ECS specifications.</p>
|
||||
<p id="EN-US_TOPIC_0020212653__p5271881611"><strong id="EN-US_TOPIC_0020212653__b4450172415450">true</strong>: The request is sent and the ECS specifications will not be modified. Check items include mandatory parameters and request format.</p>
|
||||
<p id="EN-US_TOPIC_0020212653__p5271881611"><strong id="EN-US_TOPIC_0020212653__b4450172415450">true</strong>: The request is sent and the ECS specifications are not modified. Check items include mandatory parameters and request format.</p>
|
||||
<ul id="EN-US_TOPIC_0020212653__ul169865171164"><li id="EN-US_TOPIC_0020212653__li29865173165">If the check fails, the system returns an error.</li><li id="EN-US_TOPIC_0020212653__li18986417111616">If the check is successful, the system returns status code 202.</li></ul>
|
||||
<p id="EN-US_TOPIC_0020212653__p598614171161"><strong id="EN-US_TOPIC_0020212653__b4571173234513">false</strong>: The request is sent and the ECS specifications will be modified if the check is successful.</p>
|
||||
<p id="EN-US_TOPIC_0020212653__p598614171161"><strong id="EN-US_TOPIC_0020212653__b4571173234513">false</strong>: The request is sent and the ECS specifications will be modified after the check is passed.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -97,15 +98,17 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212653__section29135036"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212653__p17425743">See <a href="en-us_topic_0022067714.html">Responses (Task)</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212653__section1183192295620"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212653__screen18856755142815">POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/resize</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212653__screen10956347143412">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212653__section1183192295620"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212653__p7314123574120">Change the ECS flavor to c3.15xlarge.2.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212653__screen10956347143412">POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/resize
|
||||
|
||||
{
|
||||
"resize": {
|
||||
"flavorRef": "c3.15xlarge.2"
|
||||
}
|
||||
}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212653__section1923071117499"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212653__screen19417185413">{
|
||||
"job_id": "70a599e0-31e7-49b7-b260-868f441e862b"
|
||||
"job_id": "ff80808288d41e1b018990260955686a"
|
||||
} </pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212653__section27037160"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0020212653__p23224207">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
||||
|
@ -15,7 +15,7 @@
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0124385014.html">OpenStack Nova APIs</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0124385014.html">Native OpenStack Nova APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="13.381338133813381%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212656__p33645693">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="52.36523652365236%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212656__p1391484841811">Specify an AZ. If this parameter is not left blank, flavors in the <strong id="EN-US_TOPIC_0020212656__b178388451409">normal</strong>, <strong id="EN-US_TOPIC_0020212656__b124451194013">obt</strong>, or <strong id="EN-US_TOPIC_0020212656__b203901254194013">promotion</strong> state are returned.</p>
|
||||
<td class="cellrowborder" valign="top" width="52.36523652365236%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212656__p1391484841811">Specifies an AZ. If this parameter is not left blank, flavors in the <strong id="EN-US_TOPIC_0020212656__b178388451409">normal</strong>, <strong id="EN-US_TOPIC_0020212656__b124451194013">obt</strong>, or <strong id="EN-US_TOPIC_0020212656__b203901254194013">promotion</strong> state are returned.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -235,7 +235,7 @@
|
||||
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.5.2.5.2.4.1.2 "><p id="EN-US_TOPIC_0020212656__p53130157">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.5.2.4.1.3 "><p id="EN-US_TOPIC_0020212656__p10070188">Specifies the <span id="EN-US_TOPIC_0020212656__text05902564307">ECS</span> flavor type:</p>
|
||||
<ul id="EN-US_TOPIC_0020212656__ul30830313154217"><li id="EN-US_TOPIC_0020212656__li45087873154217"><strong id="EN-US_TOPIC_0020212656__b18933105864811">normal</strong>: general computing</li><li id="EN-US_TOPIC_0020212656__li5664919154217"><strong id="EN-US_TOPIC_0020212656__b64942601153937">cpuv1</strong>: computing I</li><li id="EN-US_TOPIC_0020212656__li37236887154217"><strong id="EN-US_TOPIC_0020212656__b42292462153937">cpuv2</strong>: computing II</li><li id="EN-US_TOPIC_0020212656__li7350204325111"><strong id="EN-US_TOPIC_0020212656__b84235270619150">computingv3</strong>: general computing-plus</li><li id="EN-US_TOPIC_0020212656__li46138012154217"><strong id="EN-US_TOPIC_0020212656__b24328905153937">highmem</strong>: memory-optimized</li><li id="EN-US_TOPIC_0020212656__li2256179514129"><strong id="EN-US_TOPIC_0020212656__b842352706182019">saphana</strong>: large-memory</li><li id="EN-US_TOPIC_0020212656__li147727295210"><strong id="EN-US_TOPIC_0020212656__b284086133713">saphana</strong>: large-memory HANA ECS</li><li id="EN-US_TOPIC_0020212656__li46610036102650"><strong id="EN-US_TOPIC_0020212656__b8423527068463">diskintensive</strong>: disk-intensive</li><li id="EN-US_TOPIC_0020212656__li3921009161231"><strong id="EN-US_TOPIC_0020212656__b84235270618537">highcpu</strong>: high-performance computing</li><li id="EN-US_TOPIC_0020212656__li4949388510472"><strong id="EN-US_TOPIC_0020212656__b84235270692455">gpu</strong>: GPU-accelerated</li><li id="EN-US_TOPIC_0020212656__li62522043316"><strong id="EN-US_TOPIC_0020212656__b84235270693231">fpga</strong>: FPGA-accelerated</li></ul>
|
||||
<ul id="EN-US_TOPIC_0020212656__ul30830313154217"><li id="EN-US_TOPIC_0020212656__li45087873154217"><strong id="EN-US_TOPIC_0020212656__b18933105864811">normal</strong>: general computing</li><li id="EN-US_TOPIC_0020212656__li5664919154217"><strong id="EN-US_TOPIC_0020212656__b64942601153937">cpuv1</strong>: computing I</li><li id="EN-US_TOPIC_0020212656__li37236887154217"><strong id="EN-US_TOPIC_0020212656__b42292462153937">cpuv2</strong>: computing II</li><li id="EN-US_TOPIC_0020212656__li7350204325111"><strong id="EN-US_TOPIC_0020212656__b84235270619150">computingv3</strong>: general computing-plus</li><li id="EN-US_TOPIC_0020212656__li46138012154217"><strong id="EN-US_TOPIC_0020212656__b24328905153937">highmem</strong>: memory-optimized</li><li id="EN-US_TOPIC_0020212656__li46610036102650"><strong id="EN-US_TOPIC_0020212656__b8423527068463">diskintensive</strong>: disk-intensive</li><li id="EN-US_TOPIC_0020212656__li3921009161231"><strong id="EN-US_TOPIC_0020212656__b84235270618537">highcpu</strong>: high-performance computing</li><li id="EN-US_TOPIC_0020212656__li4949388510472"><strong id="EN-US_TOPIC_0020212656__b84235270692455">gpu</strong>: GPU-accelerated</li><li id="EN-US_TOPIC_0020212656__li62522043316"><strong id="EN-US_TOPIC_0020212656__b84235270693231">fpga</strong>: FPGA-accelerated</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212656__row1765536610939"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.5.2.5.2.4.1.1 "><p id="EN-US_TOPIC_0020212656__p148927910953">resource_type</p>
|
||||
@ -256,7 +256,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.5.2.5.2.4.1.2 "><p id="EN-US_TOPIC_0020212656__p219411211029">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.5.2.4.1.3 "><p id="EN-US_TOPIC_0020212656__p3733921611317">Specifies the maximum bandwidth in the unit of Mbit/s. The maximum value of this parameter is <strong id="EN-US_TOPIC_0020212656__b84235270620405">10000</strong>.</p>
|
||||
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.5.2.4.1.3 "><p id="EN-US_TOPIC_0020212656__p3733921611317">Specifies the maximum bandwidth in the unit of Mbit/s. The maximum value of this parameter is <strong id="EN-US_TOPIC_0020212656__b84235270620405">10,000</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212656__row210633411030"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.5.2.5.2.4.1.1 "><p id="EN-US_TOPIC_0020212656__p4719080011112">instance_vnic:max_count</p>
|
||||
@ -271,8 +271,8 @@
|
||||
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.5.2.5.2.4.1.2 "><p id="EN-US_TOPIC_0020212656__p2948474411032">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.5.2.4.1.3 "><p id="EN-US_TOPIC_0020212656__p18886502171752">The value of this parameter is in format of "{type}:{count}:{size}:{safeFormat}", where,</p>
|
||||
<ul id="EN-US_TOPIC_0020212656__ul5014974617193"><li id="EN-US_TOPIC_0020212656__li831547617193"><strong id="EN-US_TOPIC_0020212656__b8423527068536">type</strong>: indicates the disk type, which can only be HDD.</li><li id="EN-US_TOPIC_0020212656__li107047274274"><strong id="EN-US_TOPIC_0020212656__b84235270685329">count</strong>: indicates the number of local disks.<ul id="EN-US_TOPIC_0020212656__ul690223619270"><li id="EN-US_TOPIC_0020212656__li15917333202713">For D2 ECSs, the value can be 2, 4, 8, 12, 16, or 24.</li><li id="EN-US_TOPIC_0020212656__li6544458117193">For D3 ECSs, the value can be 2, 4, 8, 12, 16, 24, or 28.</li></ul>
|
||||
</li><li id="EN-US_TOPIC_0020212656__li4026484217193"><strong id="EN-US_TOPIC_0020212656__b84235270620446">size</strong>: indicates the capacity of a single disk, in GB. Currently, only <strong id="EN-US_TOPIC_0020212656__b842352706204418">1675</strong> is supported. The actual disk size is <strong id="EN-US_TOPIC_0020212656__b842352706204424">1800</strong>, and the available size after formatting is <strong id="EN-US_TOPIC_0020212656__b842352706204431">1675</strong>.</li><li id="EN-US_TOPIC_0020212656__li84258431273"><strong id="EN-US_TOPIC_0020212656__b108571940191512">safeFormat</strong>: indicates whether the local disks of the <span id="EN-US_TOPIC_0020212656__text542664342712">ECS</span> are securely formatted.<ul id="EN-US_TOPIC_0020212656__ul1821814916276"><li id="EN-US_TOPIC_0020212656__li6583726617193">For D2 or D3 ECSs, the value is <strong id="EN-US_TOPIC_0020212656__b19311312171714">True</strong>.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0020212656__ul5014974617193"><li id="EN-US_TOPIC_0020212656__li831547617193"><strong id="EN-US_TOPIC_0020212656__b8423527068536">type</strong>: indicates the disk type, which can only be HDD.</li><li id="EN-US_TOPIC_0020212656__li107047274274"><strong id="EN-US_TOPIC_0020212656__b84235270685329">count</strong>: indicates the number of local disks. The following types are supported:<ul id="EN-US_TOPIC_0020212656__ul690223619270"><li id="EN-US_TOPIC_0020212656__li15917333202713">For D2 ECSs, the value can be 2, 4, 8, 12, 16, or 24.</li><li id="EN-US_TOPIC_0020212656__li6544458117193">For D3 ECSs, the value can be 2, 4, 8, 12, 16, 24, or 28.</li></ul>
|
||||
</li><li id="EN-US_TOPIC_0020212656__li4026484217193"><strong id="EN-US_TOPIC_0020212656__b84235270620446">size</strong>: indicates the capacity of a single disk, in GB. Currently, only <strong id="EN-US_TOPIC_0020212656__b842352706204418">1675</strong> is supported. The actual disk size is <strong id="EN-US_TOPIC_0020212656__b842352706204424">1800</strong>, and the available size after formatting is <strong id="EN-US_TOPIC_0020212656__b842352706204431">1675</strong>.</li><li id="EN-US_TOPIC_0020212656__li84258431273"><strong id="EN-US_TOPIC_0020212656__b108571940191512">safeFormat</strong>: indicates whether the local disks of the <span id="EN-US_TOPIC_0020212656__text542664342712">ECS</span> are securely formatted. The following types are supported:<ul id="EN-US_TOPIC_0020212656__ul1821814916276"><li id="EN-US_TOPIC_0020212656__li6583726617193">For D2 or D3 ECSs, the value is <strong id="EN-US_TOPIC_0020212656__b19311312171714">True</strong>.</li></ul>
|
||||
</li></ul>
|
||||
<div class="note" id="EN-US_TOPIC_0020212656__note19568384171814"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0020212656__p41897735171814">This field is dedicated for disk-intensive ECSs.</p>
|
||||
</div></div>
|
||||
@ -348,7 +348,7 @@
|
||||
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.5.2.5.2.4.1.2 "><p id="EN-US_TOPIC_0020212656__p14391184819100">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.5.2.4.1.3 "><p id="EN-US_TOPIC_0020212656__p1767118159115">Specifies the maximum bandwidth.</p>
|
||||
<ul id="EN-US_TOPIC_0020212656__ul572353916149"><li id="EN-US_TOPIC_0020212656__li072333917143">Unit: Mbit/s. If a bandwidth is in the unit of Gbit/s, it must be divided by 1000.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0020212656__ul572353916149"><li id="EN-US_TOPIC_0020212656__li072333917143">Unit: Mbit/s. If a bandwidth is in the unit of Gbit/s, it must be divided by 1,000.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212656__row1879715571010"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.5.2.5.2.4.1.1 "><p id="EN-US_TOPIC_0020212656__p11438958121015">quota:min_rate</p>
|
||||
@ -356,7 +356,7 @@
|
||||
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.5.2.5.2.4.1.2 "><p id="EN-US_TOPIC_0020212656__p9543182031515">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.5.2.4.1.3 "><p id="EN-US_TOPIC_0020212656__p567181510118">Specified the assured bandwidth.</p>
|
||||
<ul id="EN-US_TOPIC_0020212656__ul1173092731517"><li id="EN-US_TOPIC_0020212656__li19730627131519">Unit: Mbit/s. If a bandwidth is in the unit of Gbit/s, it must be divided by 1000.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0020212656__ul1173092731517"><li id="EN-US_TOPIC_0020212656__li19730627131519">Unit: Mbit/s. If a bandwidth is in the unit of Gbit/s, it must be divided by 1,000.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212656__row1628165141013"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.5.2.5.2.4.1.1 "><p id="EN-US_TOPIC_0020212656__p13438358171015">quota:max_pps</p>
|
||||
@ -364,7 +364,7 @@
|
||||
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.5.2.5.2.4.1.2 "><p id="EN-US_TOPIC_0020212656__p627754891516">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.5.2.4.1.3 "><p id="EN-US_TOPIC_0020212656__p166719153116">Specifies the maximum intranet PPS.</p>
|
||||
<ul id="EN-US_TOPIC_0020212656__ul991890151616"><li id="EN-US_TOPIC_0020212656__li3918190181612">Unit: number. If a value is in the unit of 10000, it must be divided by 10000.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0020212656__ul991890151616"><li id="EN-US_TOPIC_0020212656__li3918190181612">Unit: number. If a value is in the unit of 10,000, it must be divided by 10,000.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212656__row121692012201"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.5.2.5.2.4.1.1 "><p id="EN-US_TOPIC_0020212656__p1216152092019">cond:operation:charge</p>
|
||||
@ -390,7 +390,8 @@
|
||||
</div>
|
||||
<div class="note" id="EN-US_TOPIC_0020212656__note5948865310216"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0020212656__p6563583010216">For more information, see "ECS Specifications and Types" in <em id="EN-US_TOPIC_0020212656__i842352697101732">Elastic Cloud Server User Guide</em>.</p>
|
||||
</div></div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212656__section11327529135420"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212656__screen47185472549">GET https://<em id="EN-US_TOPIC_0020212656__i5452131772714">{endpoint}</em>/v1/{project_id}/cloudservers/flavors?availability_zone=availability_value</pre>
|
||||
<div class="section" id="EN-US_TOPIC_0020212656__section11327529135420"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212656__p14502125672017">Query details about ECS flavors and extended flavor information.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212656__screen47185472549">GET https://<em id="EN-US_TOPIC_0020212656__i5452131772714">{endpoint}</em>/v1/{project_id}/cloudservers/flavors?availability_zone=availability_value</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212656__section437243975713"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212656__screen114251639135714">{
|
||||
"flavors": [
|
||||
@ -426,7 +427,7 @@
|
||||
"resource_type": "IOoptimizedC3_2"
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212656__section58665336"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0020212656__p35977388">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
||||
|
@ -12,7 +12,7 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0094148850.html">Querying Details About ECSs</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0118308527.html">Modifying an ECS</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0118308527.html">Modifying ECS Details</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
@ -163,7 +163,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.38%" headers="mcps1.3.5.4.2.4.1.2 "><p id="EN-US_TOPIC_0020212658__p31087024173145">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.51%" headers="mcps1.3.5.4.2.4.1.3 "><p id="EN-US_TOPIC_0020212658__p1699362755013">Specifies the swap partition size required by the <span id="EN-US_TOPIC_0020212658__text12996747142115">ECS</span> flavor.</p>
|
||||
<p id="EN-US_TOPIC_0020212658__p4563766173425">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212658__b1287576876">""</strong>.</p>
|
||||
<p id="EN-US_TOPIC_0020212658__p4563766173425">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212658__b1876429901">""</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212658__row56925253"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.5.4.2.4.1.1 "><p id="EN-US_TOPIC_0020212658__p47542785">OS-FLV-EXT-DATA:ephemeral</p>
|
||||
@ -171,7 +171,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.38%" headers="mcps1.3.5.4.2.4.1.2 "><p id="EN-US_TOPIC_0020212658__p18132829173145">Integer</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.51%" headers="mcps1.3.5.4.2.4.1.3 "><p id="EN-US_TOPIC_0020212658__p16591226713">Specifies the temporary disk size. This is an extended attribute.</p>
|
||||
<p id="EN-US_TOPIC_0020212658__p1140814148017">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212658__b1048271353">0</strong>.</p>
|
||||
<p id="EN-US_TOPIC_0020212658__p1140814148017">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212658__b1119563223">0</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212658__row44806966"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.5.4.2.4.1.1 "><p id="EN-US_TOPIC_0020212658__p5485596">OS-FLV-DISABLED:disabled</p>
|
||||
@ -179,7 +179,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.38%" headers="mcps1.3.5.4.2.4.1.2 "><p id="EN-US_TOPIC_0020212658__p52585611173145">Boolean</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.51%" headers="mcps1.3.5.4.2.4.1.3 "><p id="EN-US_TOPIC_0020212658__p32761310192019">Specifies whether the <span id="EN-US_TOPIC_0020212658__text1587395502110">ECS</span> flavor has been disabled. This is an extended attribute.</p>
|
||||
<p id="EN-US_TOPIC_0020212658__p182115151112">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212658__b659137529">false</strong>.</p>
|
||||
<p id="EN-US_TOPIC_0020212658__p182115151112">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212658__b1821711967">false</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212658__row42184651"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.5.4.2.4.1.1 "><p id="EN-US_TOPIC_0020212658__p61513540">rxtx_factor</p>
|
||||
@ -187,7 +187,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.38%" headers="mcps1.3.5.4.2.4.1.2 "><p id="EN-US_TOPIC_0020212658__p7527547173145">Float</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.51%" headers="mcps1.3.5.4.2.4.1.3 "><p id="EN-US_TOPIC_0020212658__p16772171313154">Specifies the ratio of the available network bandwidth to the network hardware bandwidth of the <span id="EN-US_TOPIC_0020212658__text1336793262312">ECS</span>.</p>
|
||||
<p id="EN-US_TOPIC_0020212658__p3711880173425">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212658__b1068895881">1.0</strong>.</p>
|
||||
<p id="EN-US_TOPIC_0020212658__p3711880173425">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212658__b152329064">1.0</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212658__row51313205"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.5.4.2.4.1.1 "><p id="EN-US_TOPIC_0020212658__p62728917">os-flavor-access:is_public</p>
|
||||
@ -195,7 +195,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.38%" headers="mcps1.3.5.4.2.4.1.2 "><p id="EN-US_TOPIC_0020212658__p43117912173145">Boolean</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.51%" headers="mcps1.3.5.4.2.4.1.3 "><p id="EN-US_TOPIC_0020212658__p8894218182818">Specifies whether a flavor is available to all tenants. This is an extended attribute.</p>
|
||||
<ul id="EN-US_TOPIC_0020212658__ul1474014143815"><li id="EN-US_TOPIC_0020212658__li174051412817"><strong id="EN-US_TOPIC_0020212658__b84235270620200">true</strong>: indicates that a flavor is available to all tenants.</li><li id="EN-US_TOPIC_0020212658__li974011141783"><strong id="EN-US_TOPIC_0020212658__b1236892796">false</strong>: indicates that a flavor is available only to certain tenants.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0020212658__ul1474014143815"><li id="EN-US_TOPIC_0020212658__li174051412817"><strong id="EN-US_TOPIC_0020212658__b84235270620200">true</strong>: indicates that a flavor is available to all tenants.</li><li id="EN-US_TOPIC_0020212658__li974011141783"><strong id="EN-US_TOPIC_0020212658__b1036112385">false</strong>: indicates that a flavor is available only to certain tenants.</li></ul>
|
||||
<p id="EN-US_TOPIC_0020212658__p35038271466">Default value: <strong id="EN-US_TOPIC_0020212658__b842352706115252">true</strong></p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -236,7 +236,8 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212658__section1063811378466"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212658__en-us_topic_0057973030_screen28983216540">GET https://<em id="EN-US_TOPIC_0020212658__i921675914473">{endpoint}</em>/v2/743b4c0428d94531b9f2add666642e6b/flavors/detail
|
||||
<div class="section" id="EN-US_TOPIC_0020212658__section1063811378466"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212658__p522653471518">Query details about ECS flavors.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212658__en-us_topic_0057973030_screen28983216540">GET https://<em id="EN-US_TOPIC_0020212658__i921675914473">{endpoint}</em>/v2/743b4c0428d94531b9f2add666642e6b/flavors/detail
|
||||
GET https://<em id="EN-US_TOPIC_0020212658__i5452131772714">{endpoint}</em>/v2.1/743b4c0428d94531b9f2add666642e6b/flavors/detail</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212658__section10861115013317"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212658__screen28862509311">{
|
||||
|
@ -112,7 +112,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.2%" headers="mcps1.3.4.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0020212659__p14734188">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.94%" headers="mcps1.3.4.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0020212659__p1699362755013">Specifies the swap partition size required by the <span id="EN-US_TOPIC_0020212659__text72931213192619">ECS</span> flavor.</p>
|
||||
<p id="EN-US_TOPIC_0020212659__p4563766173425">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212659__b719806409">""</strong>.</p>
|
||||
<p id="EN-US_TOPIC_0020212659__p4563766173425">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212659__b204040503">""</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212659__row34246806"><td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.4.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0020212659__p22527890">OS-FLV-EXT-DATA:ephemeral</p>
|
||||
@ -120,7 +120,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.2%" headers="mcps1.3.4.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0020212659__p31767774">Integer</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.94%" headers="mcps1.3.4.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0020212659__p16591226713">Specifies the temporary disk size. This is an extended attribute.</p>
|
||||
<p id="EN-US_TOPIC_0020212659__p1140814148017">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212659__b1821008156">0</strong>.</p>
|
||||
<p id="EN-US_TOPIC_0020212659__p1140814148017">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212659__b195064534">0</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212659__row55347837"><td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.4.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0020212659__p53989823">OS-FLV-DISABLED:disabled</p>
|
||||
@ -128,7 +128,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.2%" headers="mcps1.3.4.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0020212659__p26649649">Boolean</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.94%" headers="mcps1.3.4.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0020212659__p32761310192019">Specifies whether the <span id="EN-US_TOPIC_0020212659__text25831622613">ECS</span> flavor has been disabled. This is an extended attribute.</p>
|
||||
<p id="EN-US_TOPIC_0020212659__p182115151112">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212659__b1713017240">false</strong>.</p>
|
||||
<p id="EN-US_TOPIC_0020212659__p182115151112">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212659__b1614154088">false</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212659__row29760277"><td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.4.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0020212659__p61772230">rxtx_factor</p>
|
||||
@ -136,7 +136,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.2%" headers="mcps1.3.4.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0020212659__p17171756">Float</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.94%" headers="mcps1.3.4.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0020212659__p16772171313154">Specifies the ratio of the available network bandwidth to the network hardware bandwidth of the <span id="EN-US_TOPIC_0020212659__text1837182022619">ECS</span>.</p>
|
||||
<p id="EN-US_TOPIC_0020212659__p3711880173425">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212659__b276842307">1.0</strong>.</p>
|
||||
<p id="EN-US_TOPIC_0020212659__p3711880173425">This parameter has not been used. Its default value is <strong id="EN-US_TOPIC_0020212659__b1117656906">1.0</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212659__row5115727"><td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.4.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0020212659__p11720763">os-flavor-access:is_public</p>
|
||||
@ -144,7 +144,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.2%" headers="mcps1.3.4.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0020212659__p60282721">Boolean</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66.94%" headers="mcps1.3.4.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0020212659__p8894218182818">Specifies whether a flavor is available to all tenants. This is an extended attribute.</p>
|
||||
<ul id="EN-US_TOPIC_0020212659__ul1474014143815"><li id="EN-US_TOPIC_0020212659__li174051412817"><strong id="EN-US_TOPIC_0020212659__b84235270620200">true</strong>: indicates that a flavor is available to all tenants.</li><li id="EN-US_TOPIC_0020212659__li974011141783"><strong id="EN-US_TOPIC_0020212659__b443261720">false</strong>: indicates that a flavor is available only to certain tenants.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0020212659__ul1474014143815"><li id="EN-US_TOPIC_0020212659__li174051412817"><strong id="EN-US_TOPIC_0020212659__b84235270620200">true</strong>: indicates that a flavor is available to all tenants.</li><li id="EN-US_TOPIC_0020212659__li974011141783"><strong id="EN-US_TOPIC_0020212659__b1205657909">false</strong>: indicates that a flavor is available only to certain tenants.</li></ul>
|
||||
<p id="EN-US_TOPIC_0020212659__p35038271466">Default value: <strong id="EN-US_TOPIC_0020212659__b842352706115252">true</strong></p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -186,7 +186,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212659__section17318173018714"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212659__en-us_topic_0057973030_screen28983216540">GET https://<em id="EN-US_TOPIC_0020212659__i5452131772714">{endpoint}</em>/v2/743b4c0428d94531b9f2add666642e6b/flavors/c3.2xlarge.2
|
||||
<div class="section" id="EN-US_TOPIC_0020212659__section17318173018714"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212659__p1298055216157">Query details about an ECS flavor.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212659__en-us_topic_0057973030_screen28983216540">GET https://<em id="EN-US_TOPIC_0020212659__i5452131772714">{endpoint}</em>/v2/743b4c0428d94531b9f2add666642e6b/flavors/c3.2xlarge.2
|
||||
GET https://<em id="EN-US_TOPIC_0020212659__i2290172712485">{endpoint}</em>/v2.1/743b4c0428d94531b9f2add666642e6b/flavors/c3.2xlarge.2</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212659__section17459730163216"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212659__screen547413308329">{
|
||||
|
@ -4,9 +4,9 @@
|
||||
<div id="body55023063"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0020212661.html">Querying ECS NICs</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0020212661.html">Querying NICs of an ECS</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0020212662.html">Querying NICs of an ECS</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0020212662.html">Querying Details About a Specified NIC of an ECS</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0020212664.html">Adding a NIC to an ECS</a></strong><br>
|
||||
</li>
|
||||
@ -15,7 +15,7 @@
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0124385014.html">OpenStack Nova APIs</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0124385014.html">Native OpenStack Nova APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<a name="EN-US_TOPIC_0020212661"></a><a name="EN-US_TOPIC_0020212661"></a>
|
||||
|
||||
<h1 class="topictitle1">Querying <span id="text19627182014913">ECS</span> NICs</h1>
|
||||
<div id="body17780525"><div class="section" id="EN-US_TOPIC_0020212661__section36073588"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212661__p30936422">This API is used to query information about <span id="EN-US_TOPIC_0020212661__text10195172294913">ECS</span> NICs.</p>
|
||||
<h1 class="topictitle1">Querying NICs of an ECS</h1>
|
||||
<div id="body17780525"><div class="section" id="EN-US_TOPIC_0020212661__section36073588"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212661__p30936422">This API is used to query NICs attached to an ECS.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212661__section56226836"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212661__p3644418132711">GET /v2.1/{project_id}/servers/{server_id}/os-interface</p>
|
||||
<p id="EN-US_TOPIC_0020212661__p1940618356508">GET /v2/{project_id}/servers/{server_id}/os-interface</p>
|
||||
@ -102,7 +102,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212661__table19750463"></a><a name="table19750463"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212661__table19750463" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong>fixed_ips</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212661__row60761195"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.4.2.4.2.4.1.1"><p id="EN-US_TOPIC_0020212661__p1495811588288">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212661__table19750463"></a><a name="table19750463"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212661__table19750463" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="EN-US_TOPIC_0020212661__b1120412515918">fixed_ips</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212661__row60761195"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.4.2.4.2.4.1.1"><p id="EN-US_TOPIC_0020212661__p1495811588288">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="15.6%" id="mcps1.3.4.2.4.2.4.1.2"><p id="EN-US_TOPIC_0020212661__p5958105810282">Type</p>
|
||||
</th>
|
||||
@ -129,7 +129,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212661__section10941134193415"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212661__screen48151939151718">GET https://{endpoint}/v2/{project_id}/servers/{server_id}/os-interface
|
||||
<div class="section" id="EN-US_TOPIC_0020212661__section10941134193415"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212661__p824153741818">Query NICs attached to an ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212661__screen48151939151718">GET https://{endpoint}/v2/{project_id}/servers/{server_id}/os-interface
|
||||
GET https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-interface</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212661__section1829831018292"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212661__screen5160296420260">{
|
||||
|
@ -1,10 +1,10 @@
|
||||
<a name="EN-US_TOPIC_0020212662"></a><a name="EN-US_TOPIC_0020212662"></a>
|
||||
|
||||
<h1 class="topictitle1">Querying NICs of an <span id="text1973402413494">ECS</span></h1>
|
||||
<div id="body9540645"><div class="section" id="EN-US_TOPIC_0020212662__section44739342"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212662__p34594790">This API is used to query NICs of an <span id="EN-US_TOPIC_0020212662__text1275011137506">ECS</span> based on the NIC ID.</p>
|
||||
<h1 class="topictitle1">Querying Details About a Specified NIC of an <span id="text1973402413494">ECS</span></h1>
|
||||
<div id="body9540645"><div class="section" id="EN-US_TOPIC_0020212662__section44739342"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212662__p34594790">This API is used to query details about an NIC based on the NIC ID.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212662__section901"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212662__p3994129182710">GET /v2.1/{project_id}/servers/{server_id}/os-interface/{id}</p>
|
||||
<p id="EN-US_TOPIC_0020212662__p1465518385113">GET /v2/{project_id}/servers/{server_id}/os-interface/{id}</p>
|
||||
<div class="section" id="EN-US_TOPIC_0020212662__section901"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212662__p3994129182710">GET /v2.1/{project_id}/servers/{server_id}/os-interface/{port_id}</p>
|
||||
<p id="EN-US_TOPIC_0020212662__p1465518385113">GET /v2/{project_id}/servers/{server_id}/os-interface/{port_id}</p>
|
||||
<div class="p" id="EN-US_TOPIC_0020212662__p314332920296"><a href="#EN-US_TOPIC_0020212662__table25654779">Table 1</a> describes the parameters in the URI.
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212662__table25654779"></a><a name="table25654779"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212662__table25654779" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212662__row30661937"><th align="left" class="cellrowborder" valign="top" width="16.79%" id="mcps1.3.2.4.2.2.4.1.1"><p id="EN-US_TOPIC_0020212662__p5187119">Parameter</p>
|
||||
</th>
|
||||
@ -28,7 +28,7 @@
|
||||
<td class="cellrowborder" valign="top" width="65.85%" headers="mcps1.3.2.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0020212662__p5048782717451">Specifies the <span id="EN-US_TOPIC_0020212662__text145733214343">ECS</span> ID.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212662__row39171493"><td class="cellrowborder" valign="top" width="16.79%" headers="mcps1.3.2.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0020212662__p18774354">id</p>
|
||||
<tr id="EN-US_TOPIC_0020212662__row39171493"><td class="cellrowborder" valign="top" width="16.79%" headers="mcps1.3.2.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0020212662__p18774354">port_id</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="17.36%" headers="mcps1.3.2.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0020212662__p44327687">Yes</p>
|
||||
</td>
|
||||
@ -109,7 +109,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212662__table53180163"></a><a name="table53180163"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212662__table53180163" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong>fixed_ips</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212662__row34896342"><th align="left" class="cellrowborder" valign="top" width="17.169999999999998%" id="mcps1.3.4.2.4.2.4.1.1"><p id="EN-US_TOPIC_0020212662__p10906155214308">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212662__table53180163"></a><a name="table53180163"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212662__table53180163" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="EN-US_TOPIC_0020212662__b76341132131413">fixed_ips</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212662__row34896342"><th align="left" class="cellrowborder" valign="top" width="17.169999999999998%" id="mcps1.3.4.2.4.2.4.1.1"><p id="EN-US_TOPIC_0020212662__p10906155214308">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17.36%" id="mcps1.3.4.2.4.2.4.1.2"><p id="EN-US_TOPIC_0020212662__p1490615524301">Type</p>
|
||||
</th>
|
||||
@ -136,8 +136,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212662__section132471610203513"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212662__screen0751239171811">GET https://{endpoint}/v2/{project_id}/servers/{server_id}/os-interface/{id}
|
||||
GET https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-interface/{id}</pre>
|
||||
<div class="section" id="EN-US_TOPIC_0020212662__section132471610203513"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212662__p14323202113814">Query details about an NIC based on the specified NIC ID.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212662__screen0751239171811">GET https://{endpoint}/v2/{project_id}/servers/{server_id}/os-interface/{port_id}
|
||||
GET https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-interface/{port_id}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212662__section1032435683014"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212662__screen29667905202623">{
|
||||
"interfaceAttachment":
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Adding NICs to an <span id="text37715422316">ECS</span> in a Batch</h1>
|
||||
<div id="body35960896"><div class="section" id="EN-US_TOPIC_0020212663__section36695198"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212663__p27151449">This API is used to add one or multiple NICs to an <span id="EN-US_TOPIC_0020212663__text15477134303113">ECS</span>.</p>
|
||||
<p id="EN-US_TOPIC_0020212663__p37691068166">This API is an asynchronous API. After the NIC adding request is successfully delivered, a job ID is returned. This does not mean the NIC adding is complete. You need to call the API by referring to <a href="en-us_topic_0022225398.html">Querying Task Execution Status</a> to query the job status. The SUCCESS status indicates that the NIC adding is successful.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212663__section61821327"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212663__p26146718161035">POST /v1/{project_id}/cloudservers/{server_id}/nics</p>
|
||||
<div class="p" id="EN-US_TOPIC_0020212663__p1654115371603"><a href="#EN-US_TOPIC_0020212663__table54800025">Table 1</a> describes the parameters in the URI.
|
||||
@ -56,7 +57,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212663__table58396974"></a><a name="table58396974"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212663__table58396974" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong>nics</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212663__row66803900"><th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212663__p1423511508114">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212663__table58396974"></a><a name="table58396974"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212663__table58396974" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0020212663__b5707105113328">nics</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212663__row66803900"><th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212663__p1423511508114">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0020212663__p142352508112">Mandatory</p>
|
||||
</th>
|
||||
@ -94,6 +95,25 @@
|
||||
<td class="cellrowborder" valign="top" width="53%" headers="mcps1.3.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212663__p12564913104818">Specifies the IP address. If this parameter is unavailable, the IP address is automatically assigned.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212663__row12951125773012"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212663__en-us_topic_0020212668_p12341419175713">ipv6_enable</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0020212663__en-us_topic_0020212668_p677791510531">No</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212663__en-us_topic_0020212668_p47771915145316">Boolean</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="53%" headers="mcps1.3.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212663__en-us_topic_0020212668_p17772182665418">Indicates whether to support IPv6 addresses.</p>
|
||||
<p id="EN-US_TOPIC_0020212663__en-us_topic_0020212668_p1400636175415">If this parameter is set to <strong id="EN-US_TOPIC_0020212663__b842352706145641">true</strong>, the NIC supports IPv6 addresses.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212663__row119501357103010"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212663__en-us_topic_0020212668_p136741056145715">ipv6_bandwidth</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0020212663__en-us_topic_0020212668_p76741256185711">No</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212663__en-us_topic_0020212668_p1267412565578">Object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="53%" headers="mcps1.3.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212663__en-us_topic_0020212668_p4674125655719">Specifies the bound shared bandwidth. For details, see <a href="en-us_topic_0167957246.html#EN-US_TOPIC_0167957246__section2872318176">ipv6_bandwidth Field Description</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@ -124,8 +144,10 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212663__section41471619"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212663__p8691069">See <a href="en-us_topic_0022067714.html">Responses (Task)</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212663__section1912511011213"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212663__screen8535145514520">POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/nics</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212663__screen7049587202642">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212663__section1912511011213"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212663__p3100181652418">Add the NIC whose ID is <strong id="EN-US_TOPIC_0020212663__b47232663413">d32019d3-bc6e-4319-9c1d-6722fc136a23</strong> and security group ID is <strong id="EN-US_TOPIC_0020212663__b183731712173414">f0ac4394-7e4a-4409-9701-ba8be283dbc3</strong> to an ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212663__screen7049587202642">POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/nics
|
||||
|
||||
{
|
||||
"nics": [
|
||||
{
|
||||
"subnet_id": "d32019d3-bc6e-4319-9c1d-6722fc136a23",
|
||||
@ -139,7 +161,7 @@
|
||||
}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212663__section120154513611"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212663__screen319614174326">{
|
||||
"job_id": "70a599e0-31e7-49b7-b260-868f441e862b"
|
||||
"job_id": "ff80808288d41e1b018990260955686a"
|
||||
} </pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212663__en-us_topic_0092803065_en-us_topic_0020212692_section22960139"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0020212663__en-us_topic_0092803065_en-us_topic_0020212692_p23670760">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
||||
|
@ -57,7 +57,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212664__table44975500"></a><a name="table44975500"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212664__table44975500" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong>interfaceAttachment</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212664__row35373287"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212664__p163671873419">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212664__table44975500"></a><a name="table44975500"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212664__table44975500" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0020212664__b209293557163">interfaceAttachment</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212664__row35373287"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212664__p163671873419">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17.669999999999998%" id="mcps1.3.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0020212664__p1136121853418">Mandatory</p>
|
||||
</th>
|
||||
@ -74,7 +74,7 @@
|
||||
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212664__p23099752">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="52.26%" headers="mcps1.3.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212664__p62503562">Specifies the port ID.</p>
|
||||
<p id="EN-US_TOPIC_0020212664__p1735084713332">Either <strong id="EN-US_TOPIC_0020212664__b842352706164230">port_id</strong> or <strong id="EN-US_TOPIC_0020212664__b842352706164234">net_id</strong> is used each time.</p>
|
||||
<p id="EN-US_TOPIC_0020212664__p1735084713332">The <strong id="EN-US_TOPIC_0020212664__b842352706164230">port_id</strong> and <strong id="EN-US_TOPIC_0020212664__b842352706164234">net_id</strong> cannot be specified at the same time.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212664__row65287294"><td class="cellrowborder" valign="top" width="16.35%" headers="mcps1.3.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212664__p53779479">net_id</p>
|
||||
@ -84,7 +84,7 @@
|
||||
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212664__p33017564">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="52.26%" headers="mcps1.3.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212664__p44831437">Specifies the network ID.</p>
|
||||
<p id="EN-US_TOPIC_0020212664__p19593329161444">Either <strong id="EN-US_TOPIC_0020212664__b991576796">port_id</strong> or <strong id="EN-US_TOPIC_0020212664__b1803769109">net_id</strong> is used each time.</p>
|
||||
<p id="EN-US_TOPIC_0020212664__p19593329161444">The <strong id="EN-US_TOPIC_0020212664__b499312218194">port_id</strong> and <strong id="EN-US_TOPIC_0020212664__b19993172214196">net_id</strong> cannot be specified at the same time.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212664__row6769295"><td class="cellrowborder" valign="top" width="16.35%" headers="mcps1.3.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212664__p11442060">fixed_ips</p>
|
||||
@ -103,7 +103,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212664__table26224215175117"></a><a name="table26224215175117"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212664__table26224215175117" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong>fixed_ips</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212664__row58580904175117"><th align="left" class="cellrowborder" valign="top" width="16.161616161616163%" id="mcps1.3.3.2.4.2.5.1.1"><p id="EN-US_TOPIC_0020212664__p141684386346">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212664__table26224215175117"></a><a name="table26224215175117"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212664__table26224215175117" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="EN-US_TOPIC_0020212664__b16933165515160">fixed_ips</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212664__row58580904175117"><th align="left" class="cellrowborder" valign="top" width="16.161616161616163%" id="mcps1.3.3.2.4.2.5.1.1"><p id="EN-US_TOPIC_0020212664__p141684386346">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17.171717171717173%" id="mcps1.3.3.2.4.2.5.1.2"><p id="EN-US_TOPIC_0020212664__p19168133812341">Mandatory</p>
|
||||
</th>
|
||||
@ -194,7 +194,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212664__table35098076112057"></a><a name="table35098076112057"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212664__table35098076112057" frame="border" border="1" rules="all"><caption><b>Table 7 </b><strong>fixed_ips</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212664__row50961341112057"><th align="left" class="cellrowborder" valign="top" width="16.6%" id="mcps1.3.4.2.4.2.4.1.1"><p id="EN-US_TOPIC_0020212664__p1214910115455">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212664__table35098076112057"></a><a name="table35098076112057"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212664__table35098076112057" frame="border" border="1" rules="all"><caption><b>Table 7 </b><strong id="EN-US_TOPIC_0020212664__b13937855101610">fixed_ips</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212664__row50961341112057"><th align="left" class="cellrowborder" valign="top" width="16.6%" id="mcps1.3.4.2.4.2.4.1.1"><p id="EN-US_TOPIC_0020212664__p1214910115455">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="15.85%" id="mcps1.3.4.2.4.2.4.1.2"><p id="EN-US_TOPIC_0020212664__p214914120458">Type</p>
|
||||
</th>
|
||||
@ -221,9 +221,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212664__section1478176134514"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212664__screen1512345341815">POST https://{endpoint}/v2/{project_id}/servers/{server_id}/os-interface
|
||||
POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-interface</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212664__screen1255515498389">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212664__section1478176134514"><h4 class="sectiontitle">Example Request</h4><ul id="EN-US_TOPIC_0020212664__ul197181842105219"><li id="EN-US_TOPIC_0020212664__li1771814424522">Add a NIC whose network ID is <strong id="EN-US_TOPIC_0020212664__b13545193113172">3cb9bc59-5699-4588-a4b1-b87f96708bc6</strong>.<pre class="screen" id="EN-US_TOPIC_0020212664__screen1255515498389">POST https://{endpoint}/v2/{project_id}/servers/{server_id}/os-interface
|
||||
POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-interface
|
||||
|
||||
{
|
||||
"interfaceAttachment" : {
|
||||
"fixed_ips" : [
|
||||
{
|
||||
@ -233,11 +234,20 @@ POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-interface</pre>
|
||||
"net_id" : "3cb9bc59-5699-4588-a4b1-b87f96708bc6"
|
||||
}
|
||||
}</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212664__screen107861573198">{
|
||||
</li><li id="EN-US_TOPIC_0020212664__li1362862175315">Add a NIC whose port ID is <strong id="EN-US_TOPIC_0020212664__b227375172016">ce531f90-199f-48c0-816c-13e38010b442</strong>.<pre class="screen" id="EN-US_TOPIC_0020212664__screen107861573198">POST https://{endpoint}/v2/{project_id}/servers/{server_id}/os-interface
|
||||
POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-interface
|
||||
|
||||
{
|
||||
"interfaceAttachment" : {
|
||||
"fixed_ips" : [
|
||||
{
|
||||
"ip_address" : "192.168.1.3"
|
||||
}
|
||||
],
|
||||
"port_id" : "ce531f90-199f-48c0-816c-13e38010b442"
|
||||
}
|
||||
}</pre>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212664__section247111511352"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212664__screen18483551173510">{
|
||||
"interfaceAttachment": {
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Deleting NICs from an <span id="text1452516586317">ECS</span> in a Batch</h1>
|
||||
<div id="body1114082"><div class="section" id="EN-US_TOPIC_0020212665__section4187856"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212665__p23131803">This API is used to uninstall and delete one or multiple NICs from an <span id="EN-US_TOPIC_0020212665__text10429155933119">ECS</span>.</p>
|
||||
<p id="EN-US_TOPIC_0020212665__p176911549181">This API is an asynchronous API. After the deletion request is successfully delivered, a job ID is returned. This does not mean the deletion is complete. You need to call the API by referring to <a href="en-us_topic_0022225398.html">Querying Task Execution Status</a> to query the job status. The SUCCESS status indicates that the deletion is successful.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212665__section16704417311"><h4 class="sectiontitle">Constraints</h4><p id="EN-US_TOPIC_0020212665__p7975872316">The primary NIC of an <span id="EN-US_TOPIC_0020212665__text1223291865111">ECS</span> has routing rules configured and cannot be deleted.</p>
|
||||
</div>
|
||||
@ -58,7 +59,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212665__table43212049"></a><a name="table43212049"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212665__table43212049" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong>nics</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212665__row13772373"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.4.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212665__p1687315211520">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212665__table43212049"></a><a name="table43212049"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212665__table43212049" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0020212665__b37706500566">nics</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212665__row13772373"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.4.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212665__p1687315211520">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17.29%" id="mcps1.3.4.2.3.2.5.1.2"><p id="EN-US_TOPIC_0020212665__p9873021657">Mandatory</p>
|
||||
</th>
|
||||
@ -86,8 +87,10 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212665__section33048293"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212665__p22984981">See <a href="en-us_topic_0022067714.html">Responses (Task)</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212665__section12428547539"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212665__screen17579171465316">POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/nics/delete</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212665__screen55305066202724">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212665__section12428547539"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212665__p1913513208467">Delete the NIC whose ID is <strong id="EN-US_TOPIC_0020212665__b11181122983516">d32019d3-bc6e-4319-9c1d-6722fc136a23</strong> from an ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212665__screen55305066202724">POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/nics/delete
|
||||
|
||||
{
|
||||
"nics": [
|
||||
{
|
||||
"id": "d32019d3-bc6e-4319-9c1d-6722fc136a23"
|
||||
@ -96,7 +99,7 @@
|
||||
}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212665__section185132219719"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212665__screen17735434142814">{
|
||||
"job_id": "70a599e0-31e7-49b7-b260-868f441e862b"
|
||||
"job_id": "ff80808288d41e1b018990260955686a"
|
||||
} </pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212665__en-us_topic_0092803065_en-us_topic_0020212692_section22960139"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0020212665__en-us_topic_0092803065_en-us_topic_0020212692_p23670760">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
||||
|
@ -58,7 +58,8 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212666__section54420716"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212666__p30640599">None</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212666__section05727183616"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212666__screen17448426201916">DELETE https://{endpoint}/v2/{project_id}/servers/{server_id}/os-interface/{port_id}
|
||||
<div class="section" id="EN-US_TOPIC_0020212666__section05727183616"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212666__p76501228175619">Delete a NIC from an ECS based on the specified port ID.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212666__screen17448426201916">DELETE https://{endpoint}/v2/{project_id}/servers/{server_id}/os-interface/{port_id}
|
||||
DELETE https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-interface/{port_id}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212666__section712919176361"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0020212666__p15444182715367">None</p>
|
||||
|
@ -15,7 +15,7 @@
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0124385014.html">OpenStack Nova APIs</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0124385014.html">Native OpenStack Nova APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -2,6 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Querying Disks Attached to an <span id="text1475228819">ECS</span></h1>
|
||||
<div id="body1686169"><div class="section" id="EN-US_TOPIC_0020212671__section61843920"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212671__p2362032">This API is used to query the disks attached to an <span id="EN-US_TOPIC_0020212671__text24028296115">ECS</span>.</p>
|
||||
<p id="EN-US_TOPIC_0020212671__p217084943613">Disks that have been successfully attached and are being attached are to be queried.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212671__section19724370"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212671__p94271613205312">GET /v2.1/{project_id}/servers/{server_id}/os-volume_attachments</p>
|
||||
<p id="EN-US_TOPIC_0020212671__p248418710335">GET /v2/{project_id}/servers/{server_id}/os-volume_attachments</p>
|
||||
@ -56,7 +57,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212671__table7886611"></a><a name="table7886611"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212671__table7886611" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong>volumeAttachments</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212671__row60727582"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.4.3.3.2.4.1.1"><p id="EN-US_TOPIC_0020212671__p01561150124719">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212671__table7886611"></a><a name="table7886611"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212671__table7886611" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0020212671__b11348946152216">volumeAttachments</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212671__row60727582"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.4.3.3.2.4.1.1"><p id="EN-US_TOPIC_0020212671__p01561150124719">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.4.3.3.2.4.1.2"><p id="EN-US_TOPIC_0020212671__p21565508475">Type</p>
|
||||
</th>
|
||||
@ -97,7 +98,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212671__section763514718378"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212671__screen14582457192">GET https://{endpoint}/v2/{project_id}/servers/{server_id}/os-volume_attachments
|
||||
<div class="section" id="EN-US_TOPIC_0020212671__section763514718378"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212671__p1041814270579">Query details about disks attached to an ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212671__screen14582457192">GET https://{endpoint}/v2/{project_id}/servers/{server_id}/os-volume_attachments
|
||||
GET https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-volume_attachments</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212671__section1013118563474"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212671__screen34284862202756">{
|
||||
|
@ -103,7 +103,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212672__section165814342372"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212672__screen14651406208">GET https://{endpoint}/v2/{project_id}/servers/{server_id}/os-volume_attachments/{volume_id}
|
||||
<div class="section" id="EN-US_TOPIC_0020212672__section165814342372"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212672__p1552810501573">Query details about a disk attached to an ECS based on the specified disk ID.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212672__screen14651406208">GET https://{endpoint}/v2/{project_id}/servers/{server_id}/os-volume_attachments/{volume_id}
|
||||
GET https://{endpoint}/v2.1/{project_id}/servers/{server_id}/os-volume_attachments/{volume_id}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212672__section1278119174536"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212672__screen1482841795311">{
|
||||
|
@ -66,7 +66,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="14.56%" headers="mcps1.3.4.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0020212674__p20741957">Integer</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="65.97%" headers="mcps1.3.4.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0020212674__p21392630">Specifies the maximum number of CPU cores you can use.</p>
|
||||
<td class="cellrowborder" valign="top" width="65.97%" headers="mcps1.3.4.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0020212674__p21392630">Specifies the maximum number of CPU cores that the current tenant can apply for.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212674__row58315944"><td class="cellrowborder" valign="top" width="19.470000000000002%" headers="mcps1.3.4.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0020212674__p25971051">maxTotalRAMSize</p>
|
||||
@ -197,29 +197,30 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212674__section59014260171"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212674__screen08389511593">GET https://{endpoint}/v1/{project_id}/cloudservers/limits</pre>
|
||||
<div class="section" id="EN-US_TOPIC_0020212674__section59014260171"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212674__p965519354443">Query the quotas of all resources in a project for a tenant.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212674__screen08389511593">GET https://{endpoint}/v1/{project_id}/cloudservers/limits</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212674__section15363155313399"><h4 class="sectiontitle">Example Response</h4><div class="p" id="EN-US_TOPIC_0020212674__p9849194015179">Example response<pre class="screen" id="EN-US_TOPIC_0020212674__screen5744552620315">{
|
||||
"absolute": {
|
||||
"maxServerMeta": 128,
|
||||
"maxPersonality": 5,
|
||||
"maxImageMeta": 128,
|
||||
"maxPersonalitySize": 10240,
|
||||
"maxSecurityGroupRules": 20,
|
||||
"maxTotalKeypairs": -1,
|
||||
"totalRAMUsed": 75776,
|
||||
"totalInstancesUsed": 21,
|
||||
"maxSecurityGroups": 10,
|
||||
"totalFloatingIpsUsed": 0,
|
||||
"maxTotalCores": 20480,
|
||||
"totalSecurityGroupsUsed": 1,
|
||||
"maxTotalFloatingIps": 10,
|
||||
"maxTotalInstances": 2048,
|
||||
"totalCoresUsed": 40,
|
||||
"maxTotalRAMSize": 25165824,
|
||||
"maxServerGroups": 10,
|
||||
"maxServerGroupMembers": 16,
|
||||
"totalServerGroupsUsed": 2
|
||||
<div class="section" id="EN-US_TOPIC_0020212674__section15363155313399"><h4 class="sectiontitle">Example Response</h4><div class="p" id="EN-US_TOPIC_0020212674__p9849194015179">Example response<pre class="screen" id="EN-US_TOPIC_0020212674__screen1597014835619">{
|
||||
"absolute":{
|
||||
"maxServerMeta":128,
|
||||
"maxPersonality":5,
|
||||
"maxImageMeta":128,
|
||||
"maxPersonalitySize":10240,
|
||||
"maxSecurityGroupRules":20,
|
||||
"maxTotalKeypairs":-1,
|
||||
"totalRAMUsed":75776,
|
||||
"totalInstancesUsed":21,
|
||||
"maxSecurityGroups":10,
|
||||
"totalFloatingIpsUsed":0,
|
||||
"maxTotalCores":20480,
|
||||
"totalSecurityGroupsUsed":1,
|
||||
"maxTotalFloatingIps":10,
|
||||
"maxTotalInstances":2048,
|
||||
"totalCoresUsed":40,
|
||||
"maxTotalRAMSize":25165824,
|
||||
"maxServerGroups":10,
|
||||
"maxServerGroupMembers":16,
|
||||
"totalServerGroupsUsed":2
|
||||
}
|
||||
}</pre>
|
||||
</div>
|
||||
|
@ -19,7 +19,7 @@
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0124385014.html">OpenStack Nova APIs</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0124385014.html">Native OpenStack Nova APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -67,7 +67,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212676__table48408329"></a><a name="table48408329"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212676__table48408329" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="EN-US_TOPIC_0020212676__b1087327566">keypair</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212676__row27259828"><th align="left" class="cellrowborder" valign="top" width="16.78%" id="mcps1.3.4.2.4.2.4.1.1"><p id="EN-US_TOPIC_0020212676__p956121163317">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212676__table48408329"></a><a name="table48408329"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212676__table48408329" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="EN-US_TOPIC_0020212676__b1425340403">keypair</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212676__row27259828"><th align="left" class="cellrowborder" valign="top" width="16.78%" id="mcps1.3.4.2.4.2.4.1.1"><p id="EN-US_TOPIC_0020212676__p956121163317">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="16.04%" id="mcps1.3.4.2.4.2.4.1.2"><p id="EN-US_TOPIC_0020212676__p656110113337">Type</p>
|
||||
</th>
|
||||
@ -109,17 +109,18 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212676__section13755153085015"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212676__screen13201257112619">GET https://{endpoint}/v2/{project_id}/os-keypairs
|
||||
<div class="section" id="EN-US_TOPIC_0020212676__section13755153085015"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212676__p819719405225">Query the list of SSH key pairs.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212676__screen13201257112619">GET https://{endpoint}/v2/{project_id}/os-keypairs
|
||||
GET https://{endpoint}/v2.1/{project_id}/os-keypairs</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212676__section4713102134415"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212676__screen29185566203128">{
|
||||
"keypairs": [
|
||||
{
|
||||
"keypair": {
|
||||
"fingerprint": "15:b0:f8:b3:f9:48:63:71:cf:7b:5b:38:6d:44:2d:4a",
|
||||
"fingerprint": "15:b0:f8:b3:f9:48:63:**:**:**:**:**:**:**:**:**",
|
||||
"name": "keypair-601a2305-4f25-41ed-89c6-2a966fc8027a",
|
||||
"type": "ssh",
|
||||
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC+Eo/RZRngaGTkFs7I62ZjsIlO79KklKbMXi8F+KITD4bVQHHn+kV+4gRgkgCRbdoDqoGfpaDFs877DYX9n4z6FrAIZ4PES8TNKhatifpn9NdQYWA+IkU8CuvlEKGuFpKRi/k7JLos/gHi2hy7QUwgtRvcefvD/vgQZOVw/mGR9Q== Generated-by-Nova\n"
|
||||
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC+Eo/RZRngaGTkFs7I62ZjsIlO79Kkl****************************************************************************************************************************************************** Generated-by-Nova\n"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -140,7 +140,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212677__section4978145455016"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212677__screen1367001719271">GET https://{endpoint}/v2/{project_id}/os-keypairs/{keypair_name}
|
||||
<div class="section" id="EN-US_TOPIC_0020212677__section4978145455016"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212677__p57081241122318">Query details of a specified SSH key pair.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212677__screen1367001719271">GET https://{endpoint}/v2/{project_id}/os-keypairs/{keypair_name}
|
||||
GET https://{endpoint}/v2.1/{project_id}/os-keypairs/{keypair_name}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212677__section13613112651113"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212677__screen18723192615115">{
|
||||
@ -148,10 +149,10 @@ GET https://{endpoint}/v2.1/{project_id}/os-keypairs/{keypair_name}</pre>
|
||||
"created_at": "2014-05-07T12:06:13.681238",
|
||||
"deleted": false,
|
||||
"deleted_at": null,
|
||||
"fingerprint": "9d:00:f4:d7:26:6e:52:06:4c:c1:d3:1d:fd:06:66:01",
|
||||
"fingerprint": "9d:00:f4:d7:26:6e:52:**:**:**:**:**:**:**:**:**",
|
||||
"id": 1,
|
||||
"name": "keypair-3582d8b7-e588-4aad-b7f7-f4e76f0e4314",
|
||||
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYJrTVpcMwFqQy/oMvtUSRofZdSRHEwrsX8AYkRvn2ZnCXM+b6+GZ2NQuuWj+ocznlnwiGFQDsL/yeE+/kurqcPJFKKp60mToXIMyzioFxW88fJtwEWawHKAclbHWpR1t4fQ4DS+/sIbX/Yd9btlVQ2tpQjodGDbM9Tr9/+/3i6rcR+EoLqmbgCgAiGiVV6VbM2Zx79yUwd+GnQejHX8BlYZoOjCnt3NREsITcmWE9FVFy6TnLmahs3FkEO/QGgWGkaohAJlsgaVvSWGgDn2AujKYwyDokK3dXyeX3m2Vmc3ejiqPa/C4nRrCOlko5nSgV/9IXRx1ERImsqZnE9usB Generated-by-Nova\n",
|
||||
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYJrTVpcMwFqQy/oMvtUSRofZdSRHEwrsX8AYkRvn2ZnCXM+b6+GZ2NQuuWj+ocznlnwiGFQDsL/yeE+/kurqcPJFKKp60mToXIMyzioFxW88fJtw*************************************************************************************************************************************************************************************************************************** Generated-by-Nova\n",
|
||||
"updated_at": null,
|
||||
"user_id": "fake"
|
||||
}
|
||||
|
@ -131,7 +131,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212678__table51079899"></a><a name="table51079899"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212678__table51079899" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="EN-US_TOPIC_0020212678__b706718175">keypair</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212678__row66208776"><th align="left" class="cellrowborder" valign="top" width="16.79%" id="mcps1.3.4.2.3.2.4.1.1"><p id="EN-US_TOPIC_0020212678__p1117813381339">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212678__table51079899"></a><a name="table51079899"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212678__table51079899" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="EN-US_TOPIC_0020212678__b1971510142">keypair</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212678__row66208776"><th align="left" class="cellrowborder" valign="top" width="16.79%" id="mcps1.3.4.2.3.2.4.1.1"><p id="EN-US_TOPIC_0020212678__p1117813381339">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="16.04%" id="mcps1.3.4.2.3.2.4.1.2"><p id="EN-US_TOPIC_0020212678__p1517883853320">Type</p>
|
||||
</th>
|
||||
@ -179,7 +179,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="16.04%" headers="mcps1.3.4.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0020212678__p1768150152614">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="67.17%" headers="mcps1.3.4.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0020212678__p121861283275">Specifies the key type. The value is <span class="parmvalue" id="EN-US_TOPIC_0020212678__parmvalue1238158428"><b>ssh</b></span> or <span class="parmvalue" id="EN-US_TOPIC_0020212678__parmvalue1119685738"><b>x509</b></span>.</p>
|
||||
<td class="cellrowborder" valign="top" width="67.17%" headers="mcps1.3.4.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0020212678__p121861283275">Specifies the key type. The value is <span class="parmvalue" id="EN-US_TOPIC_0020212678__parmvalue1355085390"><b>ssh</b></span> or <span class="parmvalue" id="EN-US_TOPIC_0020212678__parmvalue1989547841"><b>x509</b></span>.</p>
|
||||
<p id="EN-US_TOPIC_0020212678__p2812534719">This parameter is supported in microversion 2.2 and later.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -188,44 +188,46 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212678__section1176153117145"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212678__p19584542195011">Importing an SSH Key</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212678__screen127810379277">POST https://{endpoint}/v2/{project_id}/os-keypairs
|
||||
POST https://{endpoint}/v2.1/{project_id}/os-keypairs</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212678__screen61701025153949">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212678__section1176153117145"><h4 class="sectiontitle">Example Request</h4><ul id="EN-US_TOPIC_0020212678__ul1277772662414"><li id="EN-US_TOPIC_0020212678__li14777102617241">Import an SSH key.<pre class="screen" id="EN-US_TOPIC_0020212678__screen61701025153949">POST https://{endpoint}/v2/{project_id}/os-keypairs
|
||||
POST https://{endpoint}/v2.1/{project_id}/os-keypairs
|
||||
|
||||
{
|
||||
"keypair": {
|
||||
"public_key": "ssh-rsaAAAAB3NzaC1yc2EAAAADAQABAAABAQDWNgTxQYeBzK9LYy4IakX7IsIl5j5zqR6BU2GJaEg3RK6dlS7rKFQhvy/V/1emK+GT/7P8up9VsMZ9Dx6PBOLow5p+2/wGsMlwDJpWiQ8zNnEMg+u/Ar/ZhYHAMyKEAOOJxIcnPoUgxfNdj/eiXV98AabsBdUA7QD30Og8F4Bmn2lii/WD9KbQQVjb7kbB3gNIJpGTUcoX73arorqkq/ppaLRmmwMJ7bTIGl8/0MWU2Dy+eTByOaDMb2htbB+j8ZXyEu7Oooy0NaSd+PNHv3PZ9OIVO7gd1lyoTRvCMK/F346+zmZtk5EASSOx5RifnSwk3NtugVjXs9GMJfFLBRibGenerated-by-Nova\\n\n",
|
||||
"public_key": "ssh-rsaAAAAB3NzaC1yc2EAAAADAQABAAABAQDWNgTxQYeBzK9LYy4IakX7IsIl5j5zqR6BU2GJaEg3RK6dlS7rKFQhvy/V/1emK+GT/7P8up9VsMZ9Dx6PBOLow5p+2/wGsMlwDJpW*************************************************************************************************************************************************************************************************************************** Generated-by-Nova\\n\n",
|
||||
"type": "ssh",
|
||||
"name": "demo1",
|
||||
"user_id": "fake"
|
||||
}
|
||||
}</pre>
|
||||
<p id="EN-US_TOPIC_0020212678__p1872119497501">Creating an SSH Key</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212678__screen128258241107">POST https://{endpoint}/v2/{project_id}/os-keypairs
|
||||
POST https://{endpoint}/v2.1/{project_id}/os-keypairs</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212678__screen28266247015">{
|
||||
</li></ul>
|
||||
<ul id="EN-US_TOPIC_0020212678__ul1394343292411"><li id="EN-US_TOPIC_0020212678__li1594373262420">Create an SSH key.<pre class="screen" id="EN-US_TOPIC_0020212678__screen28266247015">POST https://{endpoint}/v2/{project_id}/os-keypairs
|
||||
POST https://{endpoint}/v2.1/{project_id}/os-keypairs
|
||||
|
||||
{
|
||||
"keypair": {
|
||||
"name": "demo"
|
||||
}
|
||||
}</pre>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212678__section8681151155119"><h4 class="sectiontitle">Example response</h4><p id="EN-US_TOPIC_0020212678__p9864193218512">Importing an SSH Key</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212678__screen13176153112142">{
|
||||
"keypair": {
|
||||
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWNgTxQYeBzK9LYy4IakX7IsIl5j5zqR6BU2GJaEg3RK6dlS7rKFQhvy/V/1emK+GT/7P8up9VsMZ9Dx6PBOLow5p+2/wGsMlwDJpWiQ8zNnEMg+u/Ar/ZhYHAMyKEAOOJxIcnPoUgxfNdj/eiXV98AabsBdUA7QD30Og8F4Bmn2lii/WD9KbQQVjb7kbB3gNIJpGTUcoX73arorqkq/ppaLRmmwMJ7bTIGl8/0MWU2Dy+eTByOaDMb2htbB+j8ZXyEu7Oooy0NaSd+PNHv3PZ9OIVO7gd1lyoTRvCMK/F346+zmZtk5EASSOx5RifnSwk3NtugVjXs9GMJfFLBRib Generated-by-Nova\\n\n",
|
||||
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWNgTxQYeBzK9LYy4IakX7IsIl5j5zqR6BU2GJaEg3RK6dlS7rKFQhvy/V/1emK+GT/7P8up9VsMZ9Dx6PBOLow5p+2/wGsMlwDJpWiQ8zNnE********************************************************************************************************************************************************************************************************************************************* Generated-by-Nova\\n\n",
|
||||
"user_id": "6fc0d2cbbfab40b199874b97097e913d",
|
||||
"name": "demo1",
|
||||
"fingerprint": "fc:47:b5:c3:7d:25:32:d5:d2:0c:19:f9:62:ac:8c:5a"
|
||||
"fingerprint": "fc:47:b5:c3:7d:25:32:**:**:**:**:**:**:**:**:**"
|
||||
}
|
||||
}</pre>
|
||||
<p id="EN-US_TOPIC_0020212678__p11901045195119">Creating an SSH Key</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212678__screen617693111419">{
|
||||
"keypair": {
|
||||
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWNgTxQYeBzK9LYy4IakX7IsIl5j5zqR6BU2GJaEg3RK6dlS7rKFQhvy/V/1emK+GT/7P8up9VsMZ9Dx6PBOLow5p+2/wGsMlwDJpWiQ8zNnEMg+u/Ar/ZhYHAMyKEAOOJxIcnPoUgxfNdj/eiXV98AabsBdUA7QD30Og8F4Bmn2lii/WD9KbQQVjb7kbB3gNIJpGTUcoX73arorqkq/ppaLRmmwMJ7bTIGl8/0MWU2Dy+eTByOaDMb2htbB+j8ZXyEu7Oooy0NaSd+PNHv3PZ9OIVO7gd1lyoTRvCMK/F346+zmZtk5EASSOx5RifnSwk3NtugVjXs9GMJfFLBRib Generated-by-Nova\n",
|
||||
"private_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEA1jYE8UGHgcyvS2MuCGpF+yLCJeY+c6kegVNhiWhIN0SunZUu\n6yhUIb8v1f9Xpivhk/+z/LqfVbDGfQ8ejwTi6MOaftv8BrDJcAyaVokPMzZxDIPr\nvwK/2YWBwDMihADjicSHJz6FIMXzXY/3ol1ffAGm7AXVAO0A99DoPBeAZp9pYov1\ng/Sm0EFY2+5Gwd4DSCaRk1HKF+92q6K6pKv6aWi0ZpsDCe20yBpfP9DFlNg8vnkw\ncjmgzG9obWwfo/GV8hLuzqKMtDWknfjzR79z2fTiFTu4HdZcqE0bwjCvxd+Ovs5m\nbZORAEkjseUYn50sJNzbboFY17PRjCXxSwUYmwIDAQABAoIBADNKQ+ywUA3YQLDA\nUqlZKOB09h+0/YccG13D5TrNaV0yaMz6h31u7pYV/RI0TXxQTXbuZt5AoR4Xca9I\nC30bImmxTDDL45CGi/T0T5AgyS7t/iuM+smFkwI2YVbv53fL7q9yCxpucdnjC95/\nNj/+M3qxupIQ42uRVAYCU1jwF6J6YLy/9UamrmVd4bWFRtT19O7uszUhHLqJOZXq\n3ItqnMyD5bSMkzMN+RxmZVXAPkBOonGVeBBInCjvHv23REkngX38zcUSc543H3Di\n4673helqSdMnI0/TgyfLQcNuOsfQcD02ABWlGBe0nCTqP8pTRo86nzK1+AoCUp72\nIsTeviECgYEA8yHKeo/eZw25eDb3YTJovbgzA61n6AYQlDQv7rBGQDwKKQHdEqhR\nP0PbScaoT7wSeLtYV0vxxA6qjEEuHhZIk/t2wEILu+AH4AK88SUbUn6ZoYu+XmTA\nx26e2QRo8Ngi/KtIfeOGXx1PM/H2/OjEN3XjkfwJsj5bB+HjpF/wsnUCgYEA4Yxg\nWJYNrvSkmvXmDgxHwdxfUpVAcp40bvomNgYpKn9R2TyjMCSDIw8vVC6cGCFB9/Pc\nG0pr8RN2SvbTaPo/96DkKdHz7NAWkzUSChD4Oy7ZNXw6GK3x1tGwMWeTs1hQDHhO\nrjS+E3bV2jC4EIvLLBxCNCbhtmQwlGUj7ZhgHM8CgYEA14UGpWpOrW8/D086LpCu\nxC46GnJmfwiRPa6dJqpfO6V9JCigvV8y1i/ifR16KWP/w8HeZ1PMtgyCJd3JcaYz\nI+pus7JYEGxgzrPepKxN8eyDZu4nDCmnsaFfceQ02fnd2bhDhERh4oJqqRM966ax\n+K+p0MhoF/aqXuxgDF93T9kCgYEAw7TsfLFnGiJJGfS4NARP11UCmUPMcif4UztX\nIJVj7u4e9SJ6bvGfoDIy3Ra8duuUtDOzDzMaSkqa4B0f//z0uEew8uCsiRVeIUlx\nZ66l1aSm8JPkTTnRmJbGDXhUXtAIVWmmy94T+AurL/IKJMFH//RdNadvPrXcuUax\nUB5hd10CgYEA3JBuX4BriSk6Bii0kYniqFM/1tEgVelAP6DT6uePvzTFdSJ0dMQo\nzwgWNmm43CyoKW/rw8yIbtIQZKBfHudSNx72nSmnBKaf3QPB40xsCip90ZUTfZdn\nLJzX1t4clg1wNsN4mJDwiYM9k3rB/8EY1fh9gUYI84X6xFAHllkv0To=\n-----END RSA PRIVATE KEY-----\n",
|
||||
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWNgTxQYeBzK9LYy4IakX7IsIl5j5zqR6BU2GJaEg3RK6dlS7rKFQhvy/V/1emK+GT/7P8up9VsMZ9Dx6PBOLow5p+2/wGsMlwDJpWiQ8zNnE********************************************************************************************************************************************************************************************************************************************* Generated-by-Nova\n",
|
||||
"private_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEA1jYE8UGHgcyvS2MuCGpF+yLCJeY+c6kegVNhiWhIN0SunZUu\n6yhUIb8v1f9Xpivhk/+z/LqfVbDGfQ8ejwTi6MOaftv8BrDJcAyaVokPMzZxDIPr\nvwK/2YWBwDMihADjicSHJz6FIMXzXY/3ol1ffAGm7AXVAO0A99DoPBeAZp9pYov1\ng/Sm0EFY2+5Gwd4DSCaRk1HKF+92q6K6pKv6aWi0ZpsDCe20yBpfP9DFlNg8vnkw\ncjmgzG9obWwfo/GV8hLuzqKMtDWknfjzR79z2fTiFTu4HdZcqE0bwjCvxd+Ovs5m\nbZORAEkjseUYn50sJNzbboFY17PRjCXxSwUYmwIDAQABAoIBADNKQ+ywUA3YQLDA\nUqlZKOB09h+0/YccG13D5TrNaV0yaMz6h31u7pYV/RI0TXxQTXbuZt5AoR4Xca9I\nC30bImmxTDDL45CGi/T0T5AgyS7t/iuM+smFkwI2YVbv53fL7q9yCxpucdnjC95/\nNj/+M3qxupIQ42uRVAYCU1jwF6J6YLy/9UamrmVd4bWFRtT19O7uszUhHLqJOZXq\n3ItqnMyD5bSMkzMN+RxmZVXAPkBOonGVeBBInCjvHv23REkngX38zcUSc543H3Di\n4673helqSdMnI0/TgyfLQcNuOsfQcD02A**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************\n-----END RSA PRIVATE KEY-----\n",
|
||||
"user_id": "6fc0d2cbbfab40b199874b97097e913d",
|
||||
"type": "ssh",
|
||||
"name": "demo",
|
||||
"fingerprint": "fc:47:b5:c3:7d:25:32:d5:d2:0c:19:f9:62:ac:8c:5a"
|
||||
"fingerprint": "fc:47:b5:c3:7d:25:32:**:**:**:**:**:**:**:**:**"
|
||||
}
|
||||
}</pre>
|
||||
</div>
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
<h1 class="topictitle1">Deleting <span id="text099555552211">ECS</span>s</h1>
|
||||
<div id="body59650110"><div class="section" id="EN-US_TOPIC_0020212679__section61511739"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212679__p7120111454714">This API is used to delete <span id="EN-US_TOPIC_0020212679__text129391856162216">ECS</span>s based on a specified <span id="EN-US_TOPIC_0020212679__text15110029153011">ECS</span> ID list.</p>
|
||||
<p id="EN-US_TOPIC_0020212679__p66929645">You can delete a single <span id="EN-US_TOPIC_0020212679__text1020335811226">ECS</span> or multiple <span id="EN-US_TOPIC_0020212679__text19842144618300">ECS</span>s in a batch. A maximum of 1000 <span id="EN-US_TOPIC_0020212679__text164866518309">ECS</span>s can be deleted in a batch.</p>
|
||||
<p id="EN-US_TOPIC_0020212679__p18734754175018">This API is an asynchronous API. After the deletion request is successfully delivered, a job ID is returned. This does not mean the deletion is complete. You need to call the API by referring to <a href="en-us_topic_0022225398.html">Querying Task Execution Status</a> to query the job status. The SUCCESS status indicates that the deletion is successful.</p>
|
||||
<p id="EN-US_TOPIC_0020212679__p66929645">You can delete a single <span id="EN-US_TOPIC_0020212679__text1020335811226">ECS</span> or multiple <span id="EN-US_TOPIC_0020212679__text19842144618300">ECS</span>s in a batch. A maximum of 1,000 <span id="EN-US_TOPIC_0020212679__text164866518309">ECS</span>s can be deleted in a batch.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212679__section16734741"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212679__p50237013152238">POST /v1/{project_id}/cloudservers/delete</p>
|
||||
<div class="p" id="EN-US_TOPIC_0020212679__p182688151487"><a href="#EN-US_TOPIC_0020212679__table52652517">Table 1</a> describes the parameters in the URI.
|
||||
@ -74,7 +75,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212679__table32603030"></a><a name="table32603030"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212679__table32603030" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong>servers</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212679__row25141347"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212679__p3065418507">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212679__table32603030"></a><a name="table32603030"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212679__table32603030" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0020212679__b113541542151614">servers</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212679__row25141347"><th align="left" class="cellrowborder" valign="top" width="16.35%" id="mcps1.3.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212679__p3065418507">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17.48%" id="mcps1.3.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0020212679__p100135425018">Mandatory</p>
|
||||
</th>
|
||||
@ -100,8 +101,9 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212679__section112357236514"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212679__p13277162618519">See <a href="en-us_topic_0022067714.html">Responses (Task)</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212679__section159261353165117"><h4 class="sectiontitle">Example Request</h4><div class="p" id="EN-US_TOPIC_0020212679__p173492423329">Example request<pre class="screen" id="EN-US_TOPIC_0020212679__screen05408764217">POST https://{endpoint}/v1/{project_id}/cloudservers/delete</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212679__screen526562355119">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212679__section159261353165117"><h4 class="sectiontitle">Example Request</h4><div class="p" id="EN-US_TOPIC_0020212679__p173492423329">Delete the ECS whose ID is <strong id="EN-US_TOPIC_0020212679__b138664917162">616fb98f-46ca-475e-917e-2563e5a8cd19</strong>, unbind the EIP, and detach data disks.<pre class="screen" id="EN-US_TOPIC_0020212679__screen526562355119">POST https://{endpoint}/v1/{project_id}/cloudservers/delete
|
||||
|
||||
{
|
||||
"servers": [
|
||||
{
|
||||
"id": "616fb98f-46ca-475e-917e-2563e5a8cd19"
|
||||
@ -113,7 +115,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212679__section5373174623216"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212679__screen24271946143218">{
|
||||
"job_id": "70a599e0-31e7-49b7-b260-868f441e862b"
|
||||
"job_id": "ff80808288d415d80189901d8eb81cbb"
|
||||
}</pre>
|
||||
<p id="EN-US_TOPIC_0020212679__p15427946203217">Or</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212679__screen042719461325">{
|
||||
|
@ -37,8 +37,9 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212680__section61195818"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212680__p7549159">None</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212680__section118665219435"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212680__screen6763573271">DELETE https://{endpoint}/v2/{project_id}/os-keypairs/{keypair_name}
|
||||
DELETE https://{endpoint}/v2.1/{project_id}/os-keypairs/{keypair_name}</pre>
|
||||
<div class="section" id="EN-US_TOPIC_0020212680__section118665219435"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212680__p76641544243">Delete the SSH key pair named <strong id="EN-US_TOPIC_0020212680__b162507366463">KeyPair-123</strong>.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212680__screen6763573271">DELETE https://{endpoint}/v2/{project_id}/os-keypairs/KeyPair-123
|
||||
DELETE https://{endpoint}/v2.1/{project_id}/os-keypairs/KeyPair-123</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212680__section19716123044320"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0020212680__p15562123319432">None</p>
|
||||
</div>
|
||||
|
@ -62,7 +62,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15.57%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212688__p546074132319">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="48.17%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212688__p74607411238">Specifies the <span id="EN-US_TOPIC_0020212688__text468162420305">ECS</span> type ID, which is fuzzy matched.</p>
|
||||
<td class="cellrowborder" valign="top" width="48.17%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212688__p74607411238">Specifies the <span id="EN-US_TOPIC_0020212688__text468162420305">ECS</span> type ID, which is fuzzy-matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212688__row74603419237"><td class="cellrowborder" valign="top" width="18.81%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212688__p146012442312">name</p>
|
||||
@ -71,7 +71,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15.57%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212688__p104600416239">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="48.17%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212688__p84601048232">Specifies the <span id="EN-US_TOPIC_0020212688__text20887104717302">ECS</span> name, which is fuzzy matched.</p>
|
||||
<td class="cellrowborder" valign="top" width="48.17%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212688__p84601048232">Specifies the <span id="EN-US_TOPIC_0020212688__text20887104717302">ECS</span> name, which is fuzzy-matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212688__row446034182311"><td class="cellrowborder" valign="top" width="18.81%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212688__p17460144192313">status</p>
|
||||
@ -94,7 +94,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.57%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212688__p9460741239">Integer</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="48.17%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212688__p9460147236">Specifies the upper limit on the number of returned results.</p>
|
||||
<p id="EN-US_TOPIC_0020212688__p733938101314">The default value on each page is 25, and the information of a maximum of 1000 <span id="EN-US_TOPIC_0020212688__text195210226319">ECS</span>s is displayed on each page.</p>
|
||||
<p id="EN-US_TOPIC_0020212688__p733938101314">The default value on each page is 25, and the information of a maximum of 1,000 <span id="EN-US_TOPIC_0020212688__text195210226319">ECS</span>s is displayed on each page.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212688__row1746044112318"><td class="cellrowborder" valign="top" width="18.81%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212688__p34602410233">marker</p>
|
||||
@ -123,7 +123,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="48.17%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212688__p497882461442">Queries ECSs with tags not containing the specified value. The value is the tag key.</p>
|
||||
<p id="EN-US_TOPIC_0020212688__p9642991507">For details about key rules, see <a href="en-us_topic_0065817686.html">Tag Types</a>.</p>
|
||||
<div class="note" id="EN-US_TOPIC_0020212688__note124521913175616"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0020212688__p1745221311560">Tag functions have been upgraded on the cloud service platform. If the tags added before the function upgrade are in the format of "Key.Value", query tags using "Key".</p>
|
||||
<div class="note" id="EN-US_TOPIC_0020212688__note124521913175616"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0020212688__p1745221311560">Tag functions have been upgraded on the cloud platform. If the tags added before the function upgrade are in the format of "Key.Value", query tags using "Key".</p>
|
||||
<p id="EN-US_TOPIC_0020212688__p213418685710">For example, an existing tag is <strong id="EN-US_TOPIC_0020212688__b84235270610509">a.b</strong>. After the tag function upgrade, query the tag using "not-tags=a".</p>
|
||||
</div></div>
|
||||
</td>
|
||||
@ -153,7 +153,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15.57%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212688__p1846584518155">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="48.17%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212688__p546524517153">Indicates the filtering result for IPv4 addresses, which are fuzzy matched.</p>
|
||||
<td class="cellrowborder" valign="top" width="48.17%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212688__p546524517153">Indicates the filtering result for IPv4 addresses, which are fuzzy-matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -248,7 +248,8 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212688__section18645171418547"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212688__screen111420491606">GET https://{endpoint}/v2/{project_id}/servers
|
||||
<div class="section" id="EN-US_TOPIC_0020212688__section18645171418547"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212688__p12609122202611">Query a list of ECSs.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212688__screen111420491606">GET https://{endpoint}/v2/{project_id}/servers
|
||||
GET https://{endpoint}/v2.1/{project_id}/servers</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212688__section1047337102619"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212688__screen118349519231">{
|
||||
|
@ -62,7 +62,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="14.978502149785026%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212689__p55624859">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="48.695130486951314%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212689__p16768629">Specifies the <span id="EN-US_TOPIC_0020212689__text1786483217372">ECS</span> flavor ID, which is fuzzy matched.</p>
|
||||
<td class="cellrowborder" valign="top" width="48.695130486951314%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212689__p16768629">Specifies the <span id="EN-US_TOPIC_0020212689__text1786483217372">ECS</span> flavor ID, which is fuzzy-matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212689__row16699940"><td class="cellrowborder" valign="top" width="18.808119188081196%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212689__p10517875">name</p>
|
||||
@ -71,7 +71,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="14.978502149785026%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212689__p19867951">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="48.695130486951314%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212689__p55330634">Specifies the <span id="EN-US_TOPIC_0020212689__text4489153343717">ECS</span> name, which is fuzzy matched.</p>
|
||||
<td class="cellrowborder" valign="top" width="48.695130486951314%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212689__p55330634">Specifies the <span id="EN-US_TOPIC_0020212689__text4489153343717">ECS</span> name, which is fuzzy-matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212689__row28213660"><td class="cellrowborder" valign="top" width="18.808119188081196%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212689__p3605162">status</p>
|
||||
@ -94,7 +94,7 @@
|
||||
<td class="cellrowborder" valign="top" width="14.978502149785026%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212689__p43070429">Integer</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="48.695130486951314%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212689__p58503618">Specifies the upper limit on the number of returned results.</p>
|
||||
<p id="EN-US_TOPIC_0020212689__p57623431795">Each page contains 25 ECSs by default, and a maximum of 1000 ECSs are returned. For large volumes of data, you are advised to set the value to <strong id="EN-US_TOPIC_0020212689__b10385135592019">100</strong>.</p>
|
||||
<p id="EN-US_TOPIC_0020212689__p57623431795">Each page contains 25 ECSs by default, and a maximum of 1,000 ECSs are returned. For large data volumes, you are advised to set this parameter to <strong id="EN-US_TOPIC_0020212689__b29603461862">100</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212689__row56770522"><td class="cellrowborder" valign="top" width="18.808119188081196%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212689__p35009555">marker</p>
|
||||
@ -123,7 +123,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="48.695130486951314%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212689__p497882461442">Queries <span id="EN-US_TOPIC_0020212689__text15793114173712">ECS</span>s with tags not containing the specified value. The value is the tag key.</p>
|
||||
<p id="EN-US_TOPIC_0020212689__p9642991507">For details about key rules, see <a href="en-us_topic_0065817686.html">Tag Types</a>.</p>
|
||||
<div class="note" id="EN-US_TOPIC_0020212689__note124521913175616"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0020212689__en-us_topic_0020212688_p1745221311560">Tag functions have been upgraded on the cloud service platform. If the tags added before the function upgrade are in the format of "Key.Value", query tags using "Key".</p>
|
||||
<div class="note" id="EN-US_TOPIC_0020212689__note124521913175616"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0020212689__en-us_topic_0020212688_p1745221311560">Tag functions have been upgraded on the cloud platform. If the tags added before the function upgrade are in the format of "Key.Value", query tags using "Key".</p>
|
||||
<p id="EN-US_TOPIC_0020212689__en-us_topic_0020212688_p213418685710">For example, an existing tag is <strong id="EN-US_TOPIC_0020212689__b84235270610509">a.b</strong>. After the tag function upgrade, query the tag using "not-tags=a".</p>
|
||||
</div></div>
|
||||
</td>
|
||||
@ -153,7 +153,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="14.978502149785026%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212689__p1846584518155">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="48.695130486951314%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212689__p546524517153">Indicates the filtering result for IPv4 addresses, which are fuzzy matched.</p>
|
||||
<td class="cellrowborder" valign="top" width="48.695130486951314%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212689__p546524517153">Indicates the filtering result for IPv4 addresses, which are fuzzy-matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -292,7 +292,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="64.8%" headers="mcps1.3.5.4.2.4.1.3 "><p id="EN-US_TOPIC_0020212689__p548802020243">Specifies the network addresses of an <span id="EN-US_TOPIC_0020212689__text1437691133814">ECS</span>.</p>
|
||||
<p id="EN-US_TOPIC_0020212689__p425894161516">The structure is Map<String, Object>.</p>
|
||||
<ul id="EN-US_TOPIC_0020212689__en-us_topic_0094148849_ul124201235982"><li id="EN-US_TOPIC_0020212689__en-us_topic_0094148849_li1042011356817">The key indicates the VPC subnet ID.</li><li id="EN-US_TOPIC_0020212689__en-us_topic_0094148849_li1420173514815">The value indicates the network attributes specified in <a href="#EN-US_TOPIC_0020212689__table1656029015527">Table 7</a>.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0020212689__en-us_topic_0094148849_ul124201235982"><li id="EN-US_TOPIC_0020212689__en-us_topic_0094148849_li1042011356817">The key indicates the network name, for example, <strong id="EN-US_TOPIC_0020212689__b125361525205712">demo_net</strong>.</li><li id="EN-US_TOPIC_0020212689__en-us_topic_0094148849_li1420173514815">The value indicates the network attribute specified in <a href="#EN-US_TOPIC_0020212689__table1656029015527">Table 7</a>.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212689__row7488142016248"><td class="cellrowborder" valign="top" width="18.78%" headers="mcps1.3.5.4.2.4.1.1 "><p id="EN-US_TOPIC_0020212689__p148872020247">security_groups</p>
|
||||
@ -493,7 +493,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="64.8%" headers="mcps1.3.5.4.2.4.1.3 "><p id="EN-US_TOPIC_0020212689__p1149310203247">Specifies <span id="EN-US_TOPIC_0020212689__text143681239184318">ECS</span> tags.</p>
|
||||
<p id="EN-US_TOPIC_0020212689__p8849035134415">This parameter is supported in microversion 2.26 and later. If the microversion is not used for query, the response does not contain the <strong id="EN-US_TOPIC_0020212689__b2363111910593">tags</strong> field.</p>
|
||||
<div class="p" id="EN-US_TOPIC_0020212689__p7300949059">Tag functions have been upgraded on the cloud service platform. After the upgrade, the tag values returned by the system comply with the following rules:<ul id="EN-US_TOPIC_0020212689__ul871515496611"><li id="EN-US_TOPIC_0020212689__li5715249264">The key and value of a tag are connected using an equal sign (=), for example, key=value.</li><li id="EN-US_TOPIC_0020212689__li571513498613">If the value is empty, only the key is returned.</li></ul>
|
||||
<div class="p" id="EN-US_TOPIC_0020212689__p7300949059">Tag functions have been upgraded on the cloud platform. After the upgrade, the tag values returned by the system comply with the following rules:<ul id="EN-US_TOPIC_0020212689__ul871515496611"><li id="EN-US_TOPIC_0020212689__li5715249264">The key and value of a tag are connected using an equal sign (=), for example, key=value.</li><li id="EN-US_TOPIC_0020212689__li571513498613">If the value is empty, only the key is returned.</li></ul>
|
||||
</div>
|
||||
<p id="EN-US_TOPIC_0020212689__p141334271371">For more details about upgraded tag functions, see <a href="en-us_topic_0065817686.html">Tag Types</a>.</p>
|
||||
</td>
|
||||
@ -615,7 +615,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.29%" headers="mcps1.3.5.5.2.4.1.2 "><p id="EN-US_TOPIC_0020212689__p563116366423">Object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="64.97%" headers="mcps1.3.5.5.2.4.1.3 "><p id="EN-US_TOPIC_0020212689__p963110362428">Extended flavor field</p>
|
||||
<p id="EN-US_TOPIC_0020212689__p1758613514012">For details, see <a href="en-us_topic_0170710254.html">Data Structure for Query Details About Specifications</a>.</p>
|
||||
<p id="EN-US_TOPIC_0020212689__p1758613514012">For details, see <a href="en-us_topic_0170710254.html">Data Structure for Querying Details About Specifications</a>.</p>
|
||||
<p id="EN-US_TOPIC_0020212689__p10674132212106">This parameter is supported in microversion 2.47 and later.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -777,7 +777,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212689__table1080891111402"></a><a name="table1080891111402"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212689__table1080891111402" frame="border" border="1" rules="all"><caption><b>Table 11 </b><strong id="EN-US_TOPIC_0020212689__b464178289">image</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212689__row5852711204015"><th align="left" class="cellrowborder" valign="top" width="19%" id="mcps1.3.5.11.2.4.1.1"><p id="EN-US_TOPIC_0020212689__p2098102533210">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212689__table1080891111402"></a><a name="table1080891111402"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212689__table1080891111402" frame="border" border="1" rules="all"><caption><b>Table 11 </b><strong id="EN-US_TOPIC_0020212689__b1842334857">image</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212689__row5852711204015"><th align="left" class="cellrowborder" valign="top" width="19%" id="mcps1.3.5.11.2.4.1.1"><p id="EN-US_TOPIC_0020212689__p2098102533210">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.5.11.2.4.1.2"><p id="EN-US_TOPIC_0020212689__p1498192513327">Type</p>
|
||||
</th>
|
||||
@ -837,7 +837,8 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212689__section12362164511549"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212689__screen1735914813119">GET https://{endpoint}/v2/{project_id}/servers/detail
|
||||
<div class="section" id="EN-US_TOPIC_0020212689__section12362164511549"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212689__p0584114817269">Query details about ECSs.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212689__screen1735914813119">GET https://{endpoint}/v2/{project_id}/servers/detail
|
||||
GET https://{endpoint}/v2.1/{project_id}/servers/detail</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212689__section1630232142117"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212689__screen29514940143418">{
|
||||
|
@ -157,7 +157,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="64%" headers="mcps1.3.4.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0020212690__p19934154819297">Specifies the network addresses of an <span id="EN-US_TOPIC_0020212690__text143201840134815">ECS</span>.</p>
|
||||
<p id="EN-US_TOPIC_0020212690__p425894161516">The structure is Map<String, Object>.</p>
|
||||
<ul id="EN-US_TOPIC_0020212690__en-us_topic_0094148849_ul124201235982"><li id="EN-US_TOPIC_0020212690__en-us_topic_0094148849_li1042011356817">The key indicates the VPC subnet ID.</li><li id="EN-US_TOPIC_0020212690__en-us_topic_0094148849_li1420173514815">The value indicates the network attributes specified in <a href="#EN-US_TOPIC_0020212690__table1972725101724">Table 7</a>.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0020212690__en-us_topic_0094148849_ul124201235982"><li id="EN-US_TOPIC_0020212690__en-us_topic_0094148849_li1042011356817">The key indicates the network name, for example, <strong id="EN-US_TOPIC_0020212690__b1946395435710">demo_net</strong>.</li><li id="EN-US_TOPIC_0020212690__en-us_topic_0094148849_li1420173514815">The value indicates the network attribute specified in <a href="#EN-US_TOPIC_0020212690__table1972725101724">Table 7</a>.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212690__row2817586217053"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0020212690__p2741526417147">security_groups</p>
|
||||
@ -180,7 +180,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="64%" headers="mcps1.3.4.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0020212690__p1620274611333">Specifies <span id="EN-US_TOPIC_0020212690__text20871714143215">ECS</span> tags.</p>
|
||||
<p id="EN-US_TOPIC_0020212690__p1149310203247">This parameter is supported in microversion 2.26 and later. If the microversion is not used for query, the response does not contain the <strong id="EN-US_TOPIC_0020212690__b61209505511">tags</strong> field.</p>
|
||||
<div class="p" id="EN-US_TOPIC_0020212690__p7300949059">Tag functions have been upgraded on the cloud service platform. After the upgrade, the tag values returned by the system comply with the following rules:<ul id="EN-US_TOPIC_0020212690__en-us_topic_0020212689_ul871515496611"><li id="EN-US_TOPIC_0020212690__en-us_topic_0020212689_li5715249264">The key and value of a tag are connected using an equal sign (=), for example, key=value.</li><li id="EN-US_TOPIC_0020212690__en-us_topic_0020212689_li571513498613">If the value is empty, only the key is returned.</li></ul>
|
||||
<div class="p" id="EN-US_TOPIC_0020212690__p7300949059">Tag functions have been upgraded on the cloud platform. After the upgrade, the tag values returned by the system comply with the following rules:<ul id="EN-US_TOPIC_0020212690__en-us_topic_0020212689_ul871515496611"><li id="EN-US_TOPIC_0020212690__en-us_topic_0020212689_li5715249264">The key and value of a tag are connected using an equal sign (=), for example, key=value.</li><li id="EN-US_TOPIC_0020212690__en-us_topic_0020212689_li571513498613">If the value is empty, only the key is returned.</li></ul>
|
||||
</div>
|
||||
<p id="EN-US_TOPIC_0020212690__p141334271371">For more details about upgraded tag functions, see <a href="en-us_topic_0065817686.html">Tag Types</a>.</p>
|
||||
</td>
|
||||
@ -511,7 +511,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212690__table35230296"></a><a name="table35230296"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212690__table35230296" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong>links</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212690__row22264835"><th align="left" class="cellrowborder" valign="top" width="19.801980198019802%" id="mcps1.3.4.2.6.2.4.1.1"><p id="EN-US_TOPIC_0020212690__p112383444325">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212690__table35230296"></a><a name="table35230296"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212690__table35230296" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong id="EN-US_TOPIC_0020212690__b9548125119570">links</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212690__row22264835"><th align="left" class="cellrowborder" valign="top" width="19.801980198019802%" id="mcps1.3.4.2.6.2.4.1.1"><p id="EN-US_TOPIC_0020212690__p112383444325">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="15.841584158415841%" id="mcps1.3.4.2.6.2.4.1.2"><p id="EN-US_TOPIC_0020212690__p14238944103219">Type</p>
|
||||
</th>
|
||||
@ -578,7 +578,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212690__table10024873122234"></a><a name="table10024873122234"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212690__table10024873122234" frame="border" border="1" rules="all"><caption><b>Table 8 </b><strong>os-extended-volumes:volumes_attached</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212690__row57520332122234"><th align="left" class="cellrowborder" valign="top" width="19.801980198019802%" id="mcps1.3.4.2.8.2.4.1.1"><p id="EN-US_TOPIC_0020212690__p141714507323">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212690__table10024873122234"></a><a name="table10024873122234"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212690__table10024873122234" frame="border" border="1" rules="all"><caption><b>Table 8 </b><strong id="EN-US_TOPIC_0020212690__b7550135110577">os-extended-volumes:volumes_attached</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212690__row57520332122234"><th align="left" class="cellrowborder" valign="top" width="19.801980198019802%" id="mcps1.3.4.2.8.2.4.1.1"><p id="EN-US_TOPIC_0020212690__p141714507323">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="15.841584158415841%" id="mcps1.3.4.2.8.2.4.1.2"><p id="EN-US_TOPIC_0020212690__p1433115012326">Type</p>
|
||||
</th>
|
||||
@ -626,7 +626,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212690__table1075312230549"></a><a name="table1075312230549"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212690__table1075312230549" frame="border" border="1" rules="all"><caption><b>Table 10 </b><strong>fault</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212690__row14754182345416"><th align="left" class="cellrowborder" valign="top" width="19.801980198019802%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0020212690__p15754172315410">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212690__table1075312230549"></a><a name="table1075312230549"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212690__table1075312230549" frame="border" border="1" rules="all"><caption><b>Table 10 </b><strong id="EN-US_TOPIC_0020212690__b9551105112573">fault</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212690__row14754182345416"><th align="left" class="cellrowborder" valign="top" width="19.801980198019802%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0020212690__p15754172315410">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="15.841584158415841%" id="mcps1.3.4.3.2.4.1.2"><p id="EN-US_TOPIC_0020212690__p075415233543">Type</p>
|
||||
</th>
|
||||
@ -700,7 +700,8 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212690__section17256720205514"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212690__screen1351016271012">GET https://{endpoint}/v2/{project_id}/servers/{server_id}
|
||||
<div class="section" id="EN-US_TOPIC_0020212690__section17256720205514"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212690__p9339612202811">Query details about a specified ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212690__screen1351016271012">GET https://{endpoint}/v2/{project_id}/servers/{server_id}
|
||||
GET https://{endpoint}/v2.1/{project_id}/servers/{server_id}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212690__section827141312330"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0020212690__screen54346162143550">{
|
||||
|
@ -12,7 +12,7 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0020212653.html">Modifying the Specifications of an ECS</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0081529857.html">Adding an ECS to the Monitoring List</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0000001635605869.html">Adding an ECS to the Monitoring List</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<a name="EN-US_TOPIC_0020212692"></a><a name="EN-US_TOPIC_0020212692"></a>
|
||||
|
||||
<h1 class="topictitle1">Modifying <span id="text1290762193516">ECS</span> Information</h1>
|
||||
<div id="body27834629"><div class="section" id="EN-US_TOPIC_0020212692__section15039321"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212692__p40012458">This API is used to modify <span id="EN-US_TOPIC_0020212692__text112931048354">ECS</span> information. Only the name and description of an <span id="EN-US_TOPIC_0020212692__text171462251547">ECS</span> can be modified.</p>
|
||||
<h1 class="topictitle1">Modifying <span id="text1290762193516">ECS</span> Details</h1>
|
||||
<div id="body27834629"><div class="section" id="EN-US_TOPIC_0020212692__section15039321"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212692__p40012458">This API is used to modify <span id="EN-US_TOPIC_0020212692__text112931048354">ECS</span> details. Only the name and description of an <span id="EN-US_TOPIC_0020212692__text171462251547">ECS</span> can be modified.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212692__section1136168"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212692__p5405143814205">PUT /v2.1/{project_id}/servers/{server_id}</p>
|
||||
<p id="EN-US_TOPIC_0020212692__p20371134942514">PUT /v2/{project_id}/servers/{server_id}</p>
|
||||
@ -57,7 +57,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212692__table26827213163326"></a><a name="table26827213163326"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212692__table26827213163326" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong>server</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212692__row36672866163326"><th align="left" class="cellrowborder" valign="top" width="14.85148514851485%" id="mcps1.3.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212692__p128484161419">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212692__table26827213163326"></a><a name="table26827213163326"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212692__table26827213163326" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0020212692__b20338141615107">server</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212692__row36672866163326"><th align="left" class="cellrowborder" valign="top" width="14.85148514851485%" id="mcps1.3.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0020212692__p128484161419">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="15.841584158415841%" id="mcps1.3.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0020212692__p98416417142">Mandatory</p>
|
||||
</th>
|
||||
@ -73,8 +73,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="10.891089108910892%" headers="mcps1.3.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0020212692__p61032295163326">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="58.415841584158414%" headers="mcps1.3.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212692__p66475806163326">Specifies the name of the modified <span id="EN-US_TOPIC_0020212692__text24061252618">ECS</span>.</p>
|
||||
<p id="EN-US_TOPIC_0020212692__p56398165141344">The length is greater than 0 and less than 256</p>
|
||||
<td class="cellrowborder" valign="top" width="58.415841584158414%" headers="mcps1.3.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0020212692__p66475806163326">Specifies the <span id="EN-US_TOPIC_0020212692__text447839174217">ECS</span> new name. The value is a string of 1 to 255 characters.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0020212692__row1590615702514"><td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0020212692__p185271320121118">description</p>
|
||||
@ -113,7 +112,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212692__table11253402"></a><a name="table11253402"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212692__table11253402" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong>server</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212692__row10267559"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.4.4.2.4.1.1"><p id="EN-US_TOPIC_0020212692__p49911341191514">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212692__table11253402"></a><a name="table11253402"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212692__table11253402" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="EN-US_TOPIC_0020212692__b10342121616103">server</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212692__row10267559"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.4.4.2.4.1.1"><p id="EN-US_TOPIC_0020212692__p49911341191514">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="12%" id="mcps1.3.4.4.2.4.1.2"><p id="EN-US_TOPIC_0020212692__p157164271511">Type</p>
|
||||
</th>
|
||||
@ -258,7 +257,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0020212692__p1620274611333">Specifies ECS tags.</p>
|
||||
<p id="EN-US_TOPIC_0020212692__p1149310203247">This parameter is supported in microversion 2.26 and later. If the microversion is not used for query, the response does not contain the <strong id="EN-US_TOPIC_0020212692__b154142242615">tags</strong> field.</p>
|
||||
<div class="p" id="EN-US_TOPIC_0020212692__p7300949059">Tag functions have been upgraded on the cloud service platform. After the upgrade, the tag values returned by the system comply with the following rules:<ul id="EN-US_TOPIC_0020212692__en-us_topic_0020212689_ul871515496611"><li id="EN-US_TOPIC_0020212692__en-us_topic_0020212689_li5715249264">The key and value of a tag are connected using an equal sign (=), for example, key=value.</li><li id="EN-US_TOPIC_0020212692__en-us_topic_0020212689_li571513498613">If the value is empty, only the key is returned.</li></ul>
|
||||
<div class="p" id="EN-US_TOPIC_0020212692__p7300949059">Tag functions have been upgraded on the cloud platform. After the upgrade, the tag values returned by the system comply with the following rules:<ul id="EN-US_TOPIC_0020212692__en-us_topic_0020212689_ul871515496611"><li id="EN-US_TOPIC_0020212692__en-us_topic_0020212689_li5715249264">The key and value of a tag are connected using an equal sign (=), for example, key=value.</li><li id="EN-US_TOPIC_0020212692__en-us_topic_0020212689_li571513498613">If the value is empty, only the key is returned.</li></ul>
|
||||
</div>
|
||||
<ul id="EN-US_TOPIC_0020212692__en-us_topic_0020212689_ul871515496611_1"><li id="EN-US_TOPIC_0020212692__en-us_topic_0020212689_li5715249264_1">The key and value of a tag are connected using an equal sign (=), for example, key=value.</li><li id="EN-US_TOPIC_0020212692__en-us_topic_0020212689_li571513498613_1">If the value is empty, only the key is returned.</li></ul>
|
||||
<p id="EN-US_TOPIC_0020212692__p141334271371">For more details about upgraded tag functions, see <a href="en-us_topic_0065817686.html">Tag Types</a>.</p>
|
||||
@ -415,9 +414,11 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0020212692__section191304136165"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212692__screen76001916703">PUT https://{endpoint}/v2/{project_id}/servers/{server_id}
|
||||
PUT https://{endpoint}/v2.1/{project_id}/servers/{server_id}</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212692__screen14520005144549">{
|
||||
<div class="section" id="EN-US_TOPIC_0020212692__section191304136165"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0020212692__p18184111192310">Change the name of a specified ECS to <strong id="EN-US_TOPIC_0020212692__b189011057145419">new-server-test</strong>.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0020212692__screen14520005144549">PUT https://{endpoint}/v2/{project_id}/servers/{server_id}
|
||||
PUT https://{endpoint}/v2.1/{project_id}/servers/{server_id}
|
||||
|
||||
{
|
||||
"server": {
|
||||
"name": "new-server-test"
|
||||
}
|
||||
|
@ -106,7 +106,7 @@
|
||||
</li></ul>
|
||||
<ul id="EN-US_TOPIC_0022067714__ul2891536911151"><li id="EN-US_TOPIC_0022067714__li10918411151">Example response<p id="EN-US_TOPIC_0022067714__p98265911151"><a name="EN-US_TOPIC_0022067714__li10918411151"></a><a name="li10918411151"></a>Normal response</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0022067714__screen3351794620424">{
|
||||
"job_id": "70a599e0-31e7-49b7-b260-868f441e862b"
|
||||
"job_id": "ff80808288d41e1b018990260955686a"
|
||||
} </pre>
|
||||
<p id="EN-US_TOPIC_0022067714__p1248652411151"></p>
|
||||
<p id="EN-US_TOPIC_0022067714__p5602949124412">Abnormal response</p>
|
||||
|
@ -57,7 +57,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="22.522252225222523%" headers="mcps1.3.2.2.1.6.1.4 "><p id="EN-US_TOPIC_0022067717__p145875121945">You do not have permission or your balance is insufficient.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p9303246141941">Check whether the account balance is insufficient and the account is frozen according to the returned error message.</p>
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p9303246141941">Check whether the account balance is insufficient or the account is frozen according to the returned error message.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022067717__row1229355675511"><td class="cellrowborder" valign="top" width="10.391039103910392%" headers="mcps1.3.2.2.1.6.1.1 "><p id="EN-US_TOPIC_0022067717__p3294185611552">400</p>
|
||||
@ -621,6 +621,17 @@
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p4694133602">Replace a NIC.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022067717__row1144416451337"><td class="cellrowborder" valign="top" width="10.391039103910392%" headers="mcps1.3.2.2.1.6.1.1 "><p id="EN-US_TOPIC_0022067717__p844510458313">400</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="10.731073107310731%" headers="mcps1.3.2.2.1.6.1.2 "><p id="EN-US_TOPIC_0022067717__p5445345832">Ecs.0090</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="26.042604260426046%" headers="mcps1.3.2.2.1.6.1.3 "><p id="EN-US_TOPIC_0022067717__p124455455315">Image license type is BYOL, the BYOL feature is not supported at this time.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="22.522252225222523%" headers="mcps1.3.2.2.1.6.1.4 "><p id="EN-US_TOPIC_0022067717__p14452451139">BYOL image features are not supported in this region.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p12445104517319">Change the image or contact technical support.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022067717__row3702559515517"><td class="cellrowborder" valign="top" width="10.391039103910392%" headers="mcps1.3.2.2.1.6.1.1 "><p id="EN-US_TOPIC_0022067717__p23241551142232">400</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="10.731073107310731%" headers="mcps1.3.2.2.1.6.1.2 "><p id="EN-US_TOPIC_0022067717__p9286251155119">Ecs.0100</p>
|
||||
@ -951,6 +962,17 @@
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p1577818361611">For details, see the returned error message or contact technical support.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022067717__row14974175711487"><td class="cellrowborder" valign="top" width="10.391039103910392%" headers="mcps1.3.2.2.1.6.1.1 "><p id="EN-US_TOPIC_0022067717__p181175141491">400</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="10.731073107310731%" headers="mcps1.3.2.2.1.6.1.2 "><p id="EN-US_TOPIC_0022067717__p1511781414920">Ecs.0227</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="26.042604260426046%" headers="mcps1.3.2.2.1.6.1.3 "><p id="EN-US_TOPIC_0022067717__p3117141419490">Failed to reboot.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="22.522252225222523%" headers="mcps1.3.2.2.1.6.1.4 "><p id="EN-US_TOPIC_0022067717__p311741410496">Failed to restart the <span id="EN-US_TOPIC_0022067717__text18117141418498">ECS</span>.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p15118141414919">Modify according to the returned error message or contact technical support.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022067717__row64245714112050"><td class="cellrowborder" valign="top" width="10.391039103910392%" headers="mcps1.3.2.2.1.6.1.1 "><p id="EN-US_TOPIC_0022067717__p4621493715058">400</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="10.731073107310731%" headers="mcps1.3.2.2.1.6.1.2 "><p id="EN-US_TOPIC_0022067717__p61755686155119">Ecs.0301</p>
|
||||
@ -1122,7 +1144,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="26.042604260426046%" headers="mcps1.3.2.2.1.6.1.3 "><p id="EN-US_TOPIC_0022067717__p1343810154914">Console logs query failed.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="22.522252225222523%" headers="mcps1.3.2.2.1.6.1.4 "><p id="EN-US_TOPIC_0022067717__p1085214695713">Failed to query ECS console logs.</p>
|
||||
<td class="cellrowborder" valign="top" width="22.522252225222523%" headers="mcps1.3.2.2.1.6.1.4 "><p id="EN-US_TOPIC_0022067717__p1085214695713">Failed to query <span id="EN-US_TOPIC_0022067717__text512116197414">ECS</span> console logs.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p18521746125714">For details, see the returned error message or contact technical support.</p>
|
||||
</td>
|
||||
@ -1403,17 +1425,6 @@
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p216214924812">Change the flavor or disk type.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022067717__row68791754197"><td class="cellrowborder" valign="top" width="10.391039103910392%" headers="mcps1.3.2.2.1.6.1.1 "><p id="EN-US_TOPIC_0022067717__p1679911202017">400</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="10.731073107310731%" headers="mcps1.3.2.2.1.6.1.2 "><p id="EN-US_TOPIC_0022067717__p1179911172015">Ecs.0910</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="26.042604260426046%" headers="mcps1.3.2.2.1.6.1.3 "><p id="EN-US_TOPIC_0022067717__p8253104125614">Invalid NIC settings for creating a HANA ECS.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="22.522252225222523%" headers="mcps1.3.2.2.1.6.1.4 "><p id="EN-US_TOPIC_0022067717__p178801156199">Invalid NIC parameters for creating a HANA ECS.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p48801958197">Adjust the NIC parameter settings.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022067717__row1070393161916"><td class="cellrowborder" valign="top" width="10.391039103910392%" headers="mcps1.3.2.2.1.6.1.1 "><p id="EN-US_TOPIC_0022067717__p225911011237">400</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="10.731073107310731%" headers="mcps1.3.2.2.1.6.1.2 "><p id="EN-US_TOPIC_0022067717__p16259151012311">Ecs.0911</p>
|
||||
@ -1510,7 +1521,8 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="22.522252225222523%" headers="mcps1.3.2.2.1.6.1.4 "><p id="EN-US_TOPIC_0022067717__p15325870155119">OpenStack access timed out.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p41481352141941">Internal system processing timed out. For details, contact technical support.</p>
|
||||
<td class="cellrowborder" valign="top" width="30.313031303130312%" headers="mcps1.3.2.2.1.6.1.5 "><p id="EN-US_TOPIC_0022067717__p1466884161810">If you are switching a VPC, attaching or detaching a NIC or disk, or changing or reinstalling an OS, stop the process first and try again.</p>
|
||||
<p id="EN-US_TOPIC_0022067717__p41481352141941">If the retry timed out, contact technical support.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022067717__row39078525112050"><td class="cellrowborder" valign="top" width="10.391039103910392%" headers="mcps1.3.2.2.1.6.1.1 "><p id="EN-US_TOPIC_0022067717__p88150601519">400</p>
|
||||
@ -1561,7 +1573,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="10.731073107310731%" headers="mcps1.3.2.2.1.6.1.2 "><p id="EN-US_TOPIC_0022067717__p1962031113116">Pdp.0001</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="26.042604260426046%" headers="mcps1.3.2.2.1.6.1.3 "><p id="EN-US_TOPIC_0022067717__p1166871142620">Policy doesn't allow %s to be performed.</p>
|
||||
<td class="cellrowborder" valign="top" width="26.042604260426046%" headers="mcps1.3.2.2.1.6.1.3 "><p id="EN-US_TOPIC_0022067717__p1166871142620">Policy does not allow %s to be performed.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="22.522252225222523%" headers="mcps1.3.2.2.1.6.1.4 "><p id="EN-US_TOPIC_0022067717__p11620011173119">API authentication failed.</p>
|
||||
</td>
|
||||
|
@ -148,8 +148,8 @@
|
||||
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.2 "><p id="EN-US_TOPIC_0022067719__p10870298142859">InfiniBand NIC status</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.6.1.3 "><p id="EN-US_TOPIC_0022067719__p8078955142859">This metric is used to monitor the status of an InfiniBand NIC on a high-performance h2 ECS to ensure proper InfiniBand NIC running.</p>
|
||||
<p id="EN-US_TOPIC_0022067719__p1325610141717">The system periodically checks the NIC status and returns check results using value <strong id="EN-US_TOPIC_0022067719__b907156934">0</strong> or <strong id="EN-US_TOPIC_0022067719__b2125796676">1</strong>.</p>
|
||||
<ul id="EN-US_TOPIC_0022067719__ul28823487141959"><li id="EN-US_TOPIC_0022067719__li58084791141959"><strong id="EN-US_TOPIC_0022067719__b1113924233">0</strong>: The system is running properly. That is, the InfiniBand NIC is functional.</li><li id="EN-US_TOPIC_0022067719__li53001078141959"><strong id="EN-US_TOPIC_0022067719__b146790698">1</strong>: The system is not running properly. That is, the InfiniBand NIC malfunctions.</li></ul>
|
||||
<p id="EN-US_TOPIC_0022067719__p1325610141717">The system periodically checks the NIC status and returns check results using value <strong id="EN-US_TOPIC_0022067719__b334873558">0</strong> or <strong id="EN-US_TOPIC_0022067719__b1352460041">1</strong>.</p>
|
||||
<ul id="EN-US_TOPIC_0022067719__ul28823487141959"><li id="EN-US_TOPIC_0022067719__li58084791141959"><strong id="EN-US_TOPIC_0022067719__b876337716">0</strong>: The system is running properly. That is, the InfiniBand NIC is functional.</li><li id="EN-US_TOPIC_0022067719__li53001078141959"><strong id="EN-US_TOPIC_0022067719__b1159378494">1</strong>: The system is not running properly. That is, the InfiniBand NIC malfunctions.</li></ul>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.4 "><p id="EN-US_TOPIC_0022067719__p50415620142859">0 or 1</p>
|
||||
</td>
|
||||
|
@ -133,7 +133,21 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="EN-US_TOPIC_0022225398__row21068325163249"><td class="cellrowborder" valign="top" width="19.24%" headers="mcps1.3.5.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0022225398__p1987866102840">sub_jobs_total</p>
|
||||
<tbody><tr id="EN-US_TOPIC_0022225398__row9531822185216"><td class="cellrowborder" valign="top" width="19.24%" headers="mcps1.3.5.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0022225398__p61808238528">server_id</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="16.24%" headers="mcps1.3.5.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0022225398__p1518010234522">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="64.52%" headers="mcps1.3.5.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0022225398__p15180723105215">If the task is an <span id="EN-US_TOPIC_0022225398__text1029201603718">ECS</span>-related operation, the value is <strong id="EN-US_TOPIC_0022225398__b114133310277">server_id</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022225398__row69331319205217"><td class="cellrowborder" valign="top" width="19.24%" headers="mcps1.3.5.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0022225398__p9180172311522">nic_id</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="16.24%" headers="mcps1.3.5.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0022225398__p91801623195219">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="64.52%" headers="mcps1.3.5.2.3.2.4.1.3 "><p id="EN-US_TOPIC_0022225398__p1718112313522">If the task is a NIC-related operation, the value is <strong id="EN-US_TOPIC_0022225398__b65011424173018">nic_id</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022225398__row21068325163249"><td class="cellrowborder" valign="top" width="19.24%" headers="mcps1.3.5.2.3.2.4.1.1 "><p id="EN-US_TOPIC_0022225398__p1987866102840">sub_jobs_total</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="16.24%" headers="mcps1.3.5.2.3.2.4.1.2 "><p id="EN-US_TOPIC_0022225398__p26799477102840">Integer</p>
|
||||
</td>
|
||||
@ -152,7 +166,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0022225398__table1500801817135"></a><a name="table1500801817135"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022225398__table1500801817135" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="EN-US_TOPIC_0022225398__b800933967">sub_jobs</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0022225398__row5502467917135"><th align="left" class="cellrowborder" valign="top" width="19.24%" id="mcps1.3.5.2.4.2.4.1.1"><p id="EN-US_TOPIC_0022225398__p385318355367">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0022225398__table1500801817135"></a><a name="table1500801817135"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022225398__table1500801817135" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="EN-US_TOPIC_0022225398__b1425599050">sub_jobs</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0022225398__row5502467917135"><th align="left" class="cellrowborder" valign="top" width="19.24%" id="mcps1.3.5.2.4.2.4.1.1"><p id="EN-US_TOPIC_0022225398__p385318355367">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="16.23%" id="mcps1.3.5.2.4.2.4.1.2"><p id="EN-US_TOPIC_0022225398__p138539354361">Type</p>
|
||||
</th>
|
||||
@ -165,7 +179,7 @@
|
||||
<td class="cellrowborder" valign="top" width="16.23%" headers="mcps1.3.5.2.4.2.4.1.2 "><p id="EN-US_TOPIC_0022225398__p3691618110290">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="64.53%" headers="mcps1.3.5.2.4.2.4.1.3 "><p id="EN-US_TOPIC_0022225398__p124153110290">Specifies the task status.</p>
|
||||
<ul id="EN-US_TOPIC_0022225398__ul1117378710290"><li id="EN-US_TOPIC_0022225398__li3345522610290"><strong id="EN-US_TOPIC_0022225398__b67795505032521">SUCCESS</strong>: indicates the task is successfully executed.</li><li id="EN-US_TOPIC_0022225398__li3266158610290"><strong id="EN-US_TOPIC_0022225398__b188301151232521">RUNNING</strong>: indicates that the task is in progress.</li><li id="EN-US_TOPIC_0022225398__li2551881810290"><strong id="EN-US_TOPIC_0022225398__b359370266">FAIL</strong>: indicates that the task failed.</li><li id="EN-US_TOPIC_0022225398__li2834277210290"><strong id="EN-US_TOPIC_0022225398__b110641642332521">INIT</strong>: indicates that the task is being initialized.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0022225398__ul1117378710290"><li id="EN-US_TOPIC_0022225398__li3345522610290"><strong id="EN-US_TOPIC_0022225398__b67795505032521">SUCCESS</strong>: indicates the task is successfully executed.</li><li id="EN-US_TOPIC_0022225398__li3266158610290"><strong id="EN-US_TOPIC_0022225398__b188301151232521">RUNNING</strong>: indicates that the task is in progress.</li><li id="EN-US_TOPIC_0022225398__li2551881810290"><strong id="EN-US_TOPIC_0022225398__b1918861888">FAIL</strong>: indicates that the task failed.</li><li id="EN-US_TOPIC_0022225398__li2834277210290"><strong id="EN-US_TOPIC_0022225398__b110641642332521">INIT</strong>: indicates that the task is being initialized.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022225398__row1171912617140"><td class="cellrowborder" valign="top" width="19.24%" headers="mcps1.3.5.2.4.2.4.1.1 "><p id="EN-US_TOPIC_0022225398__p5946004210290">entities</p>
|
||||
@ -223,7 +237,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0022225398__table2577901102930"></a><a name="table2577901102930"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022225398__table2577901102930" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="EN-US_TOPIC_0022225398__b1764648962">entities</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0022225398__row41961594102930"><th align="left" class="cellrowborder" valign="top" width="17.64%" id="mcps1.3.5.2.5.2.4.1.1"><p id="EN-US_TOPIC_0022225398__p1819124019365">Parameter</p>
|
||||
<div class="tablenoborder"><a name="EN-US_TOPIC_0022225398__table2577901102930"></a><a name="table2577901102930"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022225398__table2577901102930" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="EN-US_TOPIC_0022225398__b978989137">sub_jobs.entities</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0022225398__row41961594102930"><th align="left" class="cellrowborder" valign="top" width="17.64%" id="mcps1.3.5.2.5.2.4.1.1"><p id="EN-US_TOPIC_0022225398__p1819124019365">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17.9%" id="mcps1.3.5.2.5.2.4.1.2"><p id="EN-US_TOPIC_0022225398__p31934010363">Type</p>
|
||||
</th>
|
||||
@ -235,7 +249,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="17.9%" headers="mcps1.3.5.2.5.2.4.1.2 "><p id="EN-US_TOPIC_0022225398__p10490546102930">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="64.46%" headers="mcps1.3.5.2.5.2.4.1.3 "><p id="EN-US_TOPIC_0022225398__p64306551102930">If the task is an <span id="EN-US_TOPIC_0022225398__text1029201603718">ECS</span>-related operation, the value is <strong id="EN-US_TOPIC_0022225398__b114133310277">server_id</strong>.</p>
|
||||
<td class="cellrowborder" valign="top" width="64.46%" headers="mcps1.3.5.2.5.2.4.1.3 "><p id="EN-US_TOPIC_0022225398__p64306551102930">If the task is an <span id="EN-US_TOPIC_0022225398__text1003717683">ECS</span>-related operation, the value is <strong id="EN-US_TOPIC_0022225398__b2108426663">server_id</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0022225398__row41888051102930"><td class="cellrowborder" valign="top" width="17.64%" headers="mcps1.3.5.2.5.2.4.1.1 "><p id="EN-US_TOPIC_0022225398__p37488972102930">nic_id</p>
|
||||
@ -257,7 +271,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022225398__section779115469181"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0022225398__screen15585942105910">GET https://{endpoint}/v1/{project_id}/jobs/{job_id}</pre>
|
||||
<div class="section" id="EN-US_TOPIC_0022225398__section779115469181"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0022225398__p151681751181111">Query the execution status of a specified asynchronous request task.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0022225398__screen15585942105910">GET https://{endpoint}/v1/{project_id}/jobs/{job_id}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022225398__section17930437174311"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0022225398__screen3451280204146">{
|
||||
"status": "SUCCESS",
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Attaching a Disk to an <span id="text1320923105110">ECS</span></h1>
|
||||
<div id="body1449024938540"><div class="section" id="EN-US_TOPIC_0022472987__section48627224105553"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0022472987__p46491051105553">This API is used to attach a disk to an <span id="EN-US_TOPIC_0022472987__text7169173225117">ECS</span>.</p>
|
||||
<p id="EN-US_TOPIC_0022472987__p109912312314">This API is an asynchronous API. After the attachment request is successfully delivered, a job ID is returned. This does not mean the attachment is complete. You need to call the API by referring to <a href="en-us_topic_0022225398.html">Querying Task Execution Status</a> to query the job status. The SUCCESS status indicates that the attachment is successful.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022472987__section15766276105553"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0022472987__p27779270105553">POST /v1/{project_id}/cloudservers/{server_id}/attachvolume</p>
|
||||
<div class="p" id="EN-US_TOPIC_0022472987__p343712912316"><a href="#EN-US_TOPIC_0022472987__table35528365105553">Table 1</a> describes the parameters in the URI.
|
||||
@ -93,7 +94,7 @@
|
||||
<td class="cellrowborder" valign="top" width="11.41%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0022472987__p55033990151632">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="53.480000000000004%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0022472987__p179035435915">Indicates the disk device name.</p>
|
||||
<div class="note" id="EN-US_TOPIC_0022472987__note1755312117111"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="EN-US_TOPIC_0022472987__ul1580711965"><li id="EN-US_TOPIC_0022472987__li1758019120619">The new disk device name cannot be the same as an existing one.</li><li id="EN-US_TOPIC_0022472987__li058081761">For KVM <span id="EN-US_TOPIC_0022472987__text98491751985">ECS</span>s, set the parameter value to <strong id="EN-US_TOPIC_0022472987__b1449143511497">/dev/vda</strong> for system disks. The device names for data disks of KVM <span id="EN-US_TOPIC_0022472987__text1770614689">ECS</span>s are optional. If the device names of data disks are required, set them in alphabetical order. For example, if there are two data disks, set the device names of the two data disks to <strong id="EN-US_TOPIC_0022472987__b15013554917">/dev/vdb</strong> and <strong id="EN-US_TOPIC_0022472987__b25173594918">/dev/vdc</strong>, respectively. If you set a device name starting with <strong id="EN-US_TOPIC_0022472987__b15223594918">/dev/sd</strong>, the system uses <strong id="EN-US_TOPIC_0022472987__b1859235144914">/dev/vd</strong> by default.</li></ul>
|
||||
<div class="note" id="EN-US_TOPIC_0022472987__note1755312117111"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="EN-US_TOPIC_0022472987__ul1580711965"><li id="EN-US_TOPIC_0022472987__li1758019120619">The new disk device name cannot be the same as an existing one.</li><li id="EN-US_TOPIC_0022472987__li058081761">For KVM <span id="EN-US_TOPIC_0022472987__text98491751985">ECS</span>s, set the parameter value to <strong id="EN-US_TOPIC_0022472987__b1449143511497">/dev/vda</strong> for system disks. The device names for data disks of KVM <span id="EN-US_TOPIC_0022472987__text1770614689">ECS</span>s are optional. If the device names of data disks are required, set them in alphabetical order. For example, if there are two data disks, set the device names of the two data disks to <strong id="EN-US_TOPIC_0022472987__b15013554917">/dev/vdb</strong> and <strong id="EN-US_TOPIC_0022472987__b25173594918">/dev/vdc</strong>, respectively. If you set a device name starting with <strong id="EN-US_TOPIC_0022472987__b15223594918">/dev/sd</strong>, the system uses <strong id="EN-US_TOPIC_0022472987__b1859235144914">/dev/vd</strong> by default.</li><li id="EN-US_TOPIC_0022472987__li111172528272">For <span id="EN-US_TOPIC_0022472987__text151115552587">ECS</span>s that only support SCSI disks, set the device name of the system disk to <strong id="EN-US_TOPIC_0022472987__b149531269572">/dev/sda</strong> and the device names of data disks in alphabetical order, for example, <strong id="EN-US_TOPIC_0022472987__b489617349560">/dev/sdb</strong> and <strong id="EN-US_TOPIC_0022472987__b195518363567">/dev/sdc</strong>. The system will not change the default device names.</li></ul>
|
||||
</div></div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -133,8 +134,10 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022472987__section5883164105553"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0022472987__p6774315105553">See <a href="en-us_topic_0022067714.html">Responses (Task)</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022472987__section812710371403"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0022472987__screen9285121518573">POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/attachvolume</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0022472987__screen111411737104016">{
|
||||
<div class="section" id="EN-US_TOPIC_0022472987__section812710371403"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0022472987__p495591125520">Attach a SCSI EVS disk to the device <strong id="EN-US_TOPIC_0022472987__b672882295913">/dev/sda</strong>.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0022472987__screen111411737104016">POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/attachvolume
|
||||
|
||||
{
|
||||
"volumeAttachment": {
|
||||
"volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f803",
|
||||
"device": "/dev/sda",
|
||||
@ -146,7 +149,7 @@
|
||||
}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022472987__section7250113841316"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0022472987__screen4283641172510">{
|
||||
"job_id": "70a599e0-31e7-49b7-b260-868f441e862b"
|
||||
"job_id": "ff80808288d41e1b018990260955686a"
|
||||
}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022472987__en-us_topic_0092803065_en-us_topic_0020212692_section22960139"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0022472987__en-us_topic_0092803065_en-us_topic_0020212692_p23670760">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Detaching an EVS Disk from an <span id="text49851734145110">ECS</span></h1>
|
||||
<div id="body1449024938540"><div class="section" id="EN-US_TOPIC_0022472988__section131779110562"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0022472988__p3963222110562">This API is used to detach an EVS disk from an <span id="EN-US_TOPIC_0022472988__text7905123517511">ECS</span>.</p>
|
||||
<p id="EN-US_TOPIC_0022472988__p398184022315">This API is an asynchronous API. After the detachment request is successfully delivered, a job ID is returned. This does not mean the detachment is complete. You need to call the API by referring to <a href="en-us_topic_0022225398.html">Querying Task Execution Status</a> to query the job status. The SUCCESS status indicates that the detachment is successful.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022472988__section2114566910562"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0022472988__p2271714910562">DELETE /v1/{project_id}/cloudservers/{server_id}/detachvolume/{volume_id}?delete_flag=0</p>
|
||||
<div class="p" id="EN-US_TOPIC_0022472988__p1884727162718"><a href="#EN-US_TOPIC_0022472988__table2814978410562">Table 1</a> describes the parameters in the URI.
|
||||
@ -52,10 +53,11 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022472988__section3910292310562"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0022472988__p1322022910562">See <a href="en-us_topic_0022067714.html">Responses (Task)</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022472988__section9591135616137"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0022472988__screen35351133165712">DELETE https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/detachvolume/{volume_id}</pre>
|
||||
<div class="section" id="EN-US_TOPIC_0022472988__section9591135616137"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0022472988__p55789382127">Detach a specified disk from an ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0022472988__screen35351133165712">DELETE https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/detachvolume/{volume_id}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022472988__section18271184161412"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0022472988__screen4283641172510">{
|
||||
"job_id": "70a599e0-31e7-49b7-b260-868f441e862b"
|
||||
"job_id": "ff80808288d41e1b018990260955686a"
|
||||
}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0022472988__en-us_topic_0092803065_en-us_topic_0020212692_section22960139"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0022472988__en-us_topic_0092803065_en-us_topic_0020212692_p23670760">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
|
||||
|
@ -8,7 +8,33 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="EN-US_TOPIC_0024734483__row1471120387476"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p9712173814715">2023-02-28</p>
|
||||
<tbody><tr id="EN-US_TOPIC_0024734483__row17827133817535"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p1482833814536">2024-04-26</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.10000000000001%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024734483__p48281738165314">Modified the following content:</p>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul1276185035618"><li id="EN-US_TOPIC_0024734483__li676125055614">Updated actions in <a href="en-us_topic_0103071510.html">Lifecycle Management</a>, <a href="en-us_topic_0103071513.html">NIC Management</a>, <a href="en-us_topic_0103071514.html">Disk Management</a>, <a href="en-us_topic_0103071520.html">ECS Group Management</a>, and <a href="en-us_topic_0103071521.html">Tag Management</a>.</li><li id="EN-US_TOPIC_0024734483__li07611950105618">Added parameter descriptions in <a href="en-us_topic_0121978383.html">Querying NICs of an ECS</a>.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0024734483__row655284515274"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p4553164542710">2024-01-30</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.10000000000001%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024734483__p355312456278">Added the following content:</p>
|
||||
<p id="EN-US_TOPIC_0024734483__p10387205613279"><a href="en-us_topic_0121978383.html">Querying NICs of an ECS</a></p>
|
||||
<p id="EN-US_TOPIC_0024734483__p329113168282">Modified the following content:</p>
|
||||
<p id="EN-US_TOPIC_0024734483__p141831721162810">Added the permissions to query ECS NICs in <a href="en-us_topic_0103071513.html">NIC Management</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0024734483__row1332915314117"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p33301132119">2024-01-19</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.10000000000001%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024734483__p153301734119">Modified the following content:</p>
|
||||
<p id="EN-US_TOPIC_0024734483__p6949624718">Added the <strong id="EN-US_TOPIC_0024734483__b0159251193710">batch_create_in_multi_az</strong> parameter in <a href="en-us_topic_0020212668.html">Creating an ECS</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0024734483__row1111165502214"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p511212559221">2023-11-03</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.10000000000001%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024734483__p733142122415">Modified the following content:</p>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul15762123502818"><li id="EN-US_TOPIC_0024734483__li1476223511283">Added the <strong id="EN-US_TOPIC_0024734483__b6421124210176">ipv6_enable</strong> and <strong id="EN-US_TOPIC_0024734483__b134211242141718">ipv6_bandwidth</strong> fields in <a href="en-us_topic_0020212668.html">Creating an ECS</a> and <a href="en-us_topic_0020212663.html">Adding NICs to an ECS in a Batch</a>.</li><li id="EN-US_TOPIC_0024734483__li16425112422911">Added the <strong id="EN-US_TOPIC_0024734483__b10826721813">ipv6_bandwidth</strong> field description in <a href="en-us_topic_0167957246.html">Data Structure for Creating ECSs</a>.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0024734483__row1471120387476"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p9712173814715">2023-02-28</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.10000000000001%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024734483__p137125382472">Added the following content:</p>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul18678164819474"><li id="EN-US_TOPIC_0024734483__li1067920486472"><a href="en-us_topic_0170316409.html">Introduction</a></li></ul>
|
||||
@ -35,7 +61,7 @@
|
||||
<tr id="EN-US_TOPIC_0024734483__row38471054153416"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p8847195410346">2022-06-06</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.10000000000001%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024734483__p11847185493418">Added the following content:</p>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul531624810467"><li id="EN-US_TOPIC_0024734483__li2819142718236"><a href="en-us_topic_0094148849.html">Querying Details About an ECS</a></li><li id="EN-US_TOPIC_0024734483__li731654813469"><a href="en-us_topic_0094148850.html">Querying Details About ECSs</a></li><li id="EN-US_TOPIC_0024734483__li931704824610"><a href="en-us_topic_0118308527.html">Modifying an ECS</a></li></ul>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul531624810467"><li id="EN-US_TOPIC_0024734483__li2819142718236"><a href="en-us_topic_0094148849.html">Querying Details About an ECS</a></li><li id="EN-US_TOPIC_0024734483__li731654813469"><a href="en-us_topic_0094148850.html">Querying Details About ECSs</a></li><li id="EN-US_TOPIC_0024734483__li931704824610"><a href="en-us_topic_0118308527.html">Modifying ECS Details</a></li></ul>
|
||||
<div class="p" id="EN-US_TOPIC_0024734483__p18958134023518">Modified the following content:<ul id="EN-US_TOPIC_0024734483__ul19872154616475"><li id="EN-US_TOPIC_0024734483__li12872134617478">Added the <strong id="EN-US_TOPIC_0024734483__b9298162763014">attachableQuantity</strong> parameter in <a href="en-us_topic_0122107473.html">Querying Information About Disks Attached to an ECS</a>.</li><li id="EN-US_TOPIC_0024734483__li128721446164719">Added a response example in <a href="en-us_topic_0022472988.html">Detaching an EVS Disk from an ECS</a>.</li></ul>
|
||||
</div>
|
||||
</td>
|
||||
@ -195,7 +221,7 @@
|
||||
<tr id="EN-US_TOPIC_0024734483__row097215377113"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p5972183720118">2018-07-10</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.10000000000001%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024734483__p688155415112">Added the following content:</p>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul92227751212"><li id="EN-US_TOPIC_0024734483__li152221276124">Added API permissions policies in <a href="en-us_topic_0103071509.html">Permissions Policies and Supported Actions</a>.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul92227751212"><li id="EN-US_TOPIC_0024734483__li152221276124">Added API permissions policies in <a href="en-us_topic_0103071509.html">Permissions and Supported Actions</a>.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0024734483__row184839491476"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p103461454174717">2018-07-05</p>
|
||||
@ -228,13 +254,13 @@
|
||||
<tr id="EN-US_TOPIC_0024734483__row15365131818399"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p10365181817392">2018-05-31</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.10000000000001%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024734483__p152081149144513">Modified the following content:</p>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul632513415408"><li id="EN-US_TOPIC_0024734483__li1432544174017">Fixed 59 UAT issues in <em id="EN-US_TOPIC_0024734483__i1489944403">Elastic Cloud Server API Reference 27</em>.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul632513415408"><li id="EN-US_TOPIC_0024734483__li1432544174017">Fixed 59 UAT issues in <em id="EN-US_TOPIC_0024734483__i211722211">Elastic Cloud Server API Reference 27</em>.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0024734483__row1227442101212"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p18227242141218">2018-05-21</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.10000000000001%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024734483__p898917214465">Modified the following content:</p>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul164131486138"><li id="EN-US_TOPIC_0024734483__li54121683139">Added <a href="en-us_topic_0065962596.html">FPGA Logical File Management</a>.</li><li id="EN-US_TOPIC_0024734483__li116601232131318">Fixed 110 UAT issues in <em id="EN-US_TOPIC_0024734483__i192412435">Elastic Cloud Server API Reference 26</em>.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul164131486138"><li id="EN-US_TOPIC_0024734483__li54121683139">Added <a href="en-us_topic_0065962596.html">FPGA Logical File Management</a>.</li><li id="EN-US_TOPIC_0024734483__li116601232131318">Fixed 110 UAT issues in <em id="EN-US_TOPIC_0024734483__i913570496">Elastic Cloud Server API Reference 26</em>.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0024734483__row159145300559"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p1914203075519">2018-03-30</p>
|
||||
@ -278,13 +304,13 @@
|
||||
<tr id="EN-US_TOPIC_0024734483__row61841992143558"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p19707021143558">2017-08-30</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.10000000000001%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024734483__p48519961143611">Modified the following content:</p>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul40566484143620"><li id="EN-US_TOPIC_0024734483__li65415600143620">Modified constraints in <a href="en-us_topic_0068473331.html">Creating an ECS</a>.</li><li id="EN-US_TOPIC_0024734483__li65360416143730">Modified function description in <a href="en-us_topic_0068473331.html">Creating an ECS</a>.</li><li id="EN-US_TOPIC_0024734483__li50045737144021">Modified the <strong id="EN-US_TOPIC_0024734483__b842352706202340">network</strong> field description in <a href="en-us_topic_0068473331.html">Creating an ECS</a>.</li><li id="EN-US_TOPIC_0024734483__li22995548144128">Modified function description in <a href="en-us_topic_0067161469.html">Adding a Security Group</a>.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul40566484143620"><li id="EN-US_TOPIC_0024734483__li65415600143620">Modified constraints in <a href="en-us_topic_0068473331.html">Creating an ECS</a>.</li><li id="EN-US_TOPIC_0024734483__li65360416143730">Modified function description in <a href="en-us_topic_0068473331.html">Creating an ECS</a>.</li><li id="EN-US_TOPIC_0024734483__li50045737144021">Modified the <strong id="EN-US_TOPIC_0024734483__b842352706202340">network</strong> field description in <a href="en-us_topic_0068473331.html">Creating an ECS</a>.</li><li id="EN-US_TOPIC_0024734483__li22995548144128">Modified function description in <a href="en-us_topic_0067161469.html">Adding an ECS to a Security Group</a>.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0024734483__row1733444994248"><td class="cellrowborder" valign="top" width="18.9%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024734483__p6191310994248">2017-07-31</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.10000000000001%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024734483__p98731795417">Modified the following content:</p>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul4881702495442"><li id="EN-US_TOPIC_0024734483__li3670003495442">Added <a href="en-us_topic_0067161469.html">Adding a Security Group</a>.</li><li id="EN-US_TOPIC_0024734483__li1991274895442">Added <a href="en-us_topic_0067161717.html">Deleting a Security Group</a>.</li><li id="EN-US_TOPIC_0024734483__li141098416222">Modified <a href="en-us_topic_0068473331.html">Creating an ECS</a> to support ECS creation using a snapshot.</li></ul>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul4881702495442"><li id="EN-US_TOPIC_0024734483__li3670003495442">Added <a href="en-us_topic_0067161469.html">Adding an ECS to a Security Group</a>.</li><li id="EN-US_TOPIC_0024734483__li1991274895442">Added <a href="en-us_topic_0067161717.html">Removing a Security Group</a>.</li><li id="EN-US_TOPIC_0024734483__li141098416222">Modified <a href="en-us_topic_0068473331.html">Creating an ECS</a> to support ECS creation using a snapshot.</li></ul>
|
||||
<p id="EN-US_TOPIC_0024734483__p192372439488">Deleted the following content:</p>
|
||||
<ul id="EN-US_TOPIC_0024734483__ul8237144384815"><li id="EN-US_TOPIC_0024734483__li102371043194815">Deleted the <strong id="EN-US_TOPIC_0024734483__b842352706151551">adminPass</strong> field.</li></ul>
|
||||
</td>
|
||||
|
@ -39,7 +39,8 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0025560296__section6619360391225"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0025560296__p6008161391225">None</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0025560296__section1399410202536"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0025560296__screen1354519302008">DELETE https://{endpoint}/v2/{project_id}/servers/{server_id}
|
||||
<div class="section" id="EN-US_TOPIC_0025560296__section1399410202536"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0025560296__p49449177257">Delete a specified ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0025560296__screen1354519302008">DELETE https://{endpoint}/v2/{project_id}/servers/{server_id}
|
||||
DELETE https://{endpoint}/v2.1/{project_id}/servers/{server_id}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0025560296__section975263145318"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0025560296__p1010074285316">None</p>
|
||||
|
@ -86,9 +86,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0025560298__section1124134931510"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0025560298__screen367330102216">POST https://{endpoint}/v2/{project_id}/servers/{server_id}/metadata
|
||||
POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/metadata</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0025560298__screen61671139194851">{
|
||||
<div class="section" id="EN-US_TOPIC_0025560298__section1124134931510"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0025560298__p16864210245">Update the metadata of a specified ECS to the user-defined metadata key-value pair.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0025560298__screen367330102216">POST https://{endpoint}/v2/{project_id}/servers/{server_id}/metadata
|
||||
POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/metadata
|
||||
|
||||
{
|
||||
"metadata": {
|
||||
"key": "value"
|
||||
}
|
||||
|
@ -46,7 +46,8 @@
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0025560299__section31286738185439"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0025560299__p25637144185815">None</p>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0025560299__section43661451124217"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0025560299__screen156935228242">DELETE https://{endpoint}/v2/{project_id}/servers/{server_id}/metadata/{key}
|
||||
<div class="section" id="EN-US_TOPIC_0025560299__section43661451124217"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0025560299__p1912495712712">Delete the metadata from a specified ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0025560299__screen156935228242">DELETE https://{endpoint}/v2/{project_id}/servers/{server_id}/metadata/{key}
|
||||
DELETE https://{endpoint}/v2.1/{project_id}/servers/{server_id}/metadata/{key}</pre>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0025560299__section105131358154219"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0025560299__p5143056435">None</p>
|
||||
|
@ -93,9 +93,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="EN-US_TOPIC_0025567413__section1854919457276"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0025567413__screen19959171382518">PUT https://{endpoint}/v2/{project_id}/servers/{server_id}/metadata/{key}
|
||||
PUT https://{endpoint}/v2.1/{project_id}/servers/{server_id}/metadata/{key}</pre>
|
||||
<pre class="screen" id="EN-US_TOPIC_0025567413__screen189551579577">{
|
||||
<div class="section" id="EN-US_TOPIC_0025567413__section1854919457276"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0025567413__p142811555132817">Set the metadata with a specified key of an ECS.</p>
|
||||
<pre class="screen" id="EN-US_TOPIC_0025567413__screen189551579577">PUT https://{endpoint}/v2/{project_id}/servers/{server_id}/metadata/{key}
|
||||
PUT https://{endpoint}/v2.1/{project_id}/servers/{server_id}/metadata/{key}
|
||||
|
||||
{
|
||||
"meta":{
|
||||
"key":"value"
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user