You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Modify links to Azure CLI samples for creating function apps.
- Update date in Azure CLI samples metadata.
- Revise references to mounting file shares in TensorFlow documentation.
- Remove outdated CLI script samples for creating function apps.
- Add redirects for removed scripts to the Azure CLI samples page.
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.
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 are provided to 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:
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.
23
23
24
24
<aid="create"></a>
25
25
26
26
| Create app | Description |
27
27
|---|---|
28
-
|[Create a functionapp for serverless execution](scripts/functions-cli-create-serverless.md)|Create a function app in a Consumption plan. |
29
-
|[Create a serverless Python functionapp](scripts/functions-cli-create-serverless-python.md)|Create a Python function app in a Consumption plan. |
30
-
|[Create a functionapp in a scalable Premium plan](scripts/functions-cli-create-premium-plan.md)|Create a function app in a Premium plan. |
31
-
|[Create a functionapp 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. |
32
32
33
-
|Integrate| Description|
33
+
|Connect to services| Description|
34
34
|---|---|
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. |
38
39
39
-
|Continuous deployment| Description|
40
+
|Deploy code| Description|
40
41
|---|---|
41
-
|[Deploy from GitHub](scripts/functions-cli-create-function-app-github-continuous.md)|Create a function app that deploys from a GitHub repository.|
42
+
|[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 Flex Consumption plan and deploys code from a public GitHub repository. |
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-machine-learning-tensorflow.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ To modify the `classify` function to classify an image based on its contents, yo
134
134
To build your own model using the free tier of the Custom Vision Service, follow the instructions in the [sample project repository](https://github.com/Azure-Samples/functions-python-tensorflow-tutorial/blob/master/train-custom-vision-model.md).
135
135
136
136
> [!TIP]
137
-
> If you want to host your TensorFlow model independent of the function app, you can instead mount a file share containing your model to your Linux function app. To learn more, see [Mount a file share to a Python function app using Azure CLI](./scripts/functions-cli-mount-files-storage-linux.md).
137
+
> If you want to host your TensorFlow model independent of the function app, you can instead mount a file share containing your model to your Linux function app. To learn more, see [Mount file shares](storage-considerations.md#mount-file-shares).
138
138
139
139
1. In the *start* folder, run following command to copy the model files into the *classify* folder. Be sure to include `\*` in the command.
140
140
@@ -295,4 +295,4 @@ See also:
295
295
296
296
- [Deploy the function to Azure using Visual Studio Code](https://code.visualstudio.com/docs/python/tutorial-azure-functions).
- [Mount a file share to a Python function app using Azure CLI](./scripts/functions-cli-mount-files-storage-linux.md)
298
+
- [Azure CLI: Mount a file share to a Python function app](https://github.com/Azure-Samples/azure-cli-samples/tree/master/azure-functions/functions-cli-mount-files-storage-linux)
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-run-local.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -403,7 +403,7 @@ The following considerations apply to this kind of deployment:
403
403
404
404
+ Publishing overwrites existing files in the remote function app deployment.
405
405
406
-
+ You must have already [created a function app in your Azure subscription](functions-cli-samples.md#create). Core Tools deploys your project code to this function app resource. To learn how to create a function app from the command prompt or terminal window using the Azure CLI or Azure PowerShell, see [Create a Function App for serverless execution](./scripts/functions-cli-create-serverless.md). You can also [create these resources in the Azure portal](./functions-create-function-app-portal.md#create-a-function-app). You get an error when you try to publish to a `<FunctionAppName>` that doesn't exist in your subscription.
406
+
+ You must have already [created a function app in your Azure subscription](functions-cli-samples.md#create). Core Tools deploys your project code to this function app resource. To learn how to create a function app from the command prompt or terminal window using the Azure CLI or Azure PowerShell, see [Azure CLI Samples](functions-cli-samples.md#create). You can also [create these resources in the Azure portal](./functions-create-function-app-portal.md#create-a-function-app). You get an error when you try to publish to a `<FunctionAppName>` that doesn't exist in your subscription.
407
407
408
408
+ A project folder may contain language-specific files and directories that shouldn't be published. Excluded items are listed in a .funcignore file in the root project folder.
0 commit comments