云数据迁移 CDM-创建连接:响应示例

时间:2024-01-09 16:27:14

响应示例

状态码: 200

OK

{
  "name" : "rdb_link",
  "validation-result" : [ { } ]
}

状态码: 400

请求错误

{
  "code" : "Cdm.0315",
  "errCode" : "Cdm.0315",
  "message" : "Link name [ftp_link] already exist or created by other user.",
  "externalMessage" : "Link name [ftp_link] already exist or created by other user."
}

状态码: 500

服务内部错误,具体返回错误码请参考错误码

{
  "validation-result" : [ {
    "linkConfig" : [ {
      "message" : "Can't connect to the database with given credentials: The authentication type 12 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver.",
      "status" : "ERROR"
    } ]
  } ]
}
support.huaweicloud.com/api-cdm/CreateLink.html