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
+4-2Lines changed: 4 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: tamram
6
6
7
7
ms.author: tamram
8
-
ms.date: 04/18/2022
8
+
ms.date: 05/05/2022
9
9
ms.service: storage
10
10
ms.subservice: common
11
11
ms.topic: conceptual
@@ -150,7 +150,9 @@ Lifecycle management supports tiering and deletion of current versions, previous
150
150
| tierToCool | Supported for `blockBlob`| Supported | Supported |
151
151
| enableAutoTierToHotFromCool | Supported for `blockBlob`| Not supported | Not supported |
152
152
| tierToArchive | Supported for `blockBlob`| Supported | Supported |
153
-
| delete | Supported for `blockBlob` and `appendBlob`| Supported | Supported |
153
+
| delete<sup>1</sup> | Supported for `blockBlob` and `appendBlob`| Supported | Supported |
154
+
155
+
<sup>1</sup> When applied to an account with a hierarchical namespace enabled, a delete action removes empty directories. If the directory is not empty, then the delete action removes objects that meet the policy conditions within the first 24-hour cycle. If that action results in an empty directory that also meets the policy conditions, then that directory will be removed within the next 24-hour cycle, and so on.
154
156
155
157
> [!NOTE]
156
158
> If you define more than one action on the same blob, lifecycle management applies the least expensive action to the blob. For example, action `delete` is cheaper than action `tierToArchive`. Action `tierToArchive` is cheaper than action `tierToCool`.
@@ -21,7 +21,7 @@ This article describes how to configure an object replication policy by using th
21
21
22
22
## Prerequisites
23
23
24
-
Before you configure object replication, create the source and destination storage accounts if they do not already exist. The source and destination accounts can be either general-purpose v2 storage accounts or premium block blob accounts. For more information, see [Create an Azure Storage account](../common/storage-account-create.md).
24
+
Before you configure object replication, create the source and destination storage accounts if they don't already exist. The source and destination accounts can be either general-purpose v2 storage accounts or premium block blob accounts. For more information, see [Create an Azure Storage account](../common/storage-account-create.md).
25
25
26
26
Object replication requires that blob versioning is enabled for both the source and destination account, and that blob change feed is enabled for the source account. To learn more about blob versioning, see [Blob versioning](versioning-overview.md). To learn more about change feed, see [Change feed support in Azure Blob Storage](storage-blob-change-feed.md). Keep in mind that enabling these features can result in additional costs.
27
27
@@ -47,7 +47,7 @@ To create a replication policy in the Azure portal, follow these steps:
47
47
48
48
:::image type="content" source="media/object-replication-configure/configure-replication-policy.png" alt-text="Screenshot showing replication rules in Azure portal":::
49
49
50
-
1. If desired, specify one or more filters to copy only blobs that match a prefix pattern. For example, if you specify a prefix `b`, only blobs whose name begin with that letter are replicated. You can specify a virtual directory as part of the prefix. The prefix string does not support wildcard characters.
50
+
1. If desired, specify one or more filters to copy only blobs that match a prefix pattern. For example, if you specify a prefix `b`, only blobs whose name begin with that letter are replicated. You can specify a virtual directory as part of the prefix. You can add a maximum of up to five prefix matches. The prefix string doesn't support wildcard characters.
51
51
52
52
The following image shows filters that restrict which blobs are copied as part of a replication rule.
@@ -218,7 +218,7 @@ az storage account or-policy show \
218
218
219
219
## Configure object replication using a JSON file
220
220
221
-
If you do not have permissions to the source storage account or if you want to use more than 10 container pairs, then you can configure object replication on the destination account and provide a JSON file that contains the policy definition to another user to create the same policy on the source account. For example, if the source account is in a different Azure AD tenant from the destination account, then you can use this approach to configure object replication.
221
+
If you don't have permissions to the source storage account or if you want to use more than 10 container pairs, then you can configure object replication on the destination account and provide a JSON file that contains the policy definition to another user to create the same policy on the source account. For example, if the source account is in a different Azure AD tenant from the destination account, then you can use this approach to configure object replication.
222
222
223
223
> [!NOTE]
224
224
> Cross-tenant object replication is permitted by default for a storage account. To prevent replication across tenants, you can set the **AllowCrossTenantReplication** property (preview) to disallow cross-tenant object replication for your storage accounts. For more information, see [Prevent object replication across Azure Active Directory tenants](object-replication-prevent-cross-tenant-policies.md).
@@ -252,7 +252,7 @@ You can then download a JSON file containing the policy definition that you can
252
252
253
253
The downloaded JSON file includes the policy ID that Azure Storage created for the policy on the destination account. You must use the same policy ID to configure object replication on the source account.
254
254
255
-
Keep in mind that uploading a JSON file to create a replication policy for the destination account via the Azure portal does not automatically create the same policy in the source account. Another user must create the policy on the source account before Azure Storage begins replicating objects.
255
+
Keep in mind that uploading a JSON file to create a replication policy for the destination account via the Azure portal doesn't automatically create the same policy in the source account. Another user must create the policy on the source account before Azure Storage begins replicating objects.
256
256
257
257
# [PowerShell](#tab/powershell)
258
258
@@ -262,7 +262,7 @@ To download a JSON file that contains the replication policy definition for the
@@ -306,7 +306,7 @@ az storage account or-policy create \
306
306
307
307
## Check the replication status of a blob
308
308
309
-
You can check the replication status for a blob in the source account using the Azure portal, PowerShell, or Azure CLI. Object replication properties are not populated until replication has either completed or failed.
309
+
You can check the replication status for a blob in the source account using the Azure portal, PowerShell, or Azure CLI. Object replication properties aren't populated until replication has either completed or failed.
310
310
311
311
# [Azure portal](#tab/portal)
312
312
@@ -323,7 +323,7 @@ To check the replication status for a blob in the source account in the Azure po
323
323
To check the replication status for a blob in the source account with PowerShell, get the value of the object replication **ReplicationStatus** property, as shown in the following example. Remember to replace values in angle brackets with your own values:
Copy file name to clipboardExpand all lines: articles/storage/blobs/soft-delete-blob-enable.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ author: tamram
7
7
8
8
ms.service: storage
9
9
ms.topic: how-to
10
-
ms.date: 06/29/2021
10
+
ms.date: 05/05/2022
11
11
ms.author: tamram
12
12
ms.subservice: blobs
13
13
ms.custom: devx-track-azurepowershell
@@ -19,7 +19,7 @@ Blob soft delete protects an individual blob and its versions, snapshots, and me
19
19
20
20
Blob soft delete is part of a comprehensive data protection strategy for blob data. To learn more about Microsoft's recommendations for data protection, see [Data protection overview](data-protection-overview.md).
21
21
22
-
Blob soft delete is disabled by default for a new storage account. You can enable or disable soft delete for a storage account at any time by using the Azure portal, PowerShell, or Azure CLI.
22
+
Blob soft delete is enabled by default for a new storage account. You can enable or disable soft delete for a storage account at any time by using the Azure portal, PowerShell, or Azure CLI.
0 commit comments