Reputation: 391
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
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
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
Reputation: 15734
Please refer to this tutorial: https://learn.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:
Upvotes: 2