数据复制服务 DRS-修改连接:请求示例

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

请求示例

修改指定连接示例。

https://{endpoint}/v5/5237e10fe9aa4ad5b16b6a5245248314/connections/835e1d79-24ac-411d-a1c8-22c000280659

{
  "name" : "DRS-mysql-newName",
  "type" : "mysql",
  "description" : "description-new",
  "endpoint" : {
    "endpoint_name" : "mysql",
    "ip" : "127.0.0.1",
    "db_port" : "3306",
    "db_user" : "root",
    "db_password" : "password"
  },
  "vpc" : { },
  "ssl" : {
    "ssl_link" : false
  },
  "enterprise_project_id" : "0"
}
support.huaweicloud.com/api-drs/drs_03_0269.html