EventGridTrigger Interface
public interface EventGridTrigger
EventGridTrigger(name = "event") String content, final ExecutionContext context ) { context.getLogger().info(content); }
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
dataType()
Defines how Functions runtime should treat the parameter value. Possible values are:
|
String |
name()
The variable name used in function.json. |
Method Details
dataType
public String dataType() default ""
Defines how Functions runtime should treat the parameter value. Possible values are:
<li>
<p>"": get the value as a string, and try to deserialize to actual parameter type like POJO </p>
</li>
<li>
<p>string: always get the value as a string </p>
</li>
<li>
<p>binary: get the value as a binary data, and try to deserialize to actual parameter type byte[] </p>
</li>
Returns:
The dataType which will be used by the Functions runtime.
name
public String name()
The variable name used in function.json.
Returns:
The variable name used in function.json.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java