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

BlobEventsTrigger interface

每次发生 Blob 事件时都会运行的触发器。

扩展

属性

blobPathBeginsWith

Blob 路径必须以提供的模式开头,以便触发触发器。 例如,“/records/blobs/december/”将仅触发记录容器下 12 月文件夹中 blob 的触发器。 必须至少提供其中一个:blobPathBeginsWith、blobPathEndsWith。

blobPathEndsWith

Blob 路径必须以提供的模式结束,以便触发触发器。 例如,“december/boxes.csv”只会为 12 月文件夹中名为框的 blob 触发触发器。 必须至少提供其中一个:blobPathBeginsWith、blobPathEndsWith。

events

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

ignoreEmptyBlobs

如果设置为 true,将忽略包含零字节的 Blob。

scope

存储帐户的 ARM 资源 ID。

type

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

继承属性

annotations

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

description

触发器描述。

pipelines

需要启动的管道。

runtimeState

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

属性详细信息

blobPathBeginsWith

Blob 路径必须以提供的模式开头,以便触发触发器。 例如,“/records/blobs/december/”将仅触发记录容器下 12 月文件夹中 blob 的触发器。 必须至少提供其中一个:blobPathBeginsWith、blobPathEndsWith。

blobPathBeginsWith?: string

属性值

string

blobPathEndsWith

Blob 路径必须以提供的模式结束,以便触发触发器。 例如,“december/boxes.csv”只会为 12 月文件夹中名为框的 blob 触发触发器。 必须至少提供其中一个:blobPathBeginsWith、blobPathEndsWith。

blobPathEndsWith?: string

属性值

string

events

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

events: string[]

属性值

string[]

ignoreEmptyBlobs

如果设置为 true,将忽略包含零字节的 Blob。

ignoreEmptyBlobs?: boolean

属性值

boolean

scope

存储帐户的 ARM 资源 ID。

scope: string

属性值

string

type

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

type: "BlobEventsTrigger"

属性值

"BlobEventsTrigger"

继承属性详细信息

annotations

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

annotations?: any[]

属性值

any[]

继承自MultiplePipelineTrigger.annotations

description

触发器描述。

description?: string

属性值

string

继承自MultiplePipelineTrigger.description

pipelines

需要启动的管道。

pipelines?: TriggerPipelineReference[]

属性值

继承自MultiplePipelineTrigger.pipelines

runtimeState

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

runtimeState?: string

属性值

string

继承自MultiplePipelineTrigger.runtimeState