Skip to content

Commit 011e4ca

Browse files
author
Jill Grant
authored
Merge pull request #291963 from spelluru/egridfreshness1212
Event Grid freshness, Acrolynx, Learn Linter - 1213
2 parents cf951e2 + c6c4974 commit 011e4ca

File tree

7 files changed

+26
-40
lines changed

7 files changed

+26
-40
lines changed

articles/event-grid/custom-event-quickstart-portal.md

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
---
2-
title: 'Send custom events to web endpoint - Event Grid, Azure portal'
3-
description: 'Quickstart: Use Azure Event Grid and Azure portal to publish a custom topic, and subscribe to events for that topic. The events are handled by a web application.'
4-
ms.date: 09/25/2023
2+
title: Send custom events to web endpoint
3+
description: In this tutorial, you use Azure Event Grid and Azure portal to publish a custom topic, and subscribe to events for that topic.
4+
ms.date: 12/13/2024
55
ms.topic: quickstart
66
ms.custom: mode-ui
7+
# Customer intent: I want to learn how to send custom events to Azure Event Grid and have them routed to a Webhook endpoint.
78
---
89

9-
# Route custom events to web endpoint with the Azure portal and Azure Event Grid
10-
Event Grid is a fully managed service that enables you to easily manage events across many different Azure services and applications. It simplifies building event-driven and serverless applications. For an overview of the service, see [Event Grid overview](overview.md).
11-
12-
In this article, you use the Azure portal to do the following tasks:
13-
14-
1. Create a custom topic.
15-
1. Subscribe to the custom topic.
16-
1. Trigger the event.
17-
1. View the result. Typically, you send events to an endpoint that processes the event data and takes actions. However, to simplify this article, you send the events to a web app that collects and displays the messages.
18-
10+
# Quickstart: Send custom events to web endpoint with the Azure portal and Azure Event Grid
11+
In this quickstart, you create a topic, create a subscription to that topic using a Webhook endpoint, trigger a sample event, and then view the result. Typically, you send events to an endpoint that processes the event data and takes actions. However, to simplify this tutorial, you send the events to a web app that collects and displays the messages.
1912

2013
## Prerequisites
21-
[!INCLUDE [quickstarts-free-trial-note.md](~/reusable-content/ce-skilling/azure/includes/quickstarts-free-trial-note.md)]
14+
15+
- If you don't have an Azure subscription, create an [Azure free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?icid=azurefreeaccount) before you begin.
16+
- If you're new Azure Event Grid, see [Event Grid overview](overview.md).
2217

2318
[!INCLUDE [register-provider.md](./includes/register-provider.md)]
2419

@@ -35,7 +30,7 @@ An Event Grid topic provides a user-defined endpoint that you post your events t
3530
1. On the **Create Topic** page, follow these steps:
3631
1. Select your Azure **subscription**.
3732
2. Select an existing resource group or select **Create new**, and enter a **name** for the **resource group**.
38-
3. Provide a unique **name** for the custom topic. The topic name must be unique because it's represented by a DNS entry. Don't use the name shown in the image. Instead, create your own name - it must be between 3-50 characters and contain only values a-z, A-Z, 0-9, and "-".
33+
3. Provide a unique **name** for the custom topic. The topic name must be unique because it's represented by a DNS entry. Don't use the name shown in the image. Instead, create your own name - it must be between 3-50 characters and contain only values a-z, A-Z, 0-9, and `-`.
3934
4. Select a **location** for the Event Grid topic.
4035
5. Select **Review + create** at the bottom of the page.
4136

@@ -45,7 +40,7 @@ An Event Grid topic provides a user-defined endpoint that you post your events t
4540
:::image type="content" source="./media/custom-event-quickstart-portal/review-create-page.png" alt-text="Review settings and create":::
4641
5. After the deployment succeeds, select **Go to resource** to navigate to the **Event Grid Topic** page for your topic. Keep this page open. You use it later in the quickstart.
4742

