Skip to content

Instantly share code, notes, and snippets.

@johndowns

johndowns/function.json Secret

Last active Jul 23, 2018
Embed
What would you like to do?
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
You can’t perform that action at this time.