Rule. Update. with Condition(TimeAggregationType timeAggregation, ComparisonOperationType condition, double threshold) Method
Updates the condition to monitor for the current metric alert.
public abstract ScaleRule.Update withCondition(TimeAggregationType timeAggregation, ComparisonOperationType condition, double threshold)
the time aggregation type. How the data that is collected should be combined over time. The default value is Average. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count'.
the operator that is used to compare the metric data and the threshold. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'.
the threshold of the metric that triggers the scale action.
the next stage of the scale rule update.