Notification Class

The notification associated with a budget.

All required parameters must be populated in order to send to Azure.

Inheritance
Notification

Constructor

Notification(*, enabled: bool, operator: Union[str, azure.mgmt.consumption.models._consumption_management_client_enums.OperatorType], threshold: float, contact_emails: List[str], contact_roles: Optional[List[str]] = None, contact_groups: Optional[List[str]] = None, threshold_type: Optional[Union[str, azure.mgmt.consumption.models._consumption_management_client_enums.ThresholdType]] = None, **kwargs)

Parameters

enabled
bool
Required

Required. The notification is enabled or not.

operator
str or OperatorType
Required

Required. The comparison operator. Possible values include: "EqualTo", "GreaterThan", "GreaterThanOrEqualTo".

threshold
float
Required

Required. Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.

contact_emails
list[str]
Required

Required. Email addresses to send the budget notification to when the threshold is exceeded.

contact_roles
list[str]
Required

Contact roles to send the budget notification to when the threshold is exceeded.

contact_groups
list[str]
Required

Action groups to send the budget notification to when the threshold is exceeded.

threshold_type
str or ThresholdType
Required

The type of threshold. Possible values include: "Actual".