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

DescribeAllowListDetail

最近更新时间2024.04.28 11:36:22

首次发布时间2024.04.28 11:36:22

调用 DescribeAllowListDetail 接口查看白名单详情。

请求类型

同步接口。

请求参数

参数类型是否必填示例描述

AllowListId

String

acl-fe1339b0024e42ca9872e8f4af12****

白名单的 ID。

返回参数

参数类型示例描述

AllowListId

String

acl-fe1339b0024e42ca9872e8f4af12****

白名单的 ID。

AllowListNameString测试白名单白名单的名称。
AllowListDescString这是一段白名单的描述信息。白名单的描述信息。

AllowListType

String

IPv4

白名单采用的网络协议类型。取值为 IPv4

AllowListString10.1.1.1,10.2.2.0/24,...白名单中的 IP 地址或 IP地址段列表。

AssociatedInstances

Array of AssociatedInstanceObject

请参见返回示例。

该白名单绑定的实例列表,包含实例 ID 和实例名称信息。

请求示例

POST /?Action=DescribeAllowListDetail&Version=2022-01-01 HTTP/1.1
Content-Type: application/json
Host: rds.volcengineapi.com
X-Date: 20231002T101010Z
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-guangzhou/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****
{
    "AllowListId":"acl-fe1339b0024e42ca9872e8f4af12****"
}

返回示例

正常返回示例

{
    "ResponseMetadata": {
        "RequestId": "20240423185908B7E7885A2E3082EC4B98-8b4aac",
        "Action": "DescribeAllowListDetail",
        "Version": "2022-01-01",
        "Service": "rds_postgresql",
        "Region": "cn-guangzhou"
    },
    "Result": {
        "AllowList": "0.0.0.0/0,127.0.0.1/32",
        "AllowListDesc": "postgres-4b38053d****的白名单",
        "AllowListId": "acl-fe1339b0024e42ca9872e8f4af12****",
        "AllowListName": "postgres-4b38053d****的白名单",
        "AllowListType": "IPv4",
        "AssociatedInstances": [
            {
                "InstanceId": "postgres-4b38053d****",
                "InstanceName": "测试实例",
                "VPC": "vpc-b81xq5qk9wjk28j06k3l****"
            }
        ]
}