Skip to content

Instantly share code, notes, and snippets.

@ealsur
Created April 2, 2018 02:00
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/26dfeea95eb1c60ae11727ff6a7b6dbb to your computer and use it in GitHub Desktop.
Save ealsur/26dfeea95eb1c60ae11727ff6a7b6dbb to your computer and use it in GitHub Desktop.
Azure Cosmos DB + Functions Cookbook - multi triggers
{
"bindings": [
{
"type": "cosmosDBTrigger",
"name": "input",
"direction": "in",
"leaseCollectionName": "leases",
"connectionStringSetting": "<your-connectionstring-setting>",
"databaseName": "<your-monitored-database>",
"collectionName": "<your-monitored-collection>",
"createLeaseCollectionIfNotExists": true,
"leaseCollectionPrefix": "trigger2"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment