Integration overview

更新时间:
复制 MD 格式

In addition to the web-based console, ApsaraDB RDS supports programmatic resource management through OpenAPI Explorer, Alibaba Cloud SDK, Terraform, and Resource Orchestration Service (ROS). Choose the method that fits your workflow.

Overview of OpenAPI Explorer

OpenAPI Explorer lets you search, debug, and call API operations of Alibaba Cloud services. It provides intelligent search, documentation, online debugging, SDK download, sample code, error diagnosis, and call statistics. What is an API?

Version description

Alibaba Cloud APIs use version numbers to track releases. The current ApsaraDB RDS API version is 2014-08-15. This is a version identifier, not a date.

Version

Description

2014-08-15

Recommended

Online debugging

Before you call API operations, note the required versions, endpoints, and integration methods.

The debugging page has three areas: a left navigation tree (APIs categorized by function), a center panel for parameter configuration and clicking Send Request, and a right panel with tabs for Documentation, Call Result, SDK Sample, and CLI Sample.

Online debugging page

You can debug the API in OpenAPI Explorer.

Endpoints

Use the endpoint that matches your instance region. For example, the China (Zhangjiakou) region uses public endpoint rds.cn-zhangjiakou.aliyuncs.com and VPC endpoint rds-vpc.cn-zhangjiakou.aliyuncs.com.

  • Public endpoints are accessible globally.

  • VPC endpoints provide the following benefits:

    • High security: Accessible only within a VPC.

    • Fast response: Data travels within the VPC, avoiding public network latency and bandwidth limits.

    • Low cost: Traffic stays on the internal network.

For a complete list of regional endpoints, see Endpoints.

Supported user identities

By default, OpenAPI Explorer uses your Alibaba Cloud account for debugging. Because root accounts have full API permissions, we recommend using a RAM user for API calls and routine O&M. Grant the RAM user the required ApsaraDB RDS permissions before use. Authorize a RAM user to manage ApsaraDB RDS instances.

Identity

Supported

Alibaba Cloud account

Yes

RAM user (recommended)

Yes

RAM role (recommended)

Yes

References

Integration methods

ApsaraDB RDS supports the following integration methods. Choose one based on your requirements.

Calling method

Supported

Alibaba Cloud SDK

Yes

Alibaba Cloud CLI

Yes

ROS

Yes

Terraform

Yes

Custom encapsulation

Yes

Note

SDKs are the most recommended method to call API operations because SDKs can be easily integrated.

Usage notes

If an API call returns an error, verify your input parameters against the error code. Public error codes.

Record the request ID from the response or the error message from the SDK and use Alibaba Cloud OpenAPI Diagnostics for self-service diagnostics.