Skip to content

Commit 9a017fb

Browse files
committed
SFI-images clean-up and queue freshness
1 parent 6284713 commit 9a017fb

14 files changed

+12
-35
lines changed

articles/azure-functions/functions-create-storage-blob-triggered-function.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create a function in Azure triggered by Blob storage
33
description: Use Azure Functions to create a serverless function that is invoked by items added to a Blob storage container.
44
ms.assetid: d6bff41c-a624-40c1-bbc7-80590df29ded
55
ms.topic: how-to
6-
ms.date: 12/28/2023
6+
ms.date: 09/18/2024
77
ms.custom: mvc, cc996988-fb4f-47
88
---
99
# Create a function in Azure that's triggered by Blob storage
@@ -49,7 +49,7 @@ You've successfully created your new function app. Next, you create a function i
4949

5050
1. In the **Name** field, type `samples-workitems`, and then select **Create** to create a container.
5151

52-
1. Select the new `samples-workitems` container, which you can use to test the function by uploading a file to the container.
52+
1. Select the new `samples-workitems` container, which you use to test the function by uploading a file to the container.
5353

5454
## Test the function
5555

articles/azure-functions/functions-create-storage-queue-triggered-function.md

Lines changed: 10 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create a function in Azure triggered by queue messages
33
description: Use Azure Functions to create a serverless function that is invoked by messages submitted to a queue in Azure.
44
ms.assetid: 361da2a4-15d1-4903-bdc4-cc4b27fc3ff4
55
ms.topic: how-to
6-
ms.date: 12/28/2023
6+
ms.date: 09/18/2024
77
ms.custom: mvc, cc996988-fb4f-47
88
---
99
# Create a function triggered by Azure Queue storage
@@ -34,53 +34,30 @@ Next, you create a function in the new function app.
3434

3535
| Setting | Suggested value | Description |
3636
|---|---|---|
37+
| **Job type** | Append to app | You only see this setting for a Python v2 app. |
3738
| **Name** | Unique in your function app | Name of this queue triggered function. |
3839
| **Queue name** | myqueue-items | Name of the queue to connect to in your Storage account. |
3940
| **Storage account connection** | AzureWebJobsStorage | You can use the storage account connection already being used by your function app, or create a new one. |
4041

41-
Azure creates the Queue Storage triggered function based on the provided values
42-
43-
Next, you connect to your Azure storage account and create the **myqueue-items** storage queue.
42+
Azure creates the Queue Storage triggered function based on the provided values.Next, you connect to your Azure storage account and create the **myqueue-items** storage queue.
4443

4544
## Create the queue
4645

47-
1. In your function, on the **Overview** page, select your resource group.
48-
49-
:::image type="content" source="./media/functions-create-storage-queue-triggered-function/functions-storage-resource-group.png" alt-text="Select your Azure portal resource group." border="true":::
50-
51-
1. Find and select your resource group's storage account.
52-
53-
:::image type="content" source="./media/functions-create-storage-queue-triggered-function/functions-storage-account-access.png" alt-text="Access the storage account." border="true":::
46+
1. Return to the **Overview** page for your function app, select your **Resource group**, then find and select the storage account in your resource group.
5447

55-
1. Choose **Queues**, and then choose **+ Queue**.
56-
57-
:::image type="content" source="./media/functions-create-storage-queue-triggered-function/functions-storage-add-queue.png" alt-text="Add a queue to your storage account in the Azure portal." border="true":::
48+
1. In the storage account page, select **Data storage** > **Queues** > **+ Queue**.
5849

5950
1. In the **Name** field, type `myqueue-items`, and then select **Create**.
6051

61-
:::image type="content" source="./media/functions-create-storage-queue-triggered-function/functions-storage-name-queue.png" alt-text="Name the queue storage container." border="true":::
62-
63-
Now that you have a storage queue, you can test the function by adding a message to the queue.
52+
1. Select the new **myqueue-items** queue, which you use to test the function by adding a message to the queue.
6453

6554
## Test the function
6655

67-
1. Back in the Azure portal, browse to your function expand the **Logs** at the bottom of the page and make sure that log streaming isn't paused.
68-
69-
:::image type="content" source="./media/functions-create-storage-queue-triggered-function/functions-queue-storage-log-expander.png" alt-text="Expand the log in the Azure portal." border="true":::
70-
71-
1. In a separate browser window, go to your resource group in the Azure portal, and select the storage account.
72-
73-
1. Select **Queues**, and then select the **myqueue-items** container.
74-
75-
:::image type="content" source="./media/functions-create-storage-queue-triggered-function/functions-storage-queue.png" alt-text="Go to your myqueue-items queue in the Azure portal." border="true":::
76-
77-
1. Select **Add message**, and type "Hello World!" in **Message text**. Select **OK**.
78-
79-
:::image type="content" source="./media/functions-create-storage-queue-triggered-function/functions-storage-queue-test.png" alt-text="Screenshot shows the Add message button selected and the Message text field highlighted." border="true":::
80-
81-
1. Wait for a few seconds, then go back to your function logs and verify that the new message has been read from the queue.
56+
1. In a new browser window, return to your function app page and select **Log stream**, which displays real-time logging for your app.
57+
58+
1. In the **myqueue-items** queue, select **Add message**, type "Hello World!" in **Message text**, and select **OK**.
8259

83-
:::image type="content" source="./media/functions-create-storage-queue-triggered-function/function-app-in-portal-editor.png" alt-text="View message in the logs." border="true":::
60+
1. Go back to your function app logs and verify that the function ran to process the message from the queue.
8461

8562
1. Back in your storage queue, select **Refresh** and verify that the message has been processed and is no longer in the queue.
8663

0 commit comments

Comments
 (0)