48-
:::image type="content" source="./media/custom-event-quickstart-portal/topic-home-page.png" alt-text="Screenshot showing the Event Grid topic home page.":::
43+
:::image type="content" source="./media/custom-event-quickstart-portal/topic-home-page.png" alt-text="Screenshot showing the Event Grid topic home page." lightbox="./media/custom-event-quickstart-portal/topic-home-page.png":::
4944

5045
> [!NOTE]
5146
> To keep the quickstart simple, you'll be using only the **Basics** page to create a topic. For detailed steps about configuring network, security, and data residency settings on other pages of the wizard, see [Create a custom topic](create-custom-topic.md).
@@ -65,7 +60,7 @@ Before you create a subscription for the custom topic, create an endpoint for th
6560

6661
:::image type="content" source="./media/blob-event-quickstart-portal/template-deploy-parameters.png" alt-text="Screenshot showing the Custom deployment page.":::
6762
1. On the **Review + create** page, select **Create**.
68-
1. The deployment may take a few minutes to complete. Select Alerts (bell icon) in the portal, and then select **Go to resource group**.
63+
1. The deployment might take a few minutes to complete. Select Alerts (bell icon) in the portal, and then select **Go to resource group**.
6964

7065
:::image type="content" source="./media/blob-event-quickstart-portal/navigate-resource-group.png" alt-text="Screenshot showing the successful deployment message with a link to navigate to the resource group.":::
7166
4. On the **Resource group** page, in the list of resources, select the web app (**contosoegriviewer** in the following example) that you created.
@@ -84,7 +79,7 @@ You subscribe to an Event Grid topic to tell Event Grid which events you want to
8479

8580
1. Now, on the **Event Grid Topic** page for your custom topic, select **+ Event Subscription** on the toolbar.
8681

87-
:::image type="content" source="./media/custom-event-quickstart-portal/new-event-subscription.png" alt-text="Add event subscription button":::
82+
:::image type="content" source="./media/custom-event-quickstart-portal/new-event-subscription.png" alt-text="Screenshot that shows the Add Event Subscription button on the toolbar." lightbox="./media/custom-event-quickstart-portal/new-event-subscription.png":::
8883
2. On the **Create Event Subscription** page, follow these steps:
8984
1. Enter a **name** for the event subscription.
9085
3. Select **Web Hook** for the **Endpoint type**.
@@ -110,8 +105,8 @@ The first example uses Azure CLI. It gets the URL and key for the custom topic,
110105
### Azure CLI
111106
1. In the Azure portal, select **Cloud Shell**. The Cloud Shell opens in the bottom pane of the web browser.
112107

113-
:::image type="content" source="./media/custom-event-quickstart-portal/select-cloud-shell.png" alt-text="Select Cloud Shell icon":::
114-
1. Select **Bash** in the top-left corner of the Cloud Shell window.
108+
:::image type="content" source="./media/custom-event-quickstart-portal/select-cloud-shell.png" alt-text="Screnshot that shows the selection of Cloud Shell button." lightbox="./media/custom-event-quickstart-portal/select-cloud-shell.png":::
109+
1. If the Cloud Shell opens a PowerShell session, select **Switch to Bash** in the top-left corner of the Cloud Shell window. If not, continue to the next step.
115110

116111
:::image type="content" source="./media/custom-event-quickstart-portal/cloud-shell-bash.png" alt-text="Screenshot that shows the Cloud Shell with Bash selected in the top-left corner.":::
117112
1. Run the following command to get the **endpoint** for the topic: After you copy and paste the command, update the **topic name** and **resource group name** before you run the command. You publish sample events to this topic endpoint.
@@ -207,19 +202,10 @@ If you plan to continue working with this event, don't clean up the resources cr
207202
208203
The other resource group you see in the image was created and used by the Cloud Shell window. Delete it if you don't plan to use the Cloud Shell window later.
209204
210-
## Next steps
205+
## Related content
211206
212207
Now that you know how to create custom topics and event subscriptions, learn more about what Event Grid can help you do:
213208
214-
- [About Event Grid](overview.md)
215209
- [Route Blob storage events to a custom web endpoint](../storage/blobs/storage-blob-event-quickstart.md?toc=%2fazure%2fevent-grid%2ftoc.json)
216-
- [Monitor virtual machine changes with Azure Event Grid and Logic Apps](monitor-virtual-machine-changes-logic-app.md)
217-
- [Stream big data into a data warehouse](event-hubs-integration.md)
218-
219-
See the following samples to learn about publishing events to and consuming events from Event Grid using different programming languages.
220-
221210
- [Azure Event Grid samples for .NET](/samples/azure/azure-sdk-for-net/azure-event-grid-sdk-samples/)
222211
- [Azure Event Grid samples for Java](/samples/azure/azure-sdk-for-java/eventgrid-samples/)
223-
- [Azure Event Grid samples for Python](/samples/azure/azure-sdk-for-python/eventgrid-samples/)
224-
- [Azure Event Grid samples for JavaScript](/samples/azure/azure-sdk-for-js/eventgrid-javascript/)
225-
- [Azure Event Grid samples for TypeScript](/samples/azure/azure-sdk-for-js/eventgrid-typescript/)

