全部产品
Search
文档中心

云数据库 RDS:ValidateImportTask - 数据导入任务预检查

更新时间:Aug 27, 2026

RDS MySQL原生复制实例数据导入任务预检查

接口说明

RDS MySQL 原生复制实例数据导入任务预检查

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

GET  HTTP/1.1

请求参数

名称

类型

必填

描述

示例值

RegionId

string

是

地域 ID。可调用 DescribeRegions 获取。

cn-hangzhou

Host

string

是

源端 MySQL 地址

192.168.10.1

Port

integer

是

源端 MySQL 端口号

3306

StreamPort

integer

是

备份传输端口号

9999

User

string

是

源端 MySQL 用户

myadmin

Password

string

是

源端 MySQL 用户密码(Base64 加密)

UGFzc3dvcmQxMjMK

SourcePlatform

string

否

源端类型

  • ECS

ECS

SourceInstanceId

string

否

源端云实例 id

i-wz9ff3acy500io5wdf5s

XtrabackupPath

string

否

源端 Xtrabackup 工具地址

/usr/local/bin/xtrabackup

DbInstanceId

string

是

实例 ID,您可调用 DescribeDBInstances 接口获取该参数的值。

rm-sdfljk123****

EstimatedSize

integer

否

预估实例大小(GB)

100

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

Id of the request

08A3B71B-FE08-4B03-974F-CC7EA6DB1828

TaskId

integer

预检查任务 ID

12345

示例

正常返回示例

JSON格式

{
  "RequestId": "08A3B71B-FE08-4B03-974F-CC7EA6DB1828\t",
  "TaskId": 12345
}

错误码

HTTP status code

错误码

错误信息

描述

400 INVALID_SOURCE_INSTANCE.RDS_CUSTOM Source RdsCustom instance is not valid to import, please check instance attributes. 源端RdsCustom实例无法用于RDS数据导入,请检查实例详细属性。
400 InvalidDBInstanceEngineType.Format the DB instance engine type does not support this operation. DB实例引擎类型不支持此操作。
403 IncorrectDBInstanceType Current DB instance type does not support this operation. 操作失败,该实例状态下不支持此操作。

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。