Queries information about a Logstore, including total capacity, storage duration, and used capacity.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeSlsLogStore |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the Web Application Firewall (WAF) instance. Note
You can call DescribeInstance to query the ID of the current WAF instance. |
waf_v3prepaid_public_cn-zpr3d****0o |
| RegionId |
string |
No |
The region in which the WAF instance is deployed. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-aek2wf3mn****vq |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| LogStoreName |
string |
The name of the Logstore. |
wafng-logstore |
| RequestId |
string |
The request |
CAC0A24B-486A-5E12-9894-BE860E5F41CC |
| Quota |
integer |
The capacity of the Logstore. Unit: bytes. |
3298534883328 |
| ProjectName |
string |
The name of the Simple Log Service project. |
wafng-project-14316572********-cn-hangzhou |
| Used |
integer |
The used capacity of the Logstore. Unit: bytes. |
35471136 |
| Ttl |
integer |
The log retention period. Unit: days. |
180 |
Examples
Success response
JSON format
{
"LogStoreName": "wafng-logstore",
"RequestId": "CAC0A24B-486A-5E12-9894-BE860E5F41CC",
"Quota": 3298534883328,
"ProjectName": "wafng-project-14316572********-cn-hangzhou",
"Used": 35471136,
"Ttl": 180
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.