数据复制服务 DRS-获取健康对比对象级对比概览:响应示例

时间:2024-10-18 19:41:54

响应示例

状态码: 200

OK

{
  "compare_result" : [ {
    "type" : "DB",
    "status" : 2,
    "source_count" : 1,
    "target_count" : 1
  }, {
    "type" : "INDEX",
    "status" : 2,
    "source_count" : 2,
    "target_count" : 2
  }, {
    "type" : "TABLE",
    "status" : 2,
    "source_count" : 2,
    "target_count" : 2
  }, {
    "type" : "TABLE_COLLATION",
    "status" : 2,
    "source_count" : 2,
    "target_count" : 2
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : "DRS.10000001",
  "error_msg" : "Failed."
}
support.huaweicloud.com/api-drs/drs_03_0261.html