Skip to content

Commit bdf858e

Browse files
committed
Add support for ServiceBus bindings
Fixes: #133
1 parent 09a3e3f commit bdf858e

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import azure.functions as azf
2+
3+
4+
def main(req: azf.HttpRequest) -> bytes:
5+
return req.get_body()
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"scriptFile": "__init__.py",
3+
"disabled": false,
4+
5+
"bindings": [
6+
{
7+
"type": "httpTrigger",
8+
"direction": "in",
9+
"name": "req"
10+
},
11+
{
12+
"direction": "out",
13+
"name": "$return",
14+
"queueName": "testqueue-return",
15+
"connection": "AzureWebJobsServiceBusConnectionString",
16+
"type": "serviceBus"
17+
}
18+
]
19+
}

0 commit comments

Comments
 (0)