doc-exports/docs/ecs/api-ref/en-us_topic_0103071510.html
Zaoxu, Li 4edaa4a4cc 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>
2024-04-29 11:04:13 +00:00

179 lines
14 KiB
HTML

<a name="EN-US_TOPIC_0103071510"></a><a name="EN-US_TOPIC_0103071510"></a>
<h1 class="topictitle1">Lifecycle Management</h1>
<div id="body1521723005471">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0103071510__table1587111571724" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0103071510__row5871165713215"><th align="left" class="cellrowborder" valign="top" width="19.148298095666515%" id="mcps1.3.1.1.5.1.1"><p id="EN-US_TOPIC_0103071510__p106166215195">Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="32.523616734143054%" id="mcps1.3.1.1.5.1.2"><p id="EN-US_TOPIC_0103071510__p11871195719215">API</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="24.906282801019643%" id="mcps1.3.1.1.5.1.3"><p id="EN-US_TOPIC_0103071510__p38711657129">Action</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.421802369170788%" id="mcps1.3.1.1.5.1.4"><p id="EN-US_TOPIC_0103071510__p1195652816409">Dependencies</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0103071510__row6118143811524"><td class="cellrowborder" valign="top" width="19.148298095666515%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071510__p221611586197"><a href="en-us_topic_0020212668.html">Creating ECSs (pay-per-use)</a></p>
</td>
<td class="cellrowborder" valign="top" width="32.523616734143054%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071510__p9828202281915">POST /v1/{project_id}/cloudservers</p>
</td>
<td class="cellrowborder" valign="top" width="24.906282801019643%" headers="mcps1.3.1.1.5.1.3 "><ul id="EN-US_TOPIC_0103071510__ul9828142210192"><li id="EN-US_TOPIC_0103071510__li1877534433220">Assigning a New EIP<p id="EN-US_TOPIC_0103071510__p02702521359"><a name="EN-US_TOPIC_0103071510__li1877534433220"></a><a name="li1877534433220"></a>ecs:cloudServers:createServers</p>
</li><li id="EN-US_TOPIC_0103071510__li632181863316">Using an Existing EIP<p id="EN-US_TOPIC_0103071510__p777713543357"><a name="EN-US_TOPIC_0103071510__li632181863316"></a><a name="li632181863316"></a>ecs:cloudServers:createServers</p>
</li></ul>
</td>
<td class="cellrowborder" valign="top" width="23.421802369170788%" headers="mcps1.3.1.1.5.1.4 "><ul id="EN-US_TOPIC_0103071510__ul4754142218594"><li id="EN-US_TOPIC_0103071510__li127541722165912">Assigning a New EIP<p id="EN-US_TOPIC_0103071510__p991382817594"><a name="EN-US_TOPIC_0103071510__li127541722165912"></a><a name="li127541722165912"></a>vpc:publicIps:create</p>
</li><li id="EN-US_TOPIC_0103071510__li18754522145919">Using an Existing EIP<p id="EN-US_TOPIC_0103071510__p633823425910"><a name="EN-US_TOPIC_0103071510__li18754522145919"></a><a name="li18754522145919"></a>vpc:publicIps:update</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071510__row78644281610"><td class="cellrowborder" valign="top" width="19.148298095666515%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071510__p192161758101911"><a href="en-us_topic_0020212679.html">Deleting ECSs</a></p>
</td>
<td class="cellrowborder" valign="top" width="32.523616734143054%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071510__p1382822218198">POST /v1/{project_id}/cloudservers/delete</p>
</td>
<td class="cellrowborder" valign="top" width="24.906282801019643%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071510__p127436358366">ecs:cloudServers:deleteServers</p>
</td>
<td class="cellrowborder" valign="top" width="23.421802369170788%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071510__p14956628144012">-</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071510__row18675729"><td class="cellrowborder" valign="top" width="19.148298095666515%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071510__p521695815198"><a href="en-us_topic_0094148850.html">Querying details about ECSs</a></p>
</td>
<td class="cellrowborder" valign="top" width="32.523616734143054%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071510__p72614261323">GET /v1/{project_id}/cloudservers/detail</p>
</td>
<td class="cellrowborder" valign="top" width="24.906282801019643%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071510__p10835544012">ecs:cloudServers:list</p>
</td>
<td class="cellrowborder" valign="top" width="23.421802369170788%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071510__p69571328194018">-</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071510__row1321071111217"><td class="cellrowborder" valign="top" width="19.148298095666515%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071510__p1021614582197"><a href="en-us_topic_0094148849.html">Querying details about a specific ECS</a></p>
</td>
<td class="cellrowborder" valign="top" width="32.523616734143054%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071510__p1826214268219">GET /v1/{project_id}/cloudservers/{server_id}</p>
</td>
<td class="cellrowborder" valign="top" width="24.906282801019643%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071510__p6955026195612">ecs:cloudServers:showServer</p>
</td>
<td class="cellrowborder" valign="top" width="23.421802369170788%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071510__p149571928184014">-</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071510__row1634414911210"><td class="cellrowborder" valign="top" width="19.148298095666515%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071510__p8216115818198"><a href="en-us_topic_0118308527.html">Modifying ECS details</a></p>
</td>
<td class="cellrowborder" valign="top" width="32.523616734143054%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071510__p42624262210">PUT /v1/{project_id}/cloudservers/{server_id}</p>
</td>
<td class="cellrowborder" valign="top" width="24.906282801019643%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071510__p13343137373">ecs:cloudServers:updateServer</p>
</td>
<td class="cellrowborder" valign="top" width="23.421802369170788%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071510__p695715281405">-</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071510__row38713577219"><td class="cellrowborder" valign="top" width="19.148298095666515%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071510__p1621635816195"><a href="en-us_topic_0020212689.html">Querying details about ECSs (native OpenStack API)</a></p>
</td>
<td class="cellrowborder" valign="top" width="32.523616734143054%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071510__p725331122516">GET /v2/{project_id}/servers/detail</p>
<p id="EN-US_TOPIC_0103071510__p16337193516315">GET /v2.1/{project_id}/servers/detail</p>
</td>
<td class="cellrowborder" valign="top" width="24.906282801019643%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071510__p6604318658">ecs:servers:list</p>
</td>
<td class="cellrowborder" valign="top" width="23.421802369170788%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071510__p315116813517">ecs:servers:get</p>
<p id="EN-US_TOPIC_0103071510__p1288394510">ecs:serverVolumes:use</p>
<p id="EN-US_TOPIC_0103071510__p61781012516">ecs:diskConfigs:use</p>
<p id="EN-US_TOPIC_0103071510__p949514114510">ecs:securityGroups:use</p>
<p id="EN-US_TOPIC_0103071510__p7319171210518">ecs:serverKeypairs:get</p>
<p id="EN-US_TOPIC_0103071510__p159031112453">vpc:securityGroups:get</p>
<p id="EN-US_TOPIC_0103071510__p125431131515">vpc:securityGroupRules:get</p>
<p id="EN-US_TOPIC_0103071510__p454217141250">vpc:networks:get</p>
<p id="EN-US_TOPIC_0103071510__p1352915154511">vpc:subnets:get</p>
<p id="EN-US_TOPIC_0103071510__p260561611515">vpc:ports:get</p>
<p id="EN-US_TOPIC_0103071510__p1630721720517">vpc:routers:get</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071510__row58713574219"><td class="cellrowborder" valign="top" width="19.148298095666515%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071510__p11216105819192"><a href="en-us_topic_0020212688.html">Querying a list of ECSs (native OpenStack API)</a></p>
</td>
<td class="cellrowborder" valign="top" width="32.523616734143054%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071510__p172163919520">GET /v2/{project_id}/servers</p>
<p id="EN-US_TOPIC_0103071510__p292383619252">GET /v2.1/{project_id}/servers</p>
</td>
<td class="cellrowborder" valign="top" width="24.906282801019643%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071510__p73591966513">ecs:servers:list</p>
</td>
<td class="cellrowborder" valign="top" width="23.421802369170788%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071510__p189571028164011">-</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071510__row88711057321"><td class="cellrowborder" valign="top" width="19.148298095666515%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071510__p142161158151913"><a href="en-us_topic_0020212690.html">Querying details about a specific ECS (native OpenStack API)</a></p>
</td>
<td class="cellrowborder" valign="top" width="32.523616734143054%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071510__p2723392051">GET /v2/{project_id}/servers/{server_id}</p>
<p id="EN-US_TOPIC_0103071510__p41651192619">GET /v2.1/{project_id}/servers/{server_id}</p>
</td>
<td class="cellrowborder" valign="top" width="24.906282801019643%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071510__p1847815513513">ecs:servers:get</p>
</td>
<td class="cellrowborder" valign="top" width="23.421802369170788%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071510__p162461156142">ecs:serverVolumes:use</p>
<p id="EN-US_TOPIC_0103071510__p7691557449">ecs:diskConfigs:use</p>
<p id="EN-US_TOPIC_0103071510__p178831657640">ecs:securityGroups:use</p>
<p id="EN-US_TOPIC_0103071510__p17822145815413">ecs:serverKeypairs:get</p>
<p id="EN-US_TOPIC_0103071510__p962816599417">vpc:securityGroups:get</p>
<p id="EN-US_TOPIC_0103071510__p1739870658">vpc:securityGroupRules:get</p>
<p id="EN-US_TOPIC_0103071510__p551513114517">vpc:networks:get</p>
<p id="EN-US_TOPIC_0103071510__p22721829510">vpc:subnets:get</p>
<p id="EN-US_TOPIC_0103071510__p125781537512">vpc:ports:get</p>
<p id="EN-US_TOPIC_0103071510__p102321047517">vpc:routers:get</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071510__row19755103191416"><td class="cellrowborder" valign="top" width="19.148298095666515%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071510__p14216155891912"><a href="en-us_topic_0068473331.html">Creating an ECS (native OpenStack API)</a></p>
</td>
<td class="cellrowborder" valign="top" width="32.523616734143054%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071510__p183216467273">POST /v2/{project_id}/servers</p>
<p id="EN-US_TOPIC_0103071510__p032113463271">POST /v2/{project_id}/os-volumes_boot</p>
<p id="EN-US_TOPIC_0103071510__p5883772911">POST /v2.1/{project_id}/servers</p>
<p id="EN-US_TOPIC_0103071510__p11883670913">POST /v2.1/{project_id}/os-volumes_boot</p>
</td>
<td class="cellrowborder" valign="top" width="24.906282801019643%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071510__p44811654644">ecs:servers:create</p>
</td>
<td class="cellrowborder" valign="top" width="23.421802369170788%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071510__p15185262314">ecs:servers:get</p>
<p id="EN-US_TOPIC_0103071510__p1525902711312">ecs:serverInterfaces:use</p>
<p id="EN-US_TOPIC_0103071510__p420411288316">ecs:serverInterfaces:get</p>
<p id="EN-US_TOPIC_0103071510__p11926291311">ecs:flavors:get</p>
<p id="EN-US_TOPIC_0103071510__p885613292038">ecs:securityGroups:use</p>
<p id="EN-US_TOPIC_0103071510__p87160306315">evs:volumes:list</p>
<p id="EN-US_TOPIC_0103071510__p151011311538">evs:volumes:get</p>
<p id="EN-US_TOPIC_0103071510__p201876326316">evs:volumes:create</p>
<p id="EN-US_TOPIC_0103071510__p1317918330319">evs:volumes:attach</p>
<p id="EN-US_TOPIC_0103071510__p158823412313">evs:volumes:manage</p>
<p id="EN-US_TOPIC_0103071510__p177497341737">vpc:securityGroups:get</p>
<p id="EN-US_TOPIC_0103071510__p29679368317">vpc:networks:get</p>
<p id="EN-US_TOPIC_0103071510__p0718837433">vpc:networks:update</p>
<p id="EN-US_TOPIC_0103071510__p576103813316">vpc:subnets:get</p>
<p id="EN-US_TOPIC_0103071510__p10320103918312">vpc:subnets:update</p>
<p id="EN-US_TOPIC_0103071510__p13941540131">vpc:ports:create</p>
<p id="EN-US_TOPIC_0103071510__p2077713404313">vpc:ports:update</p>
<p id="EN-US_TOPIC_0103071510__p45700412314">vpc:ports:get</p>
<p id="EN-US_TOPIC_0103071510__p1971184912315">vpc:ports:delete</p>
<p id="EN-US_TOPIC_0103071510__p147281049938">vpc:networks:create</p>
<p id="EN-US_TOPIC_0103071510__p1155512505311">vpc:subnets:create</p>
<p id="EN-US_TOPIC_0103071510__p1578545116310">vpc:routers:get</p>
<p id="EN-US_TOPIC_0103071510__p16643125213317">vpc:routers:update</p>
<p id="EN-US_TOPIC_0103071510__p54831531835">ims:images:list</p>
<p id="EN-US_TOPIC_0103071510__p1333412544310">ims:images:get</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071510__row328513471419"><td class="cellrowborder" valign="top" width="19.148298095666515%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071510__p1721655891911"><a href="en-us_topic_0025560296.html">Deleting an ECS (native OpenStack API)</a></p>
</td>
<td class="cellrowborder" valign="top" width="32.523616734143054%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071510__p114321317142817">DELETE /v2/{project_id}/servers/{server_id}</p>
<p id="EN-US_TOPIC_0103071510__p33197248919">DELETE /v2.1/{project_id}/servers/{server_id}</p>
</td>
<td class="cellrowborder" valign="top" width="24.906282801019643%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071510__p689410635">ecs:servers:delete</p>
</td>
<td class="cellrowborder" valign="top" width="23.421802369170788%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071510__p2957192844016">-</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071510__row1262503681417"><td class="cellrowborder" valign="top" width="19.148298095666515%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071510__p3216258121913"><a href="en-us_topic_0020212692.html">Modifying ECS details (native OpenStack API)</a></p>
</td>
<td class="cellrowborder" valign="top" width="32.523616734143054%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071510__p1492018285282">PUT /v2/{project_id}/servers/{server_id}</p>
<p id="EN-US_TOPIC_0103071510__p731918241919">PUT /v2.1/{project_id}/servers/{server_id}</p>
</td>
<td class="cellrowborder" valign="top" width="24.906282801019643%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071510__p314812816316">ecs:servers:update</p>
</td>
<td class="cellrowborder" valign="top" width="23.421802369170788%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071510__p395742813403">ecs:servers:get</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0103071509.html">Permissions and Supported Actions</a></div>
</div>
</div>