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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java