Skip to content

Commit d8de769

Browse files
Merge pull request #229261 from EdB-MSFT/fix-alert-logic-app
clarified api version
2 parents 82cb09e + 2dfa6a5 commit d8de769

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

articles/azure-monitor/alerts/alerts-logic-apps.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ This example creates a logic app that uses the [common alerts schema](./alerts-c
106106
}
107107
```
108108

109-
:::image type="content" source="./media/alerts-logic-apps/configure-http-request-received.png" alt-text="Screenshot that shows the Parameters tab for the When a HTTP request is received pane.":::
109+
:::image type="content" source="./media/alerts-logic-apps/configure-http-request-received.png" alt-text="Screenshot that shows the Parameters tab for the When an HTTP request is received pane.":::
110110

111111
1. (Optional). You can customize the alert notification by extracting information about the affected resource on which the alert fired, for example, the resource's tags. You can then include those resource tags in the alert payload and use the information in your logical expressions for sending the notifications. To do this step, we will:
112112
- Create a variable for the affected resource IDs.
@@ -131,15 +131,18 @@ This example creates a logic app that uses the [common alerts schema](./alerts-c
131131
|Subscription|`variables('AffectedResource')[2]`|
132132
|Resource Group|`variables('AffectedResource')[4]`|
133133
|Resource Provider|`variables('AffectedResource')[6]`|
134-
|Short Resource Id|`concat(variables('AffectedResource')[7], '/', variables('AffectedResource')[8]`)|
135-
|Client Api Version|2021-06-01|
134+
|Short Resource ID|`concat(variables('AffectedResource')[7], '/', variables('AffectedResource')[8]`)|
135+
|Client Api Version|Resource type's api version|
136+
137+
To find your resource type's api version, select the **JSON view** link on the top right-hand side of the resource overview page.
138+
The **Resource JSON** page is displayed with the **ResourceID** and **API version** at the top of the page.
136139

137140
The dynamic content now includes tags from the affected resource. You can use those tags when you configure your notifications as described in the following steps.
138141

139142
1. Send an email or post a Teams message.
140143
1. Select **+** > **Add an action** to insert a new step.
141144

142-
:::image type="content" source="./media/alerts-logic-apps/configure-http-request-received.png" alt-text="Screenshot that shows the parameters for When a HTTP request is received.":::
145+
:::image type="content" source="./media/alerts-logic-apps/configure-http-request-received.png" alt-text="Screenshot that shows the parameters for When an HTTP request is received.":::
143146

144147
## [Send an email](#tab/send-email)
145148

0 commit comments

Comments
 (0)