Class LocationThresholdRuleConditionArgs.Builder

    • Method Detail

      • failedLocationCount

        public LocationThresholdRuleConditionArgs.Builder failedLocationCount​(com.pulumi.core.Output<java.lang.Integer> failedLocationCount)
        Parameters:
        failedLocationCount - the number of locations that must fail to activate the alert.
        Returns:
        builder
      • failedLocationCount

        public LocationThresholdRuleConditionArgs.Builder failedLocationCount​(java.lang.Integer failedLocationCount)
        Parameters:
        failedLocationCount - the number of locations that must fail to activate the alert.
        Returns:
        builder
      • odataType

        public LocationThresholdRuleConditionArgs.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.LocationThresholdRuleCondition'.
        Returns:
        builder
      • odataType

        public LocationThresholdRuleConditionArgs.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.LocationThresholdRuleCondition'.
        Returns:
        builder
      • windowSize

        public LocationThresholdRuleConditionArgs.Builder windowSize​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> windowSize)
        Parameters:
        windowSize - 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.
        Returns:
        builder
      • windowSize

        public LocationThresholdRuleConditionArgs.Builder windowSize​(java.lang.String windowSize)
        Parameters:
        windowSize - 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.
        Returns:
        builder