### YamlMime:JavaType methods: - fullName: com.microsoft.azure.functions.annotation.TimerTrigger.dataType() name: dataType() nameWithType: TimerTrigger.dataType() returns: description:
The dataType which will be used by the Functions runtime.
type:Defines how Functions runtime should treat the parameter value. Possible values are:
"": get the value as a string, and try to deserialize to actual parameter type like POJO
string: always get the value as a string
binary: get the value as a binary data, and try to deserialize to actual parameter type byte[]
The name of the variable that represents the timer object in function code.
type:The name of the variable that represents the timer object in function code.
syntax: public String name() uid: com.microsoft.azure.functions.annotation.TimerTrigger.name() - fullName: com.microsoft.azure.functions.annotation.TimerTrigger.schedule() name: schedule() nameWithType: TimerTrigger.schedule() returns: description:A string representing a CRON expression that will be used to schedule a function to run.
type:A CRON expression in the format {minute} {hour} {day} {month} {day-of-week}
.
TimerTrigger(name = "keepAliveTrigger", schedule = "0 */5 * * * *") String timerInfo, ExecutionContext context ) { // timeInfo is a JSON string, you can deserialize it to an object using your favorite JSON library context.getLogger().info("Timer is triggered: " + timerInfo); }
metadata: {}