数据复制服务 DRS-创建连接:请求示例

时间:2024-09-09 14:42:25

请求示例

创建一个MySQL连接示例。

https://{endpoint}/v5/5237e10fe9aa4ad5b16b6a5245248314/connections

{
  "name" : "DRS-mysql",
  "type" : "mysql",
  "description" : "description",
  "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_0267.html