Merge pull request #3749 from arunshan/patch-1

Change eventHub to serviceBus as event type
This commit is contained in:
Philipp Muens 2017-06-08 08:14:56 +02:00 committed by GitHub
commit 7d2b79b910

View File

@ -29,7 +29,7 @@ functions:
example:
handler: handler.hello
events:
- eventHub:
- serviceBus:
x-azure-settings:
name: item #<string>, default - "mySbMsg", specifies which name it's available on `context.bindings`
queueName: hello #<string>, specifies the queue name to listen on
@ -61,7 +61,7 @@ functions:
example:
handler: handler.hello
events:
- eventHub:
- serviceBus:
x-azure-settings:
name: item #<string>, default - "mySbMsg", specifies which name it's available on `context.bindings`
topicName: "hello" #<string>, topic to listen on
@ -78,4 +78,4 @@ module.exports.hello = function(context, item) {
context.log("Received item: ${item}");
context.done();
};
```
```