Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure functions in sub folders

Is it possible to group your azure functions into subfolders. It seems like the location of your function.json needs to be

/{functionName}/function.json

I'd like to have something like this

/{category}/{functionName}/function.json

When i try this though the function is not detected

like image 688
Ryan Burnham Avatar asked May 25 '17 09:05

Ryan Burnham


People also ask

Can Azure functions run in parallel?

Parallel executionWhen multiple triggering events occur faster than a single-threaded function runtime can process them, the runtime may invoke the function multiple times in parallel. If a function app is using the Consumption hosting plan, the function app could scale out automatically.

Can Azure functions share storage account?

Shared storage accountsIt's possible for multiple function apps to share the same storage account without any issues. For example, in Visual Studio you can develop multiple apps using the Azure Storage Emulator.


1 Answers

Unfortunately you can't change the location of function.json.

However, you could use the scriptFile property of function.json to refer to your function code files in another location.

like image 186
Matt Mason Avatar answered Nov 15 '22 09:11

Matt Mason