Created
November 22, 2016 17:44
-
-
Save jeffhollan/8e43ed9ac829bd056d590904093fbad2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"logicAppName": { | |
"type": "string", | |
"minLength": 1, | |
"maxLength": 80, | |
"metadata": { | |
"description": "Name of the Logic App." | |
} | |
}, | |
"secret": { | |
"type": "securestring" | |
}, | |
"logicAppLocation": { | |
"type": "string", | |
"defaultValue": "[resourceGroup().location]", | |
"allowedValues": [ | |
"eastasia", | |
"southeastasia", | |
"centralus", | |
"eastus", | |
"eastus2", | |
"westus", | |
"northcentralus", | |
"southcentralus", | |
"northeurope", | |
"westeurope", | |
"japanwest", | |
"japaneast", | |
"brazilsouth", | |
"australiaeast", | |
"australiasoutheast", | |
"southindia", | |
"centralindia", | |
"westindia", | |
"canadacentral", | |
"canadaeast", | |
"westcentralus", | |
"westus2", | |
"[resourceGroup().location]" | |
], | |
"metadata": { | |
"description": "Location of the Logic App." | |
} | |
} | |
}, | |
"variables": {}, | |
"resources": [ | |
{ | |
"name": "[parameters('logicAppName')]", | |
"type": "Microsoft.Logic/workflows", | |
"location": "[parameters('logicAppLocation')]", | |
"tags": { | |
"displayName": "LogicApp" | |
}, | |
"apiVersion": "2016-06-01", | |
"properties": { | |
"definition": { | |
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", | |
"actions": { | |
"Response": { | |
"type": "Response", | |
"inputs": { | |
"statusCode": 200, | |
"body": "@parameters('secret')" | |
}, | |
"runAfter": {} | |
} | |
}, | |
"parameters": { | |
"secret": { | |
"type": "SecureString" | |
} | |
}, | |
"triggers": { | |
"manual": { | |
"type": "Request", | |
"kind": "Http", | |
"inputs": { | |
"schema": {} | |
} | |
} | |
}, | |
"contentVersion": "1.0.0.0", | |
"outputs": {} | |
}, | |
"parameters": { | |
"secret": { | |
"value": "[parameters('secret')]" | |
} | |
} | |
} | |
} | |
], | |
"outputs": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment