Class ThresholdRuleConditionArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.azurenative.insights.inputs.ThresholdRuleConditionArgs
-
public final class ThresholdRuleConditionArgs extends com.pulumi.resources.ResourceArgs
A rule condition based on a metric crossing a threshold.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThresholdRuleConditionArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ThresholdRuleConditionArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThresholdRuleConditionArgs.Builder
builder()
static ThresholdRuleConditionArgs.Builder
builder(ThresholdRuleConditionArgs defaults)
java.util.Optional<com.pulumi.core.Output<com.pulumi.core.Either<RuleManagementEventDataSourceArgs,RuleMetricDataSourceArgs>>>
dataSource()
com.pulumi.core.Output<java.lang.String>
odataType()
com.pulumi.core.Output<ConditionOperator>
operator()
com.pulumi.core.Output<java.lang.Double>
threshold()
java.util.Optional<com.pulumi.core.Output<TimeAggregationOperator>>
timeAggregation()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
windowSize()
-
-
-
Field Detail
-
Empty
public static final ThresholdRuleConditionArgs Empty
-
-
Method Detail
-
dataSource
public java.util.Optional<com.pulumi.core.Output<com.pulumi.core.Either<RuleManagementEventDataSourceArgs,RuleMetricDataSourceArgs>>> dataSource()
- Returns:
- the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
-
odataType
public com.pulumi.core.Output<java.lang.String> odataType()
- Returns:
- specifies the type of condition. This can be one of three types: ManagementEventRuleCondition (occurrences of management events), LocationThresholdRuleCondition (based on the number of failures of a web test), and ThresholdRuleCondition (based on the threshold of a metric). Expected value is 'Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition'.
-
operator
public com.pulumi.core.Output<ConditionOperator> operator()
- Returns:
- the operator used to compare the data and the threshold.
-
threshold
public com.pulumi.core.Output<java.lang.Double> threshold()
- Returns:
- the threshold value that activates the alert.
-
timeAggregation
public java.util.Optional<com.pulumi.core.Output<TimeAggregationOperator>> timeAggregation()
- Returns:
- the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric.
-
windowSize
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> windowSize()
- Returns:
- the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
-
builder
public static ThresholdRuleConditionArgs.Builder builder()
-
builder
public static ThresholdRuleConditionArgs.Builder builder(ThresholdRuleConditionArgs defaults)
-
-