All Products
Search
Document Center

:List of operations by function

Last Updated:Nov 28, 2023

The following table lists the API operations available for use in Resource Group.

Note

Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to debug API operations and dynamically generate SDK sample code.

Operation

Description

CreateResourceGroup

Creates a resource group.

ListResourceGroups

Queries a list of resource groups.

GetResourceGroup

Queries the information about a resource group.

CreatePolicy

Creates a permission policy.

DeleteResourceGroup

Deletes a resource group.

UpdateResourceGroup

Updates the basic information about a resource group.

ListPolicies

Queries a list of permission policies.

GetPolicy

Queries the information about a permission policy.

CreatePolicyVersion

Creates a version for a permission policy.

DeletePolicyVersion

Deletes a version of a permission policy.

ListPolicyVersions

Queries a list of versions for a permission policy.

GetPolicyVersion

Queries the information about a version of a permission policy.

SetDefaultPolicyVersion

Sets a default version for a permission policy.

AttachPolicy

Attaches a permission policy to an object.

DetachPolicy

Detaches a permission policy from an object.

ListPolicyAttachments

Queries a list of attachment records of permission policies.

DeletePolicy

Deletes a permission policy.

CreateRole

Creates a RAM role.

DeleteRole

Deletes a RAM role.

GetRole

Queries the information about a RAM role.

ListRoles

Queries a list of RAM roles.

UpdateRole

Updates the information about a RAM role.

ListResources

Queries a list of resources that can be accessed by the current account in resource groups.

MoveResources

Moves resources from one resource group to another.

CreateServiceLinkedRole

Creates a service-linked role.

DeleteServiceLinkedRole

Deletes a service-linked role.

GetServiceLinkedRoleDeletionStatus

Queries the status of the task that is used to delete a service-linked role.

TagResources

Adds tags to resource groups or the members in a resource directory.

UntagResources

Removes tags from resource groups or the members in a resource directory.

ListTagResources

Queries a list of tags that are added to resource groups or the members in a resource directory.

EnableAssociatedTransfer

Enables the Transfer Associated Resources feature.

DisableAssociatedTransfer

Disables the Transfer Associated Resources feature.

Note

Both the Resource Management and Resource Access Management (RAM) services provide the API operations used to manage permission policies and the API operations used to manage RAM roles. Two API operations with the same name in Resource Management and RAM provide the same features. You can use either of the two API operations to perform the desired operations. However, two API operations with the same name in the two services have differences. For more information, see API overview.