Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
156 lines (156 sloc) 4.92 KB
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"type": "string",
"metadata": {
"description": "Name of the Logic App."
}
},
"locationCode": {
"type": "string",
"metadata": {
"description": "Location code where the resource is provisioned."
}
},
"state": {
"type": "string",
"metadata": {
"description": "Value indicating whether the Logic App instance is enabled or not."
},
"allowedValues": [
"Enabled",
"Disabled"
],
"defaultValue": "Disabled"
},
"managedIdentityType": {
"type": "string",
"metadata": {
"description": "Vxalue indicating whether the Logic App instance is integrated with Azure AD or not."
},
"allowedValues": [
"SystemAssigned",
"None"
],
"defaultValue": "None"
},
"enableIntegrationAccount": {
"type": "bool",
"metadata": {
"description": "Value indicating whether the Logic App instance conects to Integration Account or not."
},
"defaultValue": false
},
"integrationAccountName": {
"type": "string",
"metadata": {
"description": "Name of the Integraion Account."
}
},
"locationLookup": {
"type": "object",
"metadata": {
"description": "The reference to lookup location - DO NOT TOUCH"
},
"defaultValue": {
"auc": "australiacentral",
"aue": "australiaeast",
"ause": "australiasoutheast",
"jpe": "japaneast",
"jpw": "japanwest",
"krc": "koreacentral",
"krs": "koreasouth",
"ea": "eastasia",
"sea": "southeastasia"
}
},
"author": {
"type": "string",
"metadata": {
"description": "Author in tags"
},
"defaultValue": "Justin Yoo"
},
"profile": {
"type": "string",
"metadata": {
"description": "Profile in tags"
},
"defaultValue": "https://twitter.com/justinchronicle"
},
"projectUrl": {
"type": "string",
"metadata": {
"description": "Project URL in tags"
},
"defaultValue": "https://github.com/devkimchi/Key-Vault-Backup-Restore-Sample"
},
"repositoryUrl": {
"type": "string",
"metadata": {
"description": "Repository URL in tags"
},
"defaultValue": "https://github.com/devkimchi/Key-Vault-Backup-Restore-Sample"
},
"license": {
"type": "string",
"metadata": {
"description": "License in tags"
},
"defaultValue": "https://raw.githubusercontent.com/devkimchi/Key-Vault-Backup-Restore-Sample/master/LICENSE"
}
},
"variables": {
"location": "[if(contains(parameters('locationLookup'), parameters('locationCode')), parameters('locationLookup')[parameters('locationCode')], resourceGroup().location)]",
"logicApp": {
"name": "[parameters('name')]",
"apiVersion": "[providers('Microsoft.Logic', 'workflows').apiVersions[0]]",
"resourceId": "[resourceId('Microsoft.Logic/workflows', parameters('name'))]",
"location": "[variables('location')]",
"state": "[parameters('state')]",
"identity": {
"type": "[parameters('managedIdentityType')]"
},
"useIntegrationAccount": "[parameters('enableIntegrationAccount')]"
},
"integrationAccount": {
"id": "[resourceId('Microsoft.Logic/integrationAccounts', parameters('integrationAccountName'))]"
},
"tags": {
"author": "[parameters('author')]",
"profile": "[parameters('profile')]",
"projectUrl": "[parameters('projectUrl')]",
"repositoryUrl": "[parameters('repositoryUrl')]",
"license": "[parameters('license')]"
}
},
"resources": [
{
"comments": "### RESOURCE - LOGIC APP ###",
"type": "Microsoft.Logic/workflows",
"apiVersion": "[variables('logicApp').apiVersion]",
"name": "[variables('logicApp').name]",
"location": "[variables('logicApp').location]",
"tags": "[variables('tags')]",
"identity": {
"type": "[variables('logicApp').identity.type]"
},
"properties": {
"state": "[variables('logicApp').state]",
"integrationAccount": "[if(equals(variables('logicApp').useIntegrationAccount, json('true')), variables('integrationAccount'), json('{}'))]",
"parameters": {},
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"triggers": {},
"actions": {},
"outputs": {}
}
}
}
],
"outputs": {}
}
You can’t perform that action at this time.