更新时间:2025-09-26 GMT+08:00
分享

弹性公网IP EIP

云服务在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的相关操作。

表1 EIP支持的授权项

授权项

描述

访问级别

资源类型(*为必须)

条件键

别名

eip:publicIps:createTags

授予创建弹性IP资源标签权限。

Tagging

publicip *

vpc:publicipTags:create

-

eip:publicIps:listTags

授予查询弹性IP资源标签权限。

List

publicip *

-

vpc:publicipTags:get

eip:publicIps:deleteTags

授予删除弹性公网IP资源标签权限。

Tagging

publicip *

vpc:publicipTags:delete

-

g:TagKeys

eip:publicIps:count

授予查询弹性公网IP数量的权限。

List

publicip *

-

vpc:publicIps:list

eip:bandwidths:create

授予创建共享带宽的权限。

Write

bandwidth *

-

vpc:bandwidths:create

-

g:EnterpriseProjectId

eip:bandwidths:batchCreate

授予批量创建共享带宽的权限。

Write

bandwidth *

-

-

eip:bandwidths:list

授予查询带宽列表的权限。

List

bandwidth *

-

vpc:bandwidths:list

-

g:EnterpriseProjectId

eip:bandwidths:update

授予更新带宽的权限。

Write

bandwidth *

vpc:bandwidths:update

eip:bandwidths:get

授予查询带宽的权限。

Read

bandwidth *

vpc:bandwidths:get

eip:bandwidths:delete

授予删除共享带宽的权限。

Write

bandwidth *

vpc:bandwidths:delete

eip:bandwidthPkgs:list

授予查询带宽加油包列表的权限。

List

bandwidthPkg *

-

vpc:bandwidths:get

eip:bandwidthPkgs:update

授予更新带宽加油包的权限。

Write

bandwidthPkg *

-

vpc:bandwidths:update

eip:publicIps:create

授予申请弹性公网IP的权限。

Write

publicip *

-

vpc:publicIps:create

-

g:EnterpriseProjectId

eip:publicIps:batchCreate

授予批量创建弹性公网IP的权限。

Write

publicip *

-

vpc:publicIps:create

-

eip:publicIps:list

授予查询弹性公网IP列表的权限。

List

publicip *

-

vpc:publicIps:list

-

g:EnterpriseProjectId

eip:publicIps:get

授予查询指定弹性公网IP的权限。

Read

publicip *

vpc:publicIps:get

eip:publicIps:update

授予更新弹性公网IP的权限。

Write

publicip *

vpc:publicIps:update

eip:publicIps:disassociateInstance

授予将弹性公网IP解绑网卡的权限。

Write

publicip *

vpc:publicIps:update

eip:publicIps:delete

授予删除弹性公网IP的权限。

Write

publicip *

vpc:publicIps:delete

eip:publicIps:create

授予申请弹性公网IP的权限。

Write

publicip *

-

vpc:publicIps:create

-

g:EnterpriseProjectId

eip:publicIps:batchCreate

授予批量创建弹性公网IP的权限。

Write

publicip *

-

vpc:publicIps:create

-

eip:publicIps:list

授予查询弹性公网IP列表的权限。

List

publicip *

-

vpc:publicIps:list

-

g:EnterpriseProjectId

eip:publicIps:count

授予查询弹性公网IP数量的权限。

List

publicip *

-

vpc:publicIps:list

eip:publicIps:get

授予查询指定弹性公网IP的权限。

Read

publicip *

vpc:publicIps:get

eip:publicIps:update

授予更新弹性公网IP的权限。

Write

publicip *

vpc:publicIps:update

eip:publicIps:enableNat64

授予使能弹性公网IP NAT64的权限。

Write

publicip *

vpc:publicIps:update

eip:publicIps:disableNat64

授予使能弹性公网IP NAT64的权限。

Write

publicip *

vpc:publicIps:update

eip:publicIps:associateInstance

授予将弹性公网IP绑定网卡的权限。

Write

publicip *

vpc:publicIps:update

eip:publicIps:disassociateInstance

授予将弹性公网IP解绑网卡的权限。

Write

