Azure / Azure/azure-functions-nodejs-library
How do I reference parameters of output bindings in v4
- Dominant language
- TypeScript
- Stars
- 70
- Forks
- 35
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 6
Description
I would like to make an app with scheduled data source azure functions that queue up the data for later processing. I would like each function to scrape data, and then upload the results to a blob with the name `products/{name}/{date}.json` and post a queue message with the following structure:
```json
{
"blobPath": "products/{name}/{date}.json",
"retries": 0
}
```
My current output bindings look like so:
```ts
const queueOutput = output.storageQueue({
connection: "AzureWebJobsStorage",
queueName: "pricex",
});
const blobOutput = output.storageBlob({
connection: "AzureWebJobsStorage",
path: "products/{name}/{date}.json",
});
```
How would I access the runtime path of the blob binding? The documentation is scarce for v4 programming model bindings and the typings are `unknown` in many places.
#### Known workarounds
manage the blob connection with `@azure/storage-blob` instead of bindings.
Contributor guide
Assessment
This issue has not been assessed yet.