更新时间:2025-12-02 gmt 08:00

弹性公网ip eip-j9九游会登录

云服务在iam预置了常用授权项,称为系统身份策略。如果iam系统身份策略无法满足授权要求,管理员可以根据各j9九游会登录的服务支持的授权项,创建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:::bandwidthrule:

bandwidth

vpc:::bandwidth:

bandwidthpkg

eip:::bandwidthpkg:

publicippool

eip:::publicippool:

geipsegment

eip:::geipsegment:

vpcigw

eip:::vpcigw:

internetbandwidth

eip:::internetbandwidth:

publicip

vpc:::publicip:

globaleip

eip:::globaleip:

条件(condition)

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

相关文档

网站地图