身份策略授权参考
云服务在IAM预置了常用的权限,称为系统身份策略。如果IAM系统身份策略无法满足授权要求,管理员可以根据各服务支持的授权项,创建IAM自定义身份策略来进行精细的访问控制,IAM自定义身份策略是对系统身份策略的扩展和补充。
除IAM服务外,Organizations服务中的服务控制策略(Service Control Policy,以下简称SCP)也可以使用这些授权项元素设置访问控制策略。
SCP不直接进行授权,只划定权限边界。将SCP绑定到组织单元或者成员账号时,并没有直接对组织单元或成员账号授予操作权限,而是规定了成员账号或组织单元包含的成员账号的授权范围。IAM身份策略授予权限的有效性受SCP限制,只有在SCP允许范围内的权限才能生效。
IAM服务与Organizations服务在使用这些元素进行访问控制时,存在着一些区别,详情请参见:IAM服务与Organizations服务权限访问控制的区别。
本章节介绍IAM服务身份策略授权场景中自定义身份策略和组织服务中SCP使用的元素,这些元素包含了操作(Action)、资源(Resource)和条件(Condition)。
操作(Action)
操作(Action)即为身份策略中支持的授权项。
- “访问级别”列描述如何对操作进行分类(List、Read和Write等)。此分类可帮助您了解在身份策略中相应操作对应的访问级别。
 - “资源类型”列指每个操作是否支持资源级权限。 
     
- 资源类型支持通配符号*表示所有。如果此列没有值(-),则必须在身份策略语句的Resource元素中指定所有资源类型(“*”)。
 - 如果该列包含资源类型,则必须在具有该操作的语句中指定该资源的URN。
 - 资源类型列中必需资源在表中用星号(*)标识,表示使用此操作必须指定该资源类型。
 
关于EIP定义的资源类型的详细信息请参见资源类型(Resource)。
 - “条件键”列包括了可以在身份策略语句的Condition元素中支持指定的键值。 
     
- 如果该授权项资源类型列存在值,则表示条件键仅对列举的资源类型生效。
 - 如果该授权项资源类型列没有值(-),则表示条件键对整个授权项生效。
 - 如果此列条件键没有值(-),表示此操作不支持指定条件键。
 
关于EIP定义的条件键的详细信息请参见条件(Condition)。
 - “别名”列包括了可以在身份策略中配置的策略授权项。通过这些授权项,可以控制支持策略授权的API访问。详细信息请参见身份策略兼容性说明。
 
您可以在身份策略语句的Action元素中指定以下EIP的相关操作。
| 
         授权项  | 
       
         描述  | 
       
         访问级别  | 
       
         资源类型(*为必须)  | 
       
         条件键  | 
       
         别名  | 
      
|---|---|---|---|---|---|
| 
         eip:publicIps:createTags  | 
       
         授予创建弹性IP资源标签权限。  | 
       
         Tagging  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         -  | 
       |||||
| 
         eip:publicIps:listTags  | 
       
         授予查询弹性IP资源标签权限。  | 
       
         List  | 
       
         publicip *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:publicIps:deleteTags  | 
       
         授予删除弹性公网IP资源标签权限。  | 
       
         Tagging  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         -  | 
       |||||
| 
         eip:publicIps:count  | 
       
         授予查询弹性公网IP数量的权限。  | 
       
         List  | 
       
         publicip *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:bandwidths:create  | 
       
         授予创建共享带宽的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
         -  | 
       
        
  | 
      
| 
         -  | 
       |||||
| 
         eip:bandwidths:batchCreate  | 
       
         授予批量创建共享带宽的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
         -  | 
       
         -  | 
      
| 
         eip:bandwidths:list  | 
       
         授予查询带宽列表的权限。  | 
       
         List  | 
       
         bandwidth *  | 
       
         -  | 
       
        
  | 
      
| 
         -  | 
       |||||
| 
         eip:bandwidths:update  | 
       
         授予更新带宽的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         eip:bandwidths:get  | 
       
         授予查询带宽的权限。  | 
       
         Read  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         eip:bandwidths:delete  | 
       
         授予删除共享带宽的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         eip:bandwidthPkgs:list  | 
       
         授予查询带宽加油包列表的权限。  | 
       
         List  | 
       
         bandwidthPkg *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:bandwidthPkgs:update  | 
       
         授予更新带宽加油包的权限。  | 
       
         Write  | 
       
         bandwidthPkg *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:bandwidths:insertPublicIps  | 
       
         授予共享带宽插入弹性公网IP的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         eip:bandwidths:removePublicIps  | 
       
         授予共享带宽移除弹性公网IP的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         eip:publicIps:create  | 
       
         授予申请弹性公网IP的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
         -  | 
       
        
  | 
      
| 
         -  | 
       |||||
| 
         eip:publicIps:batchCreate  | 
       
         授予批量创建弹性公网IP的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
         -  | 
       
        
  | 
      
| 
         -  | 
       |||||
| 
         eip:publicIps:list  | 
       
         授予查询弹性公网IP列表的权限。  | 
       
         List  | 
       
         publicip *  | 
       
         -  | 
       
        
  | 
      
| 
         -  | 
       |||||
| 
         eip:publicIps:get  | 
       
         授予查询指定弹性公网IP的权限。  | 
       
         Read  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         eip:publicIps:update  | 
       
         授予更新弹性公网IP的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         eip:publicIps:disassociateInstance  | 
       
         授予将弹性公网IP解绑网卡的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         eip:publicIps:delete  | 
       
         授予删除弹性公网IP的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         eip:publicIps:create  | 
       
         授予申请弹性公网IP的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
         -  | 
       
        
  | 
      
| 
         -  | 
       |||||
| 
         eip:publicIps:batchCreate  | 
       
         授予批量创建弹性公网IP的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
         -  | 
       
        
  | 
      
| 
         -  | 
       |||||
| 
         eip:publicIps:list  | 
       
         授予查询弹性公网IP列表的权限。  | 
       
         List  | 
       
         publicip *  | 
       
         -  | 
       
        
  | 
      
| 
         -  | 
       |||||
| 
         eip:publicIps:count  | 
       
         授予查询弹性公网IP数量的权限。  | 
       
         List  | 
       
         publicip *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:publicIps:get  | 
       
         授予查询指定弹性公网IP的权限。  | 
       
         Read  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         eip:publicIps:update  | 
       
         授予更新弹性公网IP的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         eip:publicIps:enableNat64  | 
       
         授予使能弹性公网IP NAT64的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         eip:publicIps:disableNat64  | 
       
         授予使能弹性公网IP NAT64的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         eip:publicIps:associateInstance  | 
       
         授予将弹性公网IP绑定网卡的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         eip:publicIps:disassociateInstance  | 
       
         授予将弹性公网IP解绑网卡的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         eip:publicIps:attachBandwidth  | 
       
         授予将弹性公网IP绑定带宽的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         bandwidth *  | 
       |||||
| 
         eip:publicIps:detachBandwidth  | 
       
         授予将弹性公网IP从共享带宽中解绑的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         bandwidth *  | 
       |||||
| 
         eip:publicIps:delete  | 
       
         授予删除弹性公网IP的权限。  | 
       
         Write  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         eip:publicIps:createTags  | 
       
         授予创建弹性IP资源标签权限。  | 
       
         Tagging  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         -  | 
       |||||
| 
         eip:publicIps:listTags  | 
       
         授予查询弹性IP资源标签权限。  | 
       
         List  | 
       
         publicip *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:publicIps:deleteTags  | 
       
         授予删除弹性公网IP资源标签权限。  | 
       
         Tagging  | 
       
         publicip *  | 
       
        
  | 
      |
| 
         -  | 
       |||||
