Tests the network connectivity between a data source and a resource group.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | long | Yes | The ID of the DataWorks workspace to which the data sources belong. You can call the ListProjects operation to query the ID of the workspace. | 10000 |
DatasourceName | string | Yes | The name of the data source. | mysql_name |
EnvType | string | Yes | The environment in which the data source resides. Valid values:
| 1 |
ResourceGroup | string | Yes | The identifier of the resource group. You can call the ListResourceGroups operation to query the identifier of the resource group. | S_res_group_2XXXX4_1619100XXXXX |
Response parameters
Examples
Sample success responses
JSON
format
{
"Success": true,
"RequestId": "0000-ABCD-EFG\t",
"TaskList": {
"ConnectMessage": "",
"ConnectStatus": true
}
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | Invalid.DI.Parameter | The parameter is invalid. |
403 | Forbidden.DI.NoPrivilege | No access. |
500 | InternalError.DI.Parameter | A DI internal error occurred. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history