Queries virtual IP address (VIP) information for child instances of a cluster instance in direct connection mode.
Operation description
Only instances that use cloud disks support this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeDBNodeDirectVipInfo |
get |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
r-bp1zxszhcgatnx**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
ABAF95F6-35C1-4177-AF3A-70969EBD**** |
| InstanceId |
string |
The instance ID. |
r-bp1zxszhcgatnx**** |
| DirectVipInfo |
object |
||
| VipInfo |
array<object> |
The VIP information of shards in the cluster instance. |
|
|
object |
The VIP information of a shard in the cluster instance. |
||
| NodeId |
string |
The shard ID. |
r-8vb3679b04551444-db-2 |
| Vip |
string |
The VIP of the shard. |
100.115.61.8 |
| Port |
string |
The port number. Valid values: 1024 to 65535. Default value: 6379. |
6379 |
| NetType |
string |
The network type of the security group. Valid values:
|
vpc |
Examples
Success response
JSON format
{
"RequestId": "ABAF95F6-35C1-4177-AF3A-70969EBD****",
"InstanceId": "r-bp1zxszhcgatnx****",
"DirectVipInfo": {
"VipInfo": [
{
"NodeId": "r-8vb3679b04551444-db-2",
"Vip": "100.115.61.8",
"Port": "6379",
"NetType": "vpc"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.