EventHubOutput Interface
public interface EventHubOutput
TimerTrigger(name = "sendTimeTrigger", schedule = "0 */5 * * * *") String timerInfo ) { return LocalDateTime.now().toString(); }
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
connection()
Defines the app setting name that contains the Azure Eventhub connection string. |
String |
dataType()
Defines how Functions runtime should treat the parameter value. Possible values are:
|
String |
eventHubName()
Defines the name of the event hub to which to publish. |
String |
name()
The variable name used in function.json. |
Method Details
connection
public String connection()
Defines the app setting name that contains the Azure Eventhub 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:
eventHubName
public String eventHubName()
Defines the name of the event hub to which to publish.
Returns:
name
public String name()
The variable name used in function.json.
Returns: