Is it possible at all? I’m trying to convert the following function.json to Serverless yml definition:
{
"bindings": [
{
"authLevel": "function",
"type": "httpTrigger",
"direction": "in",
"name": "req",
"methods": ["get"]
},
{
"type": "signalRConnectionInfo",
"name": "connectionInfo",
"hubName": "your-signalr-service-name",
"connectionStringSetting": "connection-string",
"direction": "in"
}
]
}
The first event is pretty straightforward:
Web_SirnalRNegotiate:
handler: src/handlers/web/negotiate
events:
- http: true
x-azure-settings:
route: web/{version}/negotiate
methods:
- GET
authLevel: function
But how do I describe the second binding?