Modifies the retention period of user logs.
Operation description
QPS limit
The queries per second (QPS) limit for this operation is 10 per user. Calls that exceed this limit are rate-limited, which may affect your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:ModifyUserSlsLogStorageTime |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
vipcloudfw-cn-uqm3fz**** |
| StorageTime |
integer |
Yes |
The retention period, in days. |
180 |
| LogVersion |
integer |
No |
The log version. Valid values:
|
1 |
| SlsRegionId |
string |
No |
The region ID of Log Service (SLS). |
ap-southeast-1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
337A4DBA-8A01-5E9C-99CA-84293E13**** |
Examples
Success response
JSON format
{
"RequestId": "337A4DBA-8A01-5E9C-99CA-84293E13****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.