Table of Contents

Class DataPipelineTrigger

Namespace
FoundationaLLM.Common.Models.ResourceProviders.DataPipeline
Assembly
FoundationaLLM.Common.dll

Provides the model for a data pipeline trigger.

public class DataPipelineTrigger
Inheritance
DataPipelineTrigger
Inherited Members
Extension Methods

Properties

Name

Gets or sets the name of the data pipeline trigger.

[JsonPropertyName("name")]
public required string Name { get; set; }

Property Value

string

ParameterValues

Gets or sets a dictionary that contains the parameter values required to trigger the pipeline.

[JsonPropertyName("parameter_values")]
public required Dictionary<string, object> ParameterValues { get; set; }

Property Value

Dictionary<string, object>

Remarks

When the trigger type is Event or Schedule, the dictionary must contain parameter values for all the data pipeline parameters (which are the union of all the parameters required by the data source and the data pipeline stages).

TriggerCronSchedule

Gets or sets the schedule of the trigger in Cron format.

[JsonPropertyName("trigger_cron_schedule")]
public string? TriggerCronSchedule { get; set; }

Property Value

string

Remarks

This property is valid only when TriggerType = Schedule.

TriggerType

Gets or sets the type of trigger that initiates the execution of the pipeline.

[JsonPropertyName("trigger_type")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public required DataPipelineTriggerType TriggerType { get; set; }

Property Value

DataPipelineTriggerType