API standard and pre-built SDKs in multi-language
The OpenAPI specification of this product (ResourceCenter/2022-12-01
) follows the RPC standard. Alibaba Cloud provides pre-built SDKs for popular programming languages to abstract low-level complexities such as request signing. This enables developers to call APIs using language-specific syntax without dealing with HTTP details directly.
Custom signature
If your specific needs, such as a customized signature, are not supported by the SDK, manually sign requests using the signature mechanism. Note that manual signing requires significant effort (usually about 5 business days). For support, join our DingTalk group (ID: 78410016550).
Before you begin
An Alibaba Cloud account has full administrative privileges. A compromised AccessKey pair exposes all associated resources to unauthorized access, posing a significant security risk. Create a Resource Access Management (RAM) user with API-only access and use RAM policies to apply the principle of least privilege (PoLP). Alibaba Cloud accounts are only used when explicitly required.
To call APIs securely, configure the following:
A RAM user account
An AccessKey pair for the account
Management Resource Center
API |
Title |
Description |
EnableResourceCenter | EnableResourceCenter | Activates the Resource Center service. |
GetResourceCenterServiceStatus | GetResourceCenterServiceStatus | Queries the status of the Resource Center service. |
DisableResourceCenter | DisableResourceCenter | Deactivates the Resource Center service. |
Search for resources within the same account
API |
Title |
Description |
SearchResources | SearchResources | Search for resources that you can access within the current account. |
GetResourceConfiguration | GetResourceConfiguration | Queries the configurations of a resource within the current account. |
ListTagValues | ListTagValues | Queries the tag values of resources within the current account. |
ListTagKeys | ListTagKeys | Queries the tag keys of resources within the current account. |
ListResourceTypes | ListResourceTypes | Queries the metadata of resource types |
GetResourceCounts | GetResourceCounts | Queries the numbers of resources on which the current account has access permissions. |
Search for resources across accounts
API |
Title |
Description |
EnableMultiAccountResourceCenter | EnableMultiAccountResourceCenter | Enables the cross-account resource search feature by using the management account of a resource directory or a delegated administrator account of Resource Center. |
DisableMultiAccountResourceCenter | DisableMultiAccountResourceCenter | Disables the cross-account resource search feature by using the management account of a resource directory or a delegated administrator account of Resource Center. |
GetMultiAccountResourceCenterServiceStatus | GetMultiAccountResourceCenterServiceStatus | Queries the status of the cross-account resource search feature by using the management account of a resource directory or a delegated administrator account of Resource Center. |
SearchMultiAccountResources | SearchMultiAccountResources | Searches for resources within the management account or members of a resource directory. |
GetMultiAccountResourceConfiguration | GetMultiAccountResourceConfiguration | Queries the configurations of a resource within the management account or a member of a resource directory. |
ListMultiAccountResourceGroups | ListMultiAccountResourceGroups | Queries the resource groups within the management account or a member of a resource directory by using the management account of the resource directory or a delegated administrator account of Resource Center. |
ListMultiAccountTagKeys | ListMultiAccountTagKeys | Queries the tag keys of resources within the management account or a member of your resource directory. |
ListMultiAccountTagValues | ListMultiAccountTagValues | Queries the tag values of resources within the management account or a member of a resource directory by using the management account of the resource directory or a delegated administrator account of Resource Center. |
Query cross-account resource relationships.
API |
Title |
Description |
ListMultiAccountResourceRelationships | ListMultiAccountResourceRelationships | Queries the relationships between resources within the management account or members of your resource directory. |
Advanced search
API |
Title |
Description |
ListExampleQueries | ListExampleQueries | Queries all sample query templates. |
GetExampleQuery | GetExampleQuery | Queries the information about a sample query template. |
CreateSavedQuery | CreateSavedQuery | Creates a custom query template. |
GetSavedQuery | GetSavedQuery | Queries the information about a custom query template. |
ListSavedQueries | ListSavedQueries | Queries all custom query templates. |
UpdateSavedQuery | UpdateSavedQuery | Updates a custom query template. |
DeleteSavedQuery | DeleteSavedQuery | Deletes a custom query template. |
ExecuteSQLQuery | ExecuteSQLQuery | Executes an SQL statement to query the resources that can be accessed within the current account. |
ExecuteMultiAccountSQLQuery | ExecuteMultiAccountSQLQuery | Executes an SQL statement to query resources across accounts. |
Filter
API |
Title |
Description |
CreateFilter | CreateFilter | Creates a filter. |
UpdateFilter | UpdateFilter | Updates a filter. |
ListFilters | ListFilters | Queries a list of filters. |
DeleteFilter | DeleteFilter | Deletes a filter. |
AssociateDefaultFilter | AssociateDefaultFilter | Sets a default filter. |
DisassociateDefaultFilter | DisassociateDefaultFilter | Cancels the default filter. |
Others
API |
Title |
Description |
DeleteDeliveryChannel | DeleteDeliveryChannel | Deletes the resource delivery channel of the current account. |
DeleteMultiAccountDeliveryChannel | DeleteMultiAccountDeliveryChannel | Deletes a cross-account resource delivery channel. |
ListResourceRelationships | ListResourceRelationships | Queries a list of resource relationships on which the current account has access permissions. |