예제 #1
0
        public PSTriggerRun(TriggerRun triggerRun, string resourceGroupName, string factoryName)
        {
            if (triggerRun == null)
            {
                throw new ArgumentNullException("triggerRun");
            }

            this.triggerRun        = triggerRun;
            this.ResourceGroupName = resourceGroupName;
            this.DataFactoryName   = factoryName;
        }
 public PSTriggerRun(TriggerRun triggerRun, string workspaceName)
 {
     this.TriggerRunId        = triggerRun?.TriggerRunId;
     this.TriggerName         = triggerRun?.TriggerName;
     this.TriggerType         = triggerRun?.TriggerType;
     this.TriggerRunTimestamp = triggerRun?.TriggerRunTimestamp;
     this.Status               = triggerRun?.Status;
     this.Message              = triggerRun?.Message;
     this.Properties           = triggerRun?.Properties;
     this.TriggeredPipelines   = triggerRun?.TriggeredPipelines;
     this.WorkspaceName        = workspaceName;
     this.AdditionalProperties = triggerRun?.AdditionalProperties;
 }
예제 #3
0
 public PSTriggerRun(TriggerRun triggerRun)
 {
     this.TriggerRunId        = triggerRun?.TriggerRunId;
     this.TriggerName         = triggerRun?.TriggerName;
     this.TriggerType         = triggerRun?.TriggerType;
     this.TriggerRunTimestamp = triggerRun?.TriggerRunTimestamp;
     this.Status             = triggerRun?.Status;
     this.Message            = triggerRun?.Message;
     this.Properties         = triggerRun?.Properties;
     this.TriggeredPipelines = triggerRun?.TriggeredPipelines;
     this.Keys   = triggerRun?.Keys;
     this.Values = triggerRun?.Values;
 }
예제 #4
0
 public PSTriggerRun()
 {
     this.triggerRun = new TriggerRun();
 }