You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/autoscale/autoscale-webhook-email.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to use autoscale actions to call web URLs or send email n
4
4
author: EdB-MSFT
5
5
ms.author: edbaynash
6
6
ms.topic: conceptual
7
-
ms.date: 06/21/2023
7
+
ms.date: 08/25/2024
8
8
ms.subservice: autoscale
9
9
ms.reviewer: akkumari
10
10
---
@@ -15,7 +15,11 @@ This article shows you how to set up notifications so that you can call specific
15
15
Webhooks allow you to send HTTP requests to a specific URL endpoint (callback URL) when a certain event or trigger occurs. Using webhooks, you can automate and streamline processes by enabling the automatic exchange of information between different systems or applications. Use webhooks to trigger custom code, notifications, or other actions to run when an autoscale event occurs.
16
16
17
17
## Email
18
-
You can send email to any valid email address when an autoscale event occurs. Administrators and co-administrators of the subscription where the rule is running are also notified.
18
+
You can send email to any valid email address when an autoscale event occurs.
19
+
20
+
> [!NOTE]
21
+
> Starting April 3, 2024, you won't be able to add any new Co-Administrators for Azure Autoscale Notifications. Azure Classic administrators will be retired on August 31, 2024, and you would not be able to send Azure Autoscale Notifications using Administrators and Co-Administrators after August 31, 2024. For moe information, see [Prepare for Co-administrators retirement](/azure/role-based-access-control/classic-administrators?WT.mc_id=Portal-Microsoft_Azure_Monitoring&tabs=azure-portal#prepare-for-co-administrators-retirement)
22
+
19
23
20
24
## Configure Notifications
21
25
@@ -27,7 +31,7 @@ Use the Azure portal, CLI, PowerShell, or Resource Manager templates to configur
27
31
28
32
Select the **Notify** tab on the autoscale settings page to configure notifications.
29
33
30
-
Select the check boxes to send an email to the subscription administrator or co-administrators. You can also enter a list of email addresses to send notifications to.
34
+
Enter a list of email addresses to send notifications to.
31
35
32
36
Enter a webhook URI to send a notification to a web service. You can also add custom headers to the webhook request. For example, you can add an authentication token in the header, query parameters, or add a custom header to identify the source of the request.
33
37
@@ -42,19 +46,16 @@ Use the `az monitor autoscale update` or the `az monitor autoscale create` comma
42
46
43
47
The following parameters are used to configure notifications:
44
48
45
-
+`--add-action` - The action to take when the autoscale rule is triggered. The value must be `email` or `webhook`.
46
-
+`--email-administrator {false, true}` - Send email to the subscription administrator.
47
-
+`--email-coadministrators {false, true}` - Send email to the subscription co-administrators.
49
+
+`--add-action` - The action to take when the autoscale rule is triggered. The value must be `email` or `webhook`, and followed by the email address or webhook URI.
48
50
+`--remove-action` - Remove an action previously added by `--add-action`. The value must be `email` or `webhook`. The parameter is only relevant for the `az monitor autoscale update` command.
49
51
50
52
51
-
For example, the following command adds an email notification and a webhook notification to and existing autoscale setting. The command also sends email to the subscription administrator.
53
+
For example, the following command adds an email notification and a webhook notification to and existing autoscale setting.
0 commit comments