You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/lifecycle-management-overview.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Use Azure Storage lifecycle management policies to create automated
5
5
author: normesta
6
6
7
7
ms.author: normesta
8
-
ms.date: 09/29/2022
8
+
ms.date: 12/21/2022
9
9
ms.service: storage
10
10
ms.subservice: common
11
11
ms.topic: conceptual
@@ -170,9 +170,11 @@ The run conditions are based on age. Current versions use the last modified time
170
170
|--|--|--|
171
171
| daysAfterModificationGreaterThan | Integer value indicating the age in days | The condition for actions on a current version of a blob |
172
172
| daysAfterCreationGreaterThan | Integer value indicating the age in days | The condition for actions on a previous version of a blob or a blob snapshot |
173
-
| daysAfterLastAccessTimeGreaterThan | Integer value indicating the age in days | The condition for a current version of a blob when access tracking is enabled |
173
+
| daysAfterLastAccessTimeGreaterThan<sup>1</sup>| Integer value indicating the age in days | The condition for a current version of a blob when access tracking is enabled |
174
174
| daysAfterLastTierChangeGreaterThan | Integer value indicating the age in days after last blob tier change time | This condition applies only to `tierToArchive` actions and can be used only with the `daysAfterModificationGreaterThan` condition. |
175
175
176
+
<sup>1</sup> If [last access time tracking](#move-data-based-on-last-accessed-time) is not enabled for a blob, **daysAfterLastAccessTimeGreaterThan** uses the date the lifecycle policy was enabled instead of the `LastAccessTime` property of the blob.
177
+
176
178
## Examples of lifecycle policies
177
179
178
180
The following examples demonstrate how to address common scenarios with lifecycle policy rules.
@@ -213,6 +215,8 @@ When last access time tracking is enabled, the blob property called `LastAccessT
213
215
214
216
To minimize the effect on read access latency, only the first read of the last 24 hours updates the last access time. Subsequent reads in the same 24-hour period don't update the last access time. If a blob is modified between reads, the last access time is the more recent of the two values.
215
217
218
+
If last access time tracking is enabled for a blob, lifecycle management uses `LastAccessTime` to determine whether the run condition **daysAfterLastAccessTimeGreaterThan** is met. If last access time tracking is not enabled, it uses the date the lifecycle policy was enabled instead of `LastAccessTime`.
219
+
216
220
In the following example, blobs are moved to cool storage if they haven't been accessed for 30 days. The `enableAutoTierToHotFromCool` property is a Boolean value that indicates whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
0 commit comments