0
@BlobOutput(dataType="Binary", name="$return", path="{data.url}")

We are using an Event grid trigger in java to get blob events from blob storage. Here {data.url} represents an image url with .tiff extension, our function converts the image from .tiff to .png format and saves it back in the same storage. Is there a way to change {data.url} and set it back to path param of @BlobOutput.

Jerry Liu
  • 17,282
  • 4
  • 40
  • 61

1 Answers1

1

Based on my knowing, for now dynamic binding is only available for .Net language, and it creates binding at runtime rather than change declarative binding configuration.

The frank alternative should be using Storage SDK and upload blob to target container manually.

Jerry Liu
  • 17,282
  • 4
  • 40
  • 61
  • Yes. For languages other than .net, you cannot modify output binding definitions. This would a feature request. Please open an issue on https://github.com/Azure/azure-functions-java-worker/ – Pragna Gopa Nov 05 '18 at 19:05
  • See this issue: https://github.com/Azure/azure-functions-host/issues/85 – RST Oct 07 '19 at 02:26