组织 ORGANIZATIONS-授权项:策略管理

时间:2024-09-06 18:07:04

策略管理

权限

对应API接口

授权项(Action)

IAM 项目(Project)

企业项目(Enterprise Project)

创建策略

POST /v1/organizations/policies

  • organizations:policies:create
  • organizations:resources:tag(如果请求带标签)

×

×

列出策略

GET /v1/organizations/policies

organizations:policies:list

×

×

查询策略相关信息

GET /v1/organizations/policies/{policy_id}

organizations:policies:get

×

×

更新策略

PATCH /v1/organizations/policies/{policy_id}

organizations:policies:update

×

×

删除策略

DELETE /v1/organizations/policies/{policy_id}

organizations:policies:delete

×

×

在根中启用策略类型

POST /v1/organizations/policies/enable

organizations:policies:enable

×

×

禁用根中的策略类型

POST /v1/organizations/policies/disable

organizations:policies:disable

×

×

将策略跟实体绑定

POST /v1/organizations/policies/{policy_id}/attach

organizations:policies:attach

×

×

将策略跟实体解绑

POST /v1/organizations/policies/{policy_id}/detach

organizations:policies:detach

×

×

列出跟指定策略绑定的所有实体

GET /v1/organizations/policies/{policy_id}/attached-entities

organizations:attachedEntities:list

×

×

support.huaweicloud.com/api-organizations/org_04_0024.html