Skip to content

Instantly share code, notes, and snippets.

@johndowns
Last active July 23, 2018 20:46
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 johndowns/343401e7ba61a41e60ffbea341f2f696 to your computer and use it in GitHub Desktop.
Save johndowns/343401e7ba61a41e60ffbea341f2f696 to your computer and use it in GitHub Desktop.
Cosmos DB Collection Throughput Checker Function - function.json
{
"bindings": [
{
"name": "myTimer",
"type": "timerTrigger",
"direction": "in",
"schedule": "0 0 * */1 * *"
},
{
"name": "$return",
"type": "sendGrid",
"direction": "out",
"apiKey" : "SendGridKey",
"to": "%AlertToAddress%",
"from": "%AlertFromAddress%",
"subject": "Overprovisioned Cosmos DB Collections"
}
],
"disabled": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment