Share via


LocationThresholdRuleCondition Klasse

Definition

Eine Regelbedingung, die auf einer bestimmten Anzahl von Speicherorten basiert, die fehlschlägt.

[Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition")]
public class LocationThresholdRuleCondition : Microsoft.Azure.Management.Monitor.Models.RuleCondition
[<Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition")>]
type LocationThresholdRuleCondition = class
    inherit RuleCondition
Public Class LocationThresholdRuleCondition
Inherits RuleCondition
Vererbung
LocationThresholdRuleCondition
Attribute
Newtonsoft.Json.JsonObjectAttribute

Konstruktoren

LocationThresholdRuleCondition()

Initialisiert eine neue instance der LocationThresholdRuleCondition-Klasse.

LocationThresholdRuleCondition(Int32, RuleDataSource, Nullable<TimeSpan>)

Initialisiert eine neue instance der LocationThresholdRuleCondition-Klasse.

Eigenschaften

DataSource

Ruft die Ressource ab, aus der die Regel ihre Daten sammelt, oder legt sie fest. Für diesen Typ ist dataSource immer vom Typ RuleMetricDataSource.

(Geerbt von RuleCondition)
FailedLocationCount

Ruft die Anzahl der Speicherorte ab, die die Warnung nicht aktivieren können, oder legt diese fest.

WindowSize

Ruft den Zeitraum (im ISO 8601-Dauerformat) ab, der zum Überwachen der Warnungsaktivität basierend auf dem Schwellenwert verwendet wird, oder legt diesen fest. Wenn angegeben, muss es zwischen 5 Minuten und 1 Tag sein.

Methoden

Validate()

Überprüfen Sie das Objekt.

Gilt für: