数据复制服务 DRS-创建连接:响应示例

时间:2024-10-23 16:04:35

响应示例

状态码: 200

OK

{
  "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"
}

状态码: 400

Bad Request

{
  "error_code" : "DRS.10010065",
  "error_msg" : "Connection manager name is already exists."
}
support.huaweicloud.com/api-drs/drs_03_0267.html