publicip *

vpc:publicIps:update

eip:publicIps:attachBandwidth

授予将弹性公网IP绑定带宽的权限。

Write

publicip *

vpc:publicIps:update

bandwidth *

eip:publicIps:detachBandwidth

授予将弹性公网IP从共享带宽中解绑的权限。

Write

publicip *

vpc:publicIps:update

bandwidth *

eip:publicIps:delete

授予删除弹性公网IP的权限。

Write

publicip *

vpc:publicIps:delete

eip:publicIps:createTags

授予创建弹性IP资源标签权限。

Tagging

publicip *

vpc:publicipTags:create

-

eip:publicIps:listTags

授予查询弹性IP资源标签权限。

List

publicip *

-

vpc:publicipTags:get

eip:publicIps:deleteTags

授予删除弹性公网IP资源标签权限。

Tagging

publicip *

vpc:publicipTags:delete

-

g:TagKeys

eip:bandwidths:insertPublicIps

授予共享带宽插入弹性公网IP的权限。

Write

bandwidth *

vpc:publicIps:insert

eip:bandwidths:removePublicIps

授予共享带宽移除弹性公网IP的权限。

Write

bandwidth *

vpc:publicIps:insert

eip:bandwidths:create

授予创建共享带宽的权限。

Write

bandwidth *

-

vpc:bandwidths:create

-

g:EnterpriseProjectId

eip:bandwidths:batchCreate

授予批量创建共享带宽的权限。

Write

bandwidth *

-

-

eip:bandwidths:list

授予查询带宽列表的权限。

List

bandwidth *

-

vpc:bandwidths:list

-

g:EnterpriseProjectId

eip:bandwidths:update

授予更新带宽的权限。

Write

bandwidth *

vpc:bandwidths:update

eip:bandwidths:get

授予查询带宽的权限。

Read

bandwidth *

vpc:bandwidths:get

eip:bandwidths:delete

授予删除共享带宽的权限。

Write

bandwidth *

vpc:bandwidths:delete

eip:bandwidthRules:list

授予查询带宽规则列表的权限。

List

bandwidth *

vpc:bandwidths:get

bandwidthRule *

-

eip:bandwidthRules:get

授予查询带宽规则的权限。

Read

bandwidth *

vpc:bandwidths:get

bandwidthRule *

-

eip:bandwidthRules:update

授予更新带宽规则的权限。

Write

bandwidth *

vpc:bandwidths:update

bandwidthRule *

-

eip:bandwidthRules:delete

授予删除带宽规则的权限。

Write

bandwidth *

vpc:bandwidths:delete

bandwidthRule *

-

eip:bandwidthRules:create

授予创建共享带宽规则的权限。

Write

bandwidth *

vpc:bandwidths:update

bandwidthRule *

-

eip:bandwidthPkgs:list

授予查询带宽加油包列表的权限。

List

bandwidthPkg *

-

vpc:bandwidths:get

eip:bandwidthPkgs:get

授予查询带宽加油包的权限。

Read

bandwidthPkg *

-

vpc:bandwidths:get

eip:bandwidthPkgs:update

授予更新带宽加油包的权限。

Write

bandwidthPkg *

-

vpc:bandwidths:update

eip:bandwidthPkgs:create

授予创建带宽加油包的权限。

Write

bandwidthPkg *

-

vpc:bandwidths:update

eip:publicipPools:create

授予创建公网IP池的权限。

Write

publicipPool *

-

vpc:publicIps:create

eip:publicipPools:get

授予查询公网IP池的权限。

Read

publicipPool *

-

vpc:publicIps:get

eip:publicipPools:update

授予更新公网IP池的权限。

Write

publicipPool *

-

vpc:publicIps:update

eip:vpcIgws:list

授予查询互联网网关列表的权限。

List

vpcIgw *

-

vpc:vpcs:list

eip:vpcIgws:get

授予查询互联网网关的权限。

Read

vpcIgw *

-

vpc:vpcs:get

eip:vpcIgws:update

授予更新互联网网关的权限。

Write

vpcIgw *

-

vpc:vpcs:update

eip:vpcIgws:delete

