AlertStrategy class
Control over how the notification channels in notification_channels are notified when this alert fires.
Constructors
-
AlertStrategy({Input<
String> ? autoClose, Input<List< ? notificationChannelStrategy, Input<NotificationChannelStrategy> >NotificationRateLimit> ? notificationRateLimit}) -
Creates a new AlertStrategy.
autoCloseIf an alert policy that was active has no data for this long, any open incidents will closenotificationChannelStrategyControl how notifications will be sent out, on a per-channel basis.notificationRateLimitRequired for alert policies with a LogMatch condition.This limit is not implemented for alert policies that are not log-based.const -
AlertStrategy.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
autoClose
→ Input<
String> ? -
If an alert policy that was active has no data for this long, any open incidents will close
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
notificationChannelStrategy
→ Input<
List< ?NotificationChannelStrategy> > -
Control how notifications will be sent out, on a per-channel basis.
final
-
notificationRateLimit
→ Input<
NotificationRateLimit> ? -
Required for alert policies with a LogMatch condition.This limit is not implemented for alert policies that are not log-based.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited