• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. API Reference
  4. Appendix
  5. API Permissions
  6. NIC Management

NIC Management

Table 1

API

API Function

Permissions

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

Adds an ECS NIC (native OpenStack API).

  • ecs:serverInterfaces:use
  • 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

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

Deletes an ECS NIC (native OpenStack API).

  • 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

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

Queries ECS NICs (native OpenStack API).

  • ecs:serverInterfaces:get
  • vpc:ports:get

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

Queries NIC information about an ECS (native OpenStack API).

  • ecs:serverInterfaces:get
  • vpc:ports:get

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

Deletes NICs from an ECS in batches.

  • ecs:cloudServerNics:delete

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

Adds NICs to an ECS in batches.

  • ecs:cloudServers:addNics