| 
         eip:bandwidths:insertPublicIps  | 
       
         授予共享带宽插入弹性公网IP的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         eip:bandwidths:removePublicIps  | 
       
         授予共享带宽移除弹性公网IP的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         eip:bandwidths:create  | 
       
         授予创建共享带宽的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
         -  | 
       
        
  | 
      
| 
         -  | 
       |||||
| 
         eip:bandwidths:batchCreate  | 
       
         授予批量创建共享带宽的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
         -  | 
       
         -  | 
      
| 
         eip:bandwidths:list  | 
       
         授予查询带宽列表的权限。  | 
       
         List  | 
       
         bandwidth *  | 
       
         -  | 
       
        
  | 
      
| 
         -  | 
       |||||
| 
         eip:bandwidths:update  | 
       
         授予更新带宽的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         eip:bandwidths:get  | 
       
         授予查询带宽的权限。  | 
       
         Read  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         eip:bandwidths:delete  | 
       
         授予删除共享带宽的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         eip:bandwidthRules:list  | 
       
         授予查询带宽规则列表的权限。  | 
       
         List  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         bandwidthRule *  | 
       
         -  | 
      ||||
| 
         eip:bandwidthRules:get  | 
       
         授予查询带宽规则的权限。  | 
       
         Read  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         bandwidthRule *  | 
       
         -  | 
      ||||
| 
         eip:bandwidthRules:update  | 
       
         授予更新带宽规则的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         bandwidthRule *  | 
       
         -  | 
      ||||
| 
         eip:bandwidthRules:delete  | 
       
         授予删除带宽规则的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         bandwidthRule *  | 
       
         -  | 
      ||||
| 
         eip:bandwidthRules:create  | 
       
         授予创建共享带宽规则的权限。  | 
       
         Write  | 
       
         bandwidth *  | 
       
        
  | 
      |
| 
         bandwidthRule *  | 
       
         -  | 
      ||||
| 
         eip:bandwidthPkgs:list  | 
       
         授予查询带宽加油包列表的权限。  | 
       
         List  | 
       
         bandwidthPkg *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:bandwidthPkgs:get  | 
       
         授予查询带宽加油包的权限。  | 
       
         Read  | 
       
         bandwidthPkg *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:bandwidthPkgs:update  | 
       
         授予更新带宽加油包的权限。  | 
       
         Write  | 
       
         bandwidthPkg *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:bandwidthPkgs:create  | 
       
         授予创建带宽加油包的权限。  | 
       
         Write  | 
       
         bandwidthPkg *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:publicipPools:create  | 
       
         授予创建公网IP池的权限。  | 
       
         Write  | 
       
         publicipPool *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:publicipPools:get  | 
       
         授予查询公网IP池的权限。  | 
       
         Read  | 
       
         publicipPool *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:publicipPools:update  | 
       
         授予更新公网IP池的权限。  | 
       
         Write  | 
       
         publicipPool *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:vpcIgws:list  | 
       
         授予查询互联网网关列表的权限。  | 
       
         List  | 
       
         vpcIgw *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:vpcIgws:get  | 
       
         授予查询互联网网关的权限。  | 
       
         Read  | 
       
         vpcIgw *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:vpcIgws:update  | 
       
         授予更新互联网网关的权限。  | 
       
         Write  | 
       
         vpcIgw *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:vpcIgws:delete  | 
       
         授予删除互联网网关的权限。  | 
       
         Write  | 
       
         vpcIgw *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:vpcIgws:create  | 
       
         授予创建互联网网关的权限。  | 
       
         Write  | 
       
         vpcIgw *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:globalEips:list  | 
       
         授予查询全域弹性公网IP列表的权限。  | 
       
         List  | 
       
         globalEip *  | 
       
         -  | 
       
         -  | 
      
| 
         -  | 
       |||||
| 
         eip:globalEips:count  | 
       
         授予查询全域弹性公网IP数量的权限。  | 
       
         List  | 
       
         globalEip *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:globalEips:get  | 
       
         授予查询指定全域弹性公网IP的权限。  | 
       
         Read  | 
       
         globalEip *  | 
       
         -  | 
      |
