title | description | services | author | manager | ms.service | ms.topic | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|---|---|---|---|
include file |
include file |
functions |
craigshoemaker |
gwallace |
azure-functions |
include |
08/02/2019 |
cshoe |
include file |
You can use the following parameter types for the blob input binding:
Stream
TextReader
string
Byte[]
CloudBlobContainer
CloudBlobDirectory
ICloudBlob
1CloudBlockBlob
1CloudPageBlob
1CloudAppendBlob
1
1 Requires "inout" binding direction
in function.json or FileAccess.ReadWrite
in a C# class library.
If you try to bind to one of the Storage SDK types and get an error message, make sure that you have a reference to the correct Storage SDK version.
Binding to string
or Byte[]
is only recommended if the blob size is small, as the entire blob contents are loaded into memory. Generally, it is preferable to use a Stream
or CloudBlockBlob
type. For more information, see Concurrency and memory usage earlier in this article.