BlobEventsTrigger Class

Trigger that runs every time a Blob event occurs.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.datafactory.models._models_py3.MultiplePipelineTrigger
BlobEventsTrigger

Constructor

BlobEventsTrigger(*, events: List[Union[str, _models.BlobEventTypes]], scope: str, additional_properties: Optional[Dict[str, Any]] = None, description: Optional[str] = None, annotations: Optional[List[Any]] = None, pipelines: Optional[List[_models.TriggerPipelineReference]] = None, blob_path_begins_with: Optional[str] = None, blob_path_ends_with: Optional[str] = None, ignore_empty_blobs: Optional[bool] = None, **kwargs)

Variables

additional_properties
dict[str, any]

Unmatched properties from the message are deserialized to this collection.

type
str

Required. Trigger type.Constant filled by server.

description
str

Trigger description.

runtime_state
str or TriggerRuntimeState

Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Known values are: "Started", "Stopped", "Disabled".

annotations
list[any]

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

pipelines
list[TriggerPipelineReference]

Pipelines that need to be started.

blob_path_begins_with
str

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.

blob_path_ends_with
str

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.

ignore_empty_blobs
bool

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

events
list[str or BlobEventTypes]

Required. The type of events that cause this trigger to fire.

scope
str

Required. The ARM resource ID of the Storage Account.