doc-exports/docs/obs/umn/obs_faq_0027.html
Jawei, Li 43ab92496d OBS UMN 2.0.38.SP5
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Jawei, Li <lijiawei5@huawei.com>
Co-committed-by: Jawei, Li <lijiawei5@huawei.com>
2022-11-07 09:41:09 +00:00

52 lines
4.2 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">Lifecycle management applies to the following scenarios:<ul id="obs_faq_0027__en-us_topic_0045853659_ul394513342347"><li id="obs_faq_0027__en-us_topic_0045853659_li1339895183311">Some periodically uploaded files need only to be retained for one week or one month, and can be deleted once they have expired.</li><li id="obs_faq_0027__en-us_topic_0045853659_li1385724115347">Documents are seldom accessed after a certain period of time. These files need to be transitioned to <strong id="obs_faq_0027__en-us_topic_0045853659_b426844005162114">Warm</strong> or <strong id="obs_faq_0027__en-us_topic_0045853659_b794708140162114">Cold</strong> storage or be deleted.</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 implement automatic deletion upon expiration or schedule the time for automatic deletion. On the <strong id="obs_faq_0027__b10264174474218">Lifecycle Rule</strong> page, create rules and configure parameters by referring to <a href="#obs_faq_0027__table115262311380">Table 1</a>:</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>