Partager via


DataFactoryBlobEventsTrigger Class

Definition

Trigger that runs every time a Blob event occurs.

public class DataFactoryBlobEventsTrigger : Azure.ResourceManager.DataFactory.Models.MultiplePipelineTrigger, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.DataFactoryBlobEventsTrigger>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.DataFactoryBlobEventsTrigger>
public class DataFactoryBlobEventsTrigger : Azure.ResourceManager.DataFactory.Models.MultiplePipelineTrigger
type DataFactoryBlobEventsTrigger = class
    inherit MultiplePipelineTrigger
    interface IJsonModel<DataFactoryBlobEventsTrigger>
    interface IPersistableModel<DataFactoryBlobEventsTrigger>
type DataFactoryBlobEventsTrigger = class
    inherit MultiplePipelineTrigger
Public Class DataFactoryBlobEventsTrigger
Inherits MultiplePipelineTrigger
Implements IJsonModel(Of DataFactoryBlobEventsTrigger), IPersistableModel(Of DataFactoryBlobEventsTrigger)
Public Class DataFactoryBlobEventsTrigger
Inherits MultiplePipelineTrigger
Inheritance
Implements

Constructors

DataFactoryBlobEventsTrigger(IEnumerable<DataFactoryBlobEventType>, String)

Initializes a new instance of DataFactoryBlobEventsTrigger.

Properties

AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

(Inherited from DataFactoryTriggerProperties)
Annotations

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

To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

(Inherited from DataFactoryTriggerProperties)
BlobPathBeginsWith

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

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

Trigger description.

(Inherited from DataFactoryTriggerProperties)
Events

The type of events that cause this trigger to fire.

IgnoreEmptyBlobs

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

Pipelines

Pipelines that need to be started.

(Inherited from MultiplePipelineTrigger)
RuntimeState

Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger.

(Inherited from DataFactoryTriggerProperties)
Scope

The ARM resource ID of the Storage Account.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from MultiplePipelineTrigger)

Explicit Interface Implementations

IJsonModel<DataFactoryBlobEventsTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DataFactoryBlobEventsTrigger>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<DataFactoryTriggerProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from DataFactoryTriggerProperties)
IJsonModel<DataFactoryTriggerProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DataFactoryTriggerProperties)
IJsonModel<MultiplePipelineTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MultiplePipelineTrigger)
IJsonModel<MultiplePipelineTrigger>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MultiplePipelineTrigger)
IPersistableModel<DataFactoryBlobEventsTrigger>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataFactoryBlobEventsTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DataFactoryBlobEventsTrigger>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<DataFactoryTriggerProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DataFactoryTriggerProperties)
IPersistableModel<DataFactoryTriggerProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from DataFactoryTriggerProperties)
IPersistableModel<DataFactoryTriggerProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DataFactoryTriggerProperties)
IPersistableModel<MultiplePipelineTrigger>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MultiplePipelineTrigger)
IPersistableModel<MultiplePipelineTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MultiplePipelineTrigger)
IPersistableModel<MultiplePipelineTrigger>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MultiplePipelineTrigger)

Applies to