Используйте код как показано ниже:
using System;
public static void Run(string myQueueItem,out string outputBlob,ILogger log)
{
log.LogInformation($"C# Queue trigger function processed: {myQueueItem}");
outputBlob=myQueueItem;
}
И function.json:
{
"bindings": [
{
"name": "myQueueItem",
"type": "queueTrigger",
"direction": "in",
"queueName": "queue",
"connection": "AzureWebJobsStorage"
},
{
"type": "blob",
"name": "outputBlob",
"path": "container/{queueTrigger}",
"connection": "AzureWebJobsStorage",
"direction": "out"
}
]
}