Queries the SQL audit information of a DRDS instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:DescribeDrdsSqlAuditStatus |
get |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The DRDS instance ID. |
drds************ |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request is successful. |
true |
| RequestId |
string |
The ID of the request. |
DC3ABA3E-0F8A-4596-9104-F5155C****** |
| Data |
object |
||
| Data |
array<object> |
The result set. |
|
|
object |
|||
| ExtraSlsLogStore |
string |
The SLS Logstore for external delivery. Note
This parameter is displayed only when external delivery is enabled. |
test |
| DbName |
string |
The name of the database. |
test |
| Detailed |
string |
Indicates whether complete reports are supported. Valid values: true and false. |
true |
| ExtraWriteEnabled |
boolean |
Indicates whether external delivery is enabled. Valid values: true and false. |
false |
| Enabled |
string |
Indicates whether it is available. Valid values: true and false. |
true |
| ExtraAliUid |
integer |
The UID for external delivery. Note
This parameter is displayed only when external delivery is enabled. |
111 |
| ExtraSlsProject |
string |
The SLS project for external delivery. Note
This parameter is displayed only when external delivery is enabled. |
test |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "DC3ABA3E-0F8A-4596-9104-F5155C******",
"Data": {
"Data": [
{
"ExtraSlsLogStore": "test",
"DbName": "test",
"Detailed": "true",
"ExtraWriteEnabled": false,
"Enabled": "true",
"ExtraAliUid": 111,
"ExtraSlsProject": "test"
}
]
}
}
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.