You can configure a lifecycle management rule for a bucket, and applicable objects in the bucket will be managed by the rule.
Select Enable to enable the lifecycle rule.
It identifies a lifecycle rule. A rule name can contain a maximum of 255 characters.
Current Version or Historical Version:
The object update time refers to when common objects were uploaded or when historical objects became historical.
On January 10, 2015, you set the objects prefixed with log to expire one day later. You might encounter the following situations:
On the day of operation, you can set the objects with the name prefix log to be transitioned to Warm 30 days later, transitioned to Cold 60 days later, and deleted 100 days later, then OBS will transition log/clientlog.log, log/serverlog.log, log/test1.log, and log/test2.log to Warm when their storage duration exceeds 30 days, transition them to Cold when their storage duration exceeds 60 days, and delete them when their storage duration exceeds 100 days, respectively.
In theory, it takes 24 hours at most to execute a lifecycle rule. After an object is updated, OBS calculates its lifecycle from the next 00:00 (UTC time), so there may be a delay of up to 48 hours in transitioning objects between storage classes or deleting expired objects. If you make changes to an existing lifecycle rule, the rule will take effect again.