
# 全球加速 GA
云服务在IAM预置了常用的权限，称为系统身份策略。如果IAM系统身份策略无法满足授权要求，管理员可以根据各服务支持的授权项，创建IAM自定义身份策略来进行精细的访问控制，IAM自定义身份策略是对系统身份策略的扩展和补充。
除IAM服务外，[Organizations](https://support.huaweicloud.com/productdesc-organizations/org_01_0011.html)服务中的[服务控制策略](https://support.huaweicloud.com/usermanual-organizations/org_03_0065.html)（Service Control Policy，以下简称SCP）也可以使用这些授权项元素设置访问控制策略。
SCP不直接进行授权，只划定权限边界。将SCP绑定到组织单元或者成员账号时，并没有直接对组织单元或成员账号授予操作权限，而是规定了成员账号或组织单元包含的成员账号的授权范围。IAM身份策略授予权限的有效性受SCP限制，只有在SCP允许范围内的权限才能生效。
IAM服务与Organizations服务在使用这些元素进行访问控制时，存在着一些区别，详情请参见：[IAM服务与Organizations服务权限访问控制的区别](https://support.huaweicloud.com/organizations_faq/org_06_0004.html)。
本章节介绍IAM服务身份策略授权场景中自定义身份策略和组织服务中SCP使用的元素，这些元素包含了操作（Action）、资源（Resource）和条件（Condition）。
- 如何使用这些元素编辑IAM自定义身份策略，请参考[创建自定义身份策略](https://support.huaweicloud.com/usermanual-iam5/iam_01_0917.html)。
- 如何使用这些元素编辑SCP自定义策略，请参考[创建SCP](https://support.huaweicloud.com/usermanual-organizations/org_03_0035.html)。
#### 操作（Action）
操作（Action）即为身份策略中支持的授权项。
- "访问级别"列描述如何对操作进行分类（List、Read和Write等）。此分类可帮助您了解在身份策略中相应操作对应的访问级别。
- "资源类型"列指每个操作是否支持资源级权限。
  - 资源类型支持通配符号\*表示所有。如果此列没有值（-），则必须在身份策略语句的Resource元素中指定所有资源类型（"\*"）。
  
  - 如果该列包含资源类型，则必须在具有该操作的语句中指定该资源的URN。
  
  - 资源类型列中必需资源在表中用星号（\*）标识，表示使用此操作必须指定该资源类型。
  
  
  关于GA定义的资源类型的详细信息请参见[资源类型（Resource）]。
  
- "条件键"列包括了可以在身份策略语句的Condition元素中支持指定的键值。
  - 如果该授权项资源类型列存在值，则表示条件键仅对列举的资源类型生效。
  
  - 如果该授权项资源类型列没有值（-），则表示条件键对整个授权项生效。
  
  - 如果此列条件键没有值（-），表示此操作不支持指定条件键。
  
  
  关于GA定义的条件键的详细信息请参见[条件（Condition）]。
  
- "别名"列包括了可以在身份策略中配置的策略授权项。通过这些授权项，可以控制支持策略授权的API访问。详细信息请参见[身份策略兼容性说明](https://support.huaweicloud.com/iam5_faq/iam_01_1103.html)。
您可以在身份策略语句的Action元素中指定以下GA的相关操作。
表1GA支持的授权项 
| 授权项                             | 描述                      | 访问级别    | 资源类型（\*为必须）      | 条件键                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | 别名                                                                                                                                                                                                               |
|:---|:---|:---|:---|:---|:---|
| ga:accelerator:list             | 授予查询加速器列表权限。            | List    | accelerator \*   | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:accelerator:create           | 授予创建加速器权限。              | Write   | accelerator \*   | [g:EnterpriseProjectId](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | -                                                                                                                                                                                                                |
| ga:accelerator:create           | 授予创建加速器权限。              | Write   | -                | - [g:RequestTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)  - [g:TagKeys](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | -                                                                                                                                                                                                                |
| ga:accelerator:get              | 授予查询加速器详情权限。            | Read    | accelerator \*   | - [g:EnterpriseProjectId](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)  - [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | -                                                                                                                                                                                                                |
| ga:accelerator:update           | 授予更新加速器权限。              | Write   | accelerator \*   | - [g:EnterpriseProjectId](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)  - [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | -                                                                                                                                                                                                                |
| ga:accelerator:delete           | 授予删除加速器权限。              | Write   | accelerator \*   | - [g:EnterpriseProjectId](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)  - [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | -                                                                                                                                                                                                                |
| ga:listener:list                | 授予查询监听器列表权限。            | List    | listener \*      | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:listener:create              | 授予创建监听器权限。              | Write   | listener \*      | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:listener:create              | 授予创建监听器权限。              | Write   | -                | - [g:RequestTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)  - [g:TagKeys](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | -                                                                                                                                                                                                                |
| ga:listener:get                 | 授予查询监听器详情权限。            | Read    | listener \*      | [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                |
| ga:listener:update              | 授予更新监听器权限。              | Write   | listener \*      | [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                |
| ga:listener:delete              | 授予删除监听器权限。              | Write   | listener \*      | [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                |
| ga:endpointgroup:list           | 授予查询终端节点组列表权限。          | List    | endpointgroup \* | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:endpointgroup:create         | 授予创建终端节点组权限。            | Write   | endpointgroup \* | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:endpointgroup:create         | 授予创建终端节点组权限。            | Write   | -                | [ga:RequestRegionId]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                |
| ga:endpointgroup:get            | 授予查询终端节点组详情权限。          | Read    | endpointgroup \* | [ga:RegionId]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | -                                                                                                                                                                                                                |
| ga:endpointgroup:update         | 授予更新终端节点组权限。            | Write   | endpointgroup \* | [ga:RegionId]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | -                                                                                                                                                                                                                |
| ga:endpointgroup:delete         | 授予删除终端节点组权限。            | Write   | endpointgroup \* | [ga:RegionId]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | -                                                                                                                                                                                                                |
| ga:endpoint:list                | 授予查询终端节点列表权限。           | List    | endpoint \*      | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:endpoint:create              | 授予创建终端节点权限。             | Write   | endpoint \*      | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:endpoint:create              | 授予创建终端节点权限。             | Write   | -                | - [ga:RequestResourceType]  - [ga:RequestResourceId]  - [ga:RequestIpAddress]  - [ga:RequestDomainName]   | -                                                                                                                                                                                                                |
| ga:endpoint:get                 | 授予查询终端节点详情权限。           | Read    | endpoint \*      | - [ga:ResourceType]  - [ga:ResourceId]  - [ga:IpAddress]  - [ga:DomainName]                              | -                                                                                                                                                                                                                |
| ga:endpoint:update              | 授予更新终端节点权限。             | Write   | endpoint \*      | - [ga:ResourceType]  - [ga:ResourceId]  - [ga:IpAddress]  - [ga:DomainName]                           | -                                                                                                                                                                                                                |
| ga:endpoint:delete              | 授予删除终端节点权限。             | Write   | endpoint \*      | - [ga:ResourceType]  - [ga:ResourceId]  - [ga:IpAddress]  - [ga:DomainName]                                 | -                                                                                                                                                                                                                |
| ga:healthcheck:list             | 授予查询健康检查列表权限。           | List    | healthcheck \*   | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:healthcheck:create           | 授予创建健康检查权限。             | Write   | healthcheck \*   | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:healthcheck:get              | 授予查询健康检查详情权限。           | Read    | healthcheck \*   | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:healthcheck:update           | 授予更新健康检查权限。             | Write   | healthcheck \*   | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:healthcheck:delete           | 授予删除健康检查权限。             | Write   | healthcheck \*   | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:tag:create                   | 授予批量创建资源的标签权限。          | Tagging | accelerator      | [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                |
| ga:tag:create                   | 授予批量创建资源的标签权限。          | Tagging | listener         | [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                |
| ga:tag:create                   | 授予批量创建资源的标签权限。          | Tagging | -                | - [g:RequestTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)  - [g:TagKeys](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | -                                                                                                                                                                                                                |
| ga:tag:delete                   | 授予批量删除资源的标签权限。          | Tagging | accelerator \*   | [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                |
| ga:tag:delete                   | 授予批量删除资源的标签权限。          | Tagging | listener \*      | [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                |
| ga:tag:delete                   | 授予批量删除资源的标签权限。          | Tagging | -                | [g:TagKeys](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                |
| ga:tag:get                      | 授予查询资源的标签权限。            | Read    | accelerator      | [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                |
| ga:tag:get                      | 授予查询资源的标签权限。            | Read    | listener         | [g:ResourceTag/\<tag-key\>](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                                                                                                                                                                |
| ga:tag:list                     | 授予查询标签列表的权限。            | List    | -                | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga::listResourcesByTag          | 授予通过标签查询资源实例列表的权限。      | List    | -                | [g:TagKeys](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | - ga:tag:listResourcesByTag   |
| ga:ipgroup:list                 | 授予查询IP地址组列表权限。          | List    | ipgroup \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:ipgroup:create               | 授予创建IP地址组权限。            | Write   | ipgroup \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:ipgroup:get                  | 授予查询IP地址组详情权限。          | Read    | ipgroup \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:ipgroup:update               | 授予更新IP地址组权限。            | Write   | ipgroup \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:ipgroup:delete               | 授予删除IP地址组权限。            | Write   | ipgroup \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:ipgroup:addIps               | 授予为IP地址组批量添加IP权限。       | Write   | ipgroup \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:ipgroup:removeIps            | 授予为IP地址组批量删除IP权限。       | Write   | ipgroup \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:ipgroup:associateListener    | 授予为IP地址组绑定监听器权限。        | Write   | ipgroup \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:ipgroup:disassociateListener | 授予为IP地址组解绑监听器权限。        | Write   | ipgroup \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga::listByoipPools              | 授予查询自带IP（BYOIP）地址池列表权限。 | List    | -                | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | - ga:byoippool:list           |
| ga:logtank:list                 | 授予查询云日志列表的权限。           | List    | logtank \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:logtank:create               | 授予创建云日志的权限。             | Write   | logtank \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:logtank:get                  | 授予获取云日志详情的权限。           | Read    | logtank \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:logtank:update               | 授予修改云日志的权限。             | Write   | logtank \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
| ga:logtank:delete               | 授予删除云日志的权限。             | Write   | logtank \*       | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                |
   
GA的API通常对应着一个或多个授权项。[表2]展示了API与授权项的关系，以及该API需要依赖的授权项。
 表2API与授权项的关系 
| API                                                                    | 对应的授权项                          | 依赖的授权项 |
|:---|:---|:---|
| GET /v1/accelerators                                                   | ga:accelerator:list             | -      |
| POST /v1/accelerators                                                  | ga:accelerator:create           | -      |
| GET /v1/accelerators/{accelerator_id}                                  | ga:accelerator:get              | -      |
| PUT /v1/accelerators/{accelerator_id}                                  | ga:accelerator:update           | -      |
| DELETE /v1/accelerators/{accelerator_id}                               | ga:accelerator:delete           | -      |
| GET /v1/listeners                                                      | ga:listener:list                | -      |
| POST /v1/listeners                                                     | ga:listener:create              | -      |
| GET /v1/listeners/{listener_id}                                        | ga:listener:get                 | -      |
| PUT /v1/listeners/{listener_id}                                        | ga:listener:update              | -      |
| DELETE /v1/listeners/{listener_id}                                     | ga:listener:delete              | -      |
| GET /v1/endpoint-groups                                                | ga:endpointgroup:list           | -      |
| POST /v1/endpoint-groups                                               | ga:endpointgroup:create         | -      |
| GET /v1/endpoint-groups/{endpoint_group_id}                            | ga:endpointgroup:get            | -      |
| PUT /v1/endpoint-groups/{endpoint_group_id}                            | ga:endpointgroup:update         | -      |
| DELETE /v1/endpoint-groups/{endpoint_group_id}                         | ga:endpointgroup:delete         | -      |
| GET /v1/endpoint-groups/{endpoint_group_id}/endpoints                  | ga:endpoint:list                | -      |
| POST /v1/endpoint-groups/{endpoint_group_id}/endpoints                 | ga:endpoint:create              | -      |
| GET /v1/endpoint-groups/{endpoint_group_id}/endpoints/{endpoint_id}    | ga:endpoint:get                 | -      |
| PUT /v1/endpoint-groups/{endpoint_group_id}/endpoints/{endpoint_id}    | ga:endpoint:update              | -      |
| DELETE /v1/endpoint-groups/{endpoint_group_id}/endpoints/{endpoint_id} | ga:endpoint:delete              | -      |
| GET /v1/health-checks                                                  | ga:healthcheck:list             | -      |
| POST /v1/health-checks                                                 | ga:healthcheck:create           | -      |
| GET /v1/health-checks/{health_check_id}                                | ga:healthcheck:get              | -      |
| PUT /v1/health-checks/{health_check_id}                                | ga:healthcheck:update           | -      |
| DELETE /v1/health-checks/{health_check_id}                             | ga:healthcheck:delete           | -      |
| POST /v1/{resource_type}/{resource_id}/tags/create                     | ga:tag:create                   | -      |
| DELETE /v1/{resource_type}/{resource_id}/tags/delete                   | ga:tag:delete                   | -      |
| GET /v1/{resource_type}/{resource_id}/tags                             | ga:tag:get                      | -      |
| POST /v1/{resource_type}/resource-instances/filter                     | ga::listResourcesByTag          | -      |
| POST /v1/{resource_type}/resource-instances/count                      | ga::listResourcesByTag          | -      |
| GET /v1/{resource_type}/tags                                           | ga:tag:list                     | -      |
| GET /v1/ip-groups                                                      | ga:ipgroup:list                 | -      |
| POST /v1/ip-groups                                                     | ga:ipgroup:create               | -      |
| GET /v1/ip-groups/{ip_group_id}                                        | ga:ipgroup:get                  | -      |
| PUT /v1/ip-groups/{ip_group_id}                                        | ga:ipgroup:update               | -      |
| DELETE /v1/ip-groups/{ip_group_id}                                     | ga:ipgroup:delete               | -      |
| POST /v1/ip-groups/{ip_group_id}/add-ips                               | ga:ipgroup:addIps               | -      |
| POST /v1/ip-groups/{ip_group_id}/remove-ips                            | ga:ipgroup:removeIps            | -      |
| POST /v1/ip-groups/{ip_group_id}/associate-listener                    | ga:ipgroup:associateListener    | -      |
| POST /v1/ip-groups/{ip_group_id}/disassociate-listener                 | ga:ipgroup:disassociateListener | -      |
| GET /v1/byoip-pools                                                    | ga::listByoipPools              | -      |
| GET /v1/logtanks                                                       | ga:logtank:list                 | -      |
| POST /v1/logtanks                                                      | ga:logtank:create               | -      |
| GET /v1/logtanks/{logtank_id}                                          | ga:logtank:get                  | -      |
| PUT /v1/logtanks/{logtank_id}                                          | ga:logtank:update               | -      |
| DELETE /v1/logtanks/{logtank_id}                                       | ga:logtank:delete               | -      |
   
 #### 资源类型（Resource）
资源类型（Resource）表示身份策略所作用的资源。如[表3]中的某些操作指定了可以在该操作指定的资源类型，则必须在具有该操作的身份策略语句中指定该资源的URN，身份策略仅作用于此资源；如未指定，Resource默认为"\*"，则身份策略将应用到所有资源。您也可以在身份策略中设置条件，从而指定资源类型。
GA定义了以下可以在自定义身份策略的Resource元素中使用的资源类型。
 表3GA支持的资源类型 
| 资源类型          | URN                                                   |
|:---|:---|
| ipgroup       | ga::\<account-id\>:ipgroup:\<ipgroup-id\>             |
| endpoint      | ga::\<account-id\>:endpoint:\<endpoint-id\>           |
| accelerator   | ga::\<account-id\>:accelerator:\<accelerator-id\>     |
| logtank       | ga::\<account-id\>:logtank:\<logtank-id\>             |
| listener      | ga::\<account-id\>:listener:\<listener-id\>           |
| healthcheck   | ga::\<account-id\>:healthcheck:\<healthcheck-id\>     |
| endpointgroup | ga::\<account-id\>:endpointgroup:\<endpointgroup-id\> |
   
 #### 条件（Condition）
**条件键概述**
条件（Condition）是身份策略生效的特定条件，包括[条件键](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)和[运算符](https://support.huaweicloud.com/usermanual-iam5/iam_01_1289.html#iam_01_1289__li13495143171719)。
- 条件键表示身份策略语句的Condition元素中的键值。根据适用范围，分为全局级条件键和服务级条件键。
  - 全局级条件键（前缀为g:）适用于所有操作，在鉴权过程中，云服务不需要提供用户身份信息，系统将自动获取并鉴权。详情请参见：[全局条件键](https://support.huaweicloud.com/usermanual-iam5/iam_01_1287.html)。
  
  - 服务级条件键（前缀通常为服务缩写，如ga:）仅适用于对应服务的操作，详情请参见[表4]。
  
  - 单值/多值表示API调用时请求中与条件关联的值数。单值条件键在API调用时的请求中最多包含一个值，多值条件键在API调用时请求可以包含多个值。例如：g:SourceVpce是单值条件键，表示仅允许通过某个VPC终端节点发起请求访问某资源，一个请求最多包含一个VPC终端节点ID值。g:TagKeys是多值条件键，表示请求中携带的所有标签的key组成的列表，当用户在调用API请求时传入标签可以传入多个值。
   
- 运算符与条件键、条件值一起构成完整的条件判断语句，当请求信息满足该条件时，身份策略才能生效。支持的运算符请参见：[运算符](https://support.huaweicloud.com/usermanual-iam5/iam_01_1289.html#iam_01_1289__li13495143171719)。
**GA支持的服务级条件键**
GA定义了以下可以在自定义身份策略的Condition元素中使用的条件键，您可以使用这些条件键进一步细化身份策略语句应用的条件。
 表4GA支持的服务级条件键 
| 服务级条件键                 | 类型     | 单值/多值 | 说明                   |
|:---|:---|:---|:---|
| ga:RequestRegionId     | string | 单值    | 按照在请求中传递的地域ID筛选访问权限。 |
| ga:RequestResourceType | string | 单值    | 按照在请求中传递的资源类型筛选访问权限。 |
| ga:RequestResourceId   | string | 单值    | 按照在请求中传递的资源ID筛选访问权限。 |
| ga:RequestIpAddress    | string | 单值    | 按照在请求中传递的IP地址筛选访问权限。 |
| ga:RequestDomainName   | string | 单值    | 按照在请求中传递的域名筛选访问权限。   |
| ga:RegionId            | string | 单值    | 按照终端节点组的地域筛选访问权限。    |
| ga:ResourceType        | string | 单值    | 按照终端节点的资源类型筛选访问权限。   |
| ga:ResourceId          | string | 单值    | 按照终端节点的资源ID筛选访问权限。   |
| ga:IpAddress           | string | 单值    | 按照终端节点的IP地址筛选访问权限。   |
| ga:DomainName          | string | 单值    | 按照终端节点的域名筛选访问权限。     |
   
