Dela via


ChainingTrigger Class

Definition

Trigger that allows the referenced pipeline to depend on other pipeline runs based on runDimension Name/Value pairs. Upstream pipelines should declare the same runDimension Name and their runs should have the values for those runDimensions. The referenced pipeline run would be triggered if the values for the runDimension match for all upstream pipeline runs.

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

Constructors

ChainingTrigger(TriggerPipelineReference, IEnumerable<DataFactoryPipelineReference>, String)

Initializes a new instance of ChainingTrigger.

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

Upstream Pipelines.

Description

Trigger description.

(Inherited from DataFactoryTriggerProperties)
Pipeline

Pipeline for which runs are created when all upstream pipelines complete successfully.

RunDimension

Run Dimension property that needs to be emitted by upstream pipelines.

RuntimeState

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

(Inherited from DataFactoryTriggerProperties)

Methods

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

Explicit Interface Implementations

IJsonModel<ChainingTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Converts the provided BinaryData into a model.

IPersistableModel<ChainingTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChainingTrigger>.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)

Applies to