airflow.providers.opsgenie.typing.opsgenie
¶
Module Contents¶
Classes¶
Payload schema for creating an Opsgenie alert. |
- class airflow.providers.opsgenie.typing.opsgenie.CreateAlertPayload[source]¶
Bases:
TypedDict
Payload schema for creating an Opsgenie alert.
- Parameters
message – The Message of the Opsgenie alert.
alias – Client-defined identifier of the alert.
description – Description field of the alert.
responders – Teams, users, escalations and schedules that the alert will be routed to send notifications.
visible_to – Teams and users that the alert will become visible to without sending any notification.
actions – Custom actions that will be available for the alert.
tags – Tags of the alert.
details – Map of key-value pairs to use as custom properties of the alert.
entity – Entity field of the alert that is generally used to specify which domain alert is related to.
source – Source field of the alert. Default value is IP address of the incoming request.
priority – Priority level of the alert. Default value is P3.
user – Display name of the request owner.
note – Additional note that will be added while creating the alert.