查询云数据库 Tair(兼容 Redis)实例的IP白名单。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
kvstore:DescribeSecurityIps |
get |
*DBInstance
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
实例 ID。 |
r-bp1zxszhcgatnx**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
EFC9161F-15E3-4A6E-8A99-C09916D1**** |
| SecurityIpGroups |
object |
||
| SecurityIpGroup |
array<object> |
实例的 IP 白名单分组信息。 |
|
|
object |
实例的 IP 白名单分组信息。 |
||
| SecurityIpGroupAttribute |
string |
IP 白名单分组属性,默认为空。 说明
hidden 分组表示经用户授权后,系统(DAS、DMS、DTS 等)自动生成的白名单分组,此类白名单分组不支持修改、删除操作。 |
hidden |
| SecurityIpList |
string |
IP 白名单分组下的 IP 列表,最多 1000 个。 |
100.100.202.***/24,10.10.10.*** |
| SecurityIpGroupName |
string |
IP 白名单分组的名称。 |
default |
示例
正常返回示例
JSON格式
{
"RequestId": "EFC9161F-15E3-4A6E-8A99-C09916D1****",
"SecurityIpGroups": {
"SecurityIpGroup": [
{
"SecurityIpGroupAttribute": "hidden",
"SecurityIpList": "100.100.202.***/24,10.10.10.***",
"SecurityIpGroupName": "default"
}
]
}
}
异常返回示例
JSON格式
{
"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"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 404 | InvalidInstanceId.NotFound | The InstanceId provided does not exist in our records. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。