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

137 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.ThresholdRuleCondition"
fullName: "com.microsoft.azure.management.monitor.ThresholdRuleCondition"
name: "ThresholdRuleCondition"
nameWithType: "ThresholdRuleCondition"
summary: "A rule condition based on a metric crossing a threshold."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.management.monitor.RuleCondition?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.microsoft.azure.management.monitor.RuleCondition?alt=com.microsoft.azure.management.monitor.RuleCondition&text=RuleCondition\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.microsoft.azure.management.monitor.RuleCondition.dataSource()?alt=com.microsoft.azure.management.monitor.RuleCondition.dataSource&text=dataSource\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.management.monitor.RuleCondition.withDataSource(com.microsoft.azure.management.monitor.RuleDataSource)?alt=com.microsoft.azure.management.monitor.RuleCondition.withDataSource&text=withDataSource\" data-throw-if-not-resolved=\"False\" />"
- 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 **ThresholdRuleCondition**</br> extends <xref href=\"com.microsoft.azure.management.monitor.RuleCondition?alt=com.microsoft.azure.management.monitor.RuleCondition&text=RuleCondition\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.ThresholdRuleCondition()"
fullName: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.ThresholdRuleCondition()"
name: "ThresholdRuleCondition()"
nameWithType: "ThresholdRuleCondition.ThresholdRuleCondition()"
syntax: "public ThresholdRuleCondition()"
methods:
- uid: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.operator()"
fullName: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.operator()"
name: "operator()"
nameWithType: "ThresholdRuleCondition.operator()"
summary: "Get the operator used to compare the data and the threshold."
syntax: "public ConditionOperator operator()"
desc: "Get the operator used to compare the data and the threshold. Possible values include: 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'."
returns:
description: "the operator value"
type: "<xref href=\"com.microsoft.azure.management.monitor.ConditionOperator?alt=com.microsoft.azure.management.monitor.ConditionOperator&text=ConditionOperator\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.threshold()"
fullName: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.threshold()"
name: "threshold()"
nameWithType: "ThresholdRuleCondition.threshold()"
summary: "Get the threshold value that activates the alert."
syntax: "public double threshold()"
desc: "Get the threshold value that activates the alert."
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.ThresholdRuleCondition.timeAggregation()"
fullName: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.timeAggregation()"
name: "timeAggregation()"
nameWithType: "ThresholdRuleCondition.timeAggregation()"
summary: "Get the time aggregation operator."
syntax: "public TimeAggregationOperator timeAggregation()"
desc: "Get the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Last'."
returns:
description: "the timeAggregation value"
type: "<xref href=\"com.microsoft.azure.management.monitor.TimeAggregationOperator?alt=com.microsoft.azure.management.monitor.TimeAggregationOperator&text=TimeAggregationOperator\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.windowSize()"
fullName: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.windowSize()"
name: "windowSize()"
nameWithType: "ThresholdRuleCondition.windowSize()"
summary: "Get the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
syntax: "public Period windowSize()"
desc: "Get 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:
description: "the windowSize value"
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.withOperator(com.microsoft.azure.management.monitor.ConditionOperator)"
fullName: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.withOperator(ConditionOperator operator)"
name: "withOperator(ConditionOperator operator)"
nameWithType: "ThresholdRuleCondition.withOperator(ConditionOperator operator)"
summary: "Set the operator used to compare the data and the threshold."
parameters:
- description: "the operator value to set"
name: "operator"
type: "<xref href=\"com.microsoft.azure.management.monitor.ConditionOperator?alt=com.microsoft.azure.management.monitor.ConditionOperator&text=ConditionOperator\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ThresholdRuleCondition withOperator(ConditionOperator operator)"
desc: "Set the operator used to compare the data and the threshold. Possible values include: 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'."
returns:
description: "the ThresholdRuleCondition object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.ThresholdRuleCondition?alt=com.microsoft.azure.management.monitor.ThresholdRuleCondition&text=ThresholdRuleCondition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.withThreshold(double)"
fullName: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.withThreshold(double threshold)"
name: "withThreshold(double threshold)"
nameWithType: "ThresholdRuleCondition.withThreshold(double threshold)"
summary: "Set the threshold value that activates the alert."
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 ThresholdRuleCondition withThreshold(double threshold)"
desc: "Set the threshold value that activates the alert."
returns:
description: "the ThresholdRuleCondition object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.ThresholdRuleCondition?alt=com.microsoft.azure.management.monitor.ThresholdRuleCondition&text=ThresholdRuleCondition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.withTimeAggregation(com.microsoft.azure.management.monitor.TimeAggregationOperator)"
fullName: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.withTimeAggregation(TimeAggregationOperator timeAggregation)"
name: "withTimeAggregation(TimeAggregationOperator timeAggregation)"
nameWithType: "ThresholdRuleCondition.withTimeAggregation(TimeAggregationOperator timeAggregation)"
summary: "Set the time aggregation operator."
parameters:
- description: "the timeAggregation value to set"
name: "timeAggregation"
type: "<xref href=\"com.microsoft.azure.management.monitor.TimeAggregationOperator?alt=com.microsoft.azure.management.monitor.TimeAggregationOperator&text=TimeAggregationOperator\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ThresholdRuleCondition withTimeAggregation(TimeAggregationOperator timeAggregation)"
desc: "Set the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Last'."
returns:
description: "the ThresholdRuleCondition object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.ThresholdRuleCondition?alt=com.microsoft.azure.management.monitor.ThresholdRuleCondition&text=ThresholdRuleCondition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.withWindowSize(org.joda.time.Period)"
fullName: "com.microsoft.azure.management.monitor.ThresholdRuleCondition.withWindowSize(Period windowSize)"
name: "withWindowSize(Period windowSize)"
nameWithType: "ThresholdRuleCondition.withWindowSize(Period windowSize)"
summary: "Set the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
parameters:
- description: "the windowSize value to set"
name: "windowSize"
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ThresholdRuleCondition withWindowSize(Period windowSize)"
desc: "Set 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:
description: "the ThresholdRuleCondition object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.ThresholdRuleCondition?alt=com.microsoft.azure.management.monitor.ThresholdRuleCondition&text=ThresholdRuleCondition\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A rule condition based on a metric crossing a threshold."
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4