| 
         eip:globalEips:create  | 
       
         授予申请全域弹性公网IP的权限。  | 
       
         Write  | 
       
         globalEip *  | 
       
         -  | 
       
         -  | 
      
| 
         -  | 
       |||||
| 
         eip:globalEips:updateGeip  | 
       
         授予更新全域弹性公网IP的权限。  | 
       
         Write  | 
       
         globalEip *  | 
       
        
  | 
      |
| 
         eip:globalEips:disassociateInstance  | 
       
         授予从全域弹性公网IP解绑实例的权限。  | 
       
         Write  | 
       
         globalEip *  | 
       
        
  | 
      |
| 
         eip:globalEips:associateInstance  | 
       
         授予给全域弹性公网IP绑定实例的权限。  | 
       
         Write  | 
       
         globalEip *  | 
       
        
  | 
      |
| 
         eip:globalEips:delete  | 
       
         授予删除全域弹性公网IP的权限。  | 
       
         Write  | 
       
         globalEip *  | 
       
         -  | 
      |
| 
         eip:globalEips:attachBandwidth  | 
       
         授予将弹性公网IP绑定公网带宽的权限。  | 
       
         Write  | 
       
         globalEip *  | 
       
        
  | 
      |
| 
         internetBandwidth *  | 
       |||||
| 
         eip:globalEips:detachBandwidth  | 
       
         授予将弹性公网IP从公网带宽中移除的权限。  | 
       
         Write  | 
       
         globalEip *  | 
       
        
  | 
      |
| 
         internetBandwidth *  | 
       |||||
| 
         eip:globalEips:createTags  | 
       
         授予创建全域弹性IP资源标签权限。  | 
       
         Tagging  | 
       
         globalEip *  | 
       
         -  | 
      |
| 
         -  | 
       |||||
| 
         eip:globalEips:getTags  | 
       
         授予查询全域弹性IP资源标签权限。  | 
       
         Read  | 
       
         globalEip *  | 
       
         -  | 
       
         -  | 
      
| 
         eip:globalEips:listTags  | 
       
         授予查询项目里所有全域弹性IP资源标签权限。  | 
       
         List  | 
       
         globalEip *  | 
       
         -  | 
       
         -  | 
      
| 
         eip:globalEips:deleteTags  | 
       
         授予删除全域弹性公网IP资源标签权限。  | 
       
         Tagging  | 
       
         globalEip *  | 
       
         -  | 
      |
| 
         -  | 
       |||||
| 
         eip:internetBandwidths:createTags  | 
       
         授予创建全域公网带宽资源标签权限。  | 
       
         Tagging  | 
       
         internetBandwidth *  | 
       
         -  | 
      |
| 
         -  | 
       |||||
| 
         eip:internetBandwidths:getTags  | 
       
         授予查询全域公网带宽资源标签权限。  | 
       
         Read  | 
       
         internetBandwidth *  | 
       
         -  | 
       
         -  | 
      
| 
         eip:internetBandwidths:listTags  | 
       
         授予查询项目里所有全域公网带宽资源标签权限。  | 
       
         List  | 
       
         internetBandwidth *  | 
       
         -  | 
       
         -  | 
      
| 
         eip:internetBandwidths:deleteTags  | 
       
         授予删除全域公网带宽资源标签权限。  | 
       
         Tagging  | 
       
         internetBandwidth *  | 
       
         -  | 
      |
| 
         -  | 
       |||||
| 
         eip:internetBandwidths:list  | 
       
         授予查询全域公网带宽列表的权限。  | 
       
         List  | 
       
         internetBandwidth *  | 
       
         -  | 
       
         -  | 
      
| 
         -  | 
       |||||
