ThresholdRuleCondition コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
ThresholdRuleCondition() |
ThresholdRuleCondition クラスの新しいインスタンスを初期化します。 |
ThresholdRuleCondition(ConditionOperator, Double, RuleDataSource, Nullable<TimeSpan>, Nullable<TimeAggregationOperator>) |
ThresholdRuleCondition クラスの新しいインスタンスを初期化します。 |
ThresholdRuleCondition()
ThresholdRuleCondition クラスの新しいインスタンスを初期化します。
public ThresholdRuleCondition ();
Public Sub New ()
適用対象
ThresholdRuleCondition(ConditionOperator, Double, RuleDataSource, Nullable<TimeSpan>, Nullable<TimeAggregationOperator>)
ThresholdRuleCondition クラスの新しいインスタンスを初期化します。
public ThresholdRuleCondition (Microsoft.Azure.Management.Monitor.Models.ConditionOperator operatorProperty, double threshold, Microsoft.Azure.Management.Monitor.Models.RuleDataSource dataSource = default, TimeSpan? windowSize = default, Microsoft.Azure.Management.Monitor.Models.TimeAggregationOperator? timeAggregation = default);
new Microsoft.Azure.Management.Monitor.Models.ThresholdRuleCondition : Microsoft.Azure.Management.Monitor.Models.ConditionOperator * double * Microsoft.Azure.Management.Monitor.Models.RuleDataSource * Nullable<TimeSpan> * Nullable<Microsoft.Azure.Management.Monitor.Models.TimeAggregationOperator> -> Microsoft.Azure.Management.Monitor.Models.ThresholdRuleCondition
Public Sub New (operatorProperty As ConditionOperator, threshold As Double, Optional dataSource As RuleDataSource = Nothing, Optional windowSize As Nullable(Of TimeSpan) = Nothing, Optional timeAggregation As Nullable(Of TimeAggregationOperator) = Nothing)
パラメーター
- operatorProperty
- ConditionOperator
データとしきい値の比較に使用される演算子。 使用できる値は、'GreaterThan'、'GreaterThanOrEqual'、'LessThan'、'LessThanOrEqual' です。
- threshold
- Double
アラートをアクティブにするしきい値。
- dataSource
- RuleDataSource
ルールがデータを収集するリソース。 この型の場合、dataSource は常に RuleMetricDataSource 型になります。
しきい値に基づいてアラート アクティビティを監視するために使用される期間 (ISO 8601 期間形式)。 指定する場合は、5 分から 1 日の間である必要があります。
- timeAggregation
- Nullable<TimeAggregationOperator>
時間集計演算子。 収集されるデータを時間の経過と同時に組み合わせる方法。 既定値は、メトリックの PrimaryAggregationType です。 使用可能な値は、'Average'、'Minimum'、'Maximum'、'Total'、'Last' です。
適用対象
Azure SDK for .NET