/// <summary>
 /// Initializes a new instance of the ChainingTrigger class.
 /// </summary>
 /// <param name="pipeline">Pipeline for which runs are created when all
 /// upstream pipelines complete successfully.</param>
 /// <param name="dependsOn">Upstream Pipelines.</param>
 /// <param name="runDimension">Run Dimension property that needs to be
 /// emitted by upstream pipelines.</param>
 /// <param name="additionalProperties">Unmatched properties from the
 /// message are deserialized this collection</param>
 /// <param name="description">Trigger description.</param>
 /// <param name="runtimeState">Indicates if trigger is running or not.
 /// Updated when Start/Stop APIs are called on the Trigger. Possible
 /// values include: 'Started', 'Stopped', 'Disabled'</param>
 /// <param name="annotations">List of tags that can be used for
 /// describing the trigger.</param>
 public ChainingTrigger(TriggerPipelineReference pipeline, IList <PipelineReference> dependsOn, string runDimension, IDictionary <string, object> additionalProperties = default(IDictionary <string, object>), string description = default(string), string runtimeState = default(string), IList <object> annotations = default(IList <object>))
     : base(additionalProperties, description, runtimeState, annotations)
 {
     Pipeline     = pipeline;
     DependsOn    = dependsOn;
     RunDimension = runDimension;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the TumblingWindowTrigger class.
 /// </summary>
 /// <param name="pipeline">Pipeline for which runs are created when an
 /// event is fired for trigger window that is ready.</param>
 /// <param name="frequency">The frequency of the time windows. Possible
 /// values include: 'Minute', 'Hour', 'Month'</param>
 /// <param name="interval">The interval of the time windows. The
 /// minimum interval allowed is 15 Minutes.</param>
 /// <param name="startTime">The start time for the time period for the
 /// trigger during which events are fired for windows that are ready.
 /// Only UTC time is currently supported.</param>
 /// <param name="maxConcurrency">The max number of parallel time
 /// windows (ready for execution) for which a new run is
 /// triggered.</param>
 /// <param name="additionalProperties">Unmatched properties from the
 /// message are deserialized this collection</param>
 /// <param name="description">Trigger description.</param>
 /// <param name="runtimeState">Indicates if trigger is running or not.
 /// Updated when Start/Stop APIs are called on the Trigger. Possible
 /// values include: 'Started', 'Stopped', 'Disabled'</param>
 /// <param name="annotations">List of tags that can be used for
 /// describing the trigger.</param>
 /// <param name="endTime">The end time for the time period for the
 /// trigger during which events are fired for windows that are ready.
 /// Only UTC time is currently supported.</param>
 /// <param name="delay">Specifies how long the trigger waits past due
 /// time before triggering new run. It doesn't alter window start and
 /// end time. The default is 0. Type: string (or Expression with
 /// resultType string), pattern:
 /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).</param>
 /// <param name="retryPolicy">Retry policy that will be applied for
 /// failed pipeline runs.</param>
 /// <param name="dependsOn">Triggers that this trigger depends on. Only
 /// tumbling window triggers are supported.</param>
 public TumblingWindowTrigger(TriggerPipelineReference pipeline, string frequency, int interval, System.DateTime startTime, int maxConcurrency, IDictionary <string, object> additionalProperties = default(IDictionary <string, object>), string description = default(string), string runtimeState = default(string), IList <object> annotations = default(IList <object>), System.DateTime?endTime = default(System.DateTime?), object delay = default(object), RetryPolicy retryPolicy = default(RetryPolicy), IList <DependencyReference> dependsOn = default(IList <DependencyReference>))
     : base(additionalProperties, description, runtimeState, annotations)
 {
     Pipeline       = pipeline;
     Frequency      = frequency;
     Interval       = interval;
     StartTime      = startTime;
     EndTime        = endTime;
     Delay          = delay;
     MaxConcurrency = maxConcurrency;
     RetryPolicy    = retryPolicy;
     DependsOn      = dependsOn;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ChainingTrigger class.
 /// </summary>
 public ChainingTrigger()
 {
     Pipeline = new TriggerPipelineReference();
     CustomInit();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the TumblingWindowTrigger class.
 /// </summary>
 public TumblingWindowTrigger()
 {
     Pipeline = new TriggerPipelineReference();
     CustomInit();
 }