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
Thanks so much for going through this! These are all awesome clarity and phrasing updates. The whole thing reads much more clearly now 😃
Co-Authored-By: Glenn Gailey <[email protected]>
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-networking-options.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,21 +118,23 @@ Currently [Key Vault references](../app-service/app-service-key-vault-references
118
118
119
119
## Virtual network triggers (non-HTTP)
120
120
121
-
Currently, to use function triggers other than HTTP from within a virtual network, you can either run your function app in a Premium plan and enable Virtual network trigger support, or run in an App Service plan or App Service Environment.
121
+
Currently, you can use non-HTTP trigger functions from within a virtual network in one of two ways:
122
+
+ Run your function app in a Premium plan and enable Virtual network trigger support.
123
+
+ Run your function app in an App Service plan or App Service Environment.
122
124
123
125
### Premium Plan with virtual network triggers
124
126
125
-
To trigger an application from a service inside a virtual network using a Premium Plan you will need to enable `virtual network trigger support` for each of your desired apps. This setting is found in the portal under `Function app settings`
127
+
When running in a Premium plan, you can connect non-HTTP trigger functions to services running inside a virtual network. To do this, you must enable virtual network trigger support for your function app. The **virtual network trigger support**setting is found in the [Azure portal](https://portal.azure.com) under **Function app settings**.
You can also enable virtual network triggers using the following CLI command:
131
+
You can also enable virtual network triggers using the following Azure CLI command:
130
132
131
133
```azurecli-interactive
132
134
az resource update -g <resource_group> -n <premium_plan_name> --set properties.functionsRuntimeScaleMonitoringEnabled=1
133
135
```
134
136
135
-
Virtual network triggers are supported in version 2.x and above of the Functions runtime and the following trigger types are supported at the listed minimum versions and above.
137
+
Virtual network triggers are supported in version 2.x and above of the Functions runtime. The following non-HTTP trigger types are supported.
136
138
137
139
| Extension | Minimum Version |
138
140
|-----------|---------|
@@ -142,14 +144,14 @@ Virtual network triggers are supported in version 2.x and above of the Functions
142
144
|[Microsoft.Azure.WebJobs.Extensions.CosmosDB](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.CosmosDB)| 3.0.5 or above|
143
145
|[Microsoft.Azure.WebJobs.Extensions.DurableTask](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask)| 2.0.0 or above|
144
146
145
-
> [!NOTE]
146
-
> When enabling virtual network trigger support, only the trigger types above will scale your application dynamically. Triggers **not** listed above can still be used, but they will not scale beyond their pre-warmed instance count. See [triggers and bindings](./functions-triggers-bindings.md#supported-bindings) for a full list of triggers to cross check against.
147
+
> [!IMPORTANT]
148
+
> When enabling virtual network trigger support, only the trigger types above scale dynamically with your application. You can still use triggers not listed above, however they are not scaled beyond their pre-warmed instance count. See [triggers and bindings](./functions-triggers-bindings.md#supported-bindings) for the complete list of triggers.
147
149
148
150
### App Service Plan and App Service Environment with virtual network triggers
149
151
150
-
When using either an App Service Plan or an App Service Environment, you only need to be connected to a virtual network with access to your desired trigger resource and your functions will trigger correctly.
152
+
When your function app runs in either an App Service Plan or an App Service Environment, you can use non-HTTP trigger functions. For your functions to get triggered correctly, you must be connected to a virtual network with access to the resource defined in the trigger connection.
151
153
152
-
For example, assume you want to configure Azure Cosmos DB to accept traffic only from a virtual network. You would need to deploy your function app in an app service plan that provides virtual network integration with that virtual network in order to configure Azure Cosmos DB triggers from that resource.
154
+
For example, assume you want to configure Azure Cosmos DB to accept traffic only from a virtual network. In this case, you must deploy your function app in an App Service plan that provides virtual network integration with that virtual network. This enabled a function to be triggered by that Azure Cosmos DB resource.
0 commit comments