Skip to content

Commit 183292e

Browse files
Split articles
1 parent a731171 commit 183292e

9 files changed

+821
-722
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Azure Event Hubs output binding for Azure Functions
3+
description: Learn to write messages to Azure Event Hubs streams using Azure Functions.
4+
author: craigshoemaker
5+
ms.assetid: daf81798-7acc-419a-bc32-b5a41c6db56b
6+
ms.topic: reference
7+
ms.date: 02/21/2020
8+
ms.author: cshoe
9+
---
10+
11+
# Azure Event Hubs output binding for Azure Functions
12+
13+
This article explains how to work with [Azure Event Hubs](../event-hubs/event-hubs-what-is-event-hubs.md) bindings for Azure Functions. Azure Functions supports trigger and output bindings for Event Hubs.
14+
15+
For information on setup and configuration details, see the [overview](functions-bindings-event-hubs.md).
16+
17+
[!INCLUDE [functions-bindings-event-hubs](../../includes/functions-bindings-event-hubs-output.md)]
18+
19+
## Next steps
20+
21+
- [Respond to events sent to an event hub event stream (Trigger)](./functions-bindings-storage-blob-trigger.md)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Azure Event Hubs trigger for Azure Functions
3+
description: Learn to use Azure Event Hubs trigger in Azure Functions.
4+
author: craigshoemaker
5+
ms.assetid: daf81798-7acc-419a-bc32-b5a41c6db56b
6+
ms.topic: reference
7+
ms.date: 02/21/2020
8+
ms.author: cshoe
9+
---
10+
11+
# Azure Event Hubs bindings for Azure Functions
12+
13+
This article explains how to work with [Azure Event Hubs](../event-hubs/event-hubs-what-is-event-hubs.md) trigger for Azure Functions. Azure Functions supports trigger and [output bindings](functions-bindings-event-hubs-output.md) for Event Hubs.
14+
15+
For information on setup and configuration details, see the [overview](functions-bindings-event-hubs.md).
16+
17+
[!INCLUDE [functions-bindings-event-hubs-trigger](../../includes/functions-bindings-event-hubs-trigger.md)]
18+
19+
## Next steps
20+
21+
- [Write events to an event stream (Output binding)](./functions-bindings-storage-blob-output.md)
Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,25 @@
11
---
22
title: Azure Event Hubs bindings for Azure Functions
3-
description: Understand how to use Azure Event Hubs bindings in Azure Functions.
3+
description: Learn to use Azure Event Hubs trigger and bindings in Azure Functions.
44
author: craigshoemaker
5-
65
ms.assetid: daf81798-7acc-419a-bc32-b5a41c6db56b
76
ms.topic: reference
8-
ms.date: 11/08/2017
7+
ms.date: 02/21/2020
98
ms.author: cshoe
10-
119
---
12-
# Azure Event Hubs bindings for Azure Functions
13-
14-
This article explains how to work with [Azure Event Hubs](../event-hubs/event-hubs-what-is-event-hubs.md) bindings for Azure Functions. Azure Functions supports trigger and output bindings for Event Hubs.
15-
16-
[!INCLUDE [intro](../../includes/functions-bindings-intro.md)]
1710

18-
## Packages - Functions 1.x
11+
# Azure Event Hubs trigger and bindings for Azure Functions
1912

20-
For Azure Functions version 1.x, the Event Hubs bindings are provided in the [Microsoft.Azure.WebJobs.ServiceBus](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.ServiceBus) NuGet package, version 2.x.
21-
Source code for the package is in the [azure-webjobs-sdk](https://github.com/Azure/azure-webjobs-sdk/tree/v2.x/src/Microsoft.Azure.WebJobs.ServiceBus/EventHubs) GitHub repository.
22-
23-
24-
[!INCLUDE [functions-package](../../includes/functions-package.md)]
25-
26-
## Packages - Functions 2.x and higher
27-
28-
For Functions 2.x and higher, use the [Microsoft.Azure.WebJobs.Extensions.EventHubs](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.EventHubs) package, version 3.x.
29-
Source code for the package is in the [azure-webjobs-sdk](https://github.com/Azure/azure-webjobs-sdk/tree/master/src/Microsoft.Azure.WebJobs.Extensions.EventHubs) GitHub repository.
13+
This article explains how to work with [Azure Event Hubs](../event-hubs/event-hubs-what-is-event-hubs.md) bindings for Azure Functions. Azure Functions supports trigger and output bindings for Event Hubs.
3014

31-
[!INCLUDE [functions-package-v2](../../includes/functions-package-v2.md)]
15+
| Action | Type |
16+
|--------|------|
17+
| Respond to events sent to an event hub event stream. | [Trigger](./functions-bindings-event-hubs-trigger.md) |
18+
| Write events to an event stream | [Output binding](./functions-bindings-event-hubs-output.md) |
3219

3320
[!INCLUDE [functions-bindings-event-hubs](../../includes/functions-bindings-event-hubs.md)]
3421

3522
## Next steps
3623

37-
> [!div class="nextstepaction"]
38-
> [Learn more about Azure functions triggers and bindings](functions-triggers-bindings.md)
24+
- [Respond to events sent to an event hub event stream (Trigger)](./functions-bindings-event-hubs-trigger.md)
25+
- [Write events to an event stream (Output binding)](./functions-bindings-event-hubs-output.md)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Azure IoT Hub output binding for Azure Functions
3+
description: Learn to write messages to Azure IoT Hubs streams using Azure Functions.
4+
author: craigshoemaker
5+
ms.topic: reference
6+
ms.date: 02/21/2020
7+
ms.author: cshoe
8+
---
9+
10+
# Azure IoT Hub output binding for Azure Functions
11+
12+
This article explains how to work with Azure Functions output bindings for IoT Hub. The IoT Hub support is based on the [Azure Event Hubs Binding](functions-bindings-event-hubs.md).
13+
14+
For information on setup and configuration details, see the [overview](functions-bindings-event-iot.md).
15+
16+
> [!IMPORTANT]
17+
> While the following code samples use the Event Hub API, the given syntax is applicable for IoT Hub functions.
18+
19+
[!INCLUDE [functions-bindings-event-hubs](../../includes/functions-bindings-event-hubs-output.md)]
20+
21+
## Next steps
22+
23+
- [Respond to events sent to an event hub event stream (Trigger)](./functions-bindings-event-iot-trigger.md)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Azure IoT Hub bindings for Azure Functions
3+
description: Learn to respond to events sent to an IoT hub event stream in Azure Functions.
4+
author: craigshoemaker
5+
ms.topic: reference
6+
ms.date: 02/21/2020
7+
ms.author: cshoe
8+
---
9+
10+
# Azure IoT Hub trigger for Azure Functions
11+
12+
This article explains how to work with Azure Functions bindings for IoT Hub. The IoT Hub support is based on the [Azure Event Hubs Binding](functions-bindings-event-hubs.md).
13+
14+
For information on setup and configuration details, see the [overview](functions-bindings-event-iot.md).
15+
16+
> [!IMPORTANT]
17+
> While the following code samples use the Event Hub API, the given syntax is applicable for IoT Hub functions.
18+
19+
[!INCLUDE [functions-bindings-event-hubs](../../includes/functions-bindings-event-hubs-trigger.md)]
20+
21+
## Next steps
22+
23+
- [Write events to an event stream (Output binding)](./functions-bindings-event-iot-output.md)
Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,27 @@
11
---
22
title: Azure IoT Hub bindings for Azure Functions
3-
description: Understand how to use IoT Hub bindings in Azure Functions.
3+
description: Learn to use IoT Hub trigger and binding in Azure Functions.
44
author: craigshoemaker
5-
65
ms.topic: reference
7-
ms.date: 03/05/2019
6+
ms.date: 02/21/2020
87
ms.author: cshoe
9-
108
---
11-
# Azure IoT Hub bindings for Azure Functions
12-
13-
This article explains how to work with Azure Functions bindings for IoT Hub. The IoT Hub support is based on the [Azure Event Hubs Binding](functions-bindings-event-hubs.md).
14-
15-
[!INCLUDE [intro](../../includes/functions-bindings-intro.md)]
16-
17-
## Packages - Functions 1.x
189

19-
For Azure Functions version 1.x, the IoT Hub bindings are provided in the [Microsoft.Azure.WebJobs.ServiceBus](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.ServiceBus) NuGet package, version 2.x. Source code for the package is in the [azure-webjobs-sdk](https://github.com/Azure/azure-webjobs-sdk/tree/v2.x/src/Microsoft.Azure.WebJobs.ServiceBus/EventHubs) GitHub repository.
20-
21-
[!INCLUDE [functions-package](../../includes/functions-package.md)]
22-
23-
## Packages - Functions 2.x and higher
24-
25-
For Functions 2.x and higher, use the [Microsoft.Azure.WebJobs.Extensions.EventHubs](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.EventHubs) package, version 3.x. Source code for the package is in the [azure-webjobs-sdk](https://github.com/Azure/azure-webjobs-sdk/tree/master/src/Microsoft.Azure.WebJobs.Extensions.EventHubs) GitHub repository.
10+
# Azure IoT Hub bindings for Azure Functions
2611

27-
[!INCLUDE [functions-package-v2](../../includes/functions-package-v2.md)]
12+
This set of articles explains how to work with Azure Functions bindings for IoT Hub. The IoT Hub support is based on the [Azure Event Hubs Binding](functions-bindings-event-hubs.md).
2813

2914
> [!IMPORTANT]
3015
> While the following code samples use the Event Hub API, the given syntax is applicable for IoT Hub functions.
3116
17+
| Action | Type |
18+
|--------|------|
19+
| Respond to events sent to an IoT hub event stream. | [Trigger](./functions-bindings-event-iot-trigger.md) |
20+
| Write events to an IoT event stream | [Output binding](./functions-bindings-event-iot-output.md) |
21+
3222
[!INCLUDE [functions-bindings-event-hubs](../../includes/functions-bindings-event-hubs.md)]
3323

3424
## Next steps
3525

36-
> [!div class="nextstepaction"]
37-
> [Learn more about Azure functions triggers and bindings](functions-triggers-bindings.md)
26+
- [Respond to events sent to an event hub event stream (Trigger)](./functions-bindings-event-iot-trigger.md)
27+
- [Write events to an event stream (Output binding)](./functions-bindings-event-iot-output.md)

0 commit comments

Comments
 (0)