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
Copy file name to clipboardExpand all lines: articles/storage/files/storage-how-to-create-file-share.md
+117Lines changed: 117 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,111 @@ Storage accounts have two properties, kind and SKU, which dictate the billing mo
53
53
54
54
If you're creating an HDD file share, you can choose between the provisioned v2 and pay-as-you-go billing models. Both models are fully supported, however, we recommend provisioned v2 for new file share deployments. Provisioned v2 file shares are currently available in a limited subset of regions; see [provisioned v2 availability](./understanding-billing.md#provisioned-v2-availability) for more information.
55
55
56
+
To view region supportability on different billing models on CLI, use the following command.
57
+
# [PowerShell](#tab/azure-powershell)
58
+
### To view Region supportability on different billing models (PowerShell)
59
+
```powershell
60
+
# Login to Azure account
61
+
Connect-AzAccount
62
+
63
+
# Track down the subscription ID in GUID format
64
+
$subscriptionID = "your-subscription-id-number"
65
+
66
+
# Get Token
67
+
$token = Get-AzAccessToken
68
+
69
+
# Invoke SRP list SKU API, and get the returned SKU list
To create a storage account via the Azure portal, use the search box at the top of the Azure portal to search for **storage accounts** and select the matching result.
### Create a provisioned v1 or pay-as-you-go storage account (PowerShell)
182
293
To create a provisioned v1 or pay-as-you-go storage account using PowerShell, use the `New-AzStorageAccount` cmdlet in the Az.Storage PowerShell module. This cmdlet has many options; only the required options are shown. To learn more about advanced options, see the [`New-AzStorageAccount` cmdlet documentation](/powershell/module/az.storage/new-azstorageaccount).
To view the settings and statistic of the Provisiond V2 storage account, use the following command.
342
+
343
+
```bash
344
+
az storage account file-service-usage --account-name $storageAccountName -g $resourceGroupName
345
+
```
346
+
230
347
### Create a provisioned v1 or pay-as-you-go storage account (Azure CLI)
231
348
To create a provisioned v1 or pay-as-you-go storage account using Azure CLI, use the `az storage account create` command. This command has many options; only the required options are shown. To learn more about the advanced options, see the [`az storage account create` command documentation](/cli/azure/storage/account).
0 commit comments