Azure CLI Samples

These end-to-end Azure CLI scripts are provided to help you learn how to provision and managing 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.

Create app Description
Create a function app for serverless execution Create a function app in a Consumption plan.
Create a serverless Python function app Create a Python function app in a Consumption plan.
Create a function app in a scalable Premium plan Create a function app in a Premium plan.
Create a function app in a dedicated (App Service) plan Create a function app in a dedicated App Service plan.
Integrate Description
Create a function app and connect to a storage account Create a function app and connect it to a storage account.
Create a function app and connect to an Azure Cosmos DB Create a function app and connect it to an Azure Cosmos DB instance.
Create a Python function app and mount an Azure Files share By mounting a share to your Linux function app, you can leverage existing machine learning models or other data in your functions.
Continuous deployment Description
Deploy from GitHub Create a function app that deploys from a GitHub repository.