你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CustomEventsTrigger interface

每次收到自定义事件时运行的触发器。

扩展

属性

events

导致触发此触发器的事件类型的列表。

scope

Azure 事件网格主题的 ARM 资源 ID。

subjectBeginsWith

事件主题必须以提供的模式开头,以便触发触发器。 必须至少提供其中一个:subjectBeginsWith、subjectEndsWith。

subjectEndsWith

事件主题必须以提供的模式结束,以便触发触发器。 必须至少提供其中一个:subjectBeginsWith、subjectEndsWith。

type

多态鉴别器,它指定此对象可以的不同类型的

继承属性

annotations

可用于描述触发器的标记列表。

description

触发器描述。

pipelines

需要启动的管道。

runtimeState

指示触发器是否正在运行。 在触发器上调用启动/停止 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

可用于描述触发器的标记列表。

annotations?: any[]

属性值

any[]

继承自MultiplePipelineTrigger.annotations

description

触发器描述。

description?: string

属性值

string

继承自MultiplePipelineTrigger.description

pipelines

需要启动的管道。

pipelines?: TriggerPipelineReference[]

属性值

继承自MultiplePipelineTrigger.pipelines

runtimeState

指示触发器是否正在运行。 在触发器上调用启动/停止 API 时更新。 注意:此属性不会序列化。 它只能由服务器填充。

runtimeState?: string

属性值

string

继承自MultiplePipelineTrigger.runtimeState