Skip to content

Commit 09a4643

Browse files
authored
Merge pull request #289165 from vac0224/vc-subscribe-acs-events-2024-10-29
Update Subscribe to Events
2 parents 6eedc31 + b47da10 commit 09a4643

File tree

5 files changed

+79
-74
lines changed

5 files changed

+79
-74
lines changed

articles/communication-services/quickstarts/events/includes/create-event-subscription-az-cli.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ ms.author: pgrandhi
1010
## Prerequisites
1111

1212
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
13-
- Install [Azure CLI](/cli/azure/install-azure-cli-windows?tabs=azure-cli)
14-
- An [Azure Communication Services resource](../../create-communication-resource.md)
15-
- Create a Webhook to receive events. [Webhook Event Delivery](../../../../../articles/event-grid/webhook-event-delivery.md)
13+
- Install [Azure CLI](/cli/azure/install-azure-cli-windows?tabs=azure-cli).
14+
- An [Azure Communication Services resource](../../create-communication-resource.md).
15+
- Create a Webhook to receive events. See [Webhook Event Delivery](../../../../../articles/event-grid/webhook-event-delivery.md).
1616

1717

1818
[!INCLUDE [register-provider-cli.md](register-provider-cli.md)]
1919

2020
## Create event subscription
2121

22-
To create event subscriptions for Azure Communication Services resource, [sign in to Azure CLI](/cli/azure/authenticate-azure-cli). You can sign in running the ```az login``` command from the terminal and providing your credentials. Run the following command to create the event subscription for the resource:
22+
To create event subscriptions for Azure Communication Services resource, [sign in to Azure CLI](/cli/azure/authenticate-azure-cli). You can sign in running the ```az login``` command from the terminal, then and provide your credentials. Run the following command to create the event subscription for the resource:
2323

