Skip to content

Commit 011269a

Browse files
authored
Merge pull request #291989 from MicrosoftDocs/main
Publish to live, Sunday 4 AM PST, 12/15
2 parents 6d6f0bd + b252d0d commit 011269a

File tree

40 files changed

+371
-127
lines changed

40 files changed

+371
-127
lines changed

articles/api-management/azure-openai-emit-token-metric-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: dlepow
66

77
ms.service: azure-api-management
88
ms.topic: article
9-
ms.date: 07/09/2024
9+
ms.date: 09/26/2024
1010
ms.author: danlep
1111
ms.collection: ce-skilling-ai-copilot
1212
ms.custom:

articles/api-management/azure-openai-enable-semantic-caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.service: azure-api-management
66
ms.custom:
77
- build-2024
88
ms.topic: how-to
9-
ms.date: 07/23/2024
9+
ms.date: 12/13/2024
1010
ms.author: danlep
1111
ms.collection: ce-skilling-ai-copilot
1212
---

articles/api-management/azure-openai-semantic-cache-lookup-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.collection: ce-skilling-ai-copilot
99
ms.custom:
1010
- build-2024
1111
ms.topic: article
12-
ms.date: 06/25/2024
12+
ms.date: 12/13/2024
1313
ms.author: danlep
1414
---
1515

articles/api-management/azure-openai-semantic-cache-store-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.collection: ce-skilling-ai-copilot
99
ms.custom:
1010
- build-2024
1111
ms.topic: article
12-
ms.date: 06/25/2024
12+
ms.date: 12/13/2024
1313
ms.author: danlep
1414
---
1515

articles/api-management/llm-emit-token-metric-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: dlepow
66

77
ms.service: azure-api-management
88
ms.topic: article
9-
ms.date: 08/08/2024
9+
ms.date: 09/26/2024
1010
ms.author: danlep
1111
ms.collection: ce-skilling-ai-copilot
1212
ms.custom:

articles/api-management/llm-semantic-cache-lookup-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.collection: ce-skilling-ai-copilot
99
ms.custom:
1010
- build-2024
1111
ms.topic: article
12-
ms.date: 08/07/2024
12+
ms.date: 12/13/2024
1313
ms.author: danlep
1414
---
1515

articles/api-management/llm-semantic-cache-store-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: azure-api-management
88
ms.collection: ce-skilling-ai-copilot
99
ms.custom:
1010
ms.topic: article
11-
ms.date: 08/08/2024
11+
ms.date: 12/13/2024
1212
ms.author: danlep
1313
---
1414

articles/app-service/tutorial-python-postgresql-app.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -142,22 +142,6 @@ python manage.py runserver
142142

143143
## 1. Create App Service and PostgreSQL
144144

145-
146-
### [Flask](#tab/flask)
147-
148-
```bash
149-
git clone https://github.com/Azure-Samples/msdocs-flask-postgresql-sample-app.git
150-
```
151-
152-
### [Django](#tab/django)
153-
154-
```bash
155-
git clone https://github.com/Azure-Samples/msdocs-django-postgresql-sample-app.git
156-
```
157-
158-
-----
159-
160-
161145
In this step, you create the Azure resources. The steps used in this tutorial create a set of secure-by-default resources that include App Service and Azure Database for PostgreSQL. For the creation process, you'll specify:
162146

163147
* The **Name** for the web app. It's the name used as part of the DNS name for your webapp in the form of `https://<app-name>.azurewebsites.net`.

articles/container-apps/firewall-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can lock down a network via NSGs with more restrictive rules than the defaul
1717

1818
In the workload profiles environment, user-defined routes (UDRs) and [securing outbound traffic with a firewall](./networking.md#configuring-udr-with-azure-firewall) are supported. When using an external workload profiles environment, inbound traffic to Azure Container Apps is routed through the public IP that exists in the [managed resource group](./networking.md#workload-profiles-environment-2) rather than through your subnet. This means that locking down inbound traffic via NSG or Firewall on an external workload profiles environment isn't supported. For more information, see [Networking in Azure Container Apps environments](./networking.md#user-defined-routes-udr).
1919

20-
In the Consumption only environment, custom user-defined routes (UDRs). In the Consumption only environment, express routes are not supported, and custom user-defined routes (UDRs) have limited support. For more details on what level of UDR support is available on Consumption only environment, see the [FAQ](faq.yml#do-consumption-only-environments-support-custom-user-defined-routes-).
20+
In the Consumption only environment, express routes are not supported, and custom user-defined routes (UDRs) have limited support. For more details on what level of UDR support is available on Consumption only environment, see the [FAQ](faq.yml#do-consumption-only-environments-support-custom-user-defined-routes-).
2121

2222
## NSG allow rules
2323

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/)

0 commit comments

Comments
 (0)