GenericFunctionOptions interface

Configures the inputs, outputs, and handler for an Azure Function

Extends

Properties

retry

An optional retry policy to rerun a failed execution until either successful completion occurs or the maximum number of retries is reached. Learn more here

Inherited Properties

extraInputs

Configuration for an optional set of secondary inputs During invocation, get these values with context.extraInputs.get()

extraOutputs

Configuration for an optional set of secondary outputs During invocation, set these values with context.extraOutputs.set()

handler

The code that will be executed when your function is triggered

return

Configuration for the optional primary output of the function This is the main output that you should set as the return value of the function handler during invocation

trigger

Configuration for the primary input to the function, aka the reason it will be triggered This is the only input that is passed as an argument to the function handler during invocation

Property Details

retry

An optional retry policy to rerun a failed execution until either successful completion occurs or the maximum number of retries is reached. Learn more here

retry?: RetryOptions

Property Value

Inherited Property Details

extraInputs

Configuration for an optional set of secondary inputs During invocation, get these values with context.extraInputs.get()

extraInputs?: FunctionInput[]

Property Value

Inherited From FunctionOptions.extraInputs

extraOutputs

Configuration for an optional set of secondary outputs During invocation, set these values with context.extraOutputs.set()

extraOutputs?: FunctionOutput[]

Property Value

Inherited From FunctionOptions.extraOutputs

handler

The code that will be executed when your function is triggered

handler: FunctionHandler

Property Value

Inherited From FunctionOptions.handler

return

Configuration for the optional primary output of the function This is the main output that you should set as the return value of the function handler during invocation

return?: FunctionOutput

Property Value

Inherited From FunctionOptions.return

trigger

Configuration for the primary input to the function, aka the reason it will be triggered This is the only input that is passed as an argument to the function handler during invocation

trigger: FunctionTrigger

Property Value

Inherited From FunctionOptions.trigger