File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ Register-AzResourceProvider -ProviderNamespace "Microsoft.Storage"
88
88
New-AzResourceGroup -Name $resourceGroup -Location $location
89
89
90
90
# Create your Azure storage account
91
- $storageAccount = New-AzStorageAccount -ResourceGroupName $resourceGroup -StorageAccountName `
91
+ $account = New-AzStorageAccount -ResourceGroupName $resourceGroup -StorageAccountName `
92
92
$storageAccount -SkuName Standard_ZRS -Location $location -Kind StorageV2
93
93
94
94
# Create a new container using the context
@@ -116,7 +116,7 @@ Remove-AzRmStorageContainerLegalHold -ResourceGroupName $resourceGroup `
116
116
Create or update time-based immutability policies:
117
117
118
118
``` powershell
119
- # Create a time-based immutablity policy
119
+ # Create a time-based immutability policy
120
120
Set-AzRmStorageContainerImmutabilityPolicy -ResourceGroupName $resourceGroup `
121
121
-StorageAccountName $storageAccount -ContainerName $container -ImmutabilityPeriod 10
122
122
```
@@ -177,7 +177,7 @@ The feature is included in the following command groups:
177
177
### [ PowerShell] ( #tab/azure-powershell )
178
178
179
179
``` powershell
180
- # Create an immutablity policy with appends allowed
180
+ # Create an immutability policy with appends allowed
181
181
Set-AzRmStorageContainerImmutabilityPolicy -ResourceGroupName $resourceGroup `
182
182
-StorageAccountName $storageAccount -ContainerName $container -ImmutabilityPeriod 10 -AllowProtectedAppendWrite $true
183
183
```
You can’t perform that action at this time.
0 commit comments