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
- operator
- str or OperatorType
Required. The comparison operator. Possible values include: "EqualTo", "GreaterThan", "GreaterThanOrEqualTo".
- threshold
- float
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.
Required. Email addresses to send the budget notification to when the threshold is exceeded.
Contact roles to send the budget notification to when the threshold is exceeded.
Action groups to send the budget notification to when the threshold is exceeded.
- threshold_type
- str or ThresholdType
The type of threshold. Possible values include: "Actual".
Feedback
Submit and view feedback for