Modifies the whitelist of a memory engine.
Operation description
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| DBInstanceName |
string |
Yes |
The instance ID. |
pxc-********* |
| SecurityIPList |
string |
Yes |
The IP addresses in the whitelist group. Separate multiple IP addresses with commas (,). |
127.0.0.1,192.168.0.0 |
| GroupName |
string |
No |
The name of the whitelist group of the instance. |
default |
| ModifyMode |
string |
No |
The modification mode of the whitelist. Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B87E2AB3-B7C9-4394-9160-7F639F732031 |
| Data |
object |
The data structure. |
|
| TaskId |
integer |
The task ID. |
2209883 |
| AccessDeniedDetail |
object |
The details about the access denial. |
|
| AuthAction |
string |
The API operation name. |
xxx |
| AuthPrincipalType |
string |
The type of identity used for authentication in the request. Valid values:
|
222 |
| AuthPrincipalOwnerId |
string |
The ID of the Alibaba Cloud account to which the identity used for authentication belongs. |
111 |
| AuthPrincipalDisplayName |
string |
The identity used for authentication in the request. |
xxx |
| PolicyType |
string |
The policy type. |
PRIORITY |
| NoPermissionType |
string |
The type of the permission denial. Valid values:
|
ImplicitDeny |
| EncodedDiagnosticMessage |
string |
The encrypted complete diagnostic information. |
AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg== |
Examples
Success response
JSON format
{
"RequestId": "B87E2AB3-B7C9-4394-9160-7F639F732031",
"Data": {
"TaskId": 2209883
},
"AccessDeniedDetail": {
"AuthAction": "xxx",
"AuthPrincipalType": "222",
"AuthPrincipalOwnerId": "111",
"AuthPrincipalDisplayName": "xxx",
"PolicyType": "PRIORITY",
"NoPermissionType": "ImplicitDeny",
"EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg=="
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.