Skip to content

Commit 077864d

Browse files
author
Glenn Gailey
committed
Fix steps and add image
1 parent 784bfab commit 077864d

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
44.8 KB
Loading

articles/event-grid/resize-images-on-storage-blob-upload-event.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,15 @@ The function project code is deployed directly from the public sample repository
187187

188188
An event subscription indicates which provider-generated events you want sent to a specific endpoint. In this case, the endpoint is exposed by your function. Use the following steps to create an event subscription that sends notifications to your function in the Azure portal:
189189

190-
1. In the [Azure portal](https://portal.azure.com), at the top of the page search for and select `Function App` and choose the function app that you just created.
190+
1. In the [Azure portal](https://portal.azure.com), at the top of the page search for and select `Function App` and choose the function app that you just created. Select **Functions** and choose the **Thumbnail** function.
191191

192-
2. Select **Functions**, choose the **Thumbnail** function, and then select **Add Event Grid subscription**.
192+
:::image type="content" source="media/resize-images-on-storage-blob-upload-event/choose-thumbnail-function.png" alt-text="Choose the Thumbnail function in the portal":::
193+
194+
1. Select select **Integration** then choose the **Event Grid Trigger** and select **Create Event Grid subscription**.
193195

194196
:::image type="content" source="./media/resize-images-on-storage-blob-upload-event/add-event-subscription.png" alt-text="Navigate to Add Event Grid subscription in the Azure portal" :::
195197

196-
3. Use the event subscription settings as specified in the table.
198+
1. Use the event subscription settings as specified in the table.
197199

198200
![Create event subscription from the function in the Azure portal](./media/resize-images-on-storage-blob-upload-event/event-subscription-create.png)
199201

@@ -208,13 +210,13 @@ An event subscription indicates which provider-generated events you want sent to
208210
| **Endpoint type** | autogenerated | Pre-defined as **Azure Function**. |
209211
| **Endpoint** | autogenerated | Name of the function. In this case, it's **Thumbnail**. |
210212

211-
4. Switch to the **Filters** tab, and do the following actions:
213+
1. Switch to the **Filters** tab, and do the following actions:
212214
1. Select **Enable subject filtering** option.
213215
2. For **Subject begins with**, enter the following value : **/blobServices/default/containers/images/blobs/**.
214216

215217
![Specify filter for the event subscription](./media/resize-images-on-storage-blob-upload-event/event-subscription-filter.png)
216218

217-
5. Select **Create** to add the event subscription. This creates an event subscription that triggers the `Thumbnail` function when a blob is added to the `images` container. The function resizes the images and adds them to the `thumbnails` container.
219+
1. Select **Create** to add the event subscription. This creates an event subscription that triggers the `Thumbnail` function when a blob is added to the `images` container. The function resizes the images and adds them to the `thumbnails` container.
218220

219221
Now that the backend services are configured, you test the image resize functionality in the sample web app.
220222

0 commit comments

Comments
 (0)