I'm trying to push data to an append blob, but keep getting the same error: "Cannot bind to page or append blobs using 'out string', 'TextWriter', or writable 'Stream' parameters."
My understanding is that this has been implemented in Azure WebJobs SDK (#865, #859); that the SDK locates and correctly identifies the blob type as "AppendBlob"; and that the error is thrown from WriteBlobArgumentBinding.cs. The error message seems to be specific to C# bindings.
What I can't figure out is what type is expected here in Powershell - neither a stringor byte[] seems to work? Is this even supported in the Powershell worker?
To reproduce:
(1) create an empty append blob, e.g. az storage blob upload <...> --type append
I'm trying to push data to an append blob, but keep getting the same error: "Cannot bind to page or append blobs using 'out string', 'TextWriter', or writable 'Stream' parameters."
My understanding is that this has been implemented in Azure WebJobs SDK (#865, #859); that the SDK locates and correctly identifies the blob type as "AppendBlob"; and that the error is thrown from WriteBlobArgumentBinding.cs. The error message seems to be specific to C# bindings.
What I can't figure out is what type is expected here in Powershell - neither a
string
orbyte[]
seems to work? Is this even supported in the Powershell worker?To reproduce:
(1) create an empty append blob, e.g.
az storage blob upload <...> --type append
(2) function.json:
(3) Run.ps1:
(4) Log stream output: