Azure-functions-core-tools: New command: func azure functionapp create

Created on 4 Jun 2020  路  1Comment  路  Source: Azure/azure-functions-core-tools

Needs discussion: A simplified command for creating function apps. Creates storage and app insights as well. Calls az behind the scenes.

func azure functionapp create $functionAppName --location $regionName

Automatically creates storage and app insights.

Optional params:

  • --os [windows|linux] - defaults to linux unless not supported for runtime (inspect local functions folder for runtime/language)
  • --sku [consumption|premium] - defaults to consumption
  • --storage-account-name $storageAccountName - if missing, automatically create
  • --create-app-insights [true|false] - defaults to true

Also support a wizard to prompt for missing parameters.

Discussion enhancement

Most helpful comment

Note that this would make the command line experience basically similar to the Visual Studio Code Functions extension experience when completing the Functions quickstart.

>All comments

Note that this would make the command line experience basically similar to the Visual Studio Code Functions extension experience when completing the Functions quickstart.

Was this page helpful?
0 / 5 - 0 ratings