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

DescribeAllowListDetail

最近更新时间2023.02.07 11:12:12

首次发布时间2022.09.22 21:18:51

调用 DescribeAllowListDetail 接口获取白名单详情。

请求参数

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

AllowListId

String

acl-b2a5bf3e471c433096232082c199****

白名单 ID。

说明

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

返回数据

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

请求示例

POST /?Action=DescribeAllowListDetail&Version=2018-01-01 HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: rds.volcengineapi.com
X-Date: 20180614T114308Z
Authorization: HMAC-SHA256 Credential=AKIAIAGMBG4SXSQQ****/20180614/cn-beijing/rds_mysql/request, SignedHeaders=accept;content-type;host;x-date, Signature=6a593bf5f59e7c1109fb205c739d1cff4c672fe2d251963f4d48c8701d16****
{"AllowListId":"acl-04908986ad034ac0ba1fb1e3a754****"}

返回示例

正常返回示例

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