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
To check the current settings for container soft delete, call the [Get-AzStorageBlobServiceProperty](/powershell/module/az.storage/get-azstorageblobserviceproperty) command:
To disable container soft delete, call the **Disable-AzStorageContainerDeleteRetentionPolicy** command.
46
55
47
56
# [Azure CLI](#tab/azure-cli)
@@ -56,6 +65,13 @@ az storage account blob-service-properties update \
56
65
--resource-group <resource_group>
57
66
```
58
67
68
+
To check the current settings for container soft delete, call the [az storage account blob-service-properties show](/cli/azure/storage/account/blob-service-properties#az-storage-account-blob-service-properties-show) command:
69
+
70
+
```azurecli-interactive
71
+
az storage account blob-service-properties show --account-name <storage-account> \
72
+
--resource-group <resource-group>
73
+
```
74
+
59
75
To disable container soft delete, specify `false` for the `--enable-container-delete-retention` parameter.
0 commit comments