private CreateThresholdRuleCondition ( ) : Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition | ||
return | Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition |
private ThresholdRuleCondition CreateThresholdRuleCondition()
{
return new ThresholdRuleCondition()
{
DataSource = new RuleMetricDataSource()
{
MetricName = this.MetricName,
ResourceUri = this.TargetResourceId,
},
OperatorProperty = this.Operator,
Threshold = this.Threshold,
TimeAggregation = this.TimeAggregationOperator,
WindowSize = this.WindowSize,
};
}