24-
To create an event subscription by using [the Azure CLI](/cli/azure/get-started-with-azure-cli), use the [`az eventgrid event-subscription create`](/cli/azure/eventgrid/event-subscription#az-eventgrid-event-subscription-create) command.
24+
To create an event subscription using [the Azure CLI](/cli/azure/get-started-with-azure-cli), use the [`az eventgrid event-subscription create`](/cli/azure/eventgrid/event-subscription#az-eventgrid-event-subscription-create) command.
2525

2626
```azurecli-interactive
2727
az eventgrid event-subscription create
@@ -36,7 +36,7 @@ For a list of Communication Services events, see [Communication Services Events]
3636

3737
## List event subscriptions
3838

39-
To list all the existing event subscriptions set up for an Azure Communication Services resource, by using [the Azure CLI](/cli/azure/get-started-with-azure-cli), use the [`az eventgrid event-subscription list`](/cli/azure/eventgrid/event-subscription#az-eventgrid-event-subscription-list) command.
39+
To list all the existing event subscriptions set up for an Azure Communication Services resource using [the Azure CLI](/cli/azure/get-started-with-azure-cli), use the [`az eventgrid event-subscription list`](/cli/azure/eventgrid/event-subscription#az-eventgrid-event-subscription-list) command.
4040

4141
```azurecli-interactive
4242
az eventgrid event-subscription list
@@ -45,7 +45,7 @@ az eventgrid event-subscription list
4545

4646
## Update event subscription
4747

48-
To update an existing event subscription by using [the Azure CLI](/cli/azure/get-started-with-azure-cli), use the [`az eventgrid event-subscription update`](/cli/azure/eventgrid/event-subscription#az-eventgrid-event-subscription-update) command.
48+
To update an existing event subscription using [the Azure CLI](/cli/azure/get-started-with-azure-cli), use the [`az eventgrid event-subscription update`](/cli/azure/eventgrid/event-subscription#az-eventgrid-event-subscription-update) command.
4949

5050
```azurecli-interactive
5151
az eventgrid event-subscription update
@@ -58,7 +58,7 @@ az eventgrid event-subscription update
5858

5959
## Delete event subscription
6060

61-
To delete an existing event subscription by using [the Azure CLI](/cli/azure/get-started-with-azure-cli), use the [`az eventgrid event-subscription delete`](/cli/azure/eventgrid/event-subscription#az-eventgrid-event-subscription-delete) command.
61+
To delete an existing event subscription using [the Azure CLI](/cli/azure/get-started-with-azure-cli), use the [`az eventgrid event-subscription delete`](/cli/azure/eventgrid/event-subscription#az-eventgrid-event-subscription-delete) command.
6262

6363
```azurecli-interactive
6464
az eventgrid event-subscription delete
@@ -67,4 +67,5 @@ az eventgrid event-subscription delete
6767
```
6868

6969
## Next steps
70-
* For information on other commands, see [Azure Event Grid CLI](/cli/azure/eventgrid/event-subscription).
70+
71+
* For information about other commands, see [Azure Event Grid CLI](/cli/azure/eventgrid/event-subscription).

articles/communication-services/quickstarts/events/includes/create-event-subscription-azp.md

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,94 +10,95 @@ ms.author: pgrandhi
1010

1111
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
1212
- An [Azure Communication Services resource](../../create-communication-resource.md).
13-
- Create a Webhook to receive events. [Webhook Event Delivery](/azure/event-grid/webhook-event-delivery).
13+
- Create a Webhook to receive events. See [Webhook Event Delivery](/azure/event-grid/webhook-event-delivery).
1414

1515
[!INCLUDE [register-event-grid-resource-provider.md](register-event-grid-resource-provider.md)]
1616

1717
## Create event subscription
1818

19-
To create an Event subscription for Azure Communication Services, use the following steps. This article shows how to create an Event subscription for Azure Communication Services to receive events via Webhook.
20-
2119
To create an Event subscription for Azure Communication Services resource, first sign in to the [Azure portal](https://portal.azure.com). In the upper-left corner of the page, select the Communication Services resource.
22-
* Select on the Events tab on the left menu.
23-
* Select on **+ Event Subscription**.
20+
1. Select the **Events** tab from the left menu.
21+
2. Select **+ Event Subscription**.
2422

2523
:::image type="content" source="../media/subscribe-through-portal/add-subscription.png" alt-text="Screenshot highlighting the create event subscription button in the Azure portal." lightbox="../media/subscribe-through-portal/add-subscription.png":::
2624

27-
* On the **Create Event Subscription** page, follow these steps:
28-
1. Enter a name for the event subscription.
29-
1. Enter a name for the System topic name.
30-
1. Select the event types that you want to receive on the event subscription.
25+
3. On the **Create Event Subscription** page, follow these steps:
26+
1. Enter a name for the event subscription.
27+
1. Enter a name for the System topic name.
28+
1. Select the event types that you want to receive on the event subscription.
3129

32-
:::image type="content" source="../media/subscribe-through-portal/select-event-types.png" alt-text="Screenshot that shows the selection of event types." lightbox="../media/subscribe-through-portal/select-event-types.png":::
30+
:::image type="content" source="../media/subscribe-through-portal/select-event-types.png" alt-text="Screenshot that shows the selection of event types." lightbox="../media/subscribe-through-portal/select-event-types.png":::
3331

34-
For more information on Communication Services events, see [Communication Services Events](/azure/event-grid/event-schema-communication-services)
32+
For more information, see [Communication Services Events](/azure/event-grid/event-schema-communication-services).
3533

36-
1. Select the Endpoint Type as Web Hook.
34+
1. Select the Endpoint Type as Web Hook.
3735

38-
:::image type="content" source="../media/subscribe-through-portal/select-endpoint-type.png" alt-text="Screenshot that shows the selection of endpoint type." lightbox="../media/subscribe-through-portal/select-endpoint-type.png":::
36+
:::image type="content" source="../media/subscribe-through-portal/select-endpoint-type.png" alt-text="Screenshot that shows the selection of endpoint type." lightbox="../media/subscribe-through-portal/select-endpoint-type.png":::
3937

40-
1. Select **Configure an Endpoint**
38+
1. Select **Configure an Endpoint**
4139

42-
:::image type="content" source="../media/subscribe-through-portal/create-event-subscription.png" alt-text="Screenshot highlighting the create event page in the Azure portal." lightbox="../media/subscribe-through-portal/create-event-subscription.png":::
40+
:::image type="content" source="../media/subscribe-through-portal/create-event-subscription.png" alt-text="Screenshot highlighting the create event page in the Azure portal." lightbox="../media/subscribe-through-portal/create-event-subscription.png":::
4341

44-
1. Enter the link to the webhook and Select **Confirm Selection**.
42+
1. Enter the link to the webhook and select **Confirm Selection**.
4543

46-
:::image type="content" source="../media/subscribe-through-portal/select-web-hook-endpoint.png" alt-text="Screenshot highlighting the select webhook endpoint page in the Azure portal." lightbox="../media/subscribe-through-portal/select-web-hook-endpoint.png":::
44+
:::image type="content" source="../media/subscribe-through-portal/select-web-hook-endpoint.png" alt-text="Screenshot highlighting the select webhook endpoint page in the Azure portal." lightbox="../media/subscribe-through-portal/select-web-hook-endpoint.png":::
4745

48-
1. In the **Filters** tab, add the names of the event types you want to filter in the subscription and add context attribute filters you want to use in the subscription. Then, select **Next: Additional features** at the bottom of the page.
46+
1. In the **Filters** tab, add the names of the event types you want to filter in the subscription. Add any context attribute filters you want to use in the subscription. Then, select **Next: Additional features** at the bottom of the page.
4947

50-
:::image type="content" source="../media/subscribe-through-portal/create-event-filters.png" alt-text="Screenshot highlighting Event Grid create filters page in the Azure portal." lightbox="../media/subscribe-through-portal/create-event-filters.png":::
48+
:::image type="content" source="../media/subscribe-through-portal/create-event-filters.png" alt-text="Screenshot highlighting Event Grid create filters page in the Azure portal." lightbox="../media/subscribe-through-portal/create-event-filters.png":::
5149

52-
1. To enable dead lettering and customize retry policies, select **Additional Features**.
50+
1. To enable dead lettering and customize retry policies, select **Additional Features**.
5351

54-
:::image type="content" source="../media/subscribe-through-portal/select-additional-features.png" alt-text="Screenshot that shows the Additional features tab of the Create Event Subscription page." lightbox="../media/subscribe-through-portal/select-additional-features.png":::
52+
:::image type="content" source="../media/subscribe-through-portal/select-additional-features.png" alt-text="Screenshot that shows the Additional features tab of the Create Event Subscription page." lightbox="../media/subscribe-through-portal/select-additional-features.png":::
5553

56-
1. When done, select **Create**.
54+
1. When done, select **Create**.
5755

5856

5957
## Update event subscription
6058

61-
To update an Event subscription for Azure Communication Services, use the following steps. This section shows how to update an Event subscription for Azure Communication Services to update the events you want to receive via Webhook.
59+
This section shows how to update an Event subscription for Azure Communication Services to update the events you want to receive via Webhook.
6260

6361
To update an Event subscription for Azure Communication Services resource, first sign in to the [Azure portal](https://portal.azure.com). In the upper-left corner of the page, select the Communication Services resource.
6462

65-
1. Select the Events tab on the left menu.
66-
1. Select the **Event Subscriptions** and select on the Event subscription you want to update.
63+
1. Select the **Events** tab from the left menu.
64+
1. Select **Event Subscriptions** and select the Event subscription you want to update.
6765

6866
:::image type="content" source="../media/subscribe-through-portal/event-subscriptions.png" alt-text="Screenshot highlighting the event subscription button in the Azure portal." lightbox="../media/subscribe-through-portal/event-subscriptions.png":::
6967

70-
1. On the **Event Subscription** page, select on **Filters** tab. Select the event types that you want to receive on the event subscription.
68+
1. On the **Event Subscription** page, select the **Filters** tab. Select the event types that you want to receive on the event subscription.
7169

7270
:::image type="content" source="../media/subscribe-through-portal/update-event-types.png" alt-text="Screenshot that shows the selection of event types to update." lightbox="../media/subscribe-through-portal/update-event-types.png":::
7371

7472
1. To enable dead lettering and customize retry policies, select **Additional Features**.
7573

7674
:::image type="content" source="../media/subscribe-through-portal/select-additional-features.png" alt-text="Screenshot that shows the Additional features tab of the Update Event Subscription page." lightbox="../media/subscribe-through-portal/select-additional-features.png":::
7775

78-
1. To update the webhook to receive events, select on **Change** next to the webhook link and enter the new webhook endpoint.
76+
1. To update the webhook to receive events, select **Change** next to the webhook link and enter the new webhook endpoint.
77+
7978
:::image type="content" source="../media/subscribe-through-portal/update-web-hook-endpoint.png" alt-text="Screenshot that shows the Change the webhook endpoint link in the Event Subscription page." lightbox="../media/subscribe-through-portal/update-web-hook-endpoint.png":::
8079

81-
1. When done, select **Save**,
80+
1. When done, select **Save**.
81+
8282
:::image type="content" source="../media/subscribe-through-portal/save-update.png" alt-text="Screenshot that shows the save button in the Azure portal." lightbox="../media/subscribe-through-portal/save-update.png":::
8383

8484
## Delete event subscription
8585

86-
To delete an Event subscription for Azure Communication Services, use the following steps.
86+
To delete an Event subscription for Azure Communication Services, follow these steps.
8787

8888
To delete an Event subscription for Azure Communication Services resource, first sign in to the [Azure portal](https://portal.azure.com). In the upper-left corner of the page, select the Communication Services resource.
8989

90-
1. Select on the Events tab on the left menu.
91-
1. Select on **Event Subscriptions** and Select on the Event subscription you want to delete.
90+
1. Select the **Events** tab from the left menu.
91+
1. Select **Event Subscriptions** and select the Event subscription you want to delete.
9292

9393
:::image type="content" source="../media/subscribe-through-portal/event-subscriptions.png" alt-text="Screenshot highlighting the event subscriptions button to access event subscription to be deleted in the Azure portal." lightbox="../media/subscribe-through-portal/event-subscriptions.png":::
9494

95-
1. On the Event Subscription page, Select on **Delete** button at the top.
95+
1. On the Event Subscription page, Select **Delete** from the top of the page.
9696

9797
:::image type="content" source="../media/subscribe-through-portal/delete-subscription.png" alt-text="Screenshot highlighting the delete button in the Azure portal." lightbox="../media/subscribe-through-portal/delete-subscription.png":::
9898

9999
## Next steps
100+
100101
* For a list of Communication Services events, see [Communication Services Events](/azure/event-grid/event-schema-communication-services).
101102
* For a list of supported event handlers, see [Event handlers](/azure/event-grid/event-handlers).
102-
* For information about event delivery and retries, [Event Grid message delivery and retry](/azure/event-grid/delivery-and-retry).
103+
* For information about event delivery and retries, see [Event Grid message delivery and retry](/azure/event-grid/delivery-and-retry).
103104
* For an introduction to Event Grid, see [About Event Grid](/azure/event-grid/overview).

0 commit comments

Comments
 (0)