安全组管理
权限 |
对应的API接口 |
授权项(Action) |
依赖的授权项 |
IAM项目 (Project) |
企业项目 (Enterprise Project) |
---|---|---|---|---|---|
POST /v2.1/{project_id}/os-security-groups |
ecs:securityGroups:use |
vpc:securityGroups:get vpc:securityGroups:create vpc:securityGroups:update |
√ |
× |
|
DELETE /v2.1/{project_id}/os-security-groups/{security_group_id} |
ecs:securityGroups:use |
vpc:securityGroups:get vpc:securityGroups:delete vpc:securityGroups:update |
√ |
× |
|
GET /v2.1/{project_id}/os-security-groups/{security_group_id} |
ecs:securityGroups:use |
vpc:securityGroups:get |
√ |
× |
|
GET /v2.1/{project_id}/os-security-groups |
ecs:securityGroups:use |
vpc:securityGroups:get |
√ |
× |
|
POST /v2.1/{project_id}/os-security-group-rules |
ecs:securityGroups:use |
vpc:securityGroups:get vpc:securityGroups:update vpc:securityGroupRules:get vpc:securityGroupRules:create |
√ |
× |
|
DELETE /v2.1/{project_id}/os-security-group-rules/{security_group_rule_id} |
ecs:securityGroups:use |
vpc:securityGroups:get vpc:securityGroups:update vpc:securityGroupRules:get vpc:securityGroupRules:delete |
√ |
× |
|
PUT /v2.1/{project_id}/os-security-groups/{security_group_id} |
ecs:securityGroups:use |
vpc:securityGroups:get vpc:securityGroups:update |
√ |
× |
|
GET /v2.1/{project_id}/servers/{server_id}/os-security-groups |
ecs:securityGroups:use |
vpc:securityGroups:get vpc:ports:get |
√ |
× |
|
POST /v2.1/{project_id}/servers/{server_id}/action |
ecs:securityGroups:use |
ecs:servers:get ecs:servers:list ecs:serverVolumes:use ecs:diskConfigs:use ecs:serverKeypairs:get vpc:securityGroups:get vpc:securityGroups:create vpc:securityGroups:update vpc:securityGroupRules:get vpc:networks:get vpc:subnets:get vpc:routers:get vpc:ports:get vpc:ports:update |
√ |
× |
|
POST /v2.1/{project_id}/servers/{server_id}/action |
ecs:securityGroups:use |
ecs:servers:get ecs:servers:list ecs:serverVolumes:use ecs:diskConfigs:use ecs:serverKeypairs:get vpc:securityGroups:get vpc:securityGroups:delete vpc:securityGroups:update vpc:securityGroupRules:get vpc:networks:get vpc:subnets:get vpc:routers:get vpc:ports:get vpc:ports:update |
√ |
× |