CmdID / az / az datashare / az datashare account
az datashare account create
Create an account. Azure CLI extensions reference
1 example 4 options Its page in the Azure CLI extensions reference
Examples
Accounts_Create
az datashare account create --location "West US 2" --tags tag1="Red" tag2="White" --name "Account1" --resource-group "SampleResourceGroup"Identify--locationLocation.--tagsspace-separated tags: key[=value] [key[=value] ...].--nameThe name of the share account.--resource-groupName of resource group.Options
--account-name, --name, -nThe name of the share account.--location, -lLocation.--resource-group, -gName of resource group.--tagsspace-separated tags: key[=value] [key[=value] ...].