调用 AssociateAllowList 接口绑定白名单。
异步接口。
支持为单个实例绑定多个白名单,也支持将单个白名单绑定到多个实例。不支持在一次操作中为多个实例绑定多个白名单。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
AllowListIds | String[] | 是 | ["acl-2b7d64502b0a4210a24c58e739de****"] | 需绑定实例的白名单的 ID。 |
InstanceIds | String[] | 是 | ["postgres-4b38053d****","postgres-5efe96ae****"] | 需绑定白名单的实例的 ID。 |
null
POST /?Action=AssociateAllowList&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-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "AllowListIds": [ "acl-2b7d64502b0a4210a24c58e739de****" ], "InstanceIds": [ "postgres-4b38053d****", "postgres-5efe96ae****" ] }
{ "ResponseMetadata": { "RequestId": "20240423193611E80D10ED81E54EDE7E89-82c4fa", "Action": "AssociateAllowList", "Version": "2022-01-01", "Service": "rds_postgresql", "Region": "cn-guangzhou" }, "Result": null }