Skip to content

Commit dc32409

Browse files
committed
Add cross ref to samples article
1 parent 60b9d87 commit dc32409

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

articles/azure-monitor/alerts/alerts-common-schema.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ The common schema includes information about the affected resource and the cause
8787
}
8888
```
8989

90-
For sample alerts that use the common schema, including see
91-
90+
For sample alerts that use the common schema, see [Sample alert payloads](alerts-payload-samples.md).
9291
## Essentials fields
9392

9493
| Field | Description|
@@ -668,7 +667,6 @@ See [Azure Monitor managed service for Prometheus rule groups (preview)](../esse
668667
}
669668
}
670669
```
671-
672670
## Enable the common alert schema
673671

674672
Use action groups in the Azure portal or use the REST API to enable the common alert schema. Schemas are defined at the action level. For example, you must separately enable the schema for an email action and a webhook action.
@@ -682,13 +680,11 @@ Use action groups in the Azure portal or use the REST API to enable the common a
682680

683681
1. Open any existing action or a new action in an action group.
684682
1. Select **Yes** to enable the common alert schema.
685-
686683
### Enable the common schema using the REST API
687684

688685
You can also use the [Action Groups API](/rest/api/monitor/actiongroups) to opt in to the common alert schema. In the [create or update](/rest/api/monitor/actiongroups/createorupdate) REST API call,
689686
- Set the "useCommonAlertSchema" flag to `true` to enable the common schema
690687
- Set the "useCommonAlertSchema" flag to `false` to use the non-common schema for email, webhook, Logic Apps, Azure Functions, or Automation runbook actions.
691-
692688
#### Sample REST API call for using the common schema
693689

694690
The following [create or update](/rest/api/monitor/actiongroups/createorupdate) REST API request:
@@ -738,7 +734,6 @@ The following [create or update](/rest/api/monitor/actiongroups/createorupdate)
738734
"tags": {}
739735
}
740736
```
741-
742737
## Next steps
743738

744739
- [Learn how to create a logic app that uses the common alert schema to handle all your alerts](./alerts-common-schema-integrations.md)

0 commit comments

Comments
 (0)