Skip to content

Commit 3371333

Browse files
committed
Replace changes to only the custom handler QS
1 parent e2a46db commit 3371333

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

articles/azure-functions/create-first-function-vs-code-other.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a function in Go or Rust using Visual Studio Code - Azure Functions
33
description: Learn how to create a Go function as an Azure Functions custom handler, then publish the local project to serverless hosting in Azure Functions using the Azure Functions extension in Visual Studio Code.
44
ms.topic: quickstart
5-
ms.date: 06/03/2024
5+
ms.date: 05/20/2025
66
ms.devlang: golang
77
# ms.devlang: golang, rust
88
ms.custom: mode-api, vscode-azure-extension-update-complete
@@ -291,18 +291,24 @@ In this section, you publish your project to Azure in a function app running Lin
291291

292292
In this section, you create a function app and related resources in your Azure subscription.
293293

294-
1. Choose the Azure icon in the Activity bar. Then in the **Resources** area, select the **+** icon and choose the **Create Function App in Azure** option.
294+
1. In the command palette, enter **Azure Functions: Create function app in Azure...(Advanced)**.
295295

296-
![Create a resource in your Azure subscription](../../includes/media/functions-publish-project-vscode/function-app-create-resource.png)
296+
1. If you're not signed in, you're prompted to **Sign in to Azure**. You can also **Create a free Azure account**. After signing in from the browser, go back to Visual Studio Code.
297297

298-
1. Provide the following information at the prompts:
298+
1. Following the prompts, provide this information:
299299

300-
|Prompt|Selection|
301-
|--|--|
302-
|**Select subscription**| Choose the subscription to use. You won't see this when you have only one subscription visible under **Resources**. |
303-
|**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.|
304-
|**Select a runtime stack**| Choose **Custom Handler**. |
305-
|**Select a location for new resources**| For better performance, choose a [region](https://azure.microsoft.com/regions/) near you.|
300+
| Prompt | Selection |
301+
| ------ | --------- |
302+
| Enter a globally unique name for the new function app. | Type a globally unique name that identifies your new function app and then select Enter. Valid characters for a function app name are `a-z`, `0-9`, and `-`. |
303+
| Select a hosting plan. | Choose the **Premium** [hosting plan](functions-scale.md), which provides serverless hosting on Linux that scales dynamically as needed. |
304+
| Select a location for new resources. | Select a location in a [region](https://azure.microsoft.com/regions/) near you or near other services that your functions access. Only regions that support your chosen hosting plan are displayed. |
305+
| Select a runtime stack. | Select **Custom handler**. |
306+
| Select an OS. | Select **Linux** since the app was compiled to run on Linux. |
307+
| Select a Linux App Service plan | For Elastic Premium plans, you must explicitly **Create a new app service plan**, enter the plan name, and select the **EP1** pricing tier. |
308+
| Select resource authentication type | Select **Managed identity**, which is the most secure option for connecting to the [default host storage account](storage-considerations.md#storage-account-guidance). When using managed identities with an Elastic Premium plan, secret key access to the default host storage remains enabled for Azure Files access. For more information, see [run without Azure Files](storage-considerations.md#create-an-app-without-azure-files). |
309+
| Select a storage account. | Choose **Create new storage account**, and at the prompt, enter a globally unique name for the new storage account used by your function app. Storage account names must be between 3 and 24 characters long and can contain only numbers and lowercase letters. |
310+
| Select an Application Insights resource for your app. | Choose **Create new Application Insights resource**, and at the prompt, enter a name for the instance used to store runtime data from your functions. |
311+
| Select a user assigned identity | Choose **Create a new user assigned identity**. This identity is used when accessing the default host storage account using Microsoft Entra ID authentication. |
306312

307313
The extension shows the status of individual resources as they are being created in Azure in the **Azure: Activity Log** panel.
308314

@@ -312,6 +318,8 @@ In this section, you create a function app and related resources in your Azure s
312318

313319
[!INCLUDE [functions-vs-code-created-resources](../../includes/functions-vs-code-created-resources.md)]
314320

321+
+ A user-assigned managed identity that's added to the [Storage Blob Data Contributor](/azure/role-based-access-control/built-in-roles/storage#storage-blob-data-contributor) role in the new default host storage account.
322+
315323
A notification is displayed after your function app is created and the deployment package is applied.
316324
317325
[!INCLUDE [functions-vs-code-create-tip](../../includes/functions-vs-code-create-tip.md)]

0 commit comments

Comments
 (0)