| 
         eip:internetBandwidths:count  | 
       
         授予查询全域公共带宽数量的权限。  | 
       
         List  | 
       
         internetBandwidth *  | 
       
         -  | 
       
        
  | 
      
| 
         eip:internetBandwidths:get  | 
       
         授予查询指定全域公网带宽的权限。  | 
       
         Read  | 
       
         internetBandwidth *  | 
       
         -  | 
      |
| 
         eip:internetBandwidths:create  | 
       
         授予申请全域公网带宽的权限。  | 
       
         Write  | 
       
         internetBandwidth *  | 
       
         -  | 
       
         -  | 
      
| 
         -  | 
       |||||
| 
         eip:internetBandwidths:update  | 
       
         授予更新全域公网带宽的权限。  | 
       
         Write  | 
       
         internetBandwidth *  | 
       
         -  | 
      |
| 
         eip:internetBandwidths:delete  | 
       
         授予删除全域公网带宽的权限。  | 
       
         Write  | 
       
         internetBandwidth *  | 
       
         -  | 
      |
| 
         eip:geipSegments:list  | 
       
         授予查询全域弹性公网IP段列表的权限。  | 
       
         List  | 
       
         geipSegment *  | 
       
         -  | 
       
         -  | 
      
| 
         -  | 
       |||||
| 
         eip:geipSegments:count  | 
       
         授予查询全域弹性公网IP段数量的权限。  | 
       
         List  | 
       
         geipSegment *  | 
       
         -  | 
       
         -  | 
      
| 
         eip:geipSegments:get  | 
       
         授予查询指定全域弹性公网IP段的权限。  | 
       
         Read  | 
       
         geipSegment *  | 
       
         -  | 
      |
| 
         eip:geipSegments:create  | 
       
         授予申请全域弹性公网IP段的权限。  | 
       
         Write  | 
       
         geipSegment *  | 
       
         -  | 
       
         -  | 
      
| 
         -  | 
       |||||
| 
         eip:geipSegments:update  | 
       
         授予更新全域弹性公网IP段的权限。  | 
       
         Write  | 
       
         geipSegment *  | 
       
         -  | 
      |
| 
         eip:geipSegments:disassociateInstance  | 
       
         授予从全域弹性公网IP段解绑实例的权限。  | 
       
         Write  | 
       
         geipSegment *  | 
       
         -  | 
      |
| 
         eip:geipSegments:associateInstance  | 
       
         授予给全域弹性公网IP段绑定实例的权限。  | 
       
         Write  | 
       
         geipSegment *  | 
       
         -  | 
      |
| 
         eip:geipSegments:delete  | 
       
         授予删除全域弹性公网IP段的权限。  | 
       
         Write  | 
       
         geipSegment *  | 
       
         -  | 
      |
| 
         eip:geipSegments:attachBandwidth  | 
       
         授予将弹性公网IP段绑定公网带宽的权限。  | 
       
         Write  | 
       
         geipSegment *  | 
       
         -  | 
      |
| 
         internetBandwidth *  | 
       |||||
| 
         eip:geipSegments:detachBandwidth  | 
       
         授予将弹性公网IP段从公网带宽中移除的权限。  | 
       
         Write  | 
       
         geipSegment *  | 
       
         -  | 
      |
| 
         internetBandwidth *  | 
       |||||
| 
         eip:geipSegments:createTags  | 
       
         授予创建全域弹性IP段资源标签权限。  | 
       
         Tagging  | 
       
         geipSegment *  | 
       
         -  | 
      |
| 
         -  | 
       |||||
| 
         eip:geipSegments:getTags  | 
       
         授予查询全域弹性IP段资源标签权限。  | 
       
         Read  | 
       
         geipSegment *  | 
       
         -  | 
       
         -  | 
      
| 
         eip:geipSegments:listTags  | 
       
         授予查询项目里所有全域弹性IP段资源标签权限。  | 
       
         List  | 
       
         geipSegment *  | 
       
         -  | 
       
         -  | 
      
