Queries the purchased log storage capacity.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeLogstoreStorage

The operation that you want to perform.

Set the value to DescribeLogstoreStorage.

Lang String No zh

The natural language of the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
From String No sas

The ID of the request source. Set the value to sas.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
Logstore String sas-log

The name of the dedicated Logstore that is used to store full logs of Security Center. The value is fixed as sas-log.

Preserve Long 12240

The purchased log storage capacity, in GB.

RequestId String 25EC270F-5783-4416-AD7C-1EDF063A039C

The ID of the request.

Ttl Integer 180

The number of days during which logs can be retained. The value is fixed as 180, which indicates that logs can be retained for 180 days.

Note You are not allowed to change the value of this parameter.
Used Long 335

The used log storage capacity, in GB.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.