Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
135 lines (135 sloc) 4.1 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 Integration Account."
}
},
"locationCode": {
"type": "string",
"metadata": {
"description": "Location code where the resource is provisioned."
}
},
"skuName": {
"type": "string",
"metadata": {
"description": "SKU value of the Integration Account instance."
},
"allowedValues": [
"Free",
"Standard",
"Premium"
],
"defaultValue": "Free"
},
"state": {
"type": "string",
"metadata": {
"description": "Value indicating whether the Integration Account instance is enabled or not."
},
"allowedValues": [
"Enabled",
"Disabled"
],
"defaultValue": "Disabled"
},
"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)]",
"integrationAccount": {
"name": "[parameters('name')]",
"apiVersion": "[providers('Microsoft.Logic', 'integrationAccounts').apiVersions[0]]",
"resourceId": "[resourceId('Microsoft.Logic/integrationAccounts', parameters('name'))]",
"location": "[variables('location')]",
"sku": {
"name": "[parameters('skuName')]"
},
"state": "[parameters('state')]"
},
"tags": {
"author": "[parameters('author')]",
"profile": "[parameters('profile')]",
"projectUrl": "[parameters('projectUrl')]",
"repositoryUrl": "[parameters('repositoryUrl')]",
"license": "[parameters('license')]"
}
},
"resources": [
{
"comments": "### RESOURCE - INTEGRATION ACCOUNT ###",
"type": "Microsoft.Logic/integrationAccounts",
"apiVersion": "[variables('integrationAccount').apiVersion]",
"name": "[variables('integrationAccount').name]",
"location": "[variables('integrationAccount').location]",
"tags": "[variables('tags')]",
"sku": {
"name": "[variables('integrationAccount').sku.name]"
},
"properties": {
"state": "[variables('integrationAccount').state]"
}
}
],
"outputs": {
"integrationAccount": {
"type": "string",
"value": "[reference(variables('integrationAccount').resourceId, variables('integrationAccount').apiVersion, 'Full').resourceId]"
}
}
}
You can’t perform that action at this time.