Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
77 lines (76 sloc) 2.5 KB
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"ApplicationName": {
"type": "string",
"minLength": 3,
"maxLength": 64,
"metadata": {
"description": "Managed Application Name"
}
},
"ApplicationDescription": {
"type": "string",
"metadata": {
"description": "Managed Application description"
}
},
"ApplicationDisplayName": {
"type": "string",
"metadata": {
"description": "Managed Application displayname"
}
},
"OwnerPrincipalID": {
"type": "string",
"metadata": {
"description": "Owner (user/ServicePrincipal/group) of resources to be deployed"
}
},
"OwnerRoleID": {
"type": "string",
"metadata": {
"description": "Owner (user/ServicePrincipal/group) of resources to be deployed"
}
},
"ApplicationZIPFilePath":{
"type": "string",
"defaultValue": "https://raw.githubusercontent.com/Benoitsautierecellenza/ManagedApplication/master/Bastion.zip",
"metadata": {
"description": "Path of Zip Files containing application definition"
}
},
"ApplicationLockLevel":{
"type": "string",
"allowedValues": [
"CanNotDelete",
"None",
"ReadOnly"
]
}
},
"variables": {
"Location": "[resourceGroup().location]"
},
"resources": [
{
"name": "[parameters('ApplicationName')]",
"apiVersion": "2018-06-01",
"type": "Microsoft.Solutions/applicationDefinitions",
"location": "[variables('Location')]",
"properties": {
"authorizations": [
{
"principalId": "[Parameters('OwnerPrincipalID')]",
"roleDefinitionId": "[Parameters('OwnerRoleID')]"
}
],
"description": "[Parameters('ApplicationDescription')]",
"displayName": "[Parameters('ApplicationDisplayName')]",
"lockLevel": "[Parameters('ApplicationLockLevel')]",
"packageFileUri": "[Parameters('ApplicationZIPFilePath')]"
}
}
]
}
You can’t perform that action at this time.