查询MongoDB实例的IP白名单。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
dds:DescribeSecurityIps |
get |
*Instance
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DBInstanceId |
string |
是 |
实例 ID。 |
dds-bpxxxxxxxx |
| ShowHDMIps |
boolean |
否 |
是否展示 DAS 白名单信息。 枚举值:
|
true |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| SecurityIps |
string |
默认分组中包含的 IP 白名单。 |
47.xxx.xxx.xx,100.xxx.xxx.0/24 |
| RequestId |
string |
请求 ID。 |
FC724D23-2962-479E-ABB1-606C935AE7FD |
| SecurityIpGroups |
object |
||
| SecurityIpGroup |
array<object> |
IP 白名单分组列表。 |
|
|
object |
|||
| SecurityIpGroupName |
string |
分组名。 |
default |
| SecurityIpGroupAttribute |
string |
IP 白名单分组属性,默认为空。 |
hidden |
| SecurityIpList |
string |
分组中包含的 IP 白名单列表。 |
47.xxx.xxx.xx,100.xxx.xxx.0/24 |
示例
正常返回示例
JSON格式
{
"SecurityIps": "47.xxx.xxx.xx,100.xxx.xxx.0/24",
"RequestId": "FC724D23-2962-479E-ABB1-606C935AE7FD",
"SecurityIpGroups": {
"SecurityIpGroup": [
{
"SecurityIpGroupName": "default",
"SecurityIpGroupAttribute": " hidden",
"SecurityIpList": "47.xxx.xxx.xx,100.xxx.xxx.0/24"
}
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidDBInstance.Malformed | Too many instance ids or instance id format is invalid. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。