Skip to content

Instantly share code, notes, and snippets.

View derek1ee's full-sized avatar

Derek Li derek1ee

View GitHub Profile
@derek1ee
derek1ee / VideoIndexer.json
Last active April 24, 2018 17:29
VideoIndexerTemplate
{
"$connections": {
"value": {
"azureblob_1": {
"connectionId": "",
"id": "/subscriptions/{0}/providers/Microsoft.Web/locations/{1}/managedApis/azureblob"
},
"azureeventgrid_1": {
"connectionId": "",
"id": "/subscriptions/{0}/providers/Microsoft.Web/locations/{1}/managedApis/azureeventgrid"
{
"$connections": {
"value": {
"azureblob_1": {
"connectionId": "",
"id": "/subscriptions/{0}/providers/Microsoft.Web/locations/{1}/managedApis/azureblob"
},
"azureeventgrid": {
"connectionId": "",
"id": "/subscriptions/{0}/providers/Microsoft.Web/locations/{1}/managedApis/azureeventgrid"
{
"$connections": {
"value": {
"azureblob_1": {
"connectionId": "",
"id": "/subscriptions/{0}/providers/Microsoft.Web/locations/{1}/managedApis/azureblob"
},
"azureeventgrid_1": {
"connectionId": "",
"id": "/subscriptions/{0}/providers/Microsoft.Web/locations/{1}/managedApis/azureeventgrid"
{
"$connections": {
"value": {
"azureeventgrid_1": {
"connectionId": "",
"id": "/subscriptions/{0}/providers/Microsoft.Web/locations/{1}/managedApis/azureeventgrid"
}
}
},
"definition": {
@derek1ee
derek1ee / bulkCancel.ps1
Last active July 9, 2018 23:51
Bulk Cancel Logic App Runs
$runs = Get-AzureRmLogicAppRunHistory -ResourceGroupName "Test" -Name "Canvas" | Where-Object {$_.Status -eq 'Running'} | Stop-AzureRmLogicAppRun -ResourceGroupName "Test" -Name "Canvas" -RunName {$_.Name} -Force