最近更新时间:2022.11.25 21:46:19
首次发布时间:2022.09.22 21:18:51
调用 DescribeAllowLists 接口获取白名单列表。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
RegionId | String | 是 | cn-beijing | 地域 ID。 说明 您可以调用 ListRegions 接口查询可创建 MySQL 实例的地域信息,包括地域 ID。 |
InstanceId | String | 否 | rds-mysql-h441603c68aaa**** | 实例 ID。 说明 您可以调用 DescribeDBInstances 接口查询目标地域下所有 MySQL 实例的基本信息,包括实例 ID。 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
AllowLists | Array of AllowListObject | [ { "AllowListDesc": "test", "AllowListId": "acl-d1fd76693bd54e658912e7337d5b****", "AllowListName": "test", "AllowListIPNum": 2, "AllowListType": "IPv4", "AssociatedInstanceNum": 1, } ] | 白名单信息列表。关于 AllowLists 的详细说明,请参见数据结构。 |
POST /?Action=DescribeAllowLists&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**** {"RegionId":"cn-beijing","InstanceId": "rds-mysql-h441603c68aaa****"}
正常返回示例
{ "ResponseMetadata": { "RequestId": "20220916143231010225099008069A****", "Action": "DescribeAllowLists", "Version": "2018-01-01", "Service": "rds_mysql", "Region": "cn-beijing" }, "Result": { AllowLists": [ { "AllowListDesc": "test", "AllowListId": "acl-d1fd76693bd54e658912e7337d5b****", "AllowListName": "test", "AllowListIPNum": 2, "AllowListType": "IPv4", "AssociatedInstanceNum": 1, } ] } }