Skip to content

Commit 6221a03

Browse files
Freshness, in progress.
1 parent 6edb204 commit 6221a03

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

articles/event-grid/custom-event-to-function.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ In this section, you use Visual Studio Code to create a function with an Event G
3636

3737
1. Select a folder where you want to save the function code.
3838

39-
1. For the **Create new project** command, for **Language**, select **C#**, and then select the Enter key.
39+
1. For the **Create new project** command, for **Language**, select **C#**, and then select **Enter**.
4040

4141
:::image type="content" source="./media/custom-event-to-function/select-function-language.png" alt-text="Screenshot that shows the selection of C Sharp as the language for developing an Azure function." lightbox="./media/custom-event-to-function/select-function-language.png":::
42-
1. For **.NET runtime**, select **.NET 8.0 Isolated LTS**, and then select the Enter key.
42+
1. For **.NET runtime**, select **.NET 8.0 Isolated LTS**, and then select **Enter**.
4343

44-
1. For **Template for the function**, select **Azure Event Grid trigger**, and then select the Enter key.
44+
1. For **Template for the function**, select **Azure Event Grid trigger**, and then select **Enter**.
4545

46-
1. For **Function name**, enter a name for your function, and then select the Enter key.
46+
1. For **Function name**, enter a name for your function, and then select **Enter**.
4747

48-
1. For **Namespace**, enter a name for the function's namespace, and then select the Enter key.
48+
1. For **Namespace**, enter a name for the function's namespace, and then select **Enter**.
4949

5050
1. Open the project in the current window or a new window, or add it to a workspace.
5151

@@ -69,9 +69,9 @@ In this section, you use Visual Studio Code to create a function with an Event G
6969
1. Hover over your project and select the **Deploy to Azure** button.
7070

7171
:::image type="content" source="./media/custom-event-to-function/deploy-to-azure-button.png" alt-text="Screenshot that shows the button for deploying to Azure." lightbox="./media/custom-event-to-function/deploy-to-azure-button.png":::
72-
1. In the dropdown list of the command palette, select **+ Create new function app**, and then select the Enter key.
72+
1. In the dropdown list of the command palette, select **+ Create new function app**, and then select **Enter**.
7373

74-
1. For **Name**, enter a globally unique name for the new function app, and then select the Enter key.
74+
1. For **Name**, enter a globally unique name for the new function app, and then select **Enter**.
7575

7676
1. For **Runtime stack**, select **.NET 8 Isolated**.
7777

@@ -146,7 +146,7 @@ You subscribe to an Event Grid topic to tell Event Grid which events you want to
146146
:::image type="content" source="./media/custom-event-to-function/provide-endpoint.png" alt-text="Screenshot that shows the pane for selecting a previously created Azure function.":::
147147
1. This step is optional, but we recommend it for production scenarios. On the **Create Event Subscription** pane, go to the **Additional Features** tab and set values for **Max events per batch** and **Preferred batch size in kilobytes**.
148148

149-
Batching can give you high throughput. For **Max events per batch**, set the maximum number of events that a subscription will include in a batch. **Preferred batch size in kilobytes** sets the preferred upper bound of batch size, but it can be exceeded if a single event is larger than this threshold.
149+
Batching can give you high throughput. For **Max events per batch**, set the maximum number of events that a subscription includes in a batch. **Preferred batch size in kilobytes** sets the preferred upper bound of batch size, but it can be exceeded if a single event is larger than this threshold.
150150

151151
:::image type="content" source="./media/custom-event-to-function/enable-batching.png" alt-text="Screenshot that shows batching settings for an event subscription.":::
152152
1. On the **Create Event Subscription** pane, select **Create**.
@@ -192,7 +192,7 @@ The cURL tool sends HTTP requests. In this article, you use cURL to send the eve
192192
key=$(az eventgrid topic key list --name $topicname -g $resourcegroupname --query "key1" --output tsv)
193193
```
194194

195-
1. Copy the following statement with the event definition, and then select the Enter key.
195+
1. Copy the following statement with the event definition, and then select **Enter**.
196196

197197
```json
198198
event='[ {"id": "'"$RANDOM"'", "eventType": "recordInserted", "subject": "myapp/vehicles/motorcycles", "eventTime": "'`date +%Y-%m-%dT%H:%M:%S%z`'", "data":{ "make": "Ducati", "model": "Monster"},"dataVersion": "1.0"} ]'
@@ -274,7 +274,7 @@ You triggered the event, and Event Grid sent the message to the endpoint that yo
274274
1. On the **Monitor** page for your function, find an invocation.
275275

276276
:::image type="content" source="./media/custom-event-to-function/monitor-page-invocations.png" alt-text="Screenshot that shows the Invocations tab of the Monitor page.":::
277-
1. Select the invocation to display the details.
277+
1. To display the details, select the invocation.
278278

279279
:::image type="content" source="./media/custom-event-to-function/invocation-details-page.png" alt-text="Screenshot that shows invocation details.":::
280280

@@ -288,9 +288,9 @@ If you plan to continue working with this event, don't clean up the resources th
288288

289289
1. On the left menu, select **Resource groups**.
290290

291-
![Screenshot that shows the page for resource groups](./media/custom-event-to-function/delete-resource-groups.png)
291+
:::image type="content" source="./media/custom-event-to-function/delete-resource-groups.png" alt-text="Screenshot that shows the page for resource groups.":::
292292

293-
An alternative is to select **All Services** on the left menu, and then select **Resource groups**.
293+
An alternative is to select **All Services** on the left menu. Then select **Resource groups**.
294294
1. Select the resource group to open the pane for its details.
295295

296296
1. On the toolbar, select **Delete resource group**.
-26.6 KB
Loading
-2.73 KB
Loading
-5.94 KB
Loading
-11 KB
Loading

0 commit comments

Comments
 (0)