doc-exports/docs/obs/umn/obs_faq_0027.html
zhangyue b55201d729 OBS UMN DOC
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2024-03-18 15:39:30 +00:00

52 lines
3.8 KiB
HTML

<a name="obs_faq_0027"></a><a name="obs_faq_0027"></a>
<h1 class="topictitle1">What Are the Application Scenarios of Lifecycle Management?</h1>
<div id="body8662426"><div class="MsoNormal" id="obs_faq_0027__p8689502">You may configure lifecycle rules to:<ul id="obs_faq_0027__en-us_topic_0045853659_ul394513342347"><li id="obs_faq_0027__en-us_topic_0045853659_li1339895183311">Periodically delete logs that are only meant to be retained for a specific period of time (a week or a month).</li><li id="obs_faq_0027__en-us_topic_0045853659_li1385724115347">Transition documents that are seldom accessed to the Warm or Cold storage class or delete them.</li></ul>
</div>
<p id="obs_faq_0027__p589814414514">If you want to delete a large number of objects from a bucket, you can configure a lifecycle rule to automatically delete the expired objects. <a href="#obs_faq_0027__table115262311380">Table 1</a> lists the parameters for configuring such a lifecycle rule on OBS Console.</p>
<div class="tablenoborder"><a name="obs_faq_0027__table115262311380"></a><a name="table115262311380"></a><table cellpadding="4" cellspacing="0" summary="" id="obs_faq_0027__table115262311380" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters for deletion upon expiration</caption><thead align="left"><tr id="obs_faq_0027__row1153112313387"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.3.1.1"><p id="obs_faq_0027__p41531923183818">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.3.1.2"><p id="obs_faq_0027__p115372393815">Value</p>
</th>
</tr>
</thead>
<tbody><tr id="obs_faq_0027__row1915320235383"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="obs_faq_0027__p2153172303812">Status</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="obs_faq_0027__p1515314236385">Enable</p>
</td>
</tr>
<tr id="obs_faq_0027__row191531623103811"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="obs_faq_0027__p14153122315384">Rule Name</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="obs_faq_0027__p9153162343812">Example: <strong id="obs_faq_0027__b1175142713449">rule-delete</strong></p>
</td>
</tr>
<tr id="obs_faq_0027__row1715382373818"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="obs_faq_0027__p215352318387">Applies To</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="obs_faq_0027__p181533233380">You can apply the deletion rule to the entire bucket or to objects that share the same name prefix in the bucket.</p>
</td>
</tr>
<tr id="obs_faq_0027__row19153192319388"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="obs_faq_0027__p11538237386">Current Version</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="obs_faq_0027__p15153723103812">Expiration Time</p>
<p id="obs_faq_0027__p192911652124011">Days: 1</p>
</td>
</tr>
<tr id="obs_faq_0027__row10153182310387"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="obs_faq_0027__p445763184115">Historical Version</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="obs_faq_0027__p945714344114">Expiration Time</p>
<p id="obs_faq_0027__p6457113154118">Days: 1</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="obs_faq_0027__p024814237378">One day later, objects in the bucket are successfully deleted based on the rule. If you do not need this lifecycle rule, you can disable it or delete it.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_faq_0400.html">How Do I Use Lifecycle Management?</a></div>
</div>
</div>