ServiceBusTopicOutput Interface
public interface ServiceBusTopicOutput
Place this on a parameter whose value would be written to a service bus topic. The parameter type should be OutputBinding<T>, where T could be one of:
<li>
<p>Any native Java types such as int, String, byte[] </p>
</li>
<li>
<p>Any POJO type </p>
</li>
Method Summary
Modifier and Type | Method and Description |
---|---|
Access |
access()
Defines the permission of the Service Bus topic to which to write. |
String |
connection()
Defines the app setting name that contains the Service Bus connection string. |
String |
dataType()
Defines how Functions runtime should treat the parameter value. Possible values are:
|
String |
name()
The variable name used in function.json. |
String |
subscriptionName()
Defines the subscription name of the Service Bus topic to which to write. |
String |
topicName()
Defines the name of the Service Bus topic to which to write. |
Method Details
access
public AccessRights access() default AccessRights.MANAGE
Defines the permission of the Service Bus topic to which to write.
Returns:
connection
public String connection()
Defines the app setting name that contains the Service Bus connection string.
Returns:
dataType
public String dataType() default ""
Defines how Functions runtime should treat the parameter value. Possible values are:
<li>
<p>"" or string: treat it as a string whose value is serialized from the parameter </p>
</li>
<li>
<p>binary: treat it as a binary data whose value comes from for example OutputBinding<byte[]> </p>
</li>
Returns:
name
public String name()
The variable name used in function.json.
Returns:
subscriptionName
public String subscriptionName()
Defines the subscription name of the Service Bus topic to which to write.
Returns:
topicName
public String topicName()
Defines the name of the Service Bus topic to which to write.
Returns:
Applies to
Azure SDK for Java