Uses of Class
com.azure.resourcemanager.monitor.models.ThresholdRuleCondition
Packages that use ThresholdRuleCondition
Package
Description
Package containing the data models for MonitorClient.
-
Uses of ThresholdRuleCondition in com.azure.resourcemanager.monitor.models
Methods in com.azure.resourcemanager.monitor.models that return ThresholdRuleConditionModifier and TypeMethodDescriptionstatic ThresholdRuleConditionThresholdRuleCondition.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ThresholdRuleCondition from the JsonReader.ThresholdRuleCondition.withDataSource(RuleDataSource dataSource) Set the dataSource property: the resource from which the rule collects its data.ThresholdRuleCondition.withOperator(ConditionOperator operator) Set the operator property: the operator used to compare the data and the threshold.ThresholdRuleCondition.withThreshold(double threshold) Set the threshold property: the threshold value that activates the alert.ThresholdRuleCondition.withTimeAggregation(TimeAggregationOperator timeAggregation) Set the timeAggregation property: the time aggregation operator.ThresholdRuleCondition.withWindowSize(Duration windowSize) Set the windowSize property: the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.