Skip to content

Commit f8bf95f

Browse files
committed
Create a function app procedure
1 parent d48db38 commit f8bf95f

File tree

1 file changed

+19
-28
lines changed

1 file changed

+19
-28
lines changed

articles/network-watcher/network-watcher-alert-triggered-packet-capture.md

Lines changed: 19 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -58,37 +58,28 @@ This scenario does the following:
5858

5959
The first step is to create an Azure function to process the alert and create a packet capture.
6060

61-
1. In the [Azure portal](https://portal.azure.com), search for *Azure function* in **All services** and select it.
61+
1. In the [Azure portal](https://portal.azure.com), search for *function app* in **All services** and select it.
6262

63-
:::image type="content" source="./media/network-watcher-alert-triggered-packet-capture/figure1.png" alt-text="Screenshot of creating a function app":::
63+
:::image type="content" source="./media/network-watcher-alert-triggered-packet-capture/search-result.png" alt-text="Screenshot of finding the function app in Azure portal.":::
6464

65-
2. In **Function App**, enter the following values and select **OK** to create the app:
65+
2. Select **Create** to open the **Create Function App** screen.
6666

67-
|**Setting** | **Value** | **Details** |
68-
|---|---|---|
69-
|**App name**|PacketCaptureExample|The name of the function app.|
70-
|**Subscription**|[Your subscription]The subscription for which you want to create the function app.||
71-
|**Resource Group**|PacketCaptureRG|The resource group to contain the function app.|
72-
|**Hosting Plan**|Consumption Plan| The type of plan your function app uses. Options are Consumption or Azure App Service plan. |
73-
|**Location**|Central US| The region in which you want to create the function app.|
74-
|**Storage Account**|{autogenerated}| The storage account that Azure Functions needs for general-purpose storage.|
67+
2. In the **Basics** tab, enter the following values and select **OK** to create the app:
7568

76-
3. In **PacketCaptureExample Function Apps**, select **Functions** > **Custom function** > **+**.
69+
1. Under **Project Details**, select the **Subscription** for which you want to create the Function app and the **Resource Group** to contain the app.
70+
2. Under **Instance details**, do the following:
71+
1. Enter the name of the Function app. This name will be appended by *.azurewebsites.net*.
72+
2. In **Publish**, select the mode of publishing, either *Code* or *Docker Container*.
73+
3. Select a **Runtime stack**.
74+
4. Select the version of the Runtime stack in **Version**.
75+
5. Select the **Region** in which you want to create the function app.
76+
3. Under **Operating System**, select the type pf Operating system that you are currently using. Azure reccommends the type of Operating system based on your runtime stack selection.
77+
4. Under **Plan**, select the type of plan that you want to use for the function app. Choose from the following options:
78+
- Consumption (Serverless) - For event-driven scaling for the lowest minimum cost
79+
- Functions Premium - For enterprise-level, serverless applications with event-based scaling and network isolation
80+
- App Service Plan - For reusing compute from an existing app service plan.
7781

78-
4. Select **HttpTrigger-Powershell** and enter the remaining information. Finally, to create the function, select **Create**.
79-
80-
|**Setting** | **Value** | **Details** |
81-
|---|---|---|
82-
|**Scenario**|Experimental|Type of scenario|
83-
|**Name your function**|AlertPacketCapturePowerShell|Name of the function|
84-
|**Authorization level**|Function|Authorization level for the function|
85-
86-
![Functions example][functions1]
87-
88-
> [!NOTE]
89-
> The PowerShell template is experimental and does not have full support.
90-
91-
Customizations are required for this example and are explained in the following steps.
82+
3. Click **Review + create** to create the app.
9283

9384
### Authentication
9485

@@ -151,11 +142,11 @@ The client ID is the Application ID of an application in Azure Active Directory.
151142
152143
1. In the Azure portal, select **Subscriptions**. Select the subscription to use and select **Access control (IAM)**.
153144
154-
![Functions IAM][functions9]
145+
155146
156147
1. Choose the account to use and select **Properties**. Copy the Application ID.
157148
158-
![Functions Application ID][functions10]
149+
159150
160151
#### AzureTenant
161152

0 commit comments

Comments
 (0)