I'm trying to do some Proof of Concept with EventHub and Azure Functions. I have a Generic Webhook Function in C# that I want to pass a message to my EventHub.
I get stuck on the parameter name given on the "Integrate" tab. If I declare that name among the parameters I have to give it a type. I can't figure out what kind of type though... I've tried:
- String (other functions uses that together with the direction, not applicable with webhooks).
- EventData
- IEnumerable
I can't get it to work. If I don't do this I get the error message: "Missing binding argument named 'outputEventHubMessage'"
If I give it the wrong type I get the message: "Error indexing method 'Functions.GenericWebhookCSharp1'. Microsoft.Azure.WebJobs.Host: Can't bind to parameter."
I'm probably a bit lost in documentation or just a bit tired, but I'd appreciate any help here!
/Joakim