Delen via


CustomEventsTrigger Class

Definition

Trigger that runs every time a custom event is received.

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

Constructors

CustomEventsTrigger(IEnumerable<BinaryData>, String)

Initializes a new instance of CustomEventsTrigger.

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)
Description

Trigger description.

(Inherited from DataFactoryTriggerProperties)
Events

The list of event types that cause this trigger to fire.

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" }.

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 Azure Event Grid Topic.

SubjectBeginsWith

The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.

SubjectEndsWith

The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.

Methods

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

Explicit Interface Implementations

IJsonModel<CustomEventsTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CustomEventsTrigger>.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<CustomEventsTrigger>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CustomEventsTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CustomEventsTrigger>.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