更新时间:2024-05-13 GMT+08:00
分享

授权项

表1 资源访问管理授权项

权限

对应API接口

授权项(Action)

IAM项目(Project)

企业项目(Enterprise Project)

检索共享资源权限列表

GET /v1/permissions

ram:permissions:list

×

×

检索共享资源权限内容

GET /v1/permissions/{permission_id}

ram:permissions:get

×

×

获取权限的所有版本

GET /v1/permissions/{permission_id}/versions

ram:permissions:listVersions

×

×

创建资源共享实例

POST /v1/resource-shares

ram:resourceShares:create

×

×

检索资源共享实例

POST /v1/resource-shares/search

ram:resourceShares:search

×

×

更新资源共享实例

PATCH /v1/resource-shares/{resource_share_id}

ram:resourceShares:update

×

×

删除资源共享实例

DELETE /v1/resource-shares/{resource_share_id}

ram:resourceShares:delete

×

×

绑定资源使用者和共享资源

POST /v1/resource-shares/{resource_share_id}/associate

ram:resourceShares:associate

×

×

移除资源使用者和共享资源

POST /v1/resource-shares/{resource_share_id}/disassociate

ram:resourceShares:disassociate

×

×

检索绑定的资源使用者和共享资源

POST /v1/resource-share-associations/search

ram:resourceShares:searchResourceShareAssociations

×

×

绑定或替换共享资源权限

POST /v1/resource-shares/{resource_share_id}/associate-permission

ram:resourceShares:associatePermission

×

×

移除共享资源权限

POST /v1/resource-shares/{resource_share_id}/disassociate-permission

ram:resourceShares:disassociatePermission

×

×

检索绑定的共享资源权限

GET /v1/resource-shares/{resource_share_id}/associated-permissions

ram:resourceShares:listAssociatedPermissions

×

×

查询已使用的标签列表

GET /v1/resource-shares/tags

ram:resourceShares:listTags

×

×

根据标签信息查询实例列表

POST /v1/resource-shares/resource-instances/filter

ram:resourceShares:listResourceSharesByTag

×

×

根据标签信息查询实例数量

POST /v1/resource-shares/resource-instances/count

ram:resourceShares:searchResourceShareCountByTag

×

×

资源共享实例增加标签

POST /v1/resource-shares/{resource_share_id}/tags/create

ram:resourceShares:tag

×

×

删除资源共享实例的标签

POST /v1/resource-shares/{resource_share_id}/tags/delete

ram:resourceShares:untag

×

×

检索共享的资源

POST /v1/shared-resources/search

ram:sharedResources:search

×

×

检索资源使用者

POST /v1/shared-principals/search

ram:sharedPrincipals:search

×

×

接受共享邀请

POST /v1/resource-share-invitations/{resource_share_invitation_id}/accept

ram:resourceShareinvitations:accept

×

×

拒绝共享邀请

POST /v1/resource-share-invitations/{resource_share_invitation_id}/reject

ram:resourceShareinvitations:reject

×

×

检索共享邀请

POST /v1/resource-share-invitations/search

ram:resourceShareinvitations:search

×

×

启用与组织共享

POST /v1/resource-shares/enable-sharing-with-organization

ram:resourceShares:enableSharingWithOrganization

×

×

关闭与组织共享

POST /v1/resource-shares/disable-sharing-with-organization

ram:resourceShares:disableSharingWithOrganization

×

×

检索是否启用与组织共享

POST /v1/resource-shares/search-enabled-sharing-with-organization

ram:resourceShares:searchEnableSharingWithOrganization

×

×

查询RAM配额

GET /v1/resource-shares/quotas

ram:resourceShares:listQuota

×

×

检索云服务资源类型

GET /v1/resource-types

ram:resourceTypes:list

×

×

相关文档