You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <param name="isEnabled"> the flag that indicates whether the metric alert is enabled. </param>
27
+
/// <param name="scopes"> the list of resource id's that this metric alert is scoped to. </param>
28
+
/// <param name="evaluationFrequency"> how often the metric alert is evaluated represented in ISO 8601 duration format. </param>
29
+
/// <param name="windowSize"> the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. </param>
30
+
/// <param name="targetResourceType"> the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. </param>
31
+
/// <param name="targetResourceRegion"> the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. </param>
32
+
/// <param name="criteria">
33
+
/// defines the specific alert criteria information.
34
+
/// Please note <see cref="MetricAlertCriteria"/> is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
35
+
/// The available derived classes include <see cref="MetricAlertMultipleResourceMultipleMetricCriteria"/>, <see cref="MetricAlertSingleResourceMultipleMetricCriteria"/> and <see cref="WebtestLocationAvailabilityCriteria"/>.
36
+
/// </param>
37
+
/// <param name="isAutoMitigateEnabled"> the flag that indicates whether the alert should be auto resolved or not. The default is true. </param>
38
+
/// <param name="actions"> the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. </param>
39
+
/// <param name="lastUpdatedOn"> Last time the rule was updated in ISO8601 format. </param>
40
+
/// <param name="isMigrated"> the value indicating whether this alert rule is migrated. </param>
41
+
/// <returns> A new <see cref="Monitor.MetricAlertData"/> instance for mocking. </returns>
0 commit comments