DataSource Deployment
Interface Overview
Obtain the data source deployment method for selection when creating a task.
Interface Address
/cloudcanal/console/api/v1/openapi/constant/datasourcedeploytypes
Request Manner
POST
Request Parameters
None
Public Response Results
ParameterName | Parameter Description | Type(Java) | NotNull |
---|---|---|---|
code | 1: Success 0: Failure | String | True |
data | Object | False | |
msg | String | False | |
requestId | String | True |
Data Parameters
The data is an array, and the parameter descriptions for its elements are as follows:
ParameterName | Parameter Description | Type(Java) | NotNull |
---|---|---|---|
i18nName | Internationalized Name | String | True |
envType | Deployment Type | String | True |
Response Example
{
"requestId": "b2c637e0-2be6-11ec-b616-87a20804d669",
"code": "1",
"msg": "request success",
"data": [
{
"i18nName": "Self built",
"envType": "SELF_MAINTENANCE"
},
{
"i18nName": "ALIBABA CLOUD",
"envType": "ALIBABA_CLOUD_HOSTED"
}
]
}