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/azure-functions/functions-networking-options.md
+29-19Lines changed: 29 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ You can host function apps in several ways:
29
29
30
30
Use the following resources to quickly get started with Azure Functions networking scenarios. These resources are referenced throughout the article.
31
31
32
-
* ARM, Bicep, and Terraform templates:
32
+
*ARM templates, Bicep files, and Terraform templates:
33
33
*[Private HTTP triggered function app](https://github.com/Azure-Samples/function-app-with-private-http-endpoint)
34
34
*[Private Event Hubs triggered function app](https://github.com/Azure-Samples/function-app-with-private-eventhub)
35
35
* ARM templates only:
@@ -74,7 +74,7 @@ To learn more, see [Virtual network service endpoints](../virtual-network/virtua
74
74
75
75
To restrict access to a specific subnet, create a restriction rule with a **Virtual Network** type. You can then select the subscription, virtual network, and subnet that you want to allow or deny access to.
76
76
77
-
If service endpoints aren't already enabled with Microsoft.Web for the subnet that you selected, they are automatically enabled unless you select the **Ignore missing Microsoft.Web service endpoints** check box. The scenario where you might want to enable service endpoints on the app but not the subnet depends mainly on whether you have the permissions to enable them on the subnet.
77
+
If service endpoints aren't already enabled with `Microsoft.Web` for the subnet that you selected, they're automatically enabled unless you select the **Ignore missing Microsoft.Web service endpoints** check box. The scenario where you might want to enable service endpoints on the app but not the subnet depends mainly on whether you have the permissions to enable them on the subnet.
78
78
79
79
If you need someone else to enable service endpoints on the subnet, select the **Ignore missing Microsoft.Web service endpoints** check box. Your app is configured for service endpoints in anticipation of having them enabled later on the subnet.
80
80
@@ -212,21 +212,27 @@ Currently, you can use non-HTTP trigger functions from within a virtual network
212
212
213
213
### Premium plan with virtual network triggers
214
214
215
-
When you run a Premium plan, you can connect non-HTTP trigger functions to services that run inside a virtual network. To do this, you must enable virtual network trigger support for your function app. The **Runtime Scale Monitoring** setting is found in the [Azure portal](https://portal.azure.com) under **Configuration** > **Function runtime settings**.
215
+
The [Premium plan](functions-premium-plan.md) lets you create functions that are triggered by services inside a virtual network. These non-HTTP triggers are known as _virtual network triggers_.
By default, virtual network triggers don't cause your function app to scale beyond their pre-warmed instance count. However, certain extensions support virtual network triggers that cause your function app to scale dynamically. You can enable this _dynamic scale monitoring_ in your function app for supported extensions in one of these ways:
218
+
219
+
#### [Azure portal](#tab/azure-portal)
220
+
221
+
1. In the [Azure portal](https://portal.azure.com), navigate to your function app.
218
222
219
-
### [Azure CLI](#tab/azure-cli)
223
+
1. Under **Settings** select **Configuration**, then in the **Function runtime settings**tab set **Runtime Scale Monitoring** to **On**.
220
224
221
-
You can also enable virtual network triggers by using the following Azure CLI command:
225
+
1. Select **Save** to update the function app configuration and restart the app.
> Enabling virtual network triggers may have an impact on the performance of your application since your App Service plan instances will need to monitor your triggers to determine when to scale. This impact is likely to be very small.
246
+
> Enabling the monitoring of virtual network triggers may have an impact on the performance of your application, though this impact is likely to be very small.
247
+
248
+
Support for dynamic scale monitoring of virtual network triggers isn't available in version 1.x of the Functions runtime.
249
+
250
+
The extensions in this table support dynamic scale monitoring of virtual network triggers. To get the best scaling performance, you should upgrade to versions that also support [target-based scaling](functions-target-based-scaling.md#premium-plan-with-runtime-scale-monitoring-enabled).
241
251
242
-
Virtual network triggers are supported in version 2.x and above of the Functions runtime. The following non-HTTP trigger types are supported.
252
+
| Extension (minimum version) | Runtime scale monitoring only | With [target-based scaling](functions-target-based-scaling.md#premium-plan-with-runtime-scale-monitoring-enabled)|
|[Microsoft.Azure.WebJobs.Extensions.Storage](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.Storage/)| 3.0.10 or above |
247
-
|[Microsoft.Azure.WebJobs.Extensions.EventHubs](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.EventHubs)| 4.1.0 or above|
248
-
|[Microsoft.Azure.WebJobs.Extensions.ServiceBus](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.ServiceBus)| 3.2.0 or above|
249
-
|[Microsoft.Azure.WebJobs.Extensions.CosmosDB](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.CosmosDB)| 3.0.5 or above|
250
-
|[Microsoft.Azure.WebJobs.Extensions.DurableTask](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask)| 2.0.0 or above|
260
+
<sup>*</sup> Queue storage only.
251
261
252
262
> [!IMPORTANT]
253
-
> When you enable virtual network trigger support, only the trigger types shown in the previous table scale dynamically with your application. You can still use triggers that aren't in the table, but they're not scaled beyond their pre-warmed instance count. For the complete list of triggers, see [Triggers and bindings](./functions-triggers-bindings.md#supported-bindings).
263
+
> When you enable virtual network trigger monitoring, only triggers for these extensions can cause your app to scale dynamically. You can still use triggers from extensions that aren't in this table, but they won't cause scaling beyond their pre-warmed instance count. For a complete list of all trigger and binding extensions, see [Triggers and bindings](./functions-triggers-bindings.md#supported-bindings).
254
264
255
265
### App Service plan and App Service Environment with virtual network triggers
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-target-based-scaling.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ To learn more, see the [example configurations for the supported extensions](#su
73
73
74
74
## Premium plan with runtime scale monitoring enabled
75
75
76
-
In[runtime scale monitoring](functions-networking-options.md?tabs=azure-cli#premium-plan-with-virtual-network-triggers), the extensions handle target-based scaling. Hence, in addition to the function app runtime version requirement, your extension packages must meet the following minimum versions:
76
+
When[runtime scale monitoring](functions-networking-options.md#premium-plan-with-virtual-network-triggers) is enabled, the extensions themselves handle dynamic scaling. This is because the [scale controller](event-driven-scaling.md#runtime-scaling) doesn't have access to services secured by a virtual network. After you enable runtime scale monitoring, you'll need to upgrade your extension packages to these minimum versions to unlock the extra target-based scaling functionality:
0 commit comments