You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/network-watcher/network-watcher-alert-triggered-packet-capture.md
+19-28Lines changed: 19 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,37 +58,28 @@ This scenario does the following:
58
58
59
59
The first step is to create an Azure function to process the alert and create a packet capture.
60
60
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.
62
62
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.":::
64
64
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.
66
66
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:
75
68
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.
77
81
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.
92
83
93
84
### Authentication
94
85
@@ -151,11 +142,11 @@ The client ID is the Application ID of an application in Azure Active Directory.
151
142
152
143
1. In the Azure portal, select **Subscriptions**. Select the subscription to use and select **Access control (IAM)**.
153
144
154
-
![Functions IAM][functions9]
145
+
155
146
156
147
1. Choose the account to use and select **Properties**. Copy the Application ID.
0 commit comments