华为云服务器生命周期管理_云淘科技
权限 |
对应的API接口 |
授权项(Action) |
依赖的授权项 |
IAM项目 (Project) |
企业项目 (Enterprise Project) |
实例授权 |
标签授权 |
---|---|---|---|---|---|---|---|
创建云服务器 |
POST /v1.1/{project_id}/cloudservers |
创建云服务器时新创建弹性公网IP ecs:cloudServers:createServers 创建云服务器时绑定已有的弹性公网IP ecs:cloudServers:createServers |
创建云服务器时新创建弹性公网IP vpc:publicIps:create 创建云服务器时绑定已有的弹性公网IP vpc:publicIps:update |
√ |
√ |
× |
√ |
创建云服务器(按需) |
POST /v1/{project_id}/cloudservers |
创建云服务器时新创建弹性公网IP ecs:cloudServers:createServers 创建云服务器时绑定已有的弹性公网IP ecs:cloudServers:createServers |
创建云服务器时新创建弹性公网IP vpc:publicIps:create 创建云服务器时绑定已有的弹性公网IP vpc:publicIps:update |
√ |
√ |
× |
√ |
删除云服务器 |
POST /v1/{project_id}/cloudservers/delete |
ecs:cloudServers:deleteServers |
– |
√ |
√ |
√ |
√ |
查询云服务器详情列表 |
GET /v1/{project_id}/cloudservers/detail |
ecs:cloudServers:list |
– |
√ |
√ |
× |
× |
查询云服务器详情 |
GET /v1/{project_id}/cloudservers/{server_id} |
ecs:cloudServers:showServer |
– |
√ |
√ |
× |
× |
修改弹性云服务器 |
PUT /v1/{project_id}/cloudservers/{server_id} |
ecs:cloudServers:updateServer |
– |
√ |
√ |
√ |
√ |
查询云服务器详情列表(OpenStack原生) |
GET /v2.1/{project_id}/servers/detail |
ecs:servers:list |
ecs:servers:get ecs:serverVolumes:use ecs:diskConfigs:use ecs:securityGroups:use ecs:serverKeypairs:get vpc:securityGroups:get vpc:securityGroupRules:get vpc:networks:get vpc:subnets:get vpc:ports:get vpc:routers:get |
√ |
× |
× |
× |
查询云服务器列表(OpenStack原生) |
GET /v2.1/{project_id}/servers |
ecs:servers:list |
– |
√ |
× |
× |
× |
查询云服务器详情(OpenStack原生) |
GET /v2.1/{project_id}/servers/{server_id} |
ecs:servers:get |
ecs:serverVolumes:use ecs:diskConfigs:use ecs:securityGroups:use ecs:serverKeypairs:get vpc:securityGroups:get vpc:securityGroupRules:get vpc:networks:get vpc:subnets:get vpc:ports:get vpc:routers:get |
√ |
× |
× |
× |
创建云服务器(OpenStack原生) |
POST /v2.1/{project_id}/servers POST /v2.1/{project_id}/os-volumes_boot |
ecs:servers:create |
ecs:servers:get ecs:serverInterfaces:use ecs:serverInterfaces:get ecs:flavors:get ecs:securityGroups:use evs:volumes:list evs:volumes:get evs:volumes:create evs:volumes:attach evs:volumes:manage vpc:securityGroups:get vpc:networks:get vpc:networks:update vpc:subnets:get vpc:subnets:update vpc:ports:create vpc:ports:update vpc:ports:get vpc:ports:delete vpc:networks:create vpc:subnets:create vpc:routers:get vpc:routers:update ims:images:list ims:images:get |
√ |
× |
× |
× |
删除云服务器(OpenStack原生) |
DELETE /v2.1/{project_id}/servers/{server_id} |
ecs:servers:delete |
– |
√ |
× |
× |
× |
修改云服务器(OpenStack原生) |
PUT /v2.1/{project_id}/servers/{server_id} |
ecs:servers:update |
ecs:servers:get |
√ |
× |
× |
× |
父主题: 权限和授权项
内容没看懂? 不太想学习?想快速解决? 有偿解决: 联系专家