CmdID / az / az functionapp / az functionapp config
az functionapp config hostname
Configure hostnames for a function app. Azure CLI reference
4 commands 2 options Its page in the Azure CLI reference
Commands
Options
--hostnamehostname assigned to the site, such as custom domains--name, -nname of the function app.