| title |
Azure CLI samples for Azure Functions |
| description |
Find links to bash scripts for Azure Functions that use the Azure CLI. Learn how to create a function app that allows integration and deployment. |
| ms.assetid |
577d2f13-de4d-40d2-9dfc-86ecc79f3ab0 |
| ms.topic |
sample |
| ms.date |
04/01/2026 |
| ms.custom |
mvc, devx-track-azurecli, seo-azure-cli |
| keywords |
functions, azure cli samples, azure cli examples, azure cli code samples |
These end-to-end Azure CLI scripts help you learn how to create and manage the Azure resources required by Azure Functions. You must use the Azure Functions Core Tools to create actual Azure Functions code projects from the command line on your local computer and deploy code to these Azure resources. For a complete end-to-end example of developing and deploying from the command line using both Core Tools and the Azure CLI, see one of these language-specific command line quickstarts:
The following table includes links to bash scripts that you can use to create and manage the Azure resources required by Azure Functions using the Azure CLI. These scripts are maintained in the Azure-Samples/azure-cli-samples GitHub repository.
| Secure networking |
Description |
| create-function-app-vnet-storage.sh |
Creates a function app in a Flex Consumption plan with VNet integration and restricts the storage account behind private endpoints so it's only accessible from inside the virtual network. |
| create-function-app-private-endpoint.sh |
Creates a function app in a Flex Consumption plan with an inbound private endpoint, restricting the function app's HTTP endpoints to only be callable from inside the virtual network. |