Skip to content

Commit f0c5814

Browse files
authored
Merge pull request #54836 from JPRuskin/ImmutabilityCorrections
Updates storage-blob-immutability-policies-manage
2 parents aeba5f7 + 789c32a commit f0c5814

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/storage/blobs/storage-blob-immutability-policies-manage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Register-AzResourceProvider -ProviderNamespace "Microsoft.Storage"
8888
New-AzResourceGroup -Name $resourceGroup -Location $location
8989
9090
# Create your Azure storage account
91-
$storageAccount = New-AzStorageAccount -ResourceGroupName $resourceGroup -StorageAccountName `
91+
$account = New-AzStorageAccount -ResourceGroupName $resourceGroup -StorageAccountName `
9292
$storageAccount -SkuName Standard_ZRS -Location $location -Kind StorageV2
9393
9494
# Create a new container using the context
@@ -116,7 +116,7 @@ Remove-AzRmStorageContainerLegalHold -ResourceGroupName $resourceGroup `
116116
Create or update time-based immutability policies:
117117

118118
```powershell
119-
# Create a time-based immutablity policy
119+
# Create a time-based immutability policy
120120
Set-AzRmStorageContainerImmutabilityPolicy -ResourceGroupName $resourceGroup `
121121
-StorageAccountName $storageAccount -ContainerName $container -ImmutabilityPeriod 10
122122
```
@@ -177,7 +177,7 @@ The feature is included in the following command groups:
177177
### [PowerShell](#tab/azure-powershell)
178178

179179
```powershell
180-
# Create an immutablity policy with appends allowed
180+
# Create an immutability policy with appends allowed
181181
Set-AzRmStorageContainerImmutabilityPolicy -ResourceGroupName $resourceGroup `
182182
-StorageAccountName $storageAccount -ContainerName $container -ImmutabilityPeriod 10 -AllowProtectedAppendWrite $true
183183
```

0 commit comments

Comments
 (0)