From 57abfc3493c96e088b24dfe857bbd3008a022be6 Mon Sep 17 00:00:00 2001 From: Abhishek Krishna Date: Wed, 6 Aug 2025 11:26:54 -0700 Subject: [PATCH] Fix variable declaration syntax in sample az cli commands --- .../blobs/immutable-policy-configure-container-scope.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/storage/blobs/immutable-policy-configure-container-scope.md b/articles/storage/blobs/immutable-policy-configure-container-scope.md index 3d655750752c3..6529122873fba 100644 --- a/articles/storage/blobs/immutable-policy-configure-container-scope.md +++ b/articles/storage/blobs/immutable-policy-configure-container-scope.md @@ -149,7 +149,7 @@ Remove-AzRmStorageContainerImmutabilityPolicy -ResourceGroupName \ --container-name \ --query etag \ @@ -204,7 +204,7 @@ Lock-AzRmStorageContainerImmutabilityPolicy -ResourceGroupName To lock a policy with Azure CLI, first call the [az storage container immutability-policy show](/cli/azure/storage/container/immutability-policy#az-storage-container-immutability-policy-show) command to retrieve the policy's ETag. Next, call the [az storage container immutability-policy lock](/cli/azure/storage/container/immutability-policy#az-storage-container-immutability-policy-lock) command and pass in the ETag value to lock the policy. Remember to replace placeholder values in angle brackets with your own values: ```azurecli -$etag=$(az storage container immutability-policy show \ +etag=$(az storage container immutability-policy show \ --account-name \ --container-name \ --query etag \