Skip to content

Commit e3e6f75

Browse files
authored
Specified trigger type of Azure Function
When you create a new Azure Function, you have to specify what trigger it should be based on. There is an IoT Hub trigger as well, however the sample code relies on Event Grid trigger. That's why would be very helpful to specify trigger type to avoid later confusion with the wrong trigger execution.
1 parent af4b731 commit e3e6f75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/digital-twins/how-to-ingest-iot-hub-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ When the twin is created successfully, the CLI output from the command should lo
7777

7878
In this section, you'll create an Azure function to access Azure Digital Twins and update twins based on IoT telemetry events that it receives. Follow the steps below to create and publish the function.
7979

80-
1. First, create a new Azure Functions project.
80+
1. First, create a new Azure Functions project of Event Grid trigger type.
8181

8282
You can do this using **Visual Studio** (for instructions, see [Develop Azure Functions using Visual Studio](../azure-functions/functions-develop-vs.md#create-an-azure-functions-project)), **Visual Studio Code** (for instructions, see [Create a C# function in Azure using Visual Studio Code](../azure-functions/create-first-function-vs-code-csharp.md?tabs=in-process#create-an-azure-functions-project)), or the **Azure CLI** (for instructions, see [Create a C# function in Azure from the command line](../azure-functions/create-first-function-cli-csharp.md?tabs=azure-cli%2Cin-process#create-a-local-function-project)).
8383

0 commit comments

Comments
 (0)