Skip to content

Commit 8cc2466

Browse files
Apply suggestions from code review
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]>
1 parent fb9d771 commit 8cc2466

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

articles/azure-functions/functions-networking-options.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,23 @@ Currently [Key Vault references](../app-service/app-service-key-vault-references
118118

119119
## Virtual network triggers (non-HTTP)
120120

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.
122124

123125
### Premium Plan with virtual network triggers
124126

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**.
126128

127129
![VNETToggle](media/functions-networking-options/VirtualNetworkTriggerToggle.png)
128130

129-
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:
130132

131133
```azurecli-interactive
132134
az resource update -g <resource_group> -n <premium_plan_name> --set properties.functionsRuntimeScaleMonitoringEnabled=1
133135
```
134136

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.
136138

137139
| Extension | Minimum Version |
138140
|-----------|---------|
@@ -142,14 +144,14 @@ Virtual network triggers are supported in version 2.x and above of the Functions
142144
|[Microsoft.Azure.WebJobs.Extensions.CosmosDB](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.CosmosDB)| 3.0.5 or above|
143145
|[Microsoft.Azure.WebJobs.Extensions.DurableTask](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask)| 2.0.0 or above|
144146

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.
147149
148150
### App Service Plan and App Service Environment with virtual network triggers
149151

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.
151153

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.
153155

154156
## Hybrid Connections
155157

0 commit comments

Comments
 (0)