snippetbashTip
func — Azure Functions Core Tools: develop and test Azure Functions locally. Local functions can connect to
Viewed 0 times
commandazurefuncclicoretoolsdevelopfunctions
Problem
How to use the
func command: Azure Functions Core Tools: develop and test Azure Functions locally. Local functions can connect to live Azure services, and can deploy a function app to an Azure subscription. More information: <https://learn.microsoft.com/azure/azure-functions/functions-run-local>.Solution
func — Azure Functions Core Tools: develop and test Azure Functions locally. Local functions can connect to live Azure services, and can deploy a function app to an Azure subscription. More information: <https://learn.microsoft.com/azure/azure-functions/functions-run-local>.Create a new functions project:
func init {{project}}Create a new function:
func newRun functions locally:
func startPublish your code to a function app in Azure:
func azure functionapp publish {{function}}Download all settings from an existing function app:
func azure functionapp fetch-app-settings {{function}}Get the connection string for a specific storage account:
func azure storage fetch-connection-string {{storage_account}}Code Snippets
Create a new functions project
func init {{project}}Create a new function
func newRun functions locally
func startPublish your code to a function app in Azure
func azure functionapp publish {{function}}Download all settings from an existing function app
func azure functionapp fetch-app-settings {{function}}Context
tldr-pages: common/func
Revisions (0)
No revisions yet.