Package version:

Interface BlobEventsTrigger

Trigger that runs every time a Blob event occurs.

interface BlobEventsTrigger {
    annotations?: any[];
    blobPathBeginsWith?: string;
    blobPathEndsWith?: string;
    description?: string;
    events: string[];
    ignoreEmptyBlobs?: boolean;
    pipelines?: TriggerPipelineReference[];
    runtimeState?: string;
    scope: string;
    type: "BlobEventsTrigger";
}

Hierarchy (view full)

Properties

annotations?: any[]

List of tags that can be used for describing the trigger.

blobPathBeginsWith?: string

The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.

blobPathEndsWith?: string

The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.

description?: string

Trigger description.

events: string[]

The type of events that cause this trigger to fire.

ignoreEmptyBlobs?: boolean

If set to true, blobs with zero bytes will be ignored.

Pipelines that need to be started.

runtimeState?: string

Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. NOTE: This property will not be serialized. It can only be populated by the server.

scope: string

The ARM resource ID of the Storage Account.

type

Polymorphic discriminator, which specifies the different types this object can be