You need to enable JavaScript to run this app.
导航
DescribeAllowListDetail
最近更新时间:2024.06.25 10:03:51首次发布时间:2022.11.23 11:57:58

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

请求类型

同步请求。

请求参数

参数
类型
是否必选
示例值
描述
AllowListId
String
acl-4a8ade08756c4433801a91e3a2ee****

白名单 ID。

说明

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

返回参数

参数
类型
示例值
描述
AllowList
String
10.1.***.***,10.2.***.***/24
白名单内的 IP 地址列表。
AllowListDesc
String
test
白名单的备注。
AllowListId
String
acl-4a8ade08756c4433801a91e3a2ee****
白名单 ID。
AllowListName
String
test
白名单名称。
AllowListType
String
IPv4
白名单内的 IP 地址类型。当前仅支持 IPv4 地址。
AssociatedInstances
Object[]
已绑定当前白名单的实例信息。

示例

请求示例

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

返回示例

{
    "ResponseMetadata": {
        "RequestId": "2022111021572201017424420901C4****",
        "Action": "DescribeAllowListDetail",
        "Version": "2018-01-01",
        "Service": "hbase",
        "Region": "cn-beijing"
    },
    "Result": {
        "AllowList": "0.0.0.0/0,100.0.0.1",
        "AllowListDesc": "test_list",
        "AllowListId": "acl-4a8ade08756c4433801a91e3a2ee****",
        "AllowListName": "test",
        "AllowListType": "IPv4",
        "AssociatedInstances": [
            {
                "InstanceId": "hb-cnglb4b26770****",
                "InstanceName": "test-api",
                "VPC": "vpc-3ret6bva9k54w5zsk2iku****"
            }
        ]
    }
}