华为云服务器网卡管理_云淘科技
权限 |
对应的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 |
– |
√ |
√ |
√ |
√ |
添加云服务器网卡(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 |
√ |
× |
× |
× |
父主题: 权限和授权项
内容没看懂? 不太想学习?想快速解决? 有偿解决: 联系专家