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/versioning-manage.md
+1-23Lines changed: 1 addition & 23 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: conceptual
10
-
ms.date: 04/07/2020
10
+
ms.date: 04/21/2020
11
11
ms.author: tamram
12
12
ms.subservice: blobs
13
13
---
@@ -24,28 +24,6 @@ You can enable or disable blob versioning (preview) for the storage account at a
24
24
25
25
:::image type="content" source="media/versioning-manage/portal-enable-versioning.png" alt-text="Screenshot showing how to enable blob versioning in Azure portal":::
26
26
27
-
# [PowerShell](#tab/powershell)
28
-
29
-
???preview module info
30
-
31
-
To enable blob versioning with PowerShell, call the [Update-AzStorageBlobServiceProperty](/powershell/module/az.storage/update-azstorageblobserviceproperty) command and specify **$true** for the `-EnableVersioning` parameter.
To enable blob versioning with Azure CLI, call the [az storage account blob-service-properties update](/cli/azure/storage/account/blob-service-properties#az-storage-account-blob-service-properties-update) command.
42
-
43
-
```azurecli
44
-
az storage account blob-service-properties update --resource-group <resource-group> \
45
-
--account-name <storage-account> \
46
-
--enableVersioning true ???
47
-
```
48
-
49
27
# [Template](#tab/template)
50
28
51
29
To enable blob versioning with a template, create a template with the `IsVersioningEnabled` property to **true**. The following steps describe how to create a template in the Azure portal.
0 commit comments