ServiceBusTopicOutput Interface

Definition

Place this on a parameter whose value would be written to a service bus topic. The parameter type should be OutputBinding, where T could be one of:

  • Any native Java types such as int, String, byte[]
  • Any POJO type
public interface ServiceBusTopicOutput implements Annotation
Implements
java.lang.annotation.Annotation

Methods

access()

Defines the permission of the Service Bus topic to which to write.

connection()

Defines the app setting name that contains the Service Bus connection string.

dataType()

Defines how Functions runtime should treat the parameter value. Possible values are:

  • "" or string: treat it as a string whose value is serialized from the parameter
  • binary: treat it as a binary data whose value comes from for example OutputBinding<byte[]>
name()

The variable name used in function.json.

subscriptionName()

Defines the subscription name of the Service Bus topic to which to write.

topicName()

Defines the name of the Service Bus topic to which to write.

Applies to