更新时间:2024-03-20 GMT+08:00
分享

弹性公网IP EIP

Organizations服务中的服务控制策略(Service Control Policy,以下简称SCP)可以使用以下授权项元素设置访问控制策略。

SCP不直接进行授权,只划定权限边界。将SCP绑定到组织单元或者成员账号时,并没有直接对组织单元或成员账号授予操作权限,而是规定了成员账号或组织单元包含的成员账号的授权范围。

本章节介绍组织服务中SCP使用的元素,这些元素包含了操作(Action)、资源(Resource)和条件(Condition)。

如何使用这些元素编辑SCP自定义策略,请参考创建SCP

操作(Action)

操作(Action)即为SCP中支持的授权项。

  • “访问级别”列描述如何对操作进行分类(list、read和write等)。此分类可帮助您了解在SCP中相应操作对应的访问级别。
  • “资源类型”列指每个操作是否支持资源级权限。
    • 资源类型支持通配符号*表示所有。如果此列没有值(-),则必须在SCP语句的Resource元素中指定所有资源类型(“*”)。
    • 如果该列包含资源类型,则必须在具有该操作的语句中指定该资源的URN。
    • 资源类型列中必需资源在表中用星号(*)标识,表示使用此操作必须指定该资源类型。

    关于EIP定义的资源类型的详细信息请参见资源类型(Resource)

  • “条件键”列包括了可以在SCP语句的Condition元素中支持指定的键值。
    • 如果该授权项资源类型列存在值,则表示条件键仅对列举的资源类型生效。
    • 如果该授权项资源类型列没有值(-),则表示条件键对整个授权项生效。
    • 如果此列条件键没有值(-),表示此操作不支持指定条件键。

    关于EIP定义的条件键的详细信息请参见条件(Condition)

您可以在SCP语句的Action元素中指定以下EIP的相关操作。

表1 EIP支持的授权项

授权项

描述

访问级别

资源类型(*为必须)

条件键

eip:publicIps:create

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

write

publicip *

-

-

g:EnterpriseProjectId

eip:publicIps:batchCreate

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

write

publicip *

-

-

  • g:EnterpriseProjectId
  • g:RequestTag/<tag-key>
  • g:TagKeys

eip:publicIps:list

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

list

publicip *

-

-

g:EnterpriseProjectId

eip:publicIps:count

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

list

publicip *

-

eip:publicIps:get

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

read

publicip *

  • g:ResourceTag/<tag-key>
  • g:EnterpriseProjectId

eip:publicIps:update

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

write

publicip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:publicIps:enableNat64

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

write

publicip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:publicIps:disableNat64

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

write

publicip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:publicIps:associateInstance

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

write

publicip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:publicIps:disassociateInstance

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

write

publicip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:publicIps:attachBandwidth

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

write

publicip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

bandwidth *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:publicIps:detachBandwidth

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

write

publicip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

bandwidth *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:publicIps:delete

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

write

publicip *

  • g:ResourceTag/<tag-key>
  • g:EnterpriseProjectId

eip:publicIps:createTags

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

tagging

publicip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

eip:publicIps:listTags

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

list

publicip *

-

eip:publicIps:deleteTags

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

tagging

publicip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

-

g:TagKeys

eip:bandwidths:insertPublicIps

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

write

bandwidth *

  • g:ResourceTag/<tag-key>
  • g:EnterpriseProjectId

eip:bandwidths:removePublicIps

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

write

bandwidth *

  • g:ResourceTag/<tag-key>
  • g:EnterpriseProjectId

eip:bandwidths:create

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

write

bandwidth *

-

-

g:EnterpriseProjectId

eip:bandwidths:batchCreate

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

write

bandwidth *

-

eip:bandwidths:list

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

list

bandwidth *

-

-

g:EnterpriseProjectId

eip:bandwidths:update

授予更新带宽的权限。

write

bandwidth *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:bandwidths:get

授予查询带宽的权限。

read

bandwidth *

  • g:ResourceTag/<tag-key>
  • g:EnterpriseProjectId

eip:bandwidths:delete

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

write