| 
         eip:geipSegments:deleteTags  | 
       
         授予删除全域弹性公网IP段资源标签权限。  | 
       
         Tagging  | 
       
         geipSegment *  | 
       
         -  | 
      |
| 
         -  | 
       |||||
| 
         eip:userDisclaimer:sign  | 
       
         授予签署免责条款的权限。  | 
       
         Write  | 
       
         -  | 
       
         -  | 
       
         -  | 
      
| 
         eip:userDisclaimer:cancel  | 
       
         授予撤销免责条款的权限。  | 
       
         Write  | 
       
         -  | 
       
         -  | 
       
         -  | 
      
EIP的API通常对应着一个或多个授权项。表2展示了API与授权项的关系,以及该API需要依赖的授权项。
| 
         API  | 
       
         对应的授权项  | 
       
         依赖的授权项  | 
      
|---|---|---|
| 
         eip:publicIps:count  | 
       
         -  | 
      |
| 
         eip:publicIps:count  | 
       
         -  | 
      |
| 
         eip:publicIps:createTags  | 
       
         -  | 
      |
| 
         POST 01 /v2.0/{project_id}/publicips/{publicip_id}/tags/action  | 
       
         eip:publicIps:deleteTags  | 
       
         -  | 
      
| 
         eip:publicIps:createTags  | 
       
         -  | 
      |
| 
         DELETE /v2.0/{project_id}/publicips/{publicip_id}/tags/{key}  | 
       
         eip:publicIps:deleteTags  | 
       
         -  | 
      
| 
         eip:publicIps:listTags  | 
       
         -  | 
      |
| 
         eip:publicIps:listTags  | 
       
         -  | 
      |
| 
         eip:publicIps:listTags  | 
       
         -  | 
      |
| 
         eip:bandwidths:create  | 
       
         -  | 
      |
| 
         eip:bandwidths:batchCreate  | 
       
         -  | 
      |
| 
         eip:bandwidths:list  | 
       
         -  | 
      |
| 
         eip:bandwidths:delete  | 
       
         -  | 
      |
| 
         eip:bandwidths:get  | 
       
         -  | 
      |
| 
         eip:bandwidths:update  | 
       
         -  | 
      |
| 
         eip:bandwidths:update  | 
       
         -  | 
      |
| 
         eip:bandwidths:update  | 
       
         bss:renewal:update  | 
      |
| 
         eip:bandwidthPkgs:list  | 
       
         -  | 
      |
| 
         eip:bandwidths:update  | 
       
         -  | 
      |
| 
         eip:bandwidths:insertPublicIps  | 
       
         -  | 
      |
| 
         eip:bandwidths:removePublicIps  | 
       
         -  | 
      |
| 
         eip:publicIps:create  | 
       
         -  | 
      |
| 
         eip:publicIps:create  | 
       
         -  | 
      |
| 
         eip:publicIps:batchCreate  | 
       
         -  | 
      |
| 
         eip:publicIps:list  | 
       
         -  | 
      |
| 
         eip:publicIps:get  | 
       
         -  | 
      |
| 
         eip:publicIps:update  | 
       
         -  | 
      |
| 
         eip:publicIps:update  | 
       
         bss:renewal:update  | 
      |
| 
         eip:publicIps:disassociateInstance  | 
       
         -  | 
      |
| 
         eip:publicIps:delete  | 
       
         -  | 
      |
| 
         eip:publicIps:delete  | 
       
         -  | 
      |
| 
         POST /v3/{project_id}/eip/publicips/{publicip_id}/associate-instance  | 
       
         eip:publicIps:associateInstance  | 
       
         -  | 
      
| 
         POST /v3/{project_id}/eip/publicips/{publicip_id}/disassociate-instance  | 
       
         eip:publicIps:disassociateInstance  | 
       
         -  | 
      
| 
         eip:publicIps:attachBandwidth  | 
       
         -  | 
      |
