You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to define Blob input for function like this: public static void Run([EventHubTrigger("functioneventhub", Connection = "EventHubConnectionString")]Message myEventHubMessage, [Blob("samples-workitems/{name}")] string myInputBlob, TraceWriter log)
However the generated functions.json file is assigning out direction:
@lindydonna thank you. I was not aware of existence of this parameter. I am however getting into next problem. I am trying to bind Blob input to CloudBlockBlob or ICloudBlob object, but I am getting following error: Microsoft.Azure.WebJobs.Host: Can't bind Blob to type 'Microsoft.WindowsAzure.Storage.Blob.ICloudBlob'. I find that in order to bind CloudBlockBlob I need to use direction inout so I set access to ReadWrite, but this also did not help. I found that you were pointing to this issue in WebJob sdk repo: Azure/azure-functions-host#89 so please is it even supported scenario?
I have been trying to define Blob input for function like this:
public static void Run([EventHubTrigger("functioneventhub", Connection = "EventHubConnectionString")]Message myEventHubMessage, [Blob("samples-workitems/{name}")] string myInputBlob, TraceWriter log)
However the generated functions.json file is assigning out direction:
The text was updated successfully, but these errors were encountered: