Queries IP address whitelists for a Tair (Redis OSS-compatible) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeSecurityIps |
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. |
EFC9161F-15E3-4A6E-8A99-C09916D1**** |
| SecurityIpGroups |
object |
||
| SecurityIpGroup |
array<object> |
The IP address whitelists. |
|
|
object |
|||
| SecurityIpGroupAttribute |
string |
The whitelist attribute. Empty by default. Note
When the instance is authorized to use services such as Database Autonomy Service (DAS), Data Management (DMS), or Data Transmission Service (DTS), these services automatically generate a hidden whitelist that cannot be modified or deleted. |
hidden |
| SecurityIpList |
string |
The IP addresses in the whitelist. Up to 1,000 IP addresses per whitelist. |
100.100.202.***/24,10.10.10.*** |
| SecurityIpGroupName |
string |
The whitelist name. |
default |
Examples
Success response
JSON format
{
"RequestId": "EFC9161F-15E3-4A6E-8A99-C09916D1****",
"SecurityIpGroups": {
"SecurityIpGroup": [
{
"SecurityIpGroupAttribute": "hidden",
"SecurityIpList": "100.100.202.***/24,10.10.10.***",
"SecurityIpGroupName": "default"
}
]
}
}
Error response
JSON format
{
"SecurityIpGroups":{
"SecurityIpGroup":[{
"SecurityIpList":"127.0.0.1",
"SecurityIpGroupAttribute":"",
"SecurityIpGroupName":"default"
},{
"SecurityIpList":"11.xxx.xxx.xxx,10.xxx.xxx.xxx",
"SecurityIpGroupAttribute":"hidden",
"SecurityIpGroupName":"rds_replica_group"
}]
},
"RequestId":"EFC9161F-15E3-4A6E-8A99-C09916D1F464"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidInstanceId.NotFound | The InstanceId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.