Skip to content

Commit 8cae3df

Browse files
Merge pull request #178909 from stefanushinardi/powershell-get-started
Adding Linux option when creating new powershell app
2 parents a7dcf99 + 121802a commit 8cae3df

File tree

2 files changed

+48
-1
lines changed

2 files changed

+48
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ After you've verified that the function runs correctly on your local computer, i
6666

6767
[!INCLUDE [functions-sign-in-vs-code](../../includes/functions-sign-in-vs-code.md)]
6868

69-
[!INCLUDE [functions-publish-project-vscode](../../includes/functions-publish-project-vscode.md)]
69+
[!INCLUDE [functions-publish-project-vscode](../../includes/functions-publish-powershell-project-vscode.md)]
7070

7171
[!INCLUDE [functions-vs-code-run-remote](../../includes/functions-vs-code-run-remote.md)]
7272

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
author: ggailey777
3+
ms.service: azure-functions
4+
ms.topic: include
5+
ms.date: 09/28/2020
6+
ms.author: glenga
7+
---
8+
9+
## Publish the project to Azure
10+
11+
In this section, you create a function app and related resources in your Azure subscription and then deploy your code.
12+
13+
> [!IMPORTANT]
14+
> Publishing to an existing function app overwrites the content of that app in Azure.
15+
16+
17+
1. Choose the Azure icon in the Activity bar, then in the **Azure: Functions** area, choose the **Deploy to function app...** button.
18+
19+
![Publish your project to Azure](./media/functions-publish-project-vscode/function-app-publish-project.png)
20+
21+
1. Provide the following information at the prompts:
22+
23+
- **Select folder**: Choose a folder from your workspace or browse to one that contains your function app. You won't see this if you already have a valid function app opened.
24+
25+
- **Select subscription**: Choose the subscription to use. You won't see this if you only have one subscription.
26+
27+
- **Select Function App in Azure**: Choose `- Create new Function App`. By default, PowerShell app will be deployed to Windows Function App. If you want to use Linux Function app, choose the `Advanced` option.
28+
29+
- **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.
30+
31+
- **Select a location for new resources**: For better performance, choose a [region](https://azure.microsoft.com/regions/) near you.
32+
33+
The extension shows the status of individual resources as they are being created in Azure in the notification area.
34+
35+
:::image type="content" source="media/functions-publish-project-vscode/resource-notification.png" alt-text="Notification of Azure resource creation":::
36+
37+
1. When completed, the following Azure resources are created in your subscription, using names based on your function app name:
38+
39+
[!INCLUDE [functions-vs-code-created-resources](functions-vs-code-created-resources.md)]
40+
41+
A notification is displayed after your function app is created and the deployment package is applied.
42+
43+
[!INCLUDE [functions-vs-code-create-tip](functions-vs-code-create-tip.md)]
44+
45+
4. Select **View Output** in this notification to view the creation and deployment results, including the Azure resources that you created. If you miss the notification, select the bell icon in the lower right corner to see it again.
46+
47+
![Create complete notification](media/functions-publish-project-vscode/function-create-notifications.png)

0 commit comments

Comments
 (0)