### YamlMime:JavaType uid: "com.microsoft.azure.management.monitor.TriggerCondition" fullName: "com.microsoft.azure.management.monitor.TriggerCondition" name: "TriggerCondition" nameWithType: "TriggerCondition" summary: "The condition that results in the Log Search rule." inheritances: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" syntax: "public class **TriggerCondition**" constructors: - uid: "com.microsoft.azure.management.monitor.TriggerCondition.TriggerCondition()" fullName: "com.microsoft.azure.management.monitor.TriggerCondition.TriggerCondition()" name: "TriggerCondition()" nameWithType: "TriggerCondition.TriggerCondition()" syntax: "public TriggerCondition()" methods: - uid: "com.microsoft.azure.management.monitor.TriggerCondition.metricTrigger()" fullName: "com.microsoft.azure.management.monitor.TriggerCondition.metricTrigger()" name: "metricTrigger()" nameWithType: "TriggerCondition.metricTrigger()" summary: "Get trigger condition for metric query rule." syntax: "public LogMetricTrigger metricTrigger()" desc: "Get trigger condition for metric query rule." returns: description: "the metricTrigger value" type: "" - uid: "com.microsoft.azure.management.monitor.TriggerCondition.threshold()" fullName: "com.microsoft.azure.management.monitor.TriggerCondition.threshold()" name: "threshold()" nameWithType: "TriggerCondition.threshold()" summary: "Get result or count threshold based on which rule should be triggered." syntax: "public double threshold()" desc: "Get result or count threshold based on which rule should be triggered." returns: description: "the threshold value" type: "" - uid: "com.microsoft.azure.management.monitor.TriggerCondition.thresholdOperator()" fullName: "com.microsoft.azure.management.monitor.TriggerCondition.thresholdOperator()" name: "thresholdOperator()" nameWithType: "TriggerCondition.thresholdOperator()" summary: "Get evaluation operation for rule - 'GreaterThan' or 'LessThan." syntax: "public ConditionalOperator thresholdOperator()" desc: "Get evaluation operation for rule - 'GreaterThan' or 'LessThan. Possible values include: 'GreaterThan', 'LessThan', 'Equal'." returns: description: "the thresholdOperator value" type: "" - uid: "com.microsoft.azure.management.monitor.TriggerCondition.withMetricTrigger(com.microsoft.azure.management.monitor.LogMetricTrigger)" fullName: "com.microsoft.azure.management.monitor.TriggerCondition.withMetricTrigger(LogMetricTrigger metricTrigger)" name: "withMetricTrigger(LogMetricTrigger metricTrigger)" nameWithType: "TriggerCondition.withMetricTrigger(LogMetricTrigger metricTrigger)" summary: "Set trigger condition for metric query rule." parameters: - description: "the metricTrigger value to set" name: "metricTrigger" type: "" syntax: "public TriggerCondition withMetricTrigger(LogMetricTrigger metricTrigger)" desc: "Set trigger condition for metric query rule." returns: description: "the TriggerCondition object itself." type: "" - uid: "com.microsoft.azure.management.monitor.TriggerCondition.withThreshold(double)" fullName: "com.microsoft.azure.management.monitor.TriggerCondition.withThreshold(double threshold)" name: "withThreshold(double threshold)" nameWithType: "TriggerCondition.withThreshold(double threshold)" summary: "Set result or count threshold based on which rule should be triggered." parameters: - description: "the threshold value to set" name: "threshold" type: "" syntax: "public TriggerCondition withThreshold(double threshold)" desc: "Set result or count threshold based on which rule should be triggered." returns: description: "the TriggerCondition object itself." type: "" - uid: "com.microsoft.azure.management.monitor.TriggerCondition.withThresholdOperator(com.microsoft.azure.management.monitor.ConditionalOperator)" fullName: "com.microsoft.azure.management.monitor.TriggerCondition.withThresholdOperator(ConditionalOperator thresholdOperator)" name: "withThresholdOperator(ConditionalOperator thresholdOperator)" nameWithType: "TriggerCondition.withThresholdOperator(ConditionalOperator thresholdOperator)" summary: "Set evaluation operation for rule - 'GreaterThan' or 'LessThan." parameters: - description: "the thresholdOperator value to set" name: "thresholdOperator" type: "" syntax: "public TriggerCondition withThresholdOperator(ConditionalOperator thresholdOperator)" desc: "Set evaluation operation for rule - 'GreaterThan' or 'LessThan. Possible values include: 'GreaterThan', 'LessThan', 'Equal'." returns: description: "the TriggerCondition object itself." type: "" type: "class" desc: "The condition that results in the Log Search rule." metadata: {} package: "com.microsoft.azure.management.monitor" artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4