you can follow this article to get the values from local.settings.json
[Azure function] using env var in function.json
Dy Zapra, Keisha Marie
30
Reputation points
Sample function.json
{
"bindings": [
{
"queueName": "test-queue",
"name": "message",
"type": "serviceBusTrigger",
"direction": "in",
"isSessionsEnabled": true
}
],
"scriptFile": "handler.mjs"
}
is there a way to grab the "isSessionsEnabled" value from the env var/local.settings.json? This is for node.
Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.