az acr check-name
Checks if an Azure Container Registry name is valid and available for use. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--dnl-scopeDomain name label scope will add a hash to the resource name .--registry-name