Queries the whitelist of a memory engine.
Operation description
The SQL audit and analysis feature of PolarDB-X 2.0 is free of charge. However, Log Service charges fees for storage space, read traffic, number of requests, data processing, and data shipping. For more information about the SQL audit feature, see Enable SQL Audit and Analysis.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the instance resides. |
cn-hangzhou |
| DBInstanceName |
string |
Yes |
The name of the instance. |
pxc-htri0****r4k9p |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C458B1E8-1683-3645-B154-6BA32080EEA |
| Data |
object |
The data list. |
|
| Groups |
array<object> |
The groups corresponding to the consumed service. |
|
|
object |
The groups corresponding to the consumed service. |
||
| GroupName |
string |
bigdata |
|
| IpLists |
string |
127.0.0.1 |
|
| GroupTag |
string |
test |
|
| CustinsName |
string |
The name of the memory engine instance. |
pxc-***-mem |
| AccessDeniedDetail |
object |
The details about the access denial. |
|
| AuthAction |
string |
Same as above. |
xxx |
| AuthPrincipalType |
string |
Same as above. |
222 |
| AuthPrincipalOwnerId |
string |
Same as above. |
111 |
| AuthPrincipalDisplayName |
string |
The identity used for authentication in the request. |
xxx |
| PolicyType |
string |
The policy type. |
System |
| NoPermissionType |
string |
The type of no-permission error. |
ImplicitDeny |
| EncodedDiagnosticMessage |
string |
The encoded diagnostic message. |
AQEAAAAAacnceTlBNjlFODgyLTlBMDUtNUUyRC04MzE5LUQwMzZDRjJFQTM3NA== |
Examples
Success response
JSON format
{
"RequestId": "C458B1E8-1683-3645-B154-6BA32080EEA",
"Data": {
"Groups": [
{
"GroupName": "bigdata",
"IpLists": "127.0.0.1",
"GroupTag": "test"
}
],
"CustinsName": "pxc-***-mem"
},
"AccessDeniedDetail": {
"AuthAction": "xxx",
"AuthPrincipalType": "222",
"AuthPrincipalOwnerId": "111",
"AuthPrincipalDisplayName": "xxx",
"PolicyType": "System",
"NoPermissionType": "ImplicitDeny",
"EncodedDiagnosticMessage": "AQEAAAAAacnceTlBNjlFODgyLTlBMDUtNUUyRC04MzE5LUQwMzZDRjJFQTM3NA=="
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.