BladePipe 1.5.0 brings Reverse ETL and powerful new features.
Skip to main content

Add Worker

Interface Overview

Provisioning machines for task scheduling or database information retrieval purposes leveraging operational machines.

Interface Address

/cloudcanal/console/api/v1/openapi/worker/createandinstall

Request Manner

POST

Request Parameters

ParameterNameParameter DescriptionRequestTypeWhether RequiredDataType
cloudOrIdcNameSELF_MAINTENANCE
ALIBABA_CLOUD
BodyTrueString
clusterIdCluster idBodyTrueLong
regionThe region where the cluster is located.

hangzhou
shanghai
beijing
shenzhen
qingdao
zhangjiakou
huhehaote
hongkong
singapore
silicon_valley
london
mq_internet_access
customer
BodyTrueString
executeTagRemote execution mode

DEFAULT_REMOTE
BodyTrueString
remoteUserRemote machine usernameBodyFalseString
remotePasswordThe remote machine password.BodyFalseString
remoteIpMachine ipBodyFalseString

Common Response Result.

ParameterNameParameter DescriptionType(Java)NotNull
code1: Success
0: Failure
StringTrue
dataObjectFalse
msgStringFalse
requestIdStringTrue

Response Example

{
"requestId": "89a71b85-2cb7-11ec-a410-1100c6102ca7",
"code": "1",
"msg": "request success",
"data": null
}