protected override void ProcessRecordInternal() { LogMetricTrigger metricTrigger = new LogMetricTrigger(thresholdOperator: ThresholdOperator, threshold: Threshold, metricTriggerType: MetricTriggerType, metricColumn: MetricColumn); WriteObject(new PSScheduledQueryRuleLogMetricTrigger(metricTrigger)); }
internal TriggerCondition(ConditionalOperator thresholdOperator, double threshold, LogMetricTrigger metricTrigger) { ThresholdOperator = thresholdOperator; Threshold = threshold; MetricTrigger = metricTrigger; }