Elad Hazan
Elad Hazan

Reputation: 391

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://learn.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

Upvotes: 2

Views: 7788

Answers (3)

Purnajyoti Bhaumik
Purnajyoti Bhaumik

Reputation: 132

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/

Upvotes: 0

suziki
suziki

Reputation: 14088

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.

Upvotes: 1

Hury Shen
Hury Shen

Reputation: 15734

Please refer to this tutorial: https://learn.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://learn.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://learn.microsoft.com/en-us/azure/azure-functions/functions-create-first-azure-function-azure-cli-linux

Upvotes: 2

Related Questions