Skip to content

Instantly share code, notes, and snippets.

@sjwaight
Created October 28, 2020 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjwaight/3a2e35aad7f164b504f87bc33cfea3a1 to your computer and use it in GitHub Desktop.
Save sjwaight/3a2e35aad7f164b504f87bc33cfea3a1 to your computer and use it in GitHub Desktop.
Sample Azure Functions config file for a Python Function with an Input and Output Binding
{
"scriptFile": "__init__.py",
"bindings": [
{
"name": "msg",
"type": "queueTrigger",
"direction": "in",
"queueName": "images",
"connection": "customserverless01_STORAGE"
},
{
"name": "inputblob",
"type": "blob",
"dataType": "binary",
"path": "sampleuploads/{queueTrigger}",
"connection": "customserverless01_STORAGE",
"direction": "in"
},
{
"name": "outputblob",
"type": "blob",
"path": "thumbnails/{queueTrigger}",
"connection": "customserverless01_STORAGE",
"direction": "out"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment