This commit is contained in:
asift91 2020-07-04 12:15:30 +05:30
Родитель 910deceb59
Коммит 1c9941da42
1 изменённых файлов: 30 добавлений и 30 удалений

Просмотреть файл

@ -10,6 +10,36 @@
}
},
"resources": [
{
"condition": "[equals(parameters('moodleCommon').fileServerType, 'azurefiles')]",
"type": "Microsoft.Storage/storageAccounts/fileServices",
"apiVersion": "2019-06-01",
"name": "[concat(parameters('moodleCommon').storageAccountName, '/default')]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts', parameters('moodleCommon').storageAccountName)]"
],
"sku": {
"name": "[parameters('moodleCommon').storageAccountType]"
},
"properties": {
"cors": {
"corsRules": []
}
}
},
{
"condition": "[equals(parameters('moodleCommon').fileServerType, 'azurefiles')]",
"type": "Microsoft.Storage/storageAccounts/fileServices/shares",
"apiVersion": "2019-06-01",
"name": "[concat(parameters('moodleCommon').storageAccountName, '/default/moodle')]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts/fileServices', parameters('moodleCommon').storageAccountName, 'default')]",
"[resourceId('Microsoft.Storage/storageAccounts', parameters('moodleCommon').storageAccountName)]"
],
"properties": {
"shareQuota": 1024
}
},
{
"condition": "[not(equals(parameters('moodleCommon').fileServerType, 'azurefiles'))]",
"type": "Microsoft.Storage/storageAccounts",
@ -74,36 +104,6 @@
"keySource": "Microsoft.Storage"
}
}
},
{
"condition": "[equals(parameters('moodleCommon').fileServerType, 'azurefiles')]",
"type": "Microsoft.Storage/storageAccounts/fileServices",
"apiVersion": "2019-06-01",
"name": "[concat(parameters('moodleCommon').storageAccountName, '/default')]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts', parameters('moodleCommon').storageAccountName)]"
],
"sku": {
"name": "[parameters('moodleCommon').storageAccountType]"
},
"properties": {
"cors": {
"corsRules": []
}
}
},
{
"condition": "[equals(parameters('moodleCommon').fileServerType, 'azurefiles')]",
"type": "Microsoft.Storage/storageAccounts/fileServices/shares",
"apiVersion": "2019-06-01",
"name": "[concat(parameters('moodleCommon').storageAccountName, '/default/moodle')]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts/fileServices', parameters('moodleCommon').storageAccountName, 'default')]",
"[resourceId('Microsoft.Storage/storageAccounts', parameters('moodleCommon').storageAccountName)]"
],
"properties": {
"shareQuota": 1024
}
}
],
"variables": {