1
votes

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

2

2 Answers

1
votes

Please refer to this tutorial: https://docs.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies

enter image description here 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:

  1. https://docs.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies#deployment-technology-details
  2. https://github.com/projectkudu/kudu/wiki/Deploying-from-a-zip-file-or-url
  3. https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-azure-function-azure-cli-linux
1
votes

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.