更新时间:2024-06-19 GMT+08:00

网卡管理

权限

对应的API接口

授权项(Action)

依赖的授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

实例授权

标签授权

云服务器网卡配置私有IP

PUT /v1/{project_id}/cloudservers/nics/{nic_id}

ecs:cloudServerNics:update

-

×

×

×

批量删除云服务器网卡

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

ecs:cloudServerNics:delete

-

批量添加云服务器网卡

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

ecs:cloudServers:addNics

-

查询云服务器网卡信息

GET /v1/{project_id}/cloudservers/{server_id}/os-interface

ecs:cloudServers:listServerInterfaces

-

云服务器切换虚拟私有网络

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

ecs:cloudServers:changeVpc

-

更新云服务器指定网卡属性

POST /v1/{project_id}/cloudservers/{server_id}/os-interface/{port_id}/change-network-interface

ecs:cloudServers:changeNetworkInterface

-

添加云服务器网卡(OpenStack原生)

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

×

×

×

删除云服务器网卡(OpenStack原生)

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

×

×

×

查询云服务器网卡信息(OpenStack原生)

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

ecs:serverInterfaces:get

vpc:ports:get

×

×

×

查询指定云服务器网卡信息(OpenStack原生)

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

ecs:serverInterfaces:get

vpc:ports:get

×

×

×