调用 AssociateAllowList 接口绑定白名单。
异步请求。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
InstanceIds | Array of String | 是 | ["mysql-668a3c88****"] | 需要绑定白名单的实例 ID。 说明
|
AllowListIds | Array of 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: 20180614T114308Z Authorization: HMAC-SHA256 Credential=AKIAIAGMBG4SXSQQ****/20180614/cn-beijing/rds_mysql/request, SignedHeaders=accept;content-type;host;x-date, Signature=6a593bf5f59e7c1109fb205c739d1cff4c672fe2d251963f4d48c8701d16**** { "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 }
更多详情,请参见错误码。