授予删除互联网网关的权限。

Write

vpcIgw *

-

vpc:vpcs:delete

eip:vpcIgws:create

授予创建互联网网关的权限。

Write

vpcIgw *

-

vpc:vpcs:create

eip:globalEips:list

授予查询全域弹性公网IP列表的权限。

List

globalEip *

-

-

-

g:EnterpriseProjectId

eip:globalEips:count

授予查询全域弹性公网IP数量的权限。

List

globalEip *

-

eip:globalEips:list

eip:globalEips:get

授予查询指定全域弹性公网IP的权限。

Read

globalEip *

-

eip:globalEips:create

授予申请全域弹性公网IP的权限。

Write

globalEip *

-

-

-

eip:globalEips:updateGeip

授予更新全域弹性公网IP的权限。

Write

globalEip *

eip:globalEips:update

eip:globalEips:disassociateInstance

授予从全域弹性公网IP解绑实例的权限。

Write

globalEip *

eip:globalEips:update

eip:globalEips:associateInstance

授予给全域弹性公网IP绑定实例的权限。

Write

globalEip *

eip:globalEips:update

eip:globalEips:delete

授予删除全域弹性公网IP的权限。

Write

globalEip *

-

eip:globalEips:attachBandwidth

授予将弹性公网IP绑定公网带宽的权限。

Write

globalEip *

eip:globalEips:insert

internetBandwidth *

eip:globalEips:detachBandwidth

授予将弹性公网IP从公网带宽中移除的权限。

Write

globalEip *

eip:globalEips:remove

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 *

-

-

g:TagKeys

eip:internetBandwidths:createTags

授予创建全域公网带宽资源标签权限。

Tagging

internetBandwidth *

-

-

eip:internetBandwidths:getTags

授予查询全域公网带宽资源标签权限。

Read

internetBandwidth *

-

-

eip:internetBandwidths:listTags

授予查询项目里所有全域公网带宽资源标签权限。

List

internetBandwidth *

-

-

eip:internetBandwidths:deleteTags

授予删除全域公网带宽资源标签权限。

Tagging

internetBandwidth *

-

-

g:TagKeys

eip:internetBandwidths:list

授予查询全域公网带宽列表的权限。

List

internetBandwidth *

-

-

-

g:EnterpriseProjectId

eip:internetBandwidths:count

授予查询全域公共带宽数量的权限。

List

internetBandwidth *

-

eip:internetBandwidths:list

eip:internetBandwidths:get

授予查询指定全域公网带宽的权限。

Read

internetBandwidth *

-

eip:internetBandwidths:create

授予申请全域公网带宽的权限。

Write

internetBandwidth *

-

-

-

g:EnterpriseProjectId

eip:internetBandwidths:update

授予更新全域公网带宽的权限。

Write

internetBandwidth *

-

eip:internetBandwidths:delete

授予删除全域公网带宽的权限。

Write

internetBandwidth *

-

eip:geipSegments:list

授予查询全域弹性公网IP段列表的权限。

List

geipSegment *

-

-

-

g:EnterpriseProjectId

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 *

-

-

g:TagKeys

eip:userDisclaimer:sign

授予签署免责条款的权限。

Write

-

-

-

eip:userDisclaimer:cancel

授予撤销免责条款的权限。

Write

-

-

-

EIP的API通常对应着一个或多个授权项。表2展示了API与授权项的关系,以及该API需要依赖的授权项。

表2 API与授权项的关系

API

对应的授权项

依赖的授权项

GET /v2/{project_id}/elasticips

eip:publicIps:count

-

GET /v2/{project_id}/publicip/instances

eip:publicIps:count

-

POST /v2.0/{project_id}/publicips/{publicip_id}/tags/action

eip:publicIps:createTags

-

POST 01 /v2.0/{project_id}/publicips/{publicip_id}/tags/action

eip:publicIps:deleteTags

-

POST /v2.0/{project_id}/publicips/{publicip_id}/tags

eip:publicIps:createTags

-

DELETE /v2.0/{project_id}/publicips/{publicip_id}/tags/{key}

eip:publicIps:deleteTags

