azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

108 строки
7.9 KiB
YAML

### 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:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
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: "<xref href=\"com.microsoft.azure.management.monitor.LogMetricTrigger?alt=com.microsoft.azure.management.monitor.LogMetricTrigger&text=LogMetricTrigger\" data-throw-if-not-resolved=\"False\" />"
- 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: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- 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 - 'Greater<wbr>Than' or 'Less<wbr>Than."
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: "<xref href=\"com.microsoft.azure.management.monitor.ConditionalOperator?alt=com.microsoft.azure.management.monitor.ConditionalOperator&text=ConditionalOperator\" data-throw-if-not-resolved=\"False\" />"
- 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: "<xref href=\"com.microsoft.azure.management.monitor.LogMetricTrigger?alt=com.microsoft.azure.management.monitor.LogMetricTrigger&text=LogMetricTrigger\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TriggerCondition withMetricTrigger(LogMetricTrigger metricTrigger)"
desc: "Set trigger condition for metric query rule."
returns:
description: "the TriggerCondition object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.TriggerCondition?alt=com.microsoft.azure.management.monitor.TriggerCondition&text=TriggerCondition\" data-throw-if-not-resolved=\"False\" />"
- 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: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
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: "<xref href=\"com.microsoft.azure.management.monitor.TriggerCondition?alt=com.microsoft.azure.management.monitor.TriggerCondition&text=TriggerCondition\" data-throw-if-not-resolved=\"False\" />"
- 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 - 'Greater<wbr>Than' or 'Less<wbr>Than."
parameters:
- description: "the thresholdOperator value to set"
name: "thresholdOperator"
type: "<xref href=\"com.microsoft.azure.management.monitor.ConditionalOperator?alt=com.microsoft.azure.management.monitor.ConditionalOperator&text=ConditionalOperator\" data-throw-if-not-resolved=\"False\" />"
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: "<xref href=\"com.microsoft.azure.management.monitor.TriggerCondition?alt=com.microsoft.azure.management.monitor.TriggerCondition&text=TriggerCondition\" data-throw-if-not-resolved=\"False\" />"
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