MetricAlertResourcePatch Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
MetricAlertResourcePatch() |
Initialisiert einen neuen instance der MetricAlertResourcePatch-Klasse. |
MetricAlertResourcePatch(IDictionary<String,String>, String, Nullable<Int32>, Nullable<Boolean>, IList<String>, Nullable<TimeSpan>, Nullable<TimeSpan>, String, String, MetricAlertCriteria, Nullable<Boolean>, IList<MetricAlertAction>, Nullable<DateTime>, Nullable<Boolean>) |
Initialisiert einen neuen instance der MetricAlertResourcePatch-Klasse. |
MetricAlertResourcePatch()
Initialisiert einen neuen instance der MetricAlertResourcePatch-Klasse.
public MetricAlertResourcePatch ();
Public Sub New ()
Gilt für:
MetricAlertResourcePatch(IDictionary<String,String>, String, Nullable<Int32>, Nullable<Boolean>, IList<String>, Nullable<TimeSpan>, Nullable<TimeSpan>, String, String, MetricAlertCriteria, Nullable<Boolean>, IList<MetricAlertAction>, Nullable<DateTime>, Nullable<Boolean>)
Initialisiert einen neuen instance der MetricAlertResourcePatch-Klasse.
public MetricAlertResourcePatch (System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, int? severity = default, bool? enabled = default, System.Collections.Generic.IList<string> scopes = default, TimeSpan? evaluationFrequency = default, TimeSpan? windowSize = default, string targetResourceType = default, string targetResourceRegion = default, Microsoft.Azure.Management.Monitor.Models.MetricAlertCriteria criteria = default, bool? autoMitigate = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.MetricAlertAction> actions = default, DateTime? lastUpdatedTime = default, bool? isMigrated = default);
new Microsoft.Azure.Management.Monitor.Models.MetricAlertResourcePatch : System.Collections.Generic.IDictionary<string, string> * string * Nullable<int> * Nullable<bool> * System.Collections.Generic.IList<string> * Nullable<TimeSpan> * Nullable<TimeSpan> * string * string * Microsoft.Azure.Management.Monitor.Models.MetricAlertCriteria * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.MetricAlertAction> * Nullable<DateTime> * Nullable<bool> -> Microsoft.Azure.Management.Monitor.Models.MetricAlertResourcePatch
Public Sub New (Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional severity As Nullable(Of Integer) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional scopes As IList(Of String) = Nothing, Optional evaluationFrequency As Nullable(Of TimeSpan) = Nothing, Optional windowSize As Nullable(Of TimeSpan) = Nothing, Optional targetResourceType As String = Nothing, Optional targetResourceRegion As String = Nothing, Optional criteria As MetricAlertCriteria = Nothing, Optional autoMitigate As Nullable(Of Boolean) = Nothing, Optional actions As IList(Of MetricAlertAction) = Nothing, Optional lastUpdatedTime As Nullable(Of DateTime) = Nothing, Optional isMigrated As Nullable(Of Boolean) = Nothing)
Parameter
- tags
- IDictionary<String,String>
Ressourcentags
- description
- String
Die Beschreibung der Metrikwarnung, die in der Warnungs-E-Mail enthalten sein wird.
wie oft die Metrikwarnung ausgewertet wird, dargestellt im ISO 8601-Dauerformat.
der Zeitraum (im ISO 8601-Dauerformat), der zum Überwachen der Warnungsaktivität basierend auf dem Schwellenwert verwendet wird.
- targetResourceType
- String
der Ressourcentyp der Zielressourcen, für die die Warnung erstellt/aktualisiert wird. Obligatorisch für MultipleResourceMultipleMetricCriteria.
- targetResourceRegion
- String
die Region der Zielressource(n), für die die Warnung erstellt/aktualisiert wird. Obligatorisch für MultipleResourceMultipleMetricCriteria.
- criteria
- MetricAlertCriteria
definiert die spezifischen Informationen zu Warnungskriterien.
das Flag, das angibt, ob die Warnung automatisch aufgelöst werden soll. Der Standardwert ist „true“.
- actions
- IList<MetricAlertAction>
das Array von Aktionen, die ausgeführt werden, wenn die Warnungsregel aktiv wird und wenn eine Warnungsbedingung aufgelöst wird.
Gilt für:
Azure SDK for .NET