Checks the connectivity between the client IP address and the instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeDbInstanceConnectivity |
get |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The ID of the instance. |
r-bp1r36hdqlrgt1**** |
| SrcIp |
string |
Yes |
The IP address of the client. |
124.207.240.*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
2BE6E619-A657-42E3-AD2D-18F8428A**** |
| ConnCheckResult |
string |
The connection check result. Valid values:
|
Failed |
| ConnCheckErrorCode |
string |
The error code for connection diagnosis. Valid values:
|
SRC_IP_NOT_IN_USER_WHITELIST |
| ConnCheckErrorMessage |
string |
The error message for connection diagnosis. |
Src ip:172.28.134.96 not in user whitelist |
Examples
Success response
JSON format
{
"RequestId": "2BE6E619-A657-42E3-AD2D-18F8428A****",
"ConnCheckResult": "Failed",
"ConnCheckErrorCode": "SRC_IP_NOT_IN_USER_WHITELIST",
"ConnCheckErrorMessage": "Src ip:172.28.134.96 not in user whitelist"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.