bandwidth *

  • g:ResourceTag/<tag-key>
  • g:EnterpriseProjectId

eip:bandwidthPkgs:list

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

list

bandwidthPkg *

-

eip:publicipPools:get

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

read

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 *

-

-

g:EnterpriseProjectId

eip:globalEips:count

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

list

globalEip *

-

eip:globalEips:get

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

read

globalEip *

  • g:ResourceTag/<tag-key>
  • g:EnterpriseProjectId

eip:globalEips:create

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

write

globalEip *

-

-

  • g:EnterpriseProjectId
  • g:RequestTag/<tag-key>
  • g:TagKeys

eip:globalEips:updateGeip

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

write

globalEip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:globalEips:disassociateInstance

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

write

globalEip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:globalEips:associateInstance

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

write

globalEip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:globalEips:delete

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

write

globalEip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:globalEips:attachBandwidth

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

write

globalEip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

internetBandwidth *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:globalEips:detachBandwidth

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

write

globalEip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

internetBandwidth *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:globalEips:createTags

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

tagging

globalEip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

eip:globalEips:getTags

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

read

globalEip *

-

eip:globalEips:listTags

授予查询项目里所有全域弹性IP资源标签权限。

list

globalEip *

-

eip:globalEips:deleteTags

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

tagging

globalEip *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

-

g:TagKeys

eip:internetBandwidths:createTags

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

tagging

internetBandwidth *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

eip:internetBandwidths:getTags

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

read

internetBandwidth *

-

eip:internetBandwidths:listTags

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

list

internetBandwidth *

-

eip:internetBandwidths:deleteTags

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

tagging

internetBandwidth *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

-

g:TagKeys

eip:internetBandwidths:list

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

list

internetBandwidth *

-

-

g:EnterpriseProjectId

eip:internetBandwidths:count

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

list

internetBandwidth *

-

eip:internetBandwidths:get

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

read

internetBandwidth *

  • g:ResourceTag/<tag-key>
  • g:EnterpriseProjectId

eip:internetBandwidths:create

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

write

internetBandwidth *

-

-

g:EnterpriseProjectId

eip:internetBandwidths:update

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

write

internetBandwidth *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:internetBandwidths:delete

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

write

internetBandwidth *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:geipSegments:list

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

list

geipSegment *

-

-

g:EnterpriseProjectId

eip:geipSegments:count

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

list

geipSegment *

-

eip:geipSegments:get

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

read

geipSegment *

  • g:ResourceTag/<tag-key>
  • g:EnterpriseProjectId

eip:geipSegments:create

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

write

geipSegment *

-

-

  • g:EnterpriseProjectId
  • g:RequestTag/<tag-key>
  • g:TagKeys

eip:geipSegments:update

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

write

geipSegment *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:geipSegments:disassociateInstance

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

write

geipSegment *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:geipSegments:associateInstance

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

write

geipSegment *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:geipSegments:delete

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

write

geipSegment *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:geipSegments:attachBandwidth

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

write

geipSegment *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

internetBandwidth *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:geipSegments:detachBandwidth

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

write

geipSegment *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

internetBandwidth *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

eip:geipSegments:createTags

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

tagging

geipSegment *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

eip:geipSegments:getTags

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

read

geipSegment *

-

eip:geipSegments:listTags

授予查询项目里所有全域弹性IP段资源标签权限。

list

geipSegment *

-

eip:geipSegments:deleteTags

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

tagging

geipSegment *

  • g:EnterpriseProjectId
  • g:ResourceTag/<tag-key>

-

g:TagKeys

eip:userDisclaimer:sign

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

write

-

-

eip:userDisclaimer:cancel

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

write

-

-

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

表2 API与授权项的关系

API

对应的授权项

依赖的授权项

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 /v2/{project_id}/elasticips

eip:publicIps:count

-

GET /v2/{project_id}/publicip/instances

eip:publicIps:count

-

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

-

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

-

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

eip:publicIps:delete

-

DELETE /v2/{project_id}/batchpublicips

eip:publicIps:delete

-

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/{bandwidth_id}/insert

eip:bandwidths:insertPublicIps

-

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

eip:bandwidths:removePublicIps

