CmdID / az / az fileshare
az fileshare check-name-availability
Check if a file share name is available. Azure CLI extensions reference
1 example 2 options Its page in the Azure CLI extensions reference
Examples
Check name availability for a file share
az fileshare check-name-availability --location eastus --name MyFileShareIdentify--locationLocation.--nameThe name of the resource for which availability needs to be checked.Options
--nameThe name of the resource for which availability needs to be checked.--typeThe resource type.