API overview
API standards and multilingual preset SDKs
The OpenAPI of this product (BDRC/2023-08-08) uses the ROA 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 category management
|
API |
Title |
Description |
| DeleteResourceCategory | Delete a resource category | Deletes a resource category. |
| UpdateResourceCategory | Update resource categorization | Updates a resource categorization. |
| ListResourceCategories | Get resource category list | Retrieves the list of resource categories. |
| GetResourceCategory | Retrieve a single resource category | Retrieves a single resource category. |
| CreateResourceCategory | Create a resource category | Creates a resource category. |
Message center
|
API |
Title |
Description |
| ListMessages | List messages in batches | Queries messages in batches. |
| GetMessage | Retrieve a single message | Retrieves a single message. |
Protection policy center
|
API |
Title |
Description |
| ListProtectionPolicyApplications | Retrieve protection policy application history | Retrieves the application history of a protection policy. |
| UpdateProtectionPolicy | Update a protection policy | Updates a protection policy. |
| ListProtectionPolicies | Retrieve protection policy list | Retrieves a list of protection policies. |
| GetProtectionPolicy | Retrieve a protection policy | Retrieves a protection policy. |
| DeleteProtectionPolicy | Delete a protection policy | Deletes a protection policy. |
| CreateProtectionPolicy | Create a protection policy | Creates a protection policy. |
Resource center
|
API |
Title |
Description |
| UpdateResources | Update resources | Updates the resources. After you call this operation, an asynchronous task is triggered to update your resources and data protection score. |
| EnableCheckResource | Enable data protection score for a resource | Enables the data protection score for a single resource. |
| EnableCheckProduct | Enable data protection scoring for an Alibaba Cloud service | Enables the data protection scoring for an Alibaba Cloud service. |
| DisableCheckResource | Disable data protection scoring for a resource | Disables the data protection scoring for a resource. |
| DisableCheckProduct | Disable data protection scoring for a cloud service | Disables the data protection scoring for a cloud service. |
| CheckRules | Check data protection scoring rules | Checks data protection scoring rules. Calling this operation triggers an asynchronous task to check whether your resources meet the requirements of data protection scoring. |
| DescribeRules | Query data protection scoring rules | Queries a list of data protection rules. |
| DescribeCheckDetails | Query data protection rule check results | Queries the check results of data protection rules. |
| DescribeResources | Query resource list | Queries a list of resources. |
| DescribeProducts | Query cloud service protection scores | Queries the data protection score status of cloud services. |
| DescribeTopRiskyResources | Query resources with the highest risks | Queries the list of resources with the most risks. |
| DescribeProductDataRedundancyTypeStat | Query data redundancy type statistics information | Queries statistics information on data redundancy types for cloud services. |
Cross-account unified management
|
API |
Title |
Description |
| ListCrossAccounts | List cross-account management relationships | Queries cross-account management relationships. |
| UpdateCrossAccounts | Update cross-account management relationships | Incrementally updates cross-account management relationships. Only BDRC delegated administrators can call this operation. |
| EnableCrossAccountManagement | Enable cross-account management | Enables cross-account management. Only a BDRC delegated administrator can call this operation. This operation starts the trusted service on the resource directory side. |
Others
|
API |
Title |
Description |
| PrecheckResourceCount | Pre-check resource count | Performs a dry run on the resource count. |
| CloseBdrcService | Close the data disaster recovery center | Closes the data disaster recovery center. |
| DescribeRegions | Query region list | Queries the list of regions. BDRC is a centralized service. This operation is used for features that are related to specific regions. |
| DescribeTask | Query an asynchronous task | Queries the details of an asynchronous task. |
| DescribeTasks | Query asynchronous task list | Queries the list of asynchronous tasks. |
| GetBdrcService | Query data disaster recovery center status | Queries the status of the Data Disaster Recovery center. |
| OpenBdrcService | Enable the data disaster recovery center | Enables the data disaster recovery center. |