全部產品
Search
文件中心

ApsaraDB RDS:ValidateImportTask - 資料匯入任務預檢查

更新時間:Apr 18, 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. 操作失敗,該執行個體狀態下不支援此操作。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情