You need to enable JavaScript to run this app.
导航

DescribeAllowListDetail

最近更新时间2023.08.07 18:52:29

首次发布时间2022.04.12 11:06:53

调用 DescribeAllowListDetail 接口查询目标白名单组的详细信息,包括 IP 地址和绑定的实例详情。

请求类型

同步请求。

请求参数

名称类型是否必选示例值描述

AllowListId

String

acl-b2a5bf3e471c433096232082c199****

白名单 ID。

说明

您可以调用 DescribeAllowLists 接口查询指定地域下所有的白名单列表信息,包括白名单 ID。

返回数据

名称类型示例值描述
AllowListString10.1.***.***,10.2.***.***/24白名单内的 IP 地址列表。
AllowListDescStringtest白名单的备注。
AllowListIdStringacl-d1fd76693bd54e658912e7337d5b****白名单 ID。
AllowListNameStringtest白名单名称。
AllowListTypeStringIPv4白名单内的 IP 地址类型。当前仅支持 IPv4 地址。
AssociatedInstancesArray of AssociatedInstanceObject{
"InstanceId": "mongo-replica-e405f8e2****",
"InstanceName": "test",
"VPC": "vpc-3tgjebmlgq4e8i4m****"
}
已绑定当前白名单的实例信息。关于 AssociatedInstances 的更多信息,请参见数据结构

请求示例

POST https://mongodb.volcengineapi.com/?Action=DescribeAllowListDetail&Version=2022-01-01 HTTP/1.1
Host: mongodb.volcengineapi.com
Content-Type: application/json; charset=utf-8
X-Date: 20201103T104027Z
Authorization: HMAC-SHA256 Credential=AK****/20201103/cn-beijing/mongodb/request,SignedHeaders=content-type;host;x-date,Signature=****
{
    "AllowListId":"acl-04908986ad034ac0ba1fb1e3a754****"
}

返回示例

正常返回示例

{
    "ResponseMetadata": {
        "RequestId": "202203161507260102252431180088****",
        "Action": "DescribeAllowListDetail",
        "Version": "2022-01-01",
        "Service": "mongodb",
        "Region": "cn-beijing"
    },
    "Result": {
         "AllowList": "10.1.***.***,10.2.***.***/24",
         "AllowListDesc": "test",
         "AllowListId": "acl-d1fd76693bd54e658912e7337d5b****",
         "AllowListName": "test",
         "AllowListType": "IPv4",
         "AssociatedInstances": [
             {
                 "InstanceId": "mongo-replica-e405f8e2****",
                 "InstanceName": "test",
                 "VPC": "vpc-3tgjebmlgq4e8i4m****"
             }
         ]
    }
}