Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 2.06 KB

functions-create-azure-resources-vs-code.md

File metadata and controls

34 lines (23 loc) · 2.06 KB
authorms.servicems.topicms.datems.authorms.custom
ggailey777
azure-functions
include
08/18/2024
glenga
devdivchpfy22

In this section, you create a function app and related resources in your Azure subscription. Many of the resource creation decisions are made for you based on default behaviors. For more control over the created resources, you must instead create your function app with advanced options.

  1. In Visual Studio Code, select F1 to open the command palette. At the prompt (>), enter and then select Azure Functions: Create Function App in Azure.

  2. At the prompts, provide the following information:

    PromptAction
    Select subscriptionSelect the Azure subscription to use. The prompt doesn't appear when you have only one subscription visible under Resources.
    Enter a globally unique name for the function appEnter a name that is valid in a URL path. The name you enter is validated to make sure that it's unique in Azure Functions.
    Select a runtime stackSelect the language version you currently run locally.
    Select a location for new resourcesSelect an Azure region. For better performance, select a region near you.

    In the Azure: Activity Log panel, the Azure extension shows the status of individual resources as they're created in Azure.

    Screenshot that shows the log of Azure resource creation.

  3. When the function app is created, the following related resources are created in your Azure subscription. The resources are named based on the name you entered for your function app.

    [!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]

close