You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-grid/resize-images-on-storage-blob-upload-event.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,13 +187,15 @@ The function project code is deployed directly from the public sample repository
187
187
188
188
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:
189
189
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.
191
191
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**.
193
195
194
196
:::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" :::
195
197
196
-
3. Use the event subscription settings as specified in the table.
198
+
1. Use the event subscription settings as specified in the table.
197
199
198
200

199
201
@@ -208,13 +210,13 @@ An event subscription indicates which provider-generated events you want sent to
208
210
|**Endpoint type**| autogenerated | Pre-defined as **Azure Function**. |
209
211
|**Endpoint**| autogenerated | Name of the function. In this case, it's **Thumbnail**. |
210
212
211
-
4. Switch to the **Filters** tab, and do the following actions:
213
+
1. Switch to the **Filters** tab, and do the following actions:
212
214
1. Select **Enable subject filtering** option.
213
215
2. For **Subject begins with**, enter the following value : **/blobServices/default/containers/images/blobs/**.
214
216
215
217

216
218
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.
218
220
219
221
Now that the backend services are configured, you test the image resize functionality in the sample web app.
0 commit comments