-

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

-

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

-

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 /v2/{project_id}/elasticips

eip:publicIps:count

-

GET /v2/{project_id}/publicip/instances

eip:publicIps:count

-

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

-

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

-

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

eip:publicIps:delete

-

DELETE /v2/{project_id}/batchpublicips

eip:publicIps:delete

-

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/{bandwidth_id}/insert

eip:bandwidths:insertPublicIps

-

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

eip:bandwidths:removePublicIps

-

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

-

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

-

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 /v2/{project_id}/elasticips

eip:publicIps:count

-

GET /v2/{project_id}/publicip/instances

eip:publicIps:count

-

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

-

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

-

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

eip:publicIps:delete

-

DELETE /v2/{project_id}/batchpublicips

eip:publicIps:delete

-

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/{bandwidth_id}/insert

eip:bandwidths:insertPublicIps

-

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

eip:bandwidths:removePublicIps

-

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

-

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

-

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 /v2/{project_id}/elasticips

eip:publicIps:count

-

GET /v2/{project_id}/publicip/instances

eip:publicIps:count

-

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

-

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

-

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

eip:publicIps:delete

-

DELETE /v2/{project_id}/batchpublicips

eip:publicIps:delete

-

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/{bandwidth_id}/insert

eip:bandwidths:insertPublicIps

-

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

eip:bandwidths:removePublicIps

-

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

-

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

-

资源类型(Resource)

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

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

表3 EIP支持的资源类型

资源类型

URN

globalEip

eip:<region>:<account-id>:globalEip:<globalEip-id>

internetBandwidth

eip:<region>:<account-id>:internetBandwidth:<internetBandwidth-id>

bandwidthRule

eip:<region>:<account-id>:bandwidthRule:<bandwidthRule-id>

bandwidthPkg

eip:<region>:<account-id>:bandwidthPkg:<bandwidthPkg-id>

publicipPool

eip:<region>:<account-id>:publicipPool:<publicipPool-id>

vpcIgw

eip:<region>:<account-id>:vpcIgw:<vpcIgw-id>

geipSegment

eip:<region>:<account-id>:geipSegment:<geipSegment-id>

globalEip

eip:<region>:<account-id>:globalEip:<globalEip-id>

internetBandwidth

eip:<region>:<account-id>:internetBandwidth:<internetBandwidth-id>

bandwidthPkg

eip:<region>:<account-id>:bandwidthPkg:<bandwidthPkg-id>

publicipPool

eip:<region>:<account-id>:publicipPool:<publicipPool-id>

vpcIgw

eip:<region>:<account-id>:vpcIgw:<vpcIgw-id>

geipSegment

eip:<region>:<account-id>:geipSegment:<geipSegment-id>

globalEip

eip:<region>:<account-id>:globalEip:<globalEip-id>

internetBandwidth

eip:<region>:<account-id>:internetBandwidth:<internetBandwidth-id>

bandwidthRule

eip:<region>:<account-id>:bandwidthRule:<bandwidthRule-id>

bandwidthPkg

eip:<region>:<account-id>:bandwidthPkg:<bandwidthPkg-id>

publicipPool

eip:<region>:<account-id>:publicipPool:<publicipPool-id>

vpcIgw

eip:<region>:<account-id>:vpcIgw:<vpcIgw-id>

geipSegment

eip:<region>:<account-id>:geipSegment:<geipSegment-id>

globalEip

eip:<region>:<account-id>:globalEip:<globalEip-id>

internetBandwidth

eip:<region>:<account-id>:internetBandwidth:<internetBandwidth-id>

bandwidthRule

eip:<region>:<account-id>:bandwidthRule:<bandwidthRule-id>

bandwidthPkg

eip:<region>:<account-id>:bandwidthPkg:<bandwidthPkg-id>

publicipPool

eip:<region>:<account-id>:publicipPool:<publicipPool-id>

vpcIgw

eip:<region>:<account-id>:vpcIgw:<vpcIgw-id>

geipSegment

eip:<region>:<account-id>:geipSegment:<geipSegment-id>

条件(Condition)

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

分享:

    相关文档

    相关产品