添加机器(带自动部署)
接口描述
添加机器, 以便选择正常的机器 进行任务调度 或 数据库 信息获取。
接口地址
/cloudcanal/console/api/v1/openapi/worker/createandinstall
请求方式
POST
请求参数
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 |
---|---|---|---|---|
cloudOrIdcName | SELF_MAINTENANCE(自建) ALIBABA_CLOUD(阿里云) | body | 是 | string |
clusterId | 集群 id | body | 是 | long |
region | 集群所在区域 hangzhou shanghai beijing shenzhen qingdao zhangjiakou huhehaote hongkong singapore silicon_valley london mq_internet_access customer | body | 是 | string |
executeTag | 远程执行模式 DEFAULT_REMOTE(默认远程执行) | body | 是 | string |
remoteUser | 机器远程用户名 | body | 否 | string |
remotePassword | 机器远程密码 | body | 否 | string |
remoteIp | 机器 ip | body | 否 | string |