CmdID / az / az staticwebapp / az staticwebapp functions
az staticwebapp functions link
Link an Azure Function to a static webapp. Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--environment-nameName of the environment of static site--forceForce the function link even if the function is already linked to a static webapp.--function-resource-idResource ID of the functionapp to link.