CustomEventsTrigger interface
每次收到自定义事件时运行的触发器。
属性
| events | 导致触发此触发器的事件类型的列表。 |
| scope | Azure 事件网格主题的 ARM 资源 ID。 |
| subject |
事件主题必须以提供的模式开头,以便触发触发器。 必须至少提供其中一个:subjectBeginsWith、subjectEndsWith。 |
| subject |
事件主题必须以提供的模式结束,以便触发触发器。 必须至少提供其中一个:subjectBeginsWith、subjectEndsWith。 |
| type | 多态鉴别器,它指定此对象可以的不同类型的 |
继承属性
| annotations | 可用于描述触发器的标记列表。 |
| description | 触发器描述。 |
| pipelines | 需要启动的管道。 |
| runtime |
指示触发器是否正在运行。 在触发器上调用启动/停止 API 时更新。 注意:此属性不会序列化。 它只能由服务器填充。 |
属性详细信息
events
导致触发此触发器的事件类型的列表。
events: any[]
属性值
any[]
scope
Azure 事件网格主题的 ARM 资源 ID。
scope: string
属性值
string
subjectBeginsWith
事件主题必须以提供的模式开头,以便触发触发器。 必须至少提供其中一个:subjectBeginsWith、subjectEndsWith。
subjectBeginsWith?: string
属性值
string
subjectEndsWith
事件主题必须以提供的模式结束,以便触发触发器。 必须至少提供其中一个:subjectBeginsWith、subjectEndsWith。
subjectEndsWith?: string
属性值
string
type
多态鉴别器,它指定此对象可以的不同类型的
type: "CustomEventsTrigger"
属性值
"CustomEventsTrigger"
继承属性详细信息
annotations
description
pipelines
需要启动的管道。
pipelines?: TriggerPipelineReference[]
属性值
runtimeState
指示触发器是否正在运行。 在触发器上调用启动/停止 API 时更新。 注意:此属性不会序列化。 它只能由服务器填充。
runtimeState?: string
属性值
string