API standards and multilingual preset SDKs
The OpenAPI of this product (ResourceCenter/2022-12-01) uses the RPC signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.
Custom signature scenarios
If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.
Account and security preparation
Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.
Resource center management
|
API |
Title |
Description |
| EnableResourceCenter | EnableResourceCenter | Activates the Resource Center service. |
| GetResourceCenterServiceStatus | GetResourceCenterServiceStatus | Queries the status of the Resource Center service. |
Resource search
|
API |
Title |
Description |
| SearchResources | SearchResources | Searches for resources in your current account that you are permitted to access. |
| ListResourceTypes | ListResourceTypes | Queries the metadata of resource types |
| GetResourceCounts | GetResourceCounts | Queries the number of resources in your account that you have permission to access. |
Cross-account resource search
|
API |
Title |
Description |
| SearchMultiAccountResources | SearchMultiAccountResources | Searches for resources in the management account and multiple member accounts 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 of the management account or a member of a resource directory. |
| ListMultiAccountTagKeys | ListMultiAccountTagKeys | Queries the tag keys of resources within the management account or a member of your resource directory. |
| GetMultiAccountResourceCounts | GetMultiAccountResourceCounts | Queries the number of resources within the management account and multiple members of a resource directory. |
Advanced search
|
API |
Title |
Description |
| ListExampleQueries | ListExampleQueries | Queries all sample query templates. |
| 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 conditions
|
API |
Title |
Description |
| CreateDeliveryChannel | CreateDeliveryChannel | Creates a resource delivery channel for the current account. |
| DeleteDeliveryChannel | DeleteDeliveryChannel | Deletes a single-account delivery channel. |
| GetDeliveryChannel | GetDeliveryChannel | Queries the information about a delivery channel within the current account. |
| GetDeliveryChannelStatistics | GetDeliveryChannelStatistics | Queries the statistics of a resource delivery channel in the current account. |
| ListDeliveryChannels | ListDeliveryChannels | Queries a list of delivery channels within the current account. |
| UpdateDeliveryChannel | UpdateDeliveryChannel | Updates a single-account delivery channel. |
Resource delivery
|
API |
Title |
Description |
| CreateMultiAccountDeliveryChannel | CreateMultiAccountDeliveryChannel | Creates a multi-account delivery channel. |
| DeleteMultiAccountDeliveryChannel | DeleteMultiAccountDeliveryChannel | Deletes a multi-account delivery channel. |
| GetMultiAccountDeliveryChannel | GetMultiAccountDeliveryChannel | Queries the details of a cross-account resource delivery channel. |
| GetMultiAccountDeliveryChannelStatistics | GetMultiAccountDeliveryChannelStatistics | Queries the statistics of a multi-account delivery channel. |
| ListMultiAccountDeliveryChannels | ListMultiAccountDeliveryChannels | Queries multi-account delivery channels. |
| UpdateMultiAccountDeliveryChannel | UpdateMultiAccountDeliveryChannel | Updates a multi-account delivery channel. |
Cross-account resource delivery
|
API |
Title |
Description |
| AssociateDefaultFilter | AssociateDefaultFilter | Sets a default filter. |
| BatchGetResourceConfigurations | BatchGetResourceConfigurations | Queries the configurations of multiple resources in your account. |
| CreateFilter | CreateFilter | Creates a filter. |
| DeleteFilter | DeleteFilter | Deletes a filter. |
| 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. |
| DisableResourceCenter | DisableResourceCenter | Deactivates the Resource Center service. |
| DisassociateDefaultFilter | DisassociateDefaultFilter | Cancels the default filter. |
| 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. |
| GetExampleQuery | GetExampleQuery | Queries the information about a sample query template. |
| 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. |
| GetResourceConfiguration | GetResourceConfiguration | Queries the configurations of a resource within the current account. |
| ListFilters | ListFilters | Queries a list of filters. |
| ListMultiAccountResourceRelationships | ListMultiAccountResourceRelationships | Queries the relationships between resources within the management account or members 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. |
| ListResourceRelationships | ListResourceRelationships | Queries a list of resource relationships on which the current account has access permissions. |
| ListTagKeys | ListTagKeys | Queries the tag keys of resources within the current account. |
| ListTagValues | ListTagValues | Queries the tag values of resources within the current account. |
| UpdateFilter | UpdateFilter | Updates a filter. |