Skip to content

Commit 2d1f80f

Browse files
committed
Update Azure CLI samples: modify ms.date, enhance descriptions, and remove outdated scripts
1 parent f3bf52c commit 2d1f80f

9 files changed

Lines changed: 19 additions & 406 deletions

articles/azure-functions/functions-cli-samples.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ title: Azure CLI samples for Azure Functions
33
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.
44
ms.assetid: 577d2f13-de4d-40d2-9dfc-86ecc79f3ab0
55
ms.topic: sample
6-
ms.date: 04/21/2024
6+
ms.date: 04/01/2026
77
ms.custom: mvc, devx-track-azurecli, seo-azure-cli
88
keywords: functions, azure cli samples, azure cli examples, azure cli code samples
99
---
1010

1111
# Azure CLI Samples
1212

13-
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](functions-run-local.md) 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:
13+
These end-to-end Azure CLI scripts help you learn how to provision and manage the Azure resources required by Azure Functions. You must use the [Azure Functions Core Tools](functions-run-local.md) 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:
1414

1515
+ [C#](how-to-create-function-azure-cli.md?pivots=programming-language-csharp)
1616
+ [Java](how-to-create-function-azure-cli.md?pivots=programming-language-java)
@@ -19,23 +19,29 @@ These end-to-end Azure CLI scripts are provided to help you learn how to provisi
1919
+ [Python](how-to-create-function-azure-cli.md?pivots=programming-language-python)
2020
+ [TypeScript](how-to-create-function-azure-cli.md?pivots=programming-language-typescript)
2121

22-
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.
22+
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](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions) GitHub repository.
2323

2424
<a id="create"></a>
2525

2626
| Create app | Description |
2727
|---|---|
28-
| [Create a function app for serverless execution](scripts/functions-cli-create-serverless.md) | Create a function app in a Consumption plan. |
29-
| [Create a serverless Python function app](scripts/functions-cli-create-serverless-python.md) | Create a Python function app in a Consumption plan. |
30-
| [Create a function app in a scalable Premium plan](scripts/functions-cli-create-premium-plan.md) | Create a function app in a Premium plan. |
31-
| [Create a function app in a dedicated (App Service) plan](scripts/functions-cli-create-app-service-plan.md) | Create a function app in a dedicated App Service plan. |
28+
| [create-function-app-flex-consumption.sh](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/create-function-app-flex-consumption) | Creates a function app in a Flex Consumption plan with a user-assigned managed identity. **This is the recommended serverless hosting plan.** |
29+
| [create-function-app-consumption.sh](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/create-function-app-consumption) | Creates a function app in a Consumption plan. |
30+
| [create-function-app-premium-plan.sh](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/create-function-app-premium-plan) | Creates a function app in a Premium (Elastic Premium) plan. |
31+
| [create-function-app-app-service-plan.sh](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/create-function-app-app-service-plan) | Creates a function app in a dedicated App Service plan. |
3232

33-
| Integrate | Description|
33+
| Connect to services | Description |
3434
|---|---|
35-
| [Create a function app and connect to a storage account](scripts/functions-cli-create-function-app-connect-to-storage-account.md) | Create a function app and connect it to a storage account. |
36-
| [Create a function app and connect to an Azure Cosmos DB](scripts/functions-cli-create-function-app-connect-to-cosmos-db.md) | Create a function app and connect it to an Azure Cosmos DB instance. |
37-
| [Create a Python function app and mount an Azure Files share](scripts/functions-cli-mount-files-storage-linux.md) | By mounting a share to your Linux function app, you can leverage existing machine learning models or other data in your functions. |
35+
| [create-function-app-connect-to-storage-account.sh](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/create-function-app-connect-to-storage) | Creates a function app in a Flex Consumption plan and connects it to a storage account using managed identity. |
36+
| [create-function-app-connect-to-cosmos-db.sh](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/create-function-app-connect-to-cosmos-db) | Creates a function app in a Flex Consumption plan and connects it to Azure Cosmos DB using managed identity and RBAC. |
37+
| [connect-azure-openai-resources.sh](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/connect-azure-openai-resources) | Creates a function app in a Flex Consumption plan and connects it to Azure OpenAI using managed identity. |
38+
| [functions-cli-mount-files-storage-linux.sh](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/functions-cli-mount-files-storage-linux) | Creates a Linux function app and mounts an Azure Files share, which lets you leverage existing data or machine learning models in your functions. |
3839

39-
| Continuous deployment | Description|
40+
| Secure networking | Description |
4041
|---|---|
41-
| [Deploy from GitHub](scripts/functions-cli-create-function-app-github-continuous.md) | Create a function app that deploys from a GitHub repository. |
42+
| [create-function-app-vnet-storage.sh](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/create-function-app-vnet-storage) | 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. |
43+
| [create-function-app-private-endpoint.sh](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/create-function-app-private-endpoint) | 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. |
44+
45+
| Deploy code | Description |
46+
|---|---|
47+
| [deploy-function-app-with-function-github-continuous.sh](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/deploy-function-app-with-function-github-continuous) | Creates a function app in a Consumption plan and deploys code from a public GitHub repository. |

articles/azure-functions/scripts/functions-cli-create-app-service-plan.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

articles/azure-functions/scripts/functions-cli-create-function-app-connect-to-cosmos-db.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

articles/azure-functions/scripts/functions-cli-create-function-app-connect-to-storage-account.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

articles/azure-functions/scripts/functions-cli-create-function-app-github-continuous.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

articles/azure-functions/scripts/functions-cli-create-premium-plan.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)