Im trying to implement a blob trigger for an Azure...
# azure
b
Im trying to implement a blob trigger for an Azure function and I thought I could use a BlobEventSubscription. I provide an Azure function but I struggle to find out how and when this function is triggered using the BlobEventSubscription. I haven’t found any documentation about this so I thought i’d ask here. I haven’t decided when it should be triggered yet but most likely at creation of the blob. Im using JavaScript for this btw. Should I perhaps use EventGrid instead?
t
This is more of an Azure-Functions question rather than Pulumi. You can use both triggers - but you need to decide which one to use. Azure docs explain them fairly well, I think.
b
The docs says nothing about BlobEventSubscription https://www.pulumi.com/docs/reference/pkg/azure/storage/
t
I was talking about the docs about Microsoft Azure Functions