updated api versions for each json template

This commit is contained in:
unknown 2020-03-27 20:01:01 +05:30
Родитель 5b4eb604f8
Коммит c1f2ae1d0b
25 изменённых файлов: 71 добавлений и 71 удалений

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

@ -26,7 +26,7 @@
"resources": [
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"name": "mainTemplate",
"properties": {
"mode": "Incremental",

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

@ -26,7 +26,7 @@
"resources": [
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"name": "mainTemplate",
"properties": {
"mode": "Incremental",

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

@ -26,7 +26,7 @@
"resources": [
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"name": "mainTemplate",
"properties": {
"mode": "Incremental",

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

@ -26,7 +26,7 @@
"resources": [
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"name": "mainTemplate",
"properties": {
"mode": "Incremental",

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

@ -507,7 +507,7 @@
"resources": [
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"name": "pid-e9147f02-a219-433d-8d7a-e3f2c14abd09",
"properties": {
"mode": "Incremental",
@ -520,7 +520,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"name": "networkTemplate",
"properties": {
"mode": "Incremental",
@ -536,7 +536,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"name": "storageAccountTemplate",
"properties": {
"mode": "Incremental",
@ -552,7 +552,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"dependsOn": [
"Microsoft.Resources/deployments/networkTemplate"
],
@ -578,7 +578,7 @@
{
"condition": "[parameters('azureBackupSwitch')]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"name": "recoveryTemplate",
"properties": {
"mode": "Incremental",
@ -595,7 +595,7 @@
{
"condition": "[parameters('redisDeploySwitch')]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"name": "redisTemplate",
"dependsOn": [
"Microsoft.Resources/deployments/networkTemplate"
@ -618,7 +618,7 @@
{
"condition": "[equals(parameters('fileServerType'),'gluster')]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-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": "2020-01-01",
"apiVersion": "2019-10-01",
"dependsOn": [
"Microsoft.Resources/deployments/networkTemplate",
"Microsoft.Resources/deployments/recoveryTemplate"
@ -710,7 +710,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"dependsOn": [
"Microsoft.Resources/deployments/networkTemplate",
"Microsoft.Resources/deployments/dbTemplate",
@ -741,7 +741,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"dependsOn": [
"Microsoft.Resources/deployments/vmSetupParamsTemplate",
"Microsoft.Resources/deployments/glusterTemplate",
@ -776,7 +776,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"dependsOn": [
"Microsoft.Resources/deployments/vmSetupParamsTemplate",
"Microsoft.Resources/deployments/controllerTemplate",
@ -928,7 +928,7 @@
"offer": "UbuntuServer",
"publisher": "Canonical",
"sku": "16.04-LTS",
"version": "2020-01-01"
"version": "2019-10-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": "2020-01-01",
"apiVersion": "2019-11-01",
"properties": {
"sku": {
"name": "[parameters('lampCommon').appGwSkuName]",

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

@ -30,7 +30,7 @@
"resources": [
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').ctlrNsgName]",
"properties": {
@ -69,7 +69,7 @@
},
{
"type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"dependsOn": [
"[concat('Microsoft.Network/networkSecurityGroups/', parameters('lampCommon').ctlrNsgName)]"
],
@ -101,7 +101,7 @@
},
{
"type": "Microsoft.Compute/virtualMachines",
"apiVersion": "2020-01-01",
"apiVersion": "2019-07-01",
"dependsOn": [
"[concat('Microsoft.Network/networkInterfaces/', parameters('lampCommon').ctlrNicName)]"
],
@ -154,7 +154,7 @@
{
"condition": "[parameters('lampCommon').applyScriptsSwitch]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', parameters('lampCommon').ctlrVmName)]"
],
@ -174,7 +174,7 @@
{
"condition": "[parameters('lampCommon').azureBackupSwitch]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/',parameters('lampCommon').ctlrVmName)]"
],

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

@ -12,7 +12,7 @@
"resources": [
{
"type": "Microsoft.Compute/virtualMachines/extensions",
"apiVersion": "2020-01-01",
"apiVersion": "2019-07-01",
"location": "[parameters('lampCommon').location]",
"name": "[concat(parameters('lampCommon').ctlrVmName,'/','setup_controller')]",
"properties": {

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

@ -24,7 +24,7 @@
"resources": [
{
"type": "Microsoft.Sql/servers",
"apiVersion": "2019-06-01",
"apiVersion": "2019-06-01-preview",
"kind": "",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').serverName]",
@ -35,7 +35,7 @@
},
"resources": [
{
"apiVersion": "2019-06-01",
"apiVersion": "2019-06-01-preview",
"dependsOn": [
"[concat('Microsoft.Sql/servers/', parameters('lampCommon').serverName)]"
],
@ -48,7 +48,7 @@
"type": "firewallRules"
},
{
"apiVersion": "2019-06-01",
"apiVersion": "2019-06-01-preview",
"dependsOn": [
"[concat('Microsoft.Sql/servers/', parameters('lampCommon').serverName)]"
],

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

@ -24,7 +24,7 @@
"resources": [
{
"type": "Microsoft.DBforMySQL/servers",
"apiVersion": "2020-01-01",
"apiVersion": "2017-12-01",
"kind": "",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').serverName]",
@ -47,7 +47,7 @@
},
"resources": [
{
"apiVersion": "2020-01-01",
"apiVersion": "2017-12-01",
"dependsOn": [
"[concat('Microsoft.DBforMySQL/servers/', parameters('lampCommon').serverName)]"
],
@ -60,7 +60,7 @@
"type": "firewallRules"
},
{
"apiVersion": "2020-01-01",
"apiVersion": "2017-12-01",
"dependsOn": [
"[concat('Microsoft.DBforMySQL/servers/', parameters('lampCommon').serverName)]"
],

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

@ -24,7 +24,7 @@
"resources": [
{
"type": "Microsoft.DBforPostgreSQL/servers",
"apiVersion": "2019-06-01",
"apiVersion": "2017-12-01",
"kind": "",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').serverName]",
@ -47,7 +47,7 @@
},
"resources": [
{
"apiVersion": "2019-06-01",
"apiVersion": "2017-12-01",
"dependsOn": [
"[concat('Microsoft.DBforPostgreSQL/servers/', parameters('lampCommon').serverName)]"
],
@ -60,7 +60,7 @@
"type": "firewallRules"
},
{
"apiVersion": "2019-06-01",
"apiVersion": "2017-12-01",
"dependsOn": [
"[concat('Microsoft.DBforPostgreSQL/servers/', parameters('lampCommon').serverName)]"
],

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

@ -18,7 +18,7 @@
"resources": [
{
"type": "Microsoft.Compute/availabilitySets",
"apiVersion": "2020-01-01",
"apiVersion": "2019-07-01",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').gfsAvailabilitySetName]",
"properties": {
@ -34,7 +34,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"copy": {
"count": "[parameters('lampCommon').fileServerVmCount]",
"name": "vmloop"

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

@ -24,7 +24,7 @@
"resources": [
{
"type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"location": "[parameters('lampCommon').location]",
"name": "[variables('nicName')]",
"properties": {
@ -47,7 +47,7 @@
},
{
"type": "Microsoft.Compute/virtualMachines",
"apiVersion": "2020-01-01",
"apiVersion": "2019-07-01",
"dependsOn": [
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"
],
@ -114,7 +114,7 @@
{
"condition": "[parameters('lampCommon').applyScriptsSwitch]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/',variables('vmName'))]"
],
@ -140,7 +140,7 @@
{
"condition": "[parameters('lampCommon').azureBackupSwitch]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/',variables('vmName'))]"
],

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

@ -24,7 +24,7 @@
"resources": [
{
"type": "Microsoft.Compute/virtualMachines/extensions",
"apiVersion": "2020-01-01",
"apiVersion": "2019-07-01",
"location": "[parameters('lampCommon').location]",
"name": "[concat(parameters('vmName'),'/','install_gluster')]",
"properties": {

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

@ -18,7 +18,7 @@
"resources": [
{
"type": "Microsoft.Network/virtualNetworks/subnets",
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetWeb)]",
"location": "[parameters('lampCommon').location]",
"properties": {
@ -27,7 +27,7 @@
},
{
"type": "Microsoft.Network/virtualNetworks/subnets",
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetSan)]",
"location": "[parameters('lampCommon').location]",
"dependsOn": [
@ -39,7 +39,7 @@
},
{
"type": "Microsoft.Network/virtualNetworks/subnets",
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-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": "2020-01-01",
"apiVersion": "2019-11-01",
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetGateway)]",
"location": "[parameters('lampCommon').location]",
"dependsOn": [
@ -64,7 +64,7 @@
},
{
"type": "Microsoft.Network/virtualNetworks/subnets",
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"name": "[concat(parameters('vnetName'), '/', parameters('lampCommon').subnetAppGw)]",
"location": "[parameters('lampCommon').location]",
"dependsOn": [

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

@ -24,14 +24,14 @@
"resources": [
{
"type": "Microsoft.Network/ddosProtectionPlans",
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"condition": "[parameters('lampCommon').ddosSwitch]",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').ddosPlanName]"
},
{
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"dependsOn": [
"[resourceId('Microsoft.Network/ddosProtectionPlans', parameters('lampCommon').ddosPlanName)]"
],

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

@ -12,7 +12,7 @@
"resources": [
{
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').vnetName]",
"properties": {

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

@ -13,7 +13,7 @@
{
"condition": "[equals(parameters('lampCommon').customVnetId, '')]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"name": "vnetTemplate",
"properties": {
"mode": "Incremental",
@ -28,7 +28,7 @@
}
},
{
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"condition": "[parameters('lampCommon').ddosSwitch]",
"dependsOn": [
"Microsoft.Resources/deployments/vnetTemplate"
@ -57,7 +57,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"dependsOn": [
"Microsoft.Resources/deployments/vnetTemplate",
"Microsoft.Resources/deployments/ddosTemplate"
@ -83,7 +83,7 @@
{
"condition": "[parameters('lampCommon').vnetGwDeploySwitch]",
"type": "Microsoft.Network/publicIPAddresses",
"apiVersion": "2020-01-01",
"apiVersion": "2019-09-01",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').gatewayPublicIPName]",
"properties": {
@ -96,7 +96,7 @@
{
"condition": "[parameters('lampCommon').vnetGwDeploySwitch]",
"type": "Microsoft.Network/virtualNetworkGateways",
"apiVersion": "2020-01-01",
"apiVersion": "2019-04-01",
"dependsOn": [
"[resourceId('Microsoft.Network/publicIPAddresses', parameters('lampCommon').gatewayPublicIPName)]",
"Microsoft.Resources/deployments/subnetTemplate"
@ -135,7 +135,7 @@
"sku": {
"name": "[parameters('lampCommon').lbSku]"
},
"apiVersion": "2020-01-01",
"apiVersion": "2019-09-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": "2020-01-01",
"apiVersion": "2019-09-01",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').appGwPipName]",
"properties": {
@ -166,7 +166,7 @@
},
{
"type": "Microsoft.Network/publicIPAddresses",
"apiVersion": "2020-01-01",
"apiVersion": "2019-09-01",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').ctlrPipName]",
"properties": {
@ -185,7 +185,7 @@
"sku": {
"name": "[parameters('lampCommon').lbSku]"
},
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"dependsOn": [
"[concat('Microsoft.Network/publicIPAddresses/',parameters('lampCommon').lbPipName)]"
],
@ -272,7 +272,7 @@
{
"condition": "[equals(parameters('lampCommon').httpsTermination, 'AppGw')]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"dependsOn": [
"Microsoft.Resources/deployments/subnetTemplate",
"[concat('Microsoft.Network/publicIPAddresses/',parameters('lampCommon').lbPipName)]"

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

@ -129,7 +129,7 @@
"resources": [
{
"type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"location": "[parameters('location')]",
"name": "[variables('nicName')]",
"properties": {
@ -158,7 +158,7 @@
},
{
"type": "Microsoft.Compute/virtualMachines",
"apiVersion": "2020-01-01",
"apiVersion": "2019-07-01",
"dependsOn": [
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"
],
@ -221,7 +221,7 @@
"resources": [
{
"type": "extensions",
"apiVersion": "2020-01-01",
"apiVersion": "2019-07-01",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', variables('vmResourceName'))]"
],

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

@ -129,7 +129,7 @@
"resources": [
{
"type": "Microsoft.Compute/availabilitySets",
"apiVersion": "2020-01-01",
"apiVersion": "2019-07-01",
"location": "[parameters('location')]",
"name": "[variables('availSetName')]",
"properties": {
@ -148,7 +148,7 @@
"sku": {
"name": "Basic"
},
"apiVersion": "2020-01-01",
"apiVersion": "2019-11-01",
"location": "[parameters('location')]",
"name": "[variables('nfsHaLbName')]",
"properties": {
@ -490,7 +490,7 @@
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-01-01",
"apiVersion": "2019-10-01",
"copy": {
"count": 2,
"name": "nfs-ha-vm-loop"

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

@ -12,7 +12,7 @@
"resources": [
{
"type": "Microsoft.RecoveryServices/vaults",
"apiVersion": "2020-01-01",
"apiVersion": "2016-06-01",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').vaultName]",
"properties": {},
@ -23,7 +23,7 @@
},
{
"type": "Microsoft.RecoveryServices/vaults/backupPolicies",
"apiVersion": "2020-01-01",
"apiVersion": "2016-12-01",
"dependsOn": [
"[concat('Microsoft.RecoveryServices/vaults/', parameters('lampCommon').vaultName)]"
],

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

@ -18,7 +18,7 @@
"resources": [
{
"type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
"apiVersion": "2020-01-01",
"apiVersion": "2016-12-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": "2020-01-01",
"apiVersion": "2019-07-01",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').redisCacheName]",
"properties": {

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

@ -12,7 +12,7 @@
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2017-12-01",
"apiVersion": "2019-06-01",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').storageAccountName]",
"kind": "Storage",

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

@ -24,7 +24,7 @@
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2020-01-01",
"apiVersion": "2019-06-01",
"location": "[parameters('lampCommon').location]",
"name": "[parameters('lampCommon').vmssdStorageAccounttName]",
"kind": "Storage",
@ -34,7 +34,7 @@
},
{
"type": "Microsoft.Compute/virtualMachineScaleSets",
"apiVersion": "2020-01-01",
"apiVersion": "2019-07-01",
"dependsOn": [
"[concat('Microsoft.Storage/storageAccounts/', parameters('lampCommon').vmssdStorageAccounttName)]"
],
@ -130,7 +130,7 @@
},
{
"type": "Microsoft.Insights/autoscaleSettings",
"apiVersion": "2020-01-01",
"apiVersion": "2015-04-01",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachineScaleSets/', parameters('lampCommon').vmssName)]"
],