CheckInstanceDatasource
Tests connectivity to a data source.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
featurestore:CheckInstanceDatasource |
none |
*All Resource
|
None | None |
Request syntax
POST /api/v1/instances/{InstanceId}/action/checkdatasource HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. You can get it from the ListInstances API. |
fs-cn-******** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| Type |
string |
Yes |
The data source type.
|
Hologres |
| Uri |
string |
Yes |
The resource URI. |
igraph1 |
| Config |
string |
No |
The resource configuration. |
{"address": ""} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
C03B2680-AC9C-59CD-93C5-8142B92537FA |
| Status |
string |
The resource check status.
|
Success |
Examples
Success response
JSON format
{
"RequestId": "C03B2680-AC9C-59CD-93C5-8142B92537FA",
"Status": "Success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.