I'm trying to disable a Function app, by using the Disable attribute with an app setting:
[Disable("Disable")]
[FunctionName("MyFunction")]
public static void Run([TimerTrigger("0 0 8 * * *")]TimerInfo myTimer)
When compiling this function, the function.json looks like this:
{
...
"disabled": "Disable",
...
}
On my function app on Azure, I've defined the following app setting:
But when looking at the functions in the function app, the function is still disabled:
I was expecting the function not to be disabled, since the value of the app setting is 0. I guess the function app is disabled if the value of the disabled field in json is true if not set to false?

