Queries the names of the SLS project and Logstore used for SQL audit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:DescribeInstDbSlsInfo |
get |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The instance ID of the DRDS instance. |
drds*********** |
| DbName |
string |
Yes |
The name of the database. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The request ID. |
DC3ABA3E-0F8A-4596-9104-F5155C****** |
| AuditInfo |
object |
The SQL audit details. |
|
| LogStore |
string |
The name of the Logstore. |
test |
| Project |
string |
The name of the SLS project. |
test |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "DC3ABA3E-0F8A-4596-9104-F5155C******",
"AuditInfo": {
"LogStore": "test",
"Project": "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.