Updated on 2024-10-22 GMT+08:00

Actions

Table 1 RAM actions

Permission

API

Action

IAM Project

Enterprise Project

Listing RAM managed permissions

GET /v1/permissions

ram:permissions:list

×

×

Getting the details about RAM managed permissions

GET /v1/permissions/{permission_id}

ram:permissions:get

×

×

Getting all versions of permissions

GET /v1/permissions/{permission_id}/versions

ram:permissions:listVersions

×

×

Creating a resource share

POST /v1/resource-shares

ram:resourceShares:create

×

×

Searching for resource shares

POST /v1/resource-shares/search

ram:resourceShares:search

×

×

Updating a resource share

PATCH /v1/resource-shares/{resource_share_id}

ram:resourceShares:update

×

×

Deleting a resource share

DELETE /v1/resource-shares/{resource_share_id}

ram:resourceShares:delete

×

×

Associating principals and resources with a resource share

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

ram:resourceShares:associate

×

×

Disassociating principals and resources from a resource share

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

ram:resourceShares:disassociate

×

×

Searching for associated principals and resources

POST /v1/resource-share-associations/search

ram:resourceShares:searchResourceShareAssociations

×

×

Associating or replacing RAM managed permissions

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

ram:resourceShares:associatePermission

×

×

Disassociating RAM managed permissions

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

ram:resourceShares:disassociatePermission

×

×

Listing associated RAM managed permissions

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

ram:resourceShares:listAssociatedPermissions

×

×

Listing used tags

GET /v1/resource-shares/tags

ram:resourceShares:listTags

×

×

Listing resource shares by tag

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

ram:resourceShares:listResourceSharesByTag

×

×

Listing the number of resource shares by tag

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

ram:resourceShares:searchResourceShareCountByTag

×

×

Adding a tag to a resource share

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

ram:resourceShares:tag

×

×

Deleting a tag from a resource share

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

ram:resourceShares:untag

×

×

Searching for shared resources

POST /v1/shared-resources/search

ram:sharedResources:search

×

×

Searching for principals

POST /v1/shared-principals/search

ram:sharedPrincipals:search

×

×

Accepting a resource sharing invitation

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

ram:resourceShareinvitations:accept

×

×

Rejecting a resource sharing invitation

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

ram:resourceShareinvitations:reject

×

×

Searching for a resource sharing invitation

POST /v1/resource-share-invitations/search

ram:resourceShareinvitations:search

×

×

Enabling sharing with Organizations

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

ram:resourceShares:enableSharingWithOrganization

×

×

Disabling sharing with Organizations

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

ram:resourceShares:disableSharingWithOrganization

×

×

Checking whether sharing with Organizations is enabled

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

ram:resourceShares:searchEnableSharingWithOrganization

×

×

Listing RAM quotas

GET /v1/resource-shares/quotas

ram:resourceShares:listQuota

×

×

Querying resource types of cloud services

GET /v1/resource-types

ram:resourceTypes:list

×

×