| 
         POST /v3/{project_id}/eip/publicips/{publicip_id}/attach-share-bandwidth  | 
       
         eip:publicIps:attachBandwidth  | 
       
         -  | 
      
| 
         eip:publicIps:detachBandwidth  | 
       
         -  | 
      |
| 
         POST /v3/{project_id}/eip/publicips/{publicip_id}/detach-share-bandwidth  | 
       
         eip:publicIps:detachBandwidth  | 
       
         -  | 
      
| 
         eip:publicipPools:get  | 
       
         -  | 
      |
| 
         POST /v3/{project_id}/eip/publicips/{publicip_id}/enable-nat64  | 
       
         eip:publicIps:enableNat64  | 
       
         -  | 
      
| 
         POST /v3/{project_id}/eip/publicips/{publicip_id}/disable-nat64  | 
       
         eip:publicIps:disableNat64  | 
       
         -  | 
      
| 
         eip:bandwidths:list  | 
       
         -  | 
      |
| 
         eip:bandwidths:list  | 
       
         -  | 
      |
| 
         eip:publicIps:list  | 
       
         -  | 
      |
| 
         eip:publicIps:get  | 
       
         -  | 
      |
| 
         eip:vpcIgws:list  | 
       
         -  | 
      |
| 
         eip:vpcIgws:get  | 
       
         -  | 
      |
| 
         eip:vpcIgws:update  | 
       
         -  | 
      |
| 
         eip:vpcIgws:delete  | 
       
         -  | 
      |
| 
         eip:vpcIgws:create  | 
       
         -  | 
      |
| 
         eip:globalEips:list  | 
       
         -  | 
      |
| 
         eip:globalEips:count  | 
       
         -  | 
      |
| 
         eip:globalEips:get  | 
       
         -  | 
      |
| 
         eip:globalEips:create  | 
       
         -  | 
      |
| 
         eip:globalEips:delete  | 
       
         -  | 
      |
| 
         eip:globalEips:updateGeip  | 
       
         -  | 
      |
| 
         POST /v3/{domain_id}/global-eips/{global_eip_id}/associate-instance  | 
       
         eip:globalEips:associateInstance  | 
       
         -  | 
      
| 
         POST /v3/{domain_id}/global-eips/{global_eip_id}/disassociate-instance  | 
       
         eip:globalEips:disassociateInstance  | 
       
         -  | 
      
| 
         POST /v3/{domain_id}/global-eips/{global_eip_id}/attach-internet-bandwidth  | 
       
         eip:globalEips:attachBandwidth  | 
       
         -  | 
      
| 
         POST /v3/{domain_id}/global-eips/{global_eip_id}/detach-internet-bandwidth  | 
       
         eip:globalEips:detachBandwidth  | 
       
         -  | 
      
| 
         eip:globalEips:getTags  | 
       
         -  | 
      |
| 
         eip:globalEips:listTags  | 
       
         -  | 
      |
| 
         eip:globalEips:createTags  | 
       
         -  | 
      |
| 
         eip:globalEips:deleteTags  | 
       
         -  | 
      |
| 
         eip:internetBandwidths:list  | 
       
         -  | 
      |
| 
         eip:internetBandwidths:count  | 
       
         -  | 
      |
| 
         GET /v3/{domain_id}/geip/internet-bandwidths/{internet_bandwidth_id}  | 
       
         eip:internetBandwidths:get  | 
       
         -  | 
      
| 
         PUT /v3/{domain_id}/geip/internet-bandwidths/{internet_bandwidth_id}  | 
       
         eip:internetBandwidths:update  | 
       
         -  | 
      
| 
         DELETE /v3/{domain_id}/geip/internet-bandwidths/{internet_bandwidth_id}  | 
       
         eip:internetBandwidths:delete  | 
       
         -  | 
      
| 
         eip:internetBandwidths:create  | 
       
         -  | 
      |
| 
         eip:internetBandwidths:getTags  | 
       
         -  | 
      |
| 
         eip:internetBandwidths:listTags  | 
       
         -  | 
      |
| 
         eip:internetBandwidths:createTags  | 
       
         -  | 
      |
| 
         eip:internetBandwidths:deleteTags  | 
       
         -  | 
      |
| 
         eip:geipSegments:list  | 
       
         -  | 
      |
| 
         eip:geipSegments:count  | 
       
         -  | 
      |
| 
         GET /v3/{domain_id}/global-eip-segments/{global_eip_segment_id}  | 
       
         eip:geipSegments:get  | 
       
         -  | 
      
| 
         eip:geipSegments:create  | 
       
         -  | 
      |
| 
         DELETE /v3/{domain_id}/global-eip-segments/{global_eip_segment_id}  | 
       
         eip:geipSegments:delete  | 
       
         -  | 
      
| 
         PUT /v3/{domain_id}/global-eip-segments/{global_eip_segment_id}  | 
       
         eip:geipSegments:update  | 
       
         -  | 
      
| 
         POST /v3/{domain_id}/global-eip-segments/{global_eip_segment_id}/associate-instance  | 
       
         eip:geipSegments:associateInstance  | 
       
         -  | 
      
| 
         POST /v3/{domain_id}/global-eip-segments/{global_eip_segment_id}/disassociate-instance  | 
       
         eip:geipSegments:disassociateInstance  | 
       
         -  | 
      
| 
         POST /v3/{domain_id}/global-eip-segments/batch-attach-internet-bandwidths  | 
       
         eip:geipSegments:attachBandwidth  | 
       
         -  | 
      
| 
         POST /v3/{domain_id}/global-eip-segments/batch-detach-internet-bandwidths  | 
       
         eip:geipSegments:detachBandwidth  | 
       
         -  | 
      
| 
         eip:geipSegments:getTags  | 
       
         -  | 
      |
| 
         eip:geipSegments:listTags  | 
       
         -  | 
      |
| 
         eip:geipSegments:createTags  | 
       
         -  | 
      |
| 
         eip:geipSegments:deleteTags  | 
       
         -  | 
      |
| 
         eip:userDisclaimer:sign  | 
       
         -  | 
      |
| 
         eip:userDisclaimer:cancel  | 
       
         -  | 
      
资源类型(Resource)
资源类型(Resource)表示身份策略所作用的资源。如表3中的某些操作指定了可以在该操作指定的资源类型,则必须在具有该操作的身份策略语句中指定该资源的URN,身份策略仅作用于此资源;如未指定,Resource默认为“*”,则身份策略将应用到所有资源。您也可以在身份策略中设置条件,从而指定资源类型。
EIP定义了以下可以在自定义身份策略的Resource元素中使用的资源类型。
| 
         资源类型  | 
       
         URN  | 
      
|---|---|
| 
         bandwidthRule  | 
       
         eip:<region>:<account-id>:bandwidthRule:<bandwidthRule-id>  | 
      
| 
         bandwidth  | 
       
         vpc:<region>:<account-id>:bandwidth:<bandwidth-id>  | 
      
| 
         bandwidthPkg  | 
       
         eip:<region>:<account-id>:bandwidthPkg:<bandwidthPkg-id>  | 
      
| 
         publicipPool  | 
       
         eip:<region>:<account-id>:publicipPool:<publicipPool-id>  | 
      
| 
         geipSegment  | 
       
         eip:<region>:<account-id>:geipSegment:<geipSegment-id>  | 
      
| 
         vpcIgw  | 
       
         eip:<region>:<account-id>:vpcIgw:<vpcIgw-id>  | 
      
| 
         internetBandwidth  | 
       
         eip:<region>:<account-id>:internetBandwidth:<internetBandwidth-id>  | 
      
| 
         publicip  | 
       
         vpc:<region>:<account-id>:publicip:<publicip-id>  | 
      
| 
         globalEip  | 
       
         eip:<region>:<account-id>:globalEip:<globalEip-id>  |