Skip to content

Commit 2fc943f

Browse files
authored
Merge pull request #191134 from lucashuet93/function-app-settings
Reflect change from WEBSITE_VNET_ROUTE_ALL to vnetRouteAllEnabled
2 parents 62f3c1d + ed0e570 commit 2fc943f

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

articles/azure-functions/functions-app-settings.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,9 @@ Allows you to set the timezone for your function app.
502502

503503
## WEBSITE\_VNET\_ROUTE\_ALL
504504

505+
> [!IMPORTANT]
506+
> WEBSITE_VNET_ROUTE_ALL is a legacy app setting that has been replaced by the [vnetRouteAllEnabled configuration setting](../app-service/configure-vnet-integration-routing.md).
507+
505508
Indicates whether all outbound traffic from the app is routed through the virtual network. A setting value of `1` indicates that all traffic is routed through the virtual network. You need this setting when using features of [Regional virtual network integration](functions-networking-options.md#regional-virtual-network-integration). It's also used when a [virtual network NAT gateway is used to define a static outbound IP address](functions-how-to-use-nat-gateway.md).
506509

507510
|Key|Sample value|

articles/azure-functions/functions-create-vnet.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,10 @@ To use your function app with virtual networks, you need to join it to a subnet.
305305

306306
:::image type="content" source="./media/functions-create-vnet/9-connect-app-subnet.png" alt-text="Screenshot of how to connect a function app to a subnet.":::
307307

308+
1. Ensure that the **Route All** configuration setting is set to **Enabled**.
309+
310+
:::image type="content" source="./media/functions-create-vnet/10-enable-route-all.png" alt-text="Screenshot of how to enable route all functionality.":::
311+
308312
## Configure your function app settings
309313

310314
1. In your function app, in the menu on the left, select **Configuration**.
@@ -318,7 +322,6 @@ To use your function app with virtual networks, you need to join it to a subnet.
318322
| **WEBSITE_CONTENTSHARE** | files | The name of the file share you created in the storage account. Use this setting with WEBSITE_CONTENTAZUREFILECONNECTIONSTRING. |
319323
| **SERVICEBUS_CONNECTION** | myServiceBusConnectionString | Create this app setting for the connection string of your Service Bus. This storage connection string is from the [Get a Service Bus connection string](#get-a-service-bus-connection-string) section.|
320324
| **WEBSITE_CONTENTOVERVNET** | 1 | Create this app setting. A value of 1 enables your function app to scale when your storage account is restricted to a virtual network. |
321-
| **WEBSITE_VNET_ROUTE_ALL** | 1 | Create this app setting. When your app integrates with a virtual network, it uses the same DNS server as the virtual network. Your function app needs this setting so it can work with Azure DNS private zones. It's required when you use private endpoints. |
322325

323326
1. In the **Configuration** view, select the **Function runtime settings** tab.
324327

273 KB
Loading

0 commit comments

Comments
 (0)