最近更新时间:2023.11.21 20:54:02
首次发布时间:2023.02.02 17:41:21
调用 DescribeAllowListDetail 接口查看白名单详情。
同步请求。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
AllowListId | String | 是 | acl-b2a5bf3e471c433096232082c199**** | 白名单 ID。 说明 您可以调用 DescribeAllowLists 接口查询指定地域下所有的白名单列表信息,包括白名单 ID。 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
AllowList | String | 10.1.***.***,10.2.***.***/24 | 白名单内的 IP 地址列表。 |
AllowListDesc | String | test | 白名单的备注。 |
AllowListId | String | acl-d1fd76693bd54e658912e7337d5b**** | 白名单 ID 。 |
AllowListName | String | test | 白名单名称。 |
AllowListType | String | IPv4 | 白名单内的 IP 地址类型。当前仅支持 IPv4 地址。 |
AssociatedInstances | Array of AssociatedInstanceObject | [{ "InstanceId": "rds-mysql-h441603c68aaa****", "InstanceName": "test", "VPC": "vpc-3tgjebmlgq4e8i4m****" }] | 已绑定当前白名单的实例信息。关于 AssociatedInstances 的更多信息,请参见数据结构。 |
POST /?Action=DescribeAllowListDetail&Version=2022-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": "2022-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****" } ] } }
更多详情,请参见错误码。