数据复制服务 DRS-查询连接列表:响应示例

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

响应示例

状态码: 200

OK

{
  "connections" : [ {
    "name" : "DRS-mysql",
    "type" : "mysql",
    "endpoint" : {
      "endpoint_name" : "mysql",
      "ip" : "127.0.0.1",
      "db_port" : "3306",
      "db_user" : "root"
    },
    "description" : "description",
    "connection_id" : "835e1d79-24ac-411d-a1c8-22c000280659",
    "ssl" : {
      "ssl_link" : false
    },
    "create_time" : 1716879012121,
    "enterprise_project_id" : "0"
  } ],
  "count" : 1
}

状态码: 400

Bad Request

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