ServiceBusTopicTriggerOptions interface

Properties

cardinality

Set to many in order to enable batching. If omitted or set to one, a single message is passed to the function.

connection

An app setting (or environment variable) with the service bus connection string

isSessionsEnabled

true if connecting to a session-aware subscription. Default is false

subscriptionName

The name of the subscription to monitor

topicName

The name of the topic to monitor

Property Details

cardinality

Set to many in order to enable batching. If omitted or set to one, a single message is passed to the function.

cardinality?: "many" | "one"

Property Value

"many" | "one"

connection

An app setting (or environment variable) with the service bus connection string

connection: string

Property Value

string

isSessionsEnabled

true if connecting to a session-aware subscription. Default is false

isSessionsEnabled?: boolean

Property Value

boolean

subscriptionName

The name of the subscription to monitor

subscriptionName: string

Property Value

string

topicName

The name of the topic to monitor

topicName: string

Property Value

string