Modifies the full log storage duration for Anti-DDoS Pro or Anti-DDoS Premium.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyFullLogTtl |
The operation that you want to perform. Set the value to ModifyFullLogTtl. |
Ttl | Integer | Yes | 30 |
The log storage duration of a website. Valid values: 30 to 180. Unit: days. |
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 |
---|---|---|---|
RequestId | String | 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ModifyFullLogTtl
&Ttl=30
&<Common request parameters>
Sample success responses
XML
format
<ModifyFullLogTtlResponse>
<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>
</ModifyFullLogTtlResponse>
JSON
format
{
"RequestId": "0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc"
}
Error codes
For a list of error codes, visit the API Error Center.