Skip to content

Commit ff494e0

Browse files
fixed typo
1 parent d318f98 commit ff494e0

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

articles/storage/files/storage-how-to-create-file-share.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,13 @@ To create a provisioned v2 storage account using Azure CLI, use the `az storage
216216
To create a storage account for provisioned v2 file shares, use the following command. Remember to replace the values for the variables `resourceGroupName`, `storageAccountName`, `region`, `storageAccountKind`, and `storageAccountSku` with the desired values for your storage account deployment.
217217

218218
```bash
219-
$resourceGroupName="<my-resource-group>"
220-
$storageAccountName="<my-storage-account-name>"
221-
$region="<my-region>"
222-
$storageAccountKind="FileStorage"
219+
resourceGroupName="<my-resource-group>"
220+
storageAccountName="<my-storage-account-name>"
221+
region="<my-region>"
222+
storageAccountKind="FileStorage"
223223

224224
# Valid SKUs for provisioned v2 HDD file share are 'StandardV2_LRS' (HDD Local Pv2), 'StandardV2_GRS' (HDD Geo Pv2), 'StandardV2_ZRS' (HDD Zone Pv2), 'StandardV2_GZRS' (HDD GeoZone Pv2).
225-
$storageAccountSku="StandardV2_LRS"
225+
storageAccountSku="StandardV2_LRS"
226226

227227
az storage account create --resource-group $resourceGroupName --name $storageAccountName --location $region --kind $storageAccountKind --sku $storageAccountSku --output none
228228
```
@@ -324,15 +324,15 @@ You can create an Provisioned v2 Azure file share with [`az storage share-rm cre
324324
To create a provisioned v2 file share, use the following command. Remember to replace the values for the variables `shareName`, `provisionedStorageGib` with the desired selections for your file share deployment.
325325

326326
```bash
327-
$shareName="<file-share>"
327+
shareName="<file-share>"
328328

329329
# The provisioned storage size of the share in GiB. Valid range is 32 to
330330
# 262,144.
331-
$provisionedStorageGib = 1024
331+
provisionedStorageGib=1024
332332

333333
# If you do not specify on the ProvisionedBandwidthMibps and ProvisionedIops, the deployment will use the recommended provisioning.
334-
$provisionedIops = 3000
335-
$provisionedThroughputMibPerSec = 130
334+
provisionedIops=3000
335+
provisionedThroughputMibPerSec=130
336336

337337
az storage share-rm create --resource-group $resourceGroupName --name $shareName --storage-account $storageAccountName --quota $provisionedStorageGib
338338
# --provisioned-iops $provisionedIops --provisioned-bandwidth-mibps $provisionedThroughputMibPerSec
@@ -547,9 +547,9 @@ fileShareName="<file-share>"
547547

548548
# The provisioning desired on the file share. Delete the parameters if no
549549
# change is desired.
550-
$provisionedStorageGib = 10240
551-
$provisionedIops = 10000
552-
$provisionedThroughputMibPerSec = 2048
550+
provisionedStorageGib=10240
551+
provisionedIops=10000
552+
provisionedThroughputMibPerSec=2048
553553

554554
# Update the file share provisioning.
555555
az storage share-rm update --resource-group $resourceGroupName --name $shareName --storage-account $storageAccountName --quota $provisionedStorageGib --provisioned-iops $provisionedIops --provisioned-bandwidth-mibps $provisionedThroughputMibPerSec

0 commit comments

Comments
 (0)