Calls the ModifyDrdsIpWhiteList operation to modify the IP whitelist of a database.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:ModifyDrdsIpWhiteList |
update |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The instance ID. |
drds****c6vxxyzd |
| DbName |
string |
Yes |
The database name. |
test |
| IpWhiteList |
string |
Yes |
The modified IP whitelist. Separate multiple IP addresses with commas (,). |
127.***.***.***,10.***.***.*** |
| Mode |
boolean |
No |
The modification mode. Valid values:
|
false |
| GroupName |
string |
No |
The whitelist group name. |
drds_****** |
| GroupAttribute |
string |
No |
The description of the whitelist group. |
分组1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the API request is successful. |
true |
| RequestId |
string |
The request ID. |
933A1EC2-8260-4D4F-A56A-73BA27****** |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "933A1EC2-8260-4D4F-A56A-73BA27******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.