Complete the code to specify the trigger type for an Azure Function.
trigger: [1]The httpTrigger is used to start an Azure Function when an HTTP request is received.
Complete the code to define the runtime version for an Azure Function app.
runtimeVersion: [1]The ~4 version is the latest major runtime version for Azure Functions, supporting the newest features.
Fix the error in the function.json binding direction property.
"direction": "[1]"
The correct value for the binding direction property is in or out. Here, in is the valid choice.
Fill both blanks to configure an Azure Function with a timer trigger and a schedule.
{
"bindings": [
{
"type": "[1]",
"schedule": "[2]"
}
]
}The timerTrigger type is used for scheduled functions. The schedule 0 */5 * * * * runs the function every 5 minutes.
Fill all three blanks to define an Azure Function with an HTTP trigger, a route, and an authorization level.
{
"bindings": [
{
"type": "[1]",
"route": "[2]",
"authLevel": "[3]"
}
]
}The httpTrigger type defines an HTTP-triggered function. The route specifies the URL path, here api/items. The authLevel set to function requires a function key for access.