doc-exports/docs/ecs/api-ref/en-us_topic_0103071513.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

116 lines
9.1 KiB
HTML

<a name="EN-US_TOPIC_0103071513"></a><a name="EN-US_TOPIC_0103071513"></a>
<h1 class="topictitle1">NIC Management</h1>
<div id="body1521723005471">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0103071513__table166711250142311" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0103071513__row16721750172310"><th align="left" class="cellrowborder" valign="top" width="15.648523451071222%" id="mcps1.3.1.1.5.1.1"><p id="EN-US_TOPIC_0103071513__p1959712364512">Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="35.22003474232774%" id="mcps1.3.1.1.5.1.2"><p id="EN-US_TOPIC_0103071513__p8402164419019">API</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="29.12565141864505%" id="mcps1.3.1.1.5.1.3"><p id="EN-US_TOPIC_0103071513__p2040214445018">Action</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.005790387955994%" id="mcps1.3.1.1.5.1.4"><p id="EN-US_TOPIC_0103071513__p22519318453">Dependencies</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0103071513__row1791015116446"><td class="cellrowborder" valign="top" width="15.648523451071222%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071513__p12682152312102"><a href="en-us_topic_0020212665.html">Deleting NICs from an ECS in a batch</a></p>
</td>
<td class="cellrowborder" valign="top" width="35.22003474232774%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071513__p18358191824417">POST /v1/{project_id}/cloudservers/{server_id}/nics/delete</p>
</td>
<td class="cellrowborder" valign="top" width="29.12565141864505%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071513__p1132105912153">ecs:cloudServerNics:delete</p>
</td>
<td class="cellrowborder" valign="top" width="20.005790387955994%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071513__p16274436104">-</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071513__row13910171120449"><td class="cellrowborder" valign="top" width="15.648523451071222%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071513__p06821523181013"><a href="en-us_topic_0020212663.html">Adding NICs to an ECS in a batch</a></p>
</td>
<td class="cellrowborder" valign="top" width="35.22003474232774%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071513__p1435951874411">POST /v1/{project_id}/cloudservers/{server_id}/nics</p>
</td>
<td class="cellrowborder" valign="top" width="29.12565141864505%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071513__p1379095914150">ecs:cloudServers:addNics</p>
</td>
<td class="cellrowborder" valign="top" width="20.005790387955994%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071513__p166271143121010">-</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071513__row1973917711447"><td class="cellrowborder" valign="top" width="15.648523451071222%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071513__p2682192371010"><a href="en-us_topic_0121978383.html">Querying NICs of an ECS</a></p>
</td>
<td class="cellrowborder" valign="top" width="35.22003474232774%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071513__p63609181440">GET /v1/{project_id}/cloudservers/{server_id}/os-interface</p>
</td>
<td class="cellrowborder" valign="top" width="29.12565141864505%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071513__p16927161610439">ecs:cloudServers:listServerInterfaces</p>
</td>
<td class="cellrowborder" valign="top" width="20.005790387955994%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071513__p11627743171010">-</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071513__row2672125032316"><td class="cellrowborder" valign="top" width="15.648523451071222%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071513__p156821823161013"><a href="en-us_topic_0020212664.html">Adding a NIC to an ECS (native OpenStack API)</a></p>
</td>
<td class="cellrowborder" valign="top" width="35.22003474232774%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071513__p33882125248">POST /v2/{project_id}/servers/{server_id}/os-interface</p>
<p id="EN-US_TOPIC_0103071513__p1210593418340">POST /v2.1/{project_id}/servers/{server_id}/os-interface</p>
</td>
<td class="cellrowborder" valign="top" width="29.12565141864505%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071513__p78433901616">ecs:serverInterfaces:use</p>
</td>
<td class="cellrowborder" valign="top" width="20.005790387955994%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071513__p1057311121865">ecs:servers:get</p>
<p id="EN-US_TOPIC_0103071513__p172591116167">ecs:serverInterfaces:get</p>
<p id="EN-US_TOPIC_0103071513__p1268831221614">vpc:networks:get</p>
<p id="EN-US_TOPIC_0103071513__p7319713161611">vpc:networks:update</p>
<p id="EN-US_TOPIC_0103071513__p1820301431613">vpc:subnets:get</p>
<p id="EN-US_TOPIC_0103071513__p168551591611">vpc:subnets:update</p>
<p id="EN-US_TOPIC_0103071513__p296111581614">vpc:ports:create</p>
<p id="EN-US_TOPIC_0103071513__p20825151611165">vpc:ports:update</p>
<p id="EN-US_TOPIC_0103071513__p16691201714168">vpc:ports:get</p>
<p id="EN-US_TOPIC_0103071513__p1832917182160">vpc:networks:create</p>
<p id="EN-US_TOPIC_0103071513__p131356195166">vpc:subnets:create</p>
<p id="EN-US_TOPIC_0103071513__p182606202160">vpc:routers:get</p>
<p id="EN-US_TOPIC_0103071513__p17254102114164">vpc:routers:update</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071513__row06721150152313"><td class="cellrowborder" valign="top" width="15.648523451071222%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071513__p6682152312102"><a href="en-us_topic_0020212666.html">Deleting a NIC from an ECS (native OpenStack API)</a></p>
</td>
<td class="cellrowborder" valign="top" width="35.22003474232774%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071513__p1738911218249">DELETE /v2/{project_id}/servers/{server_id}/os-interface/{id}</p>
<p id="EN-US_TOPIC_0103071513__p1821244653411">DELETE /v2.1/{project_id}/servers/{server_id}/os-interface/{id}</p>
</td>
<td class="cellrowborder" valign="top" width="29.12565141864505%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071513__p1480422731616">ecs:serverInterfaces:use</p>
</td>
<td class="cellrowborder" valign="top" width="20.005790387955994%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071513__p179808295168">ecs:serverInterfaces:get</p>
<p id="EN-US_TOPIC_0103071513__p191821831141619">ecs:servers:get</p>
<p id="EN-US_TOPIC_0103071513__p389633171615">vpc:networks:create</p>
<p id="EN-US_TOPIC_0103071513__p359311321169">vpc:subnets:create</p>
<p id="EN-US_TOPIC_0103071513__p8170133131615">vpc:networks:get</p>
<p id="EN-US_TOPIC_0103071513__p18724133111615">vpc:networks:update</p>
<p id="EN-US_TOPIC_0103071513__p85481342161">vpc:subnets:get</p>
<p id="EN-US_TOPIC_0103071513__p104832035111615">vpc:subnets:update</p>
<p id="EN-US_TOPIC_0103071513__p7294136111617">vpc:ports:delete</p>
<p id="EN-US_TOPIC_0103071513__p2954173613166">vpc:ports:update</p>
<p id="EN-US_TOPIC_0103071513__p366913717162">vpc:ports:get</p>
<p id="EN-US_TOPIC_0103071513__p44421838181613">vpc:routers:get</p>
<p id="EN-US_TOPIC_0103071513__p14216183916168">vpc:routers:update</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071513__row46721250112312"><td class="cellrowborder" valign="top" width="15.648523451071222%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071513__p1868215234102"><a href="en-us_topic_0020212661.html">Querying NICs of an ECS (native OpenStack API)</a></p>
</td>
<td class="cellrowborder" valign="top" width="35.22003474232774%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071513__p1339151212245">GET /v2/{project_id}/servers/{server_id}/os-interface</p>
<p id="EN-US_TOPIC_0103071513__p126512573342">GET /v2.1/{project_id}/servers/{server_id}/os-interface</p>
</td>
<td class="cellrowborder" valign="top" width="29.12565141864505%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071513__p198714421612">ecs:serverInterfaces:get</p>
</td>
<td class="cellrowborder" valign="top" width="20.005790387955994%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071513__p17627174310103">vpc:ports:get</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0103071513__row14673195092318"><td class="cellrowborder" valign="top" width="15.648523451071222%" headers="mcps1.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0103071513__p96824239102"><a href="en-us_topic_0020212662.html">Querying details about a specified NIC of an ECS (native OpenStack API)</a></p>
</td>
<td class="cellrowborder" valign="top" width="35.22003474232774%" headers="mcps1.3.1.1.5.1.2 "><p id="EN-US_TOPIC_0103071513__p3392131218246">GET /v2/{project_id}/servers/{server_id}/os-interface/{id}</p>
<p id="EN-US_TOPIC_0103071513__p84616163514">GET /v2.1/{project_id}/servers/{server_id}/os-interface/{id}</p>
</td>
<td class="cellrowborder" valign="top" width="29.12565141864505%" headers="mcps1.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0103071513__p3761145017162">ecs:serverInterfaces:get</p>
</td>
<td class="cellrowborder" valign="top" width="20.005790387955994%" headers="mcps1.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0103071513__p730774919163">vpc:ports: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>