Merge pull request #283 from shiva08/commit-fix
Update azuredeploy.json
This commit is contained in:
Коммит
bdaaa6362a
|
@ -1018,8 +1018,8 @@
|
||||||
"input": {
|
"input": {
|
||||||
"sqlVirtualMachineInstanceId": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/', parameters('existingVmArray')[copyIndex('Replicas')] )]",
|
"sqlVirtualMachineInstanceId": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/', parameters('existingVmArray')[copyIndex('Replicas')] )]",
|
||||||
"role": "[if(equals(copyIndex('Replicas'),0), 'Primary', 'Secondary')]",
|
"role": "[if(equals(copyIndex('Replicas'),0), 'Primary', 'Secondary')]",
|
||||||
"failover": "[if(less(copyIndex('Replicas'),3), 'Automatic', 'Manual')]",
|
"failover": "[if(less(copyIndex('Replicas'),2), 'Automatic', 'Manual')]",
|
||||||
"commit": "[if(less(copyIndex('Replicas'),3), 'Synchronous_Commit', 'Asynchronous_Commit')]",
|
"commit": "[if(less(copyIndex('Replicas'),2), 'Synchronous_Commit', 'Asynchronous_Commit')]",
|
||||||
"readableSecondary": "All"
|
"readableSecondary": "All"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче