1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 09:42:07 +02:00
tldr/pages/common/func.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

758 B

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 new

  • Run functions locally:

func start

  • Publish 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}}