Skip to content

Commit cacc95f

Browse files
author
dksimpson
committed
Functions update for portal UX refresh - batch 1
1 parent c3e14d0 commit cacc95f

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
lines changed

articles/azure-functions/functions-create-first-azure-function.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create your first function in the Azure portal
33
description: Learn how to create your first Azure Function for serverless execution using the Azure portal.
44
ms.assetid: 96cf87b9-8db6-41a8-863a-abb828e3d06d
55
ms.topic: quickstart
6-
ms.date: 03/06/2020
6+
ms.date: 03/26/2020
77
ms.custom: mvc, devcenter, cc996988-fb4f-47
88
---
99

@@ -29,35 +29,39 @@ Next, create a function in the new function app.
2929

3030
## <a name="create-function"></a>Create an HTTP triggered function
3131

32-
1. Expand your new function app, select the **+** button next to **Functions**, choose **In-portal**, and then select **Continue**.
32+
1. From the left menu of the **Functions** window, select **Functions**, then select **Add** from the top menu.
33+
34+
1. From the **New Function** window, select **Http trigger**.
3335

34-
![Functions quickstart for choosing a platform.](./media/functions-create-first-azure-function/function-app-quickstart-choose-portal.png)
36+
![Choose HTTP trigger function](./media/functions-create-first-azure-function/function-app-select-http-trigger.png)
3537

36-
1. Choose **WebHook + API**, and then select **Create**.
38+
1. In the **New Function** window, accept the default name for **New Function**, or enter a new name.
3739

38-
![Functions quickstart in the Azure portal.](./media/functions-create-first-azure-function/function-app-quickstart-node-webhook.png)
40+
1. Choose **Anonymous** from the **Authorization level** drop-down list, and then select **Create Function**.
3941

40-
A function is created using a language-specific template for an HTTP triggered function.
42+
![HTTP trigger function settings](./media/functions-create-first-azure-function/function-app-http-trigger-settings.png)
4143

42-
Now, you can run the new function by sending an HTTP request.
44+
Azure creates the HTTP trigger function. Now, you can run the new function by sending an HTTP request.
4345

4446
## Test the function
4547

46-
1. In your new function, select **</> Get function URL** at the top right.
48+
1. In your new HTTP trigger function, select **Code + Test** from the left menu, then select **Get function URL** from the top menu.
4749

48-
1. In the **Get function URL** dialog box, select **default (Function key)** from the drop-down list, and then select **Copy**.
50+
![Select Get function URL](./media/functions-create-first-azure-function/function-app-select-get-function-url.png)
51+
52+
1. In the **Get function URL** dialog box, select **default** from the drop-down list, and then select the **Copy to clipboard** icon.
4953

5054
![Copy the function URL from the Azure portal](./media/functions-create-first-azure-function/function-app-develop-tab-testing.png)
5155

52-
1. Paste the function URL into your browser's address bar. Add the query string value `&name=<your_name>` to the end of this URL and press Enter to run the request.
56+
1. Paste the function URL into your browser's address bar. Add the query string value `?name=<your_name>` to the end of this URL and press Enter to run the request.
5357

5458
The following example shows the response in the browser:
5559

5660
![Function response in the browser.](./media/functions-create-first-azure-function/function-app-browser-testing.png)
5761

5862
The request URL includes a key that is required, by default, to access your function over HTTP.
5963

60-
1. When your function runs, trace information is written to the logs. To see the trace output from the previous execution, return to your function in the portal and select the arrow at the bottom of the screen to expand the **Logs**.
64+
1. When your function runs, trace information is written to the logs. To see the trace output from the previous execution, return to the **Code + Test** page in the portal and select the arrow at the bottom of the screen to expand the **Logs**. Select **Test** from the top menu.
6165

6266
![Functions log viewer in the Azure portal.](./media/functions-create-first-azure-function/function-view-logs.png)
6367

-7.6 KB
Loading
19.2 KB
Loading
52.6 KB
Loading
66.7 KB
Loading
-8.7 KB
Loading

0 commit comments

Comments
 (0)