Skip to content

Instantly share code, notes, and snippets.

Avatar

Derek Li derek1ee

  • Confluent Inc.
  • Monroe, WA
  • Twitter @derek1ee
View GitHub Profile
@derek1ee
derek1ee / bulkCancel.ps1
Last active Jul 9, 2018
Bulk Cancel Logic App Runs
View bulkCancel.ps1
$runs = Get-AzureRmLogicAppRunHistory -ResourceGroupName "Test" -Name "Canvas" | Where-Object {$_.Status -eq 'Running'} | Stop-AzureRmLogicAppRun -ResourceGroupName "Test" -Name "Canvas" -RunName {$_.Name} -Force
View triggerOnly.json
{
"$connections": {
"value": {
"azureeventgrid_1": {
"connectionId": "",
"id": "/subscriptions/{0}/providers/Microsoft.Web/locations/{1}/managedApis/azureeventgrid"
}
}
},
"definition": {
View OCR.json
{
"$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"
View AutoDelete.json
{
"$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"
@derek1ee
derek1ee / VideoIndexer.json
Last active Apr 24, 2018
VideoIndexerTemplate
View VideoIndexer.json
{
"$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"