AlertPolicyAlertStrategy class
Constructors
-
AlertPolicyAlertStrategy({Input<
String?> ? autoClose, Input<List< ? notificationChannelStrategies, Input<AlertPolicyAlertStrategyNotificationChannelStrategy> ?>List< ? notificationPrompts, Input<String> ?>AlertPolicyAlertStrategyNotificationRateLimit?> ? notificationRateLimit}) -
Creates a new AlertPolicyAlertStrategy.
autoCloseIf an alert policy that was active has no data for this long, any open incidents will close.notificationChannelStrategiesControl over how the notification channels innotificationChannelsnotificationPromptsControl when notifications will be sent out.notificationRateLimitRequired for alert policies with a LogMatch condition.const -
AlertPolicyAlertStrategy.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
-
notificationChannelStrategies
→ Input<
List< ?AlertPolicyAlertStrategyNotificationChannelStrategy> ?> -
Control over how the notification channels in
notificationChannelsare notified when this alert fires, on a per-channel basis. Structure is documented below.final -
notificationPrompts
→ Input<
List< ?String> ?> -
Control when notifications will be sent out.
Each value may be one of:
NOTIFICATION_PROMPT_UNSPECIFIED,OPENED,CLOSED.final -
notificationRateLimit
→ Input<
AlertPolicyAlertStrategyNotificationRateLimit?> ? -
Required for alert policies with a LogMatch condition.
This limit is not implemented for alert policies that are not log-based.
Structure is documented below.
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