doc-exports/docs/ecs/api-ref/en-us_topic_0103071513.html
guoyanyan db3ca7e730 ecs_api_1109
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
2022-12-05 13:19:54 +00:00

8.8 KiB

NIC Management

Permission

API

Action

Dependent Permission

Deleting NICs from an ECS in a Batch

POST /v1/{project_id}/cloudservers/{server_id}/nics/delete

ecs:cloudServerNics:delete

N/A

Adding NICs to an ECS in a Batch

POST /v1/{project_id}/cloudservers/{server_id}/nics

ecs:cloudServers:addNics

N/A

Updating NIC Attachment to an ECS

PUT /v1/{project_id}/cloudservers/{server_id}/os-interface/{port_id}

ecs:cloudServerNics:update

N/A

Adding an ECS NIC (Native OpenStack API)

POST /v2/{project_id}/servers/{server_id}/os-interface

POST /v2.1/{project_id}/servers/{server_id}/os-interface

ecs:serverInterfaces:use

ecs:servers:get

ecs:serverInterfaces:get

vpc:networks:get

vpc:networks:update

vpc:subnets:get

vpc:subnets:update

vpc:ports:create

vpc:ports:update

vpc:ports:get

vpc:networks:create

vpc:subnets:create

vpc:routers:get

vpc:routers:update

Deleting an ECS NIC (Native OpenStack API)

DELETE /v2/{project_id}/servers/{server_id}/os-interface/{id}

DELETE /v2.1/{project_id}/servers/{server_id}/os-interface/{id}

ecs:serverInterfaces:use

ecs:serverInterfaces:get

ecs:servers:get

vpc:networks:create

vpc:subnets:create

vpc:networks:get

vpc:networks:update

vpc:subnets:get

vpc:subnets:update

vpc:ports:delete

vpc:ports:update

vpc:ports:get

vpc:routers:get

vpc:routers:update

Querying ECS NICs (Native OpenStack API)

GET /v2/{project_id}/servers/{server_id}/os-interface

GET /v2.1/{project_id}/servers/{server_id}/os-interface

ecs:serverInterfaces:get

vpc:ports:get

Querying NIC Information About an ECS (Native OpenStack API)

GET /v2/{project_id}/servers/{server_id}/os-interface/{id}

GET /v2.1/{project_id}/servers/{server_id}/os-interface/{id}

ecs:serverInterfaces:get

vpc:ports:get