HttpFunctionOptions interface

Extends

Properties

handler
return

Configuration for the optional primary output of the function. If not set, this will default to a standard http response output This is the main output that you should set as the return value of the function handler during invocation

trigger

Inherited Properties

authLevel

The function HTTP authorization level Defaults to 'anonymous' if not specified

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()

methods

An array of the http methods for this http input Defaults to ["get", "post"] if not specified

route

The route for this http input. If not specified, the function name will be used

Property Details

handler

handler: HttpHandler

Property Value

return

Configuration for the optional primary output of the function. If not set, this will default to a standard http response output This is the main output that you should set as the return value of the function handler during invocation

return?: FunctionOutput

Property Value

trigger

trigger?: HttpTrigger

Property Value

Inherited Property Details

authLevel

The function HTTP authorization level Defaults to 'anonymous' if not specified

authLevel?: "function" | "anonymous" | "admin"

Property Value

"function" | "anonymous" | "admin"

Inherited From HttpTriggerOptions.authLevel

extraInputs

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

extraInputs?: FunctionInput[]

Property Value

Inherited From Partial.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 Partial.extraOutputs

methods

An array of the http methods for this http input Defaults to ["get", "post"] if not specified

methods?: HttpMethod[]

Property Value

Inherited From HttpTriggerOptions.methods

route

The route for this http input. If not specified, the function name will be used

route?: string

Property Value

string

Inherited From HttpTriggerOptions.route