Project scaffolding toegevoegd

This commit is contained in:
Martijn Remmen
2021-06-15 19:37:03 +02:00
commit 6c7b63548c
12 changed files with 232 additions and 0 deletions

8
Analyzer/__init__.py Normal file
View File

@ -0,0 +1,8 @@
import logging
import azure.functions as func
def main(msg: func.ServiceBusMessage):
logging.info('Python ServiceBus queue trigger processed message: %s',
msg.get_body().decode('utf-8'))

12
Analyzer/function.json Normal file
View File

@ -0,0 +1,12 @@
{
"scriptFile": "__init__.py",
"bindings": [
{
"name": "msg",
"type": "serviceBusTrigger",
"direction": "in",
"queueName": "tst",
"connection": "AzureWebJobsServiceBus"
}
]
}

1
Analyzer/sample.dat Normal file
View File

@ -0,0 +1 @@
Service Bus Message