I have a EventHubTriggered Function app.Here is the code sample of the method signature:
@FunctionName("foo") @StorageAccount("foostorageread") public HttpResponseMessage run( @HttpTrigger( name = "req", methods = {HttpMethod.POST}, authLevel = AuthorizationLevel.ANONYMOUS) HttpRequestMessage<Optional> request, @BlobInput( name = "{test1}", dataType = "string", path = "blobStorageContainer/{test1}.json") String test1,
@BlobInput(
name = "test2",
dataType = "string",
path = "blobStorageContainer/{test2}.json") String test2,
final ExecutionContext context)
I want to add the input binding to CloudBlobContainer(blobStorageContainer in the method signature above) in the method signature so that I do not need to explicitly connect to this container in my method (as I'll need to access more files from this container). Is there any annotations/ways I can do that in Java?