updated api versions to 2020-01-01
This commit is contained in:
Родитель
4491c919cc
Коммит
f20bd2c022
|
@ -26,7 +26,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "mainTemplate",
|
"name": "mainTemplate",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mode": "Incremental",
|
"mode": "Incremental",
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "mainTemplate",
|
"name": "mainTemplate",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mode": "Incremental",
|
"mode": "Incremental",
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "mainTemplate",
|
"name": "mainTemplate",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mode": "Incremental",
|
"mode": "Incremental",
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "mainTemplate",
|
"name": "mainTemplate",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mode": "Incremental",
|
"mode": "Incremental",
|
||||||
|
|
|
@ -507,7 +507,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "pid-e9147f02-a219-433d-8d7a-e3f2c14abd09",
|
"name": "pid-e9147f02-a219-433d-8d7a-e3f2c14abd09",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mode": "Incremental",
|
"mode": "Incremental",
|
||||||
|
@ -520,7 +520,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "networkTemplate",
|
"name": "networkTemplate",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mode": "Incremental",
|
"mode": "Incremental",
|
||||||
|
@ -536,7 +536,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "storageAccountTemplate",
|
"name": "storageAccountTemplate",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mode": "Incremental",
|
"mode": "Incremental",
|
||||||
|
@ -552,7 +552,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Microsoft.Resources/deployments/networkTemplate"
|
"Microsoft.Resources/deployments/networkTemplate"
|
||||||
],
|
],
|
||||||
|
@ -578,7 +578,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[parameters('azureBackupSwitch')]",
|
"condition": "[parameters('azureBackupSwitch')]",
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "recoveryTemplate",
|
"name": "recoveryTemplate",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mode": "Incremental",
|
"mode": "Incremental",
|
||||||
|
@ -595,7 +595,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[parameters('redisDeploySwitch')]",
|
"condition": "[parameters('redisDeploySwitch')]",
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "redisTemplate",
|
"name": "redisTemplate",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Microsoft.Resources/deployments/networkTemplate"
|
"Microsoft.Resources/deployments/networkTemplate"
|
||||||
|
@ -618,7 +618,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[equals(parameters('fileServerType'),'gluster')]",
|
"condition": "[equals(parameters('fileServerType'),'gluster')]",
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Microsoft.Resources/deployments/networkTemplate",
|
"Microsoft.Resources/deployments/networkTemplate",
|
||||||
"Microsoft.Resources/deployments/recoveryTemplate"
|
"Microsoft.Resources/deployments/recoveryTemplate"
|
||||||
|
@ -642,7 +642,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[equals(parameters('fileServerType'),'nfs-ha')]",
|
"condition": "[equals(parameters('fileServerType'),'nfs-ha')]",
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Microsoft.Resources/deployments/networkTemplate",
|
"Microsoft.Resources/deployments/networkTemplate",
|
||||||
"Microsoft.Resources/deployments/recoveryTemplate"
|
"Microsoft.Resources/deployments/recoveryTemplate"
|
||||||
|
@ -710,7 +710,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Microsoft.Resources/deployments/networkTemplate",
|
"Microsoft.Resources/deployments/networkTemplate",
|
||||||
"Microsoft.Resources/deployments/dbTemplate",
|
"Microsoft.Resources/deployments/dbTemplate",
|
||||||
|
@ -741,7 +741,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Microsoft.Resources/deployments/vmSetupParamsTemplate",
|
"Microsoft.Resources/deployments/vmSetupParamsTemplate",
|
||||||
"Microsoft.Resources/deployments/glusterTemplate",
|
"Microsoft.Resources/deployments/glusterTemplate",
|
||||||
|
@ -776,7 +776,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Microsoft.Resources/deployments/vmSetupParamsTemplate",
|
"Microsoft.Resources/deployments/vmSetupParamsTemplate",
|
||||||
"Microsoft.Resources/deployments/controllerTemplate",
|
"Microsoft.Resources/deployments/controllerTemplate",
|
||||||
|
@ -928,7 +928,7 @@
|
||||||
"offer": "UbuntuServer",
|
"offer": "UbuntuServer",
|
||||||
"publisher": "Canonical",
|
"publisher": "Canonical",
|
||||||
"sku": "16.04-LTS",
|
"sku": "16.04-LTS",
|
||||||
"version": "latest"
|
"version": "2020-01-01"
|
||||||
},
|
},
|
||||||
"policyName": "[concat('policy-',variables('resourceprefix'))]",
|
"policyName": "[concat('policy-',variables('resourceprefix'))]",
|
||||||
"postgresVersion": "[parameters('postgresVersion')]",
|
"postgresVersion": "[parameters('postgresVersion')]",
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
"type": "Microsoft.Network/applicationGateways",
|
"type": "Microsoft.Network/applicationGateways",
|
||||||
"name": "[parameters('lampCommon').appGwName]",
|
"name": "[parameters('lampCommon').appGwName]",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"properties": {
|
"properties": {
|
||||||
"sku": {
|
"sku": {
|
||||||
"name": "[parameters('lampCommon').appGwSkuName]",
|
"name": "[parameters('lampCommon').appGwSkuName]",
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/networkSecurityGroups",
|
"type": "Microsoft.Network/networkSecurityGroups",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').ctlrNsgName]",
|
"name": "[parameters('lampCommon').ctlrNsgName]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/networkInterfaces",
|
"type": "Microsoft.Network/networkInterfaces",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Network/networkSecurityGroups/', parameters('lampCommon').ctlrNsgName)]"
|
"[concat('Microsoft.Network/networkSecurityGroups/', parameters('lampCommon').ctlrNsgName)]"
|
||||||
],
|
],
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Compute/virtualMachines",
|
"type": "Microsoft.Compute/virtualMachines",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Network/networkInterfaces/', parameters('lampCommon').ctlrNicName)]"
|
"[concat('Microsoft.Network/networkInterfaces/', parameters('lampCommon').ctlrNicName)]"
|
||||||
],
|
],
|
||||||
|
@ -154,7 +154,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[parameters('lampCommon').applyScriptsSwitch]",
|
"condition": "[parameters('lampCommon').applyScriptsSwitch]",
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Compute/virtualMachines/', parameters('lampCommon').ctlrVmName)]"
|
"[concat('Microsoft.Compute/virtualMachines/', parameters('lampCommon').ctlrVmName)]"
|
||||||
],
|
],
|
||||||
|
@ -174,7 +174,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[parameters('lampCommon').azureBackupSwitch]",
|
"condition": "[parameters('lampCommon').azureBackupSwitch]",
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Compute/virtualMachines/',parameters('lampCommon').ctlrVmName)]"
|
"[concat('Microsoft.Compute/virtualMachines/',parameters('lampCommon').ctlrVmName)]"
|
||||||
],
|
],
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Compute/virtualMachines/extensions",
|
"type": "Microsoft.Compute/virtualMachines/extensions",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[concat(parameters('lampCommon').ctlrVmName,'/','setup_controller')]",
|
"name": "[concat(parameters('lampCommon').ctlrVmName,'/','setup_controller')]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Sql/servers",
|
"type": "Microsoft.Sql/servers",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"kind": "",
|
"kind": "",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').serverName]",
|
"name": "[parameters('lampCommon').serverName]",
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
},
|
},
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Sql/servers/', parameters('lampCommon').serverName)]"
|
"[concat('Microsoft.Sql/servers/', parameters('lampCommon').serverName)]"
|
||||||
],
|
],
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
"type": "firewallRules"
|
"type": "firewallRules"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Sql/servers/', parameters('lampCommon').serverName)]"
|
"[concat('Microsoft.Sql/servers/', parameters('lampCommon').serverName)]"
|
||||||
],
|
],
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.DBforMySQL/servers",
|
"type": "Microsoft.DBforMySQL/servers",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"kind": "",
|
"kind": "",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').serverName]",
|
"name": "[parameters('lampCommon').serverName]",
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
},
|
},
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.DBforMySQL/servers/', parameters('lampCommon').serverName)]"
|
"[concat('Microsoft.DBforMySQL/servers/', parameters('lampCommon').serverName)]"
|
||||||
],
|
],
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
"type": "firewallRules"
|
"type": "firewallRules"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.DBforMySQL/servers/', parameters('lampCommon').serverName)]"
|
"[concat('Microsoft.DBforMySQL/servers/', parameters('lampCommon').serverName)]"
|
||||||
],
|
],
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.DBforPostgreSQL/servers",
|
"type": "Microsoft.DBforPostgreSQL/servers",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"kind": "",
|
"kind": "",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').serverName]",
|
"name": "[parameters('lampCommon').serverName]",
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
},
|
},
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.DBforPostgreSQL/servers/', parameters('lampCommon').serverName)]"
|
"[concat('Microsoft.DBforPostgreSQL/servers/', parameters('lampCommon').serverName)]"
|
||||||
],
|
],
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
"type": "firewallRules"
|
"type": "firewallRules"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.DBforPostgreSQL/servers/', parameters('lampCommon').serverName)]"
|
"[concat('Microsoft.DBforPostgreSQL/servers/', parameters('lampCommon').serverName)]"
|
||||||
],
|
],
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Compute/availabilitySets",
|
"type": "Microsoft.Compute/availabilitySets",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').gfsAvailabilitySetName]",
|
"name": "[parameters('lampCommon').gfsAvailabilitySetName]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"copy": {
|
"copy": {
|
||||||
"count": "[parameters('lampCommon').fileServerVmCount]",
|
"count": "[parameters('lampCommon').fileServerVmCount]",
|
||||||
"name": "vmloop"
|
"name": "vmloop"
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/networkInterfaces",
|
"type": "Microsoft.Network/networkInterfaces",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[variables('nicName')]",
|
"name": "[variables('nicName')]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Compute/virtualMachines",
|
"type": "Microsoft.Compute/virtualMachines",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"
|
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"
|
||||||
],
|
],
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[parameters('lampCommon').applyScriptsSwitch]",
|
"condition": "[parameters('lampCommon').applyScriptsSwitch]",
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Compute/virtualMachines/',variables('vmName'))]"
|
"[concat('Microsoft.Compute/virtualMachines/',variables('vmName'))]"
|
||||||
],
|
],
|
||||||
|
@ -140,7 +140,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[parameters('lampCommon').azureBackupSwitch]",
|
"condition": "[parameters('lampCommon').azureBackupSwitch]",
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Compute/virtualMachines/',variables('vmName'))]"
|
"[concat('Microsoft.Compute/virtualMachines/',variables('vmName'))]"
|
||||||
],
|
],
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Compute/virtualMachines/extensions",
|
"type": "Microsoft.Compute/virtualMachines/extensions",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[concat(parameters('vmName'),'/','install_gluster')]",
|
"name": "[concat(parameters('vmName'),'/','install_gluster')]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/virtualNetworks/subnets",
|
"type": "Microsoft.Network/virtualNetworks/subnets",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetWeb)]",
|
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetWeb)]",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/virtualNetworks/subnets",
|
"type": "Microsoft.Network/virtualNetworks/subnets",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetSan)]",
|
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetSan)]",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/virtualNetworks/subnets",
|
"type": "Microsoft.Network/virtualNetworks/subnets",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetRedis)]",
|
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetRedis)]",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[parameters('lampCommon').vnetGwDeploySwitch]",
|
"condition": "[parameters('lampCommon').vnetGwDeploySwitch]",
|
||||||
"type": "Microsoft.Network/virtualNetworks/subnets",
|
"type": "Microsoft.Network/virtualNetworks/subnets",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetGateway)]",
|
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetGateway)]",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/virtualNetworks/subnets",
|
"type": "Microsoft.Network/virtualNetworks/subnets",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetAppGw)]",
|
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetAppGw)]",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
|
|
|
@ -24,14 +24,14 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/ddosProtectionPlans",
|
"type": "Microsoft.Network/ddosProtectionPlans",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"condition": "[parameters('lampCommon').ddosSwitch]",
|
"condition": "[parameters('lampCommon').ddosSwitch]",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').ddosPlanName]"
|
"name": "[parameters('lampCommon').ddosPlanName]"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/virtualNetworks",
|
"type": "Microsoft.Network/virtualNetworks",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[resourceId('Microsoft.Network/ddosProtectionPlans', parameters('lampCommon').ddosPlanName)]"
|
"[resourceId('Microsoft.Network/ddosProtectionPlans', parameters('lampCommon').ddosPlanName)]"
|
||||||
],
|
],
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/virtualNetworks",
|
"type": "Microsoft.Network/virtualNetworks",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').vnetName]",
|
"name": "[parameters('lampCommon').vnetName]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[equals(parameters('lampCommon').customVnetId, '')]",
|
"condition": "[equals(parameters('lampCommon').customVnetId, '')]",
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"name": "vnetTemplate",
|
"name": "vnetTemplate",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mode": "Incremental",
|
"mode": "Incremental",
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"condition": "[parameters('lampCommon').ddosSwitch]",
|
"condition": "[parameters('lampCommon').ddosSwitch]",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Microsoft.Resources/deployments/vnetTemplate"
|
"Microsoft.Resources/deployments/vnetTemplate"
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Microsoft.Resources/deployments/vnetTemplate",
|
"Microsoft.Resources/deployments/vnetTemplate",
|
||||||
"Microsoft.Resources/deployments/ddosTemplate"
|
"Microsoft.Resources/deployments/ddosTemplate"
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[parameters('lampCommon').vnetGwDeploySwitch]",
|
"condition": "[parameters('lampCommon').vnetGwDeploySwitch]",
|
||||||
"type": "Microsoft.Network/publicIPAddresses",
|
"type": "Microsoft.Network/publicIPAddresses",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').gatewayPublicIPName]",
|
"name": "[parameters('lampCommon').gatewayPublicIPName]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[parameters('lampCommon').vnetGwDeploySwitch]",
|
"condition": "[parameters('lampCommon').vnetGwDeploySwitch]",
|
||||||
"type": "Microsoft.Network/virtualNetworkGateways",
|
"type": "Microsoft.Network/virtualNetworkGateways",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[resourceId('Microsoft.Network/publicIPAddresses', parameters('lampCommon').gatewayPublicIPName)]",
|
"[resourceId('Microsoft.Network/publicIPAddresses', parameters('lampCommon').gatewayPublicIPName)]",
|
||||||
"Microsoft.Resources/deployments/subnetTemplate"
|
"Microsoft.Resources/deployments/subnetTemplate"
|
||||||
|
@ -135,7 +135,7 @@
|
||||||
"sku": {
|
"sku": {
|
||||||
"name": "[parameters('lampCommon').lbSku]"
|
"name": "[parameters('lampCommon').lbSku]"
|
||||||
},
|
},
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').lbPipName]",
|
"name": "[parameters('lampCommon').lbPipName]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[equals(parameters('lampCommon').httpsTermination, 'AppGw')]",
|
"condition": "[equals(parameters('lampCommon').httpsTermination, 'AppGw')]",
|
||||||
"type": "Microsoft.Network/publicIPAddresses",
|
"type": "Microsoft.Network/publicIPAddresses",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').appGwPipName]",
|
"name": "[parameters('lampCommon').appGwPipName]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -166,7 +166,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/publicIPAddresses",
|
"type": "Microsoft.Network/publicIPAddresses",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').ctlrPipName]",
|
"name": "[parameters('lampCommon').ctlrPipName]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -185,7 +185,7 @@
|
||||||
"sku": {
|
"sku": {
|
||||||
"name": "[parameters('lampCommon').lbSku]"
|
"name": "[parameters('lampCommon').lbSku]"
|
||||||
},
|
},
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Network/publicIPAddresses/',parameters('lampCommon').lbPipName)]"
|
"[concat('Microsoft.Network/publicIPAddresses/',parameters('lampCommon').lbPipName)]"
|
||||||
],
|
],
|
||||||
|
@ -272,7 +272,7 @@
|
||||||
{
|
{
|
||||||
"condition": "[equals(parameters('lampCommon').httpsTermination, 'AppGw')]",
|
"condition": "[equals(parameters('lampCommon').httpsTermination, 'AppGw')]",
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Microsoft.Resources/deployments/subnetTemplate",
|
"Microsoft.Resources/deployments/subnetTemplate",
|
||||||
"[concat('Microsoft.Network/publicIPAddresses/',parameters('lampCommon').lbPipName)]"
|
"[concat('Microsoft.Network/publicIPAddresses/',parameters('lampCommon').lbPipName)]"
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Network/networkInterfaces",
|
"type": "Microsoft.Network/networkInterfaces",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('location')]",
|
"location": "[parameters('location')]",
|
||||||
"name": "[variables('nicName')]",
|
"name": "[variables('nicName')]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Compute/virtualMachines",
|
"type": "Microsoft.Compute/virtualMachines",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"
|
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"
|
||||||
],
|
],
|
||||||
|
@ -221,7 +221,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "extensions",
|
"type": "extensions",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Compute/virtualMachines/', variables('vmResourceName'))]"
|
"[concat('Microsoft.Compute/virtualMachines/', variables('vmResourceName'))]"
|
||||||
],
|
],
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
"offer": "UbuntuServer",
|
"offer": "UbuntuServer",
|
||||||
"publisher": "Canonical",
|
"publisher": "Canonical",
|
||||||
"sku": "16.04-LTS",
|
"sku": "16.04-LTS",
|
||||||
"version": "latest"
|
"version": "2020-01-01"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"osDiskStorageType": {
|
"osDiskStorageType": {
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Compute/availabilitySets",
|
"type": "Microsoft.Compute/availabilitySets",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('location')]",
|
"location": "[parameters('location')]",
|
||||||
"name": "[variables('availSetName')]",
|
"name": "[variables('availSetName')]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
"sku": {
|
"sku": {
|
||||||
"name": "Basic"
|
"name": "Basic"
|
||||||
},
|
},
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('location')]",
|
"location": "[parameters('location')]",
|
||||||
"name": "[variables('nfsHaLbName')]",
|
"name": "[variables('nfsHaLbName')]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -490,7 +490,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Resources/deployments",
|
"type": "Microsoft.Resources/deployments",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"copy": {
|
"copy": {
|
||||||
"count": 2,
|
"count": 2,
|
||||||
"name": "nfs-ha-vm-loop"
|
"name": "nfs-ha-vm-loop"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
|
||||||
"contentVersion": "1.0.0.0",
|
"contentVersion": "1.0.0.0",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"lampCommon": {
|
"lampCommon": {
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.RecoveryServices/vaults",
|
"type": "Microsoft.RecoveryServices/vaults",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').vaultName]",
|
"name": "[parameters('lampCommon').vaultName]",
|
||||||
"properties": {},
|
"properties": {},
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.RecoveryServices/vaults/backupPolicies",
|
"type": "Microsoft.RecoveryServices/vaults/backupPolicies",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.RecoveryServices/vaults/', parameters('lampCommon').vaultName)]"
|
"[concat('Microsoft.RecoveryServices/vaults/', parameters('lampCommon').vaultName)]"
|
||||||
],
|
],
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
|
"type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[concat(parameters('lampCommon').vaultName, '/', variables('backupFabric'), '/', variables('v2VmContainer'), concat(resourceGroup().name,';',parameters('vmName')), '/', variables('v2Vm'), concat(resourceGroup().name,';',parameters('vmName')))]",
|
"name": "[concat(parameters('lampCommon').vaultName, '/', variables('backupFabric'), '/', variables('v2VmContainer'), concat(resourceGroup().name,';',parameters('vmName')), '/', variables('v2Vm'), concat(resourceGroup().name,';',parameters('vmName')))]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Cache/Redis",
|
"type": "Microsoft.Cache/Redis",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').redisCacheName]",
|
"name": "[parameters('lampCommon').redisCacheName]",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Storage/storageAccounts",
|
"type": "Microsoft.Storage/storageAccounts",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').storageAccountName]",
|
"name": "[parameters('lampCommon').storageAccountName]",
|
||||||
"kind": "Storage",
|
"kind": "Storage",
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Storage/storageAccounts",
|
"type": "Microsoft.Storage/storageAccounts",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"location": "[parameters('lampCommon').location]",
|
"location": "[parameters('lampCommon').location]",
|
||||||
"name": "[parameters('lampCommon').vmssdStorageAccounttName]",
|
"name": "[parameters('lampCommon').vmssdStorageAccounttName]",
|
||||||
"kind": "Storage",
|
"kind": "Storage",
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Compute/virtualMachineScaleSets",
|
"type": "Microsoft.Compute/virtualMachineScaleSets",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Storage/storageAccounts/', parameters('lampCommon').vmssdStorageAccounttName)]"
|
"[concat('Microsoft.Storage/storageAccounts/', parameters('lampCommon').vmssdStorageAccounttName)]"
|
||||||
],
|
],
|
||||||
|
@ -130,7 +130,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Microsoft.Insights/autoscaleSettings",
|
"type": "Microsoft.Insights/autoscaleSettings",
|
||||||
"apiVersion": "latest",
|
"apiVersion": "2020-01-01",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[concat('Microsoft.Compute/virtualMachineScaleSets/', parameters('lampCommon').vmssName)]"
|
"[concat('Microsoft.Compute/virtualMachineScaleSets/', parameters('lampCommon').vmssName)]"
|
||||||
],
|
],
|
||||||
|
|
Загрузка…
Ссылка в новой задаче