///GENMHASH:16385B0F625BFE1280EAADD4C9A52F83:175426222378DAACFA1C214E2C05A68B public MetricAlertConditionImpl WithCondition(MetricAlertRuleTimeAggregation timeAggregation, MetricAlertRuleCondition condition, double threshold) { this.Inner.OperatorProperty = OperatorModel.Parse(condition.ToString()); this.Inner.TimeAggregation = timeAggregation.ToString(); this.Inner.Threshold = threshold; return(this); }
public MetricDynamicAlertConditionImpl WithCondition(MetricAlertRuleTimeAggregation timeAggregation, DynamicThresholdOperator condition, DynamicThresholdSensitivity alertSensitivity) { this.Inner.OperatorProperty = condition.ToString(); this.Inner.TimeAggregation = timeAggregation.ToString(); this.Inner.AlertSensitivity = alertSensitivity.ToString(); return(this); }
///GENMHASH:5636490A40EC03DD34FE49E4DC4B68A3:950C986A6843B6B6B52C4F1945939B08 public MetricAlertRuleTimeAggregation TimeAggregation() { return(MetricAlertRuleTimeAggregation.Parse(this.Inner.TimeAggregation)); }
IWithFailingPeriods <MetricAlert.Update.IUpdate> IWithCriteriaOperator <MetricAlert.Update.IUpdate> .WithCondition(MetricAlertRuleTimeAggregation timeAggregation, DynamicThresholdOperator condition, DynamicThresholdSensitivity alertSensitivity) { return(this.WithCondition(timeAggregation, condition, alertSensitivity)); }
IUpdateStages IUpdateStages.WithCondition(MetricAlertRuleTimeAggregation timeAggregation, DynamicThresholdOperator condition, DynamicThresholdSensitivity alertSensitivity) { return(this.WithCondition(timeAggregation, condition, alertSensitivity)); }
MetricDynamicAlertCondition.Definition.IWithFailingPeriods <MetricAlert.Definition.IWithCreateDynamicCondition> MetricDynamicAlertCondition.Definition.IWithCriteriaOperator <MetricAlert.Definition.IWithCreateDynamicCondition> .WithCondition(MetricAlertRuleTimeAggregation timeAggregation, DynamicThresholdOperator condition, DynamicThresholdSensitivity alertSensitivity) { return(this.WithCondition(timeAggregation, condition, alertSensitivity)); }
/// <summary> /// Sets the condition to monitor for the current metric alert. /// </summary> /// <param name="condition">The criteria operator. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'.</param> /// <param name="timeAggregation">The criteria time aggregation types. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total'.</param> /// <param name="threshold">The criteria threshold value that activates the alert.</param> /// <return>The next stage of metric alert condition definition.</return> MetricAlertCondition.Definition.IWithConditionAttach <MetricAlert.Definition.IWithCreate> MetricAlertCondition.Definition.IWithCriteriaOperator <MetricAlert.Definition.IWithCreate> .WithCondition(MetricAlertRuleTimeAggregation timeAggregation, MetricAlertRuleCondition condition, double threshold) { return(this.WithCondition(timeAggregation, condition, threshold)); }
/// <summary> /// Sets the condition to monitor for the current metric alert. /// </summary> /// <param name="condition">The criteria operator. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'.</param> /// <param name="timeAggregation">The criteria time aggregation types. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total'.</param> /// <param name="threshold">The criteria threshold value that activates the alert.</param> /// <return>The next stage of the metric alert condition update.</return> MetricAlertCondition.Update.IUpdateStages MetricAlertCondition.Update.IUpdateStages.WithCondition(MetricAlertRuleTimeAggregation timeAggregation, MetricAlertRuleCondition condition, double threshold) { return(this.WithCondition(timeAggregation, condition, threshold)); }
///GENMHASH:5636490A40EC03DD34FE49E4DC4B68A3:950C986A6843B6B6B52C4F1945939B08 public MetricAlertRuleTimeAggregation TimeAggregation() { return(MetricAlertRuleTimeAggregation.Parse(System.Convert.ToString(this.Inner.TimeAggregation))); }