Modifies the IP address whitelist and security group configuration for a PolarDB application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyApplicationWhitelist |
none |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The application ID. |
pa-************** |
| ComponentId |
string |
No |
The ID of the application subcomponent. If you specify this parameter, the whitelist modification takes effect only for this subcomponent. |
pac-******************* |
| SecurityIPList |
string |
No |
The IP addresses for the whitelist. Separate multiple IP addresses with commas. |
127.0.0.1,172.17.0.0/24 |
| SecurityIPArrayName |
string |
No |
The name of the IP address group. The default value is |
default |
| SecurityGroups |
string |
No |
The list of security group IDs. Separate multiple IDs with commas. |
sg-************** |
| ModifyMode |
string |
No |
The method to modify the whitelist. Valid values:
|
Append |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF |
| ApplicationId |
string |
The application ID. |
pa-************** |
| ComponentId |
string |
The ID of the application subcomponent. |
pac-************** |
Examples
Success response
JSON format
{
"RequestId": "3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF",
"ApplicationId": "pa-**************",
"ComponentId": "pac-**************"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.