Azure / Azure/azure-functions-java-library

TimerTrigger annotation doesn't cover 'useMonitor' and 'runOnStartup'

Open
#147 1 comment 2 reactions 0 assignees View on GitHub
area:java-functions
Dominant language
Java
Stars
45
Forks
49
PR merge metrics
No merged PRs in 30d

Description

I'd like to enable runOnStartup in function.json, but as far as I see the TimerTrigger anntation class, it's not supported.
Additionally, I found that we cannot change useMonitor into false via TimerTrigger anntation.
Should we support these settings in the anotation?

https://github.com/Azure/azure-functions-java-library/blob/dev/src/main/java/com/microsoft/azure/functions/annotation/TimerTrigger.java

https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/azure-functions/functions-bindings-timer.md#configuration

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.