Skip to content

Instantly share code, notes, and snippets.

@ealsur
Created April 2, 2018 01:59
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/832ba1645d1771c0fef58f1f41477f12 to your computer and use it in GitHub Desktop.
Save ealsur/832ba1645d1771c0fef58f1f41477f12 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": "trigger1"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment