author | ms.service | ms.topic | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|
ggailey777 |
azure-functions |
include |
06/03/2024 |
glenga |
devdivchpfy22 |
In this section, you create a function app and related resources in your Azure subscription.
-
In Visual Studio Code, press F1 to open the command palette and search for and run the command
Azure Functions: Create Function App in Azure...
. -
Provide the following information at the prompts:
Prompt Selection Select subscription Choose the subscription to use. You won't see this prompt when you have only one subscription visible under Resources. Enter a globally unique name for the function app Type a name that is valid in a URL path. The name you type is validated to make sure that it's unique in Azure Functions. Select a runtime stack Choose the language version on which you've been running locally. Select a location for new resources For better performance, choose a region near you. The extension shows the status of individual resources as they're being created in Azure in the Azure: Activity Log panel.
-
When the creation is complete, the following Azure resources are created in your subscription. The resources are named based on your function app name:
[!INCLUDE functions-vs-code-created-resources]
A notification is displayed after your function app is created and the deployment package is applied.
[!INCLUDE functions-vs-code-create-tip]