调用 AssociateAllowList 接口绑定白名单。
异步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
InstanceIds | String[] | 是 | ["mysql-668a3c88****"] | 需要绑定白名单的实例 ID。 说明
|
AllowListIds | String[] | 是 | ["acl-c2402ba601374808aeb19d06acc2****","acl-b2a5bf3e471c433096232082c199****"] | 需要绑定实例的白名单 ID。 说明
|
null
POST /?Action=AssociateAllowList&Version=2022-01-01 HTTP/1.1 Accept: application/json Content-Type: application/json Host: rds.volcengineapi.com X-Date: 20211202T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "InstanceIds": [ "mysql-668a3c88****" ], "AllowListIds": [ "acl-63f61303c8ca430ebffb4eccd12d****", "acl-69482646126a48608062962e47c2****" ] }
{ "ResponseMetadata": { "RequestId": "20220916164600010225243081008D****", "Action": "AssociateAllowList", "Version": "2022-01-01", "Service": "rds_mysql", "Region": "cn-beijing" }, "Result": null }
更多详情,请参见错误码。