Class ManagementEventRuleConditionArgs.Builder
- java.lang.Object
-
- com.pulumi.azurenative.insights.inputs.ManagementEventRuleConditionArgs.Builder
-
- Enclosing class:
- ManagementEventRuleConditionArgs
public static final class ManagementEventRuleConditionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ManagementEventRuleConditionArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ManagementEventRuleConditionArgs defaults)
-
-
Method Detail
-
aggregation
public ManagementEventRuleConditionArgs.Builder aggregation(@Nullable com.pulumi.core.Output<ManagementEventAggregationConditionArgs> aggregation)
- Parameters:
aggregation
- How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.- Returns:
- builder
-
aggregation
public ManagementEventRuleConditionArgs.Builder aggregation(ManagementEventAggregationConditionArgs aggregation)
- Parameters:
aggregation
- How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.- Returns:
- builder
-
dataSource
public ManagementEventRuleConditionArgs.Builder dataSource(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<RuleManagementEventDataSourceArgs,RuleMetricDataSourceArgs>> dataSource)
- Parameters:
dataSource
- the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.- Returns:
- builder
-
dataSource
public ManagementEventRuleConditionArgs.Builder dataSource(com.pulumi.core.Either<RuleManagementEventDataSourceArgs,RuleMetricDataSourceArgs> dataSource)
- Parameters:
dataSource
- the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.- Returns:
- builder
-
dataSource
public ManagementEventRuleConditionArgs.Builder dataSource(RuleManagementEventDataSourceArgs dataSource)
- Parameters:
dataSource
- the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.- Returns:
- builder
-
dataSource
public ManagementEventRuleConditionArgs.Builder dataSource(RuleMetricDataSourceArgs dataSource)
- Parameters:
dataSource
- the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.- Returns:
- builder
-
odataType
public ManagementEventRuleConditionArgs.Builder odataType(com.pulumi.core.Output<java.lang.String> odataType)
- Parameters:
odataType
- 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.ManagementEventRuleCondition'.- Returns:
- builder
-
odataType
public ManagementEventRuleConditionArgs.Builder odataType(java.lang.String odataType)
- Parameters:
odataType
- 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.ManagementEventRuleCondition'.- Returns:
- builder
-
build
public ManagementEventRuleConditionArgs build()
-
-