更新时间:2024-07-23 GMT+08:00

安全组管理

权限

对应的API接口

授权项(Action)

依赖的授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

创建安全组(OpenStack原生)

POST /v2.1/{project_id}/os-security-groups

ecs:securityGroups:use

vpc:securityGroups:get

vpc:securityGroups:create

vpc:securityGroups:update

×

删除安全组(OpenStack原生)

DELETE /v2.1/{project_id}/os-security-groups/{security_group_id}

ecs:securityGroups:use

vpc:securityGroups:get

vpc:securityGroups:delete

vpc:securityGroups:update

×

查询安全组详细信息(OpenStack原生)

GET /v2.1/{project_id}/os-security-groups/{security_group_id}

ecs:securityGroups:use

vpc:securityGroups:get

×

查询安全组列表(OpenStack原生)

GET /v2.1/{project_id}/os-security-groups

ecs:securityGroups:use

vpc:securityGroups:get

×

创建安全组规则(OpenStack原生)

POST /v2.1/{project_id}/os-security-group-rules

ecs:securityGroups:use

vpc:securityGroups:get

vpc:securityGroups:update

vpc:securityGroupRules:get

vpc:securityGroupRules:create

×

删除安全组规则(OpenStack原生)

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

×

更新安全组信息(OpenStack原生)

PUT /v2.1/{project_id}/os-security-groups/{security_group_id}

ecs:securityGroups:use

vpc:securityGroups:get

vpc:securityGroups:update

×

查询指定云服务器安全组列表(OpenStack原生)

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

ecs:securityGroups:use

vpc:securityGroups:get

vpc:ports:get

×

添加安全组(OpenStack原生)

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

×

移除安全组(OpenStack原生)

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

×