-

POST /v2.0/{project_id}/publicips/resource_instances/action

eip:publicIps:listTags

-

GET /v2.0/{project_id}/publicips/tags

eip:publicIps:listTags

-

GET /v2.0/{project_id}/publicips/{publicip_id}/tags

eip:publicIps:listTags

-

POST /v2.0/{project_id}/bandwidths

eip:bandwidths:create

-

POST /v2.0/{project_id}/batch-bandwidths

eip:bandwidths:batchCreate

-

GET /v1/{project_id}/bandwidths

eip:bandwidths:list

-

DELETE /v2.0/{project_id}/bandwidths/{bandwidth_id}

eip:bandwidths:delete

-

GET /v1/{project_id}/bandwidths/{bandwidth_id}

eip:bandwidths:get

-

PUT /v1/{project_id}/bandwidths/{bandwidth_id}

eip:bandwidths:update

-

PUT /v2.0/{project_id}/bandwidths/{bandwidth_id}

eip:bandwidths:update

-

POST /v2.0/{project_id}/bandwidths/change-to-period

eip:bandwidths:update

bss:renewal:update

GET /v2/{project_id}/bandwidthpkgs

eip:bandwidthPkgs:list

-

PUT /v2/{project_id}/bandwidthpkgs/{id}

eip:bandwidthPkgs:update

-

PUT /v2/{project_id}/batch-bandwidths/modify

eip:bandwidths:update

-

POST /v2.0/{project_id}/bandwidths/{bandwidth_id}/insert

eip:bandwidths:insertPublicIps

-

POST /v2.0/{project_id}/bandwidths/{bandwidth_id}/remove

eip:bandwidths:removePublicIps

-

POST /v2.0/{project_id}/publicips

eip:publicIps:create

-

POST /v1/{project_id}/publicips

eip:publicIps:create

-

POST /v2/{project_id}/batchpublicips

eip:publicIps:batchCreate

-

GET /v1/{project_id}/publicips

eip:publicIps:list

-

GET /v1/{project_id}/publicips/{publicip_id}

eip:publicIps:get

-

PUT /v1/{project_id}/publicips/{publicip_id}

eip:publicIps:update

-

POST /v2.0/{project_id}/publicips/change-to-period

eip:publicIps:update

bss:renewal:update

PATCH /v2/{project_id}/batchpublicips

eip:publicIps:disassociateInstance

-

DELETE /v1/{project_id}/publicips/{publicip_id}

eip:publicIps:delete

-

DELETE /v2/{project_id}/batchpublicips

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

-

POST /v3/{project_id}/eip/publicips/attach-share-bandwidth

eip:publicIps:attachBandwidth

-

POST /v3/{project_id}/eip/publicips/{publicip_id}/attach-share-bandwidth

eip:publicIps:attachBandwidth

-

POST /v3/{project_id}/eip/publicips/detach-share-bandwidth

eip:publicIps:detachBandwidth

-

POST /v3/{project_id}/eip/publicips/{publicip_id}/detach-share-bandwidth

eip:publicIps:detachBandwidth

-

POST /v3/{project_id}/eip/bandwidths

eip:bandwidths:create

-

GET /v3/{project_id}/eip/bandwidths/{bandwidth_id}/bandwidth-rules

eip:bandwidthRules:list

-

GET /v3/{project_id}/eip/bandwidths/{bandwidth_id}/bandwidth-rule/{bandwidth_rules_id}

eip:bandwidthRules:get

-

PUT /v3/{project_id}/eip/bandwidths/{bandwidth_id}/bandwidth-rule/{bandwidth_rules_id}

eip:bandwidthRules:update

-

POST /v3/{project_id}/eip/bandwidths/{bandwidth_id}/bandwidth-rules

eip:bandwidthRules:create

-

DELETE /v3/{project_id}/eip/bandwidths/{bandwidth_id}/bandwidth-rule/{bandwidth_rules_id}

eip:bandwidthRules:delete

-

GET /v3/{project_id}/eip/publicip-pools/{publicip_pool_id}

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

-

GET /v3/{project_id}/eip-bandwidths

