зеркало из https://github.com/Azure/Moodle.git
updated
This commit is contained in:
Родитель
910deceb59
Коммит
1c9941da42
|
@ -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": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче