Azure Blob Functions Storage Date Output Path
I have an azure function with Blob storage as output. My question is how do I specify the {date} / {time} output path pattern from Azure Functions? I don't want to keep all the drops in a container.
I tried mycontainername / {date} / {time} but it complained that there is no binding parameter for the "date" parameter
thank
source to share
You can use a parameter converter datetime
with the appropriate format string.
For example:
{datetime:yyyy}
will lead to 2017 (2017)
{datetime:hhmmss}
will result in hours, minutes and seconds without separators.
The format strings used are supported by the .NET framework and you can read more about them here . (Standard strings are also supported.)
source to share