eip:bandwidths:list

-

GET /v3/{project_id}/eip/bandwidths

eip:bandwidths:list

-

GET /v3/{project_id}/eip/publicips

eip:publicIps:list

-

GET /v3/{project_id}/eip/publicips/{publicip_id}

eip:publicIps:get

-

GET /v3/{project_id}/geip/vpc-igws

eip:vpcIgws:list

-

GET /v3/{project_id}/geip/vpc-igws/{vpc_igw_id}

eip:vpcIgws:get

-

PUT /v3/{project_id}/geip/vpc-igws/{vpc_igw_id}

eip:vpcIgws:update

-

DELETE /v3/{project_id}/geip/vpc-igws/{vpc_igw_id}

eip:vpcIgws:delete

-

POST /v3/{project_id}/geip/vpc-igws

eip:vpcIgws:create

-

GET /v3/{domain_id}/global-eips

eip:globalEips:list

-

GET /v3/{domain_id}/global-eips/count

eip:globalEips:count

-

GET /v3/{domain_id}/global-eips/{global_eip_id}

eip:globalEips:get

-

POST /v3/{domain_id}/global-eips

eip:globalEips:create

-

DELETE /v3/{domain_id}/global-eips/{global_eip_id}

eip:globalEips:delete

-

PUT /v3/{domain_id}/global-eips/{global_eip_id}

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

-

GET /v3/global-eip/{resource_id}/tags

eip:globalEips:getTags

-

GET /v3/global-eip/tags

eip:globalEips:listTags

-

POST /v3/global-eip/{resource_id}/tags

eip:globalEips:createTags

-

DELETE /v3/global-eip/{resource_id}/tags/{tag_key}

eip:globalEips:deleteTags

-

GET /v3/{domain_id}/geip/internet-bandwidths

eip:internetBandwidths:list

-

GET /v3/{domain_id}/geip/internet-bandwidths/count

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

-

POST /v3/{domain_id}/geip/internet-bandwidths

eip:internetBandwidths:create

-

GET /v3/internet-bandwidth/{resource_id}/tags

eip:internetBandwidths:getTags

-

GET /v3/internet-bandwidth/tags

eip:internetBandwidths:listTags

-

POST /v3/internet-bandwidth/{resource_id}/tags

eip:internetBandwidths:createTags

-

DELETE /v3/internet-bandwidth/{resource_id}/tags/{tag_key}

eip:internetBandwidths:deleteTags

-

GET /v3/{domain_id}/global-eip-segments

eip:geipSegments:list

-

GET /v3/{domain_id}/global-eip-segments/count

eip:geipSegments:count

-

GET /v3/{domain_id}/global-eip-segments/{global_eip_segment_id}

eip:geipSegments:get

-

POST /v3/{domain_id}/global-eip-segments

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

-

GET /v3/global-eip-segment/{resource_id}/tags

eip:geipSegments:getTags

-

GET /v3/global-eip-segment/tags

eip:geipSegments:listTags

-

POST /v3/global-eip-segment/{resource_id}/tags

eip:geipSegments:createTags

-

DELETE /v3/global-eip-segment/{resource_id}/tags/{tag_key}

eip:geipSegments:deleteTags

-

POST /v3/{domain_id}/geip/user-disclaimer-records

eip:userDisclaimer:sign

-

DELETE /v3/{domain_id}/geip/user-disclaimer-records

eip:userDisclaimer:cancel

-

资源类型(Resource)

资源类型(Resource)表示身份策略所作用的资源。如表3中的某些操作指定了可以在该操作指定的资源类型,则必须在具有该操作的身份策略语句中指定该资源的URN,身份策略仅作用于此资源;如未指定,Resource默认为“*”,则身份策略将应用到所有资源。您也可以在身份策略中设置条件,从而指定资源类型。

EIP定义了以下可以在自定义身份策略的Resource元素中使用的资源类型。

表3 EIP支持的资源类型

资源类型

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>

条件(Condition)

EIP服务不支持在身份策略中的条件键中配置服务级的条件键。EIP可以使用适用于所有服务的全局条件键,请参考全局条件键

相关文档