'Download your function app files in Azure Functions Consumption plan
In Azure Functions when you create App Function with Hosting Plan: Consumption Plan Os: Linux The Download app content Tab is grayed out. I cannot use this link: https://docs.microsoft.com/en-us/azure/azure-functions/deployment-zip-push#download-your-function-app-files for instructions to download the app code.
Why is that?
Thank you
Solution 1:[1]
Please refer to this tutorial: https://docs.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies
As we can see, the only two ways of Linux Consumption Plan function are External package URL and Zip deploy.
That’s why we are not allowed to download contents via portal and API. (Portal editing / Kudu is not supported.
The links below may help you:
- https://docs.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies#deployment-technology-details
- https://github.com/projectkudu/kudu/wiki/Deploying-from-a-zip-file-or-url
- https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-azure-function-azure-cli-linux
Solution 2:[2]
If you want to finish the tutorial, I can give you the following two suggestions?
1. to create App functions on linux os? follow the document. If you choose App Service Plan, there will be no problem. Why you can't download app content is because of this.
2. create App functions on windows os: even if you choose Consumption Plan, there will also no problem.
Solution 3:[3]
You can download any Azure function app using the following instructions (you will need appropriate authorization): https://toggen.com.au/it-tips/download-an-azure-function-app-for-development-in-vs-code/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Hury Shen |
| Solution 2 | |
| Solution 3 | Purnajyoti Bhaumik |
