You need to enable JavaScript to run this app.
导航
DescribeAllowListDetail
最近更新时间:2025.06.09 17:22:40首次发布时间:2022.11.23 11:57:58
我的收藏
有用
有用
无用
无用

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

请求类型

同步请求。

请求参数

参数类型是否必选示例值描述

AllowListId

String

acl-4a8ade08756c4433801a91e3a2ee****

白名单 ID。

说明

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

返回参数

参数类型示例值描述
AllowListString10.1..,10.2../24白名单内的 IP 地址列表。
AllowListDescStringtest白名单的备注。
AllowListIdStringacl-4a8ade08756c4433801a91e3a2ee****白名单 ID。
AllowListNameStringtest白名单名称。
AllowListTypeStringIPv4白名单内的 IP 地址类型。当前仅支持 IPv4 地址。
AssociatedInstancesArray of AssociatedInstanceInfo请参见返回示例。已绑定当前白名单的实例信息。
AssociatedInstanceNumLong5白名单绑定的实例数量。

AllowListCategory

String

Ordinary

白名单分类。取值:

  • Ordinary:普通白名单。
  • Default:默认白名单。

AssociatedInstanceInfo

参数类型示例值描述
InstanceIdStringhb-cnglb4b26770****已绑定当前白名单的实例 ID。
InstanceNameStringtest已绑定当前白名单的实例名称。
VPCStringvpc-2743n1ihbxla87fap8tap****实例所属的私有网络 ID。
ProjectNameStringdefault白名单所属项目。

示例

请求示例

POST https://hbase.cn-beijing.volcengineapi.com?Action=DescribeAllowListDetail&Version=2018-01-01 HTTP/1.1
Host: hbase.cn-beijing.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": "100.0.0.1",
        "AllowListCategory": "Ordinary",
        "AllowListDesc": "test_list",
        "AllowListId": "acl-4a8ade08756c4433801a91e3a2ee****",
        "AllowListName": "test",
        "AllowListType": "IPv4",
        "AssociatedInstanceNum": 1,
        "AssociatedInstances": [
            {
                "InstanceId": "hb-cnglb4b26770****",
                "InstanceName": "test-api",
                "VPC": "vpc-3ret6bva9k54w5zsk2iku****"
            }
        ]
    }
}