When deployed using a Consumption plan, no integration of Azure Functions with private networks is currently possible. In an App Service plan, however, the Function App can be integrated with a private network.
Integrating the Function App with a private VNet allows the Function App to connect to backend resources, such as application servers or databases, on a private IP (or DNS name) without the need to expose the backend endpoints to the internet. If the VNet is connected to a private network on-premise, you will also be able to browse from the Function App to the on-premise network on a private IP range.
To deploy a function into an App Service plan, execute the following steps:
- Browse to the Azure Portal -> New -> ...