CmdID / az / az keyvault
az keyvault check-name
Check that the given name is valid and is not already in use. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--name, -nThe name of the HSM within the specified resource group--resource-typeType of resource.