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