changed the moodleCommon to lmpCommon
This commit is contained in:
Родитель
418554b1df
Коммит
18432f6c32
|
@ -150,18 +150,18 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"condition": "[not(equals(parameters('moodleCommon').httpsTermination, 'AppGw'))]",
|
||||
"condition": "[not(equals(parameters('lampCommon').httpsTermination, 'AppGw'))]",
|
||||
"type": "Microsoft.Network/publicIPAddresses",
|
||||
"sku": {
|
||||
"name": "[parameters('moodleCommon').lbSku]",
|
||||
"tier": "[parameters('moodleCommon').lbTier]"
|
||||
"name": "[parameters('lampCommon').lbSku]",
|
||||
"tier": "[parameters('lampCommon').lbTier]"
|
||||
},
|
||||
"apiVersion": "2019-11-01",
|
||||
"location": "[parameters('moodleCommon').location]",
|
||||
"name": "[parameters('moodleCommon').lbOutPipName001]",
|
||||
"location": "[parameters('lampCommon').location]",
|
||||
"name": "[parameters('lampCommon').lbOutPipName001]",
|
||||
"properties": {
|
||||
"dnsSettings": {
|
||||
"domainNameLabel": "[parameters('moodleCommon').lbOutName001]"
|
||||
"domainNameLabel": "[parameters('lampCommon').lbOutName001]"
|
||||
},
|
||||
"publicIPAllocationMethod": "Static"
|
||||
},
|
||||
|
@ -170,18 +170,18 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"condition": "[not(equals(parameters('moodleCommon').httpsTermination, 'AppGw'))]",
|
||||
"condition": "[not(equals(parameters('lampCommon').httpsTermination, 'AppGw'))]",
|
||||
"type": "Microsoft.Network/publicIPAddresses",
|
||||
"sku": {
|
||||
"name": "[parameters('moodleCommon').lbSku]",
|
||||
"tier": "[parameters('moodleCommon').lbTier]"
|
||||
"name": "[parameters('lampCommon').lbSku]",
|
||||
"tier": "[parameters('lampCommon').lbTier]"
|
||||
},
|
||||
"apiVersion": "2019-11-01",
|
||||
"location": "[parameters('moodleCommon').location]",
|
||||
"name": "[parameters('moodleCommon').lbOutPipName002]",
|
||||
"location": "[parameters('lampCommon').location]",
|
||||
"name": "[parameters('lampCommon').lbOutPipName002]",
|
||||
"properties": {
|
||||
"dnsSettings": {
|
||||
"domainNameLabel": "[parameters('moodleCommon').lbOutName002]"
|
||||
"domainNameLabel": "[parameters('lampCommon').lbOutName002]"
|
||||
},
|
||||
"publicIPAllocationMethod": "Static"
|
||||
},
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
},
|
||||
"resources": [
|
||||
{
|
||||
"condition": "[not(equals(parameters('moodleCommon').fileServerType, 'azurefiles'))]",
|
||||
"condition": "[not(equals(parameters('lampCommon').fileServerType, 'azurefiles'))]",
|
||||
"type": "Microsoft.Storage/storageAccounts",
|
||||
"apiVersion": "2019-06-01",
|
||||
"location": "[parameters('lampCommon').location]",
|
||||
"name": "[concat(parameters('moodleCommon').storageAccountName,'naf')]",
|
||||
"name": "[concat(parameters('lampCommon').storageAccountName,'naf')]",
|
||||
"kind": "Storage",
|
||||
"sku": {
|
||||
"name": "[parameters('lampCommon').storageAccountType]"
|
||||
|
@ -42,14 +42,14 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"condition": "[equals(parameters('moodleCommon').fileServerType, 'azurefiles')]",
|
||||
"condition": "[equals(parameters('lampCommon').fileServerType, 'azurefiles')]",
|
||||
"type": "Microsoft.Storage/storageAccounts",
|
||||
"apiVersion": "2019-06-01",
|
||||
"location": "[parameters('moodleCommon').location]",
|
||||
"name": "[concat(parameters('moodleCommon').storageAccountName,'af')]",
|
||||
"kind": "[if(equals(parameters('moodleCommon').storageAccountType, 'Premium_LRS'), 'FileStorage', 'Storage')]",
|
||||
"location": "[parameters('lampCommon').location]",
|
||||
"name": "[concat(parameters('lampCommon').storageAccountName,'af')]",
|
||||
"kind": "[if(equals(parameters('lampCommon').storageAccountType, 'Premium_LRS'), 'FileStorage', 'Storage')]",
|
||||
"sku": {
|
||||
"name": "[parameters('moodleCommon').storageAccountType]"
|
||||
"name": "[parameters('lampCommon').storageAccountType]"
|
||||
},
|
||||
"properties": {
|
||||
"largeFileSharesState": "Enabled",
|
||||
|
@ -80,7 +80,7 @@
|
|||
"documentation1": "This sub-template creates a storage account. It expects certain values in the 'common' datastructure.",
|
||||
"documentation2": " storageAccountName - name of storage account",
|
||||
"documentation3": " storageAccountType - type of storage account",
|
||||
"storageName": "[concat(parameters('moodleCommon').storageAccountName,if(equals(parameters('moodleCommon').fileServerType, 'azurefiles'), 'af', 'naf'))]",
|
||||
"storageName": "[concat(parameters('lampCommon').storageAccountName,if(equals(parameters('lampCommon').fileServerType, 'azurefiles'), 'af', 'naf'))]",
|
||||
"storageAccountId": "[resourceId('Microsoft.Storage/storageAccounts', variables('storageName'))]"
|
||||
},
|
||||
"outputs": {
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"lampProfile": {
|
||||
"storageAccountName": "[parameters('storageAccountName')]",
|
||||
"storageAccountKey": "[parameters('storageAccountKey')]",
|
||||
"storageAccountType": "[parameters('moodleCommon').storageAccountType]",
|
||||
"storageAccountType": "[parameters('lampCommon').storageAccountType]",
|
||||
"redisDeploySwitch": "[parameters('lampCommon').redisDeploySwitch]",
|
||||
"redisDns": "[parameters('lampCommon').redisDns]",
|
||||
"redisKey": "[parameters('redisKey')]",
|
||||
|
@ -71,7 +71,7 @@
|
|||
"nfsByoIpExportPath": "[parameters('lampCommon').nfsByoIpExportPath]",
|
||||
"nfsHaLbIP": "[parameters('lampCommon').nfsHaLbIP]",
|
||||
"nfsHaExportPath": "[parameters('lampCommon').nfsHaExportPath]",
|
||||
"fileServerDiskSize": "[parameters('moodleCommon').fileServerDiskSize]"
|
||||
"fileServerDiskSize": "[parameters('lampCommon').fileServerDiskSize]"
|
||||
|
||||
},
|
||||
"phpProfile": {
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
"osDisk": {
|
||||
"caching": "ReadOnly",
|
||||
"createOption": "FromImage",
|
||||
"diskSizeGB": "[parameters('moodleCommon').OSDiskSizeInGB]",
|
||||
"diskSizeGB": "[parameters('lampCommon').OSDiskSizeInGB]",
|
||||
"managedDisk": {
|
||||
"storageAccountType": "[parameters('lampCommon').osDiskStorageType]"
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче