Skip to content

Commit 3727a49

Browse files
committed
remove PS/CLI for enabling versioning
1 parent 083dec7 commit 3727a49

File tree

2 files changed

+3
-25
lines changed

2 files changed

+3
-25
lines changed

articles/storage/blobs/versioning-manage.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: tamram
77

88
ms.service: storage
99
ms.topic: conceptual
10-
ms.date: 04/07/2020
10+
ms.date: 04/21/2020
1111
ms.author: tamram
1212
ms.subservice: blobs
1313
---
@@ -24,28 +24,6 @@ You can enable or disable blob versioning (preview) for the storage account at a
2424

2525
:::image type="content" source="media/versioning-manage/portal-enable-versioning.png" alt-text="Screenshot showing how to enable blob versioning in Azure portal":::
2626

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.
32-
33-
```powershell
34-
Update-AzStorageBlobServiceProperty -ResourceGroupName <resource-group> `
35-
-StorageAccountName <storage-account> `
36-
-EnableVersioning $true
37-
```
38-
39-
# [Azure CLI](#tab/azure-cli)
40-
41-
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-
4927
# [Template](#tab/template)
5028

5129
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.

articles/storage/blobs/versioning-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: tamram
77

88
ms.service: storage
99
ms.topic: conceptual
10-
ms.date: 04/02/2020
10+
ms.date: 04/21/2020
1111
ms.author: tamram
1212
ms.subservice: blobs
1313
---
@@ -167,7 +167,7 @@ Blob versioning is available in preview in the following regions:
167167

168168
The preview is intended for non-production use only.
169169

170-
Version 2019-10-19 of the Azure Storage REST API supports blob versioning.
170+
Version 2019-10-10 of the Azure Storage REST API supports blob versioning.
171171

172172
### Storage account support
173173

0 commit comments

Comments
 (0)