articles/event-grid/custom-topics.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
---
22
title: Custom topics in Azure Event Grid
3-
description: Describes custom topics in Azure Event Grid.
4-
ms.topic: conceptual
5-
ms.custom:
6-
- devx-track-azurecli
7-
- devx-track-arm-template
8-
- devx-track-azurepowershell
9-
- build-2023
10-
- ignite-2023
11-
ms.date: 11/15/2023
3+
description: This article describes custom topics or topics in Azure Event Grid. A topic provides an endpoint where the source can send events.
4+
ms.topic: concept-article
5+
ms.date: 12/13/2024
6+
# Customer intent: I want to what topic in Azure Event Grid are.
127
---
138

149
# Custom topics in Azure Event Grid
@@ -59,6 +54,7 @@ When you use Event Grid event schema, you can specify your application-specific
5954
The following sections provide links to tutorials to create custom topics using Azure portal, CLI, PowerShell, and Azure Resource Manager (ARM) templates.
6055

6156
## Azure portal tutorials
57+
The following quickstarts or tutorials show you how to create a topic, send evens to the topic's endpoint, and route them to supported destinations by using the Azure portal.
6258

6359
|Title |Description |
6460
|---------|---------|
@@ -68,6 +64,7 @@ The following sections provide links to tutorials to create custom topics using
6864

6965

7066
## Azure CLI tutorials
67+
The following quickstarts or tutorials show you how to create a topic, send evens to the topic's endpoint, and route them to supported destinations by using Azure CLI.
7168

7269
|Title |Description |
7370
|---------|---------|
@@ -76,6 +73,8 @@ The following sections provide links to tutorials to create custom topics using
7673
| [Azure CLI: subscribe to events for a custom topic](./scripts/cli-subscribe-custom-topic.md)|Sample script that creates a subscription for a custom topic. It sends events to a WebHook.|
7774

7875
## Azure PowerShell tutorials
76+
The following quickstarts or tutorials show you how to create a topic, send evens to the topic's endpoint, and route them to supported destinations by using Azure PowerShell.
77+
7978

8079
|Title |Description |
8180
|---------|---------|
@@ -84,6 +83,7 @@ The following sections provide links to tutorials to create custom topics using
8483
| [PowerShell: subscribe to events for a custom topic](./scripts/powershell-subscribe-custom-topic.md)|Sample script that creates a subscription for a custom topic. It sends events to a WebHook.|
8584

8685
## ARM template tutorials
86+
The following quickstarts or tutorials show you how to create a topic and create a subscription to the topic by using ARM templates.
8787

8888
|Title |Description |
8989
|---------|---------|
@@ -93,7 +93,7 @@ The following sections provide links to tutorials to create custom topics using
9393
> [!NOTE]
9494
> Azure Digital Twins can route event notifications to custom topics that you create with Event Grid. For more information, see [Endpoints and event routes](../digital-twins/concepts-route-events.md) in the Azure Digital Twins documentation.
9595
96-
## Next steps
96+
## Related content
9797

9898
See the following articles:
9999

33 KB
Loading
-7.75 KB
Loading
-5.2 KB
Loading
-33.6 KB
Loading
-7.84 KB
Loading

0 commit comments

Comments
 (0)