Skip to content

Instantly share code, notes, and snippets.

@ealsur
Created January 30, 2018 16:16
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 ealsur/9a7f10eecc570f19dbd447fe3f728039 to your computer and use it in GitHub Desktop.
Save ealsur/9a7f10eecc570f19dbd447fe3f728039 to your computer and use it in GitHub Desktop.
Azure Cosmos DB + Functions Cookbook - output collector function.json
{
"bindings": [
{
"name": "classes",
"type": "httpTrigger",
"direction": "in"
},
{
"name": "$return",
"type": "http",
"direction": "out"
},
{
"type": "documentDB",
"name": "documentsToStore",
"databaseName": "<your-database-name>",
"collectionName": "<your-collection-name>",
"createIfNotExists": false,
"connection": "<your-connection-setting-name>",
"direction": "out"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment