src.function_apps.create_alert_rule¶
- src.function_apps.create_alert_rule(first_letter: str, insights_id: Output[str], resource_group: ResourceGroup, action_group_id: Output[str]) None¶
Alert the admin group if more than 2 failures occur in a 5-minute period.
- Parameters:
first_letter – The first letter of the function app name.
insights_id – The id of the app insights instance.
resource_group – The resource group to create the alert in.
action_group_id – The id of the action group to email.
- Returns:
None