Queries the Logstore information of Anti-DDoS Pro or Anti-DDoS Premium, such as log storage capacity and duration.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeSlsLogstoreInfo |
The operation that you want to perform. Set the value to DescribeSlsLogstoreInfo. |
RegionId | String | No | cn-hangzhou |
The region ID of the instance. Valid values:
|
ResourceGroupId | String | No | default |
The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
LogStore | String | ddoscoo-logstore |
The Logstore of the instance. |
Project | String | ddoscoo-project-181071506993****-cn-hangzhou |
The Log Service project of the instance. |
Quota | Long | 3298534883328 |
The available log storage capacity. Unit: bytes. |
RequestId | String | CF33B4C3-196E-4015-AADD-5CAD00057B80 |
The ID of the request. |
Ttl | Integer | 180 |
The log storage duration. Unit: days. |
Used | Long | 0 |
The used log storage capacity. Unit: bytes. Note The statistics on Log Service are delayed for about two hours.
|
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeSlsLogstoreInfo
&<Common request parameters>
Sample success responses
XML
format
<? xml version="1.0" encoding="UTF-8" ? >
<DescribeSlsLogstoreInfoResponse>
<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</requestId>
<LogStore>ddoscoo-logstore</LogStore>
<Project>ddoscoo-project-181071506993****-cn-hangzhou</Project>
<Quota>3298534883328</Quota>
<Ttl>180</Ttl>
<Used>0</Used>
</DescribeSlsLogstoreInfoResponse>
JSON
format
{
"RequestId": "CF33B4C3-196E-4015-AADD-5CAD00057B80",
"LogStore": "ddoscoo-logstore",
"Project": "ddoscoo-project-181071506993****-cn-hangzhou",
"Quota": 3298534883328,
"Ttl": 180,
"Used": 0
}
Error codes
For a list of error codes, visit the API Error Center.