You can call this operation to modify the database whitelist.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | ModifyDrdsIpWhiteList |
Modifies the database whitelist of an instance. |
| DbName | String | Yes | test |
The name of the DRDS database. |
| DrdsInstanceId | String | Yes | drds****c6vxxyzd |
The ID of the Message Queue for Apache Kafka instance. |
| IpWhiteList | String | Yes | 127. ***. ***.***,10. ***. ***. *** |
The modified whitelist. Separate multiple IP addresses with commas (,). |
| Mode | Boolean | No | false |
Specifies the mode. Valid values:
|
| GroupName | String | No | drds_ ****** |
The name of the IP address whitelist group. |
| GroupAttribute | String | No | Group 1 |
The attribute of the IP address whitelist group. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 933A1EC2-8260-4D4F-A56A-73BA27****** |
The ID of the request. |
| Success | Boolean | true |
Indicates whether the request was successful. |
Examples
Sample requests
http(s)://drds.aliyuncs.com/? Action=ModifyDrdsIpWhiteList
&DbName=test
&DrdsInstanceId=drds****c6vxxyzd
&IpWhiteList=127.***.***.***,10.***.***.***
&<Common request parameters>
Sample success responses
XML format
<RequestId>933A1EC2-8260-4D4F-A56A-73BA27******</RequestId>
<Success>true</Success>
JSON format
{
"RequestId": "933A1EC2-8260-4D4F-A56A-73BA27******",
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.