https://pulumi.com logo
Title
b

breezy-apartment-46543

02/17/2021, 2:09 PM
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

tall-librarian-49374

02/17/2021, 4:17 PM
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

breezy-apartment-46543

02/17/2021, 5:18 PM
The docs says nothing about BlobEventSubscription https://www.pulumi.com/docs/reference/pkg/azure/storage/
t

tall-librarian-49374

02/17/2021, 8:41 PM
I was talking about the docs about Microsoft Azure Functions