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/event-grid/post-to-custom-topic.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
---
2
2
title: Post event to custom Azure Event Grid topic
3
-
description: This article describes how to post an event to a custom topic using Azure PowerShell or Azure CLI. It shows the format of the post and event data.
4
-
ms.topic: conceptual
3
+
description: This article describes how to post an event to a custom topic. It shows the format of the post and event data.
4
+
ms.topic: concept-article
5
5
ms.date: 06/18/2024
6
+
#customer intent: As a developer, I want to know how to publish events to an Azure Event Grid custom topic
6
7
---
7
8
8
-
# Publish events to Azure Event Grid custom topics using access keys using PowerShell and CLI
9
+
# Publish events to Azure Event Grid custom topics using access keys
9
10
10
11
This article describes how to post an event to a custom topic using an access key. It shows the format of the post and event data. The [Service Level Agreement (SLA)](https://azure.microsoft.com/support/legal/sla/event-grid/v1_0/) only applies to posts that match the expected format.
11
12
@@ -20,7 +21,7 @@ When sending the HTTP POST to a custom topic, use the URI format: `https://<topi
20
21
# [Azure portal](#tab/azure-portal)
21
22
You can find the topic's endpoint on the **Overview** tab of the **Event Grid Topic** page in the Azure portal.
22
23
23
-
:::image type="content" source="./media/post-to-custom-topic/topic-endpoint.png" alt-text="Screenshot that shows the Event Grid Topic page on the Azure portal with the topic endpoint highlighted." lightbox="./media/post-to-custom-topic/topic-endpoint.png":::
24
+
:::image type="content" source="./media/post-to-custom-topic/topic-endpoint.png" alt-text="Screenshot that shows the Event Grid topic page on the Azure portal with the topic endpoint highlighted." lightbox="./media/post-to-custom-topic/topic-endpoint.png":::
24
25
25
26
# [Azure CLI](#tab/azure-cli)
26
27
@@ -43,7 +44,7 @@ In the request, include a header value named `aeg-sas-key` that contains a key f
43
44
# [Azure portal](#tab/azure-portal)
44
45
To get the access key for the custom topic, select **Access keys** tab on the **Event Grid Topic** page in the Azure portal.
45
46
46
-
:::image type="content" source="./media/post-to-custom-topic/custom-topic-access-keys.png" alt-text="Screenshot that shows the Access Keys tab of the Event Grid Topic page on the Azure portal." lightbox="./media/post-to-custom-topic/custom-topic-access-keys.png":::
47
+
:::image type="content" source="./media/post-to-custom-topic/custom-topic-access-keys.png" alt-text="Screenshot that shows the Access Keys tab of the Event Grid topic page on the Azure portal." lightbox="./media/post-to-custom-topic/custom-topic-access-keys.png":::
47
48
48
49
# [Azure CLI](#tab/azure-cli)
49
50
@@ -97,6 +98,7 @@ For example, a valid event data schema is:
97
98
```
98
99
99
100
## Send the sample event
101
+
This section shows how to send a sample event to the custom topic.
100
102
101
103
# [Azure portal](#tab/azure-portal)
102
104
@@ -181,7 +183,7 @@ For errors, the message body has the following format:
181
183
}
182
184
```
183
185
184
-
## Next steps
186
+
## Related content
185
187
186
188
* For information about monitoring event deliveries, see [Monitor Event Grid message delivery](monitor-event-delivery.md).
187
189
* For more information about the authentication key, see [Event Grid security and authentication](security-authentication.md).
0 commit comments