Guest User

Untitled

a guest
Dec 14th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. @FunctionName("BlobTriggerJava")
  2. @StorageAccount("AzureWebJobsStorage")
  3. public void run(
  4. @BlobTrigger(name = "content", path = "containerName/{name}", dataType = "binary") byte[] content,
  5. @BindingName("name") String name, @BindingName("BlobTrigger") String wholePath,
  6. final ExecutionContext context
  7. ) {
  8. context.getLogger().info("Java Blob trigger function processed a blob. Name: " + name);
  9. context.getLogger().info("Whole path: " + wholePath);
  10. }
Add Comment
Please, Sign In to add comment