Skip to content

Commit

Permalink
Replacing variables with literal apiVersion value
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekseiPolkovnikov committed Sep 15, 2016
1 parent c7a7ec8 commit e35cc87
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions application-gateway-demo-setup/azuredeploy.json
Expand Up @@ -55,8 +55,6 @@
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]",
"publicIPRef": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]",
"applicationGatewayID": "[resourceId('Microsoft.Network/applicationGateways',variables('applicationGatewayName'))]",
"apiVersion": "2015-06-15",
"apiVersionSubDeployment": "2015-01-01",
"backendDnsPrefix": "backend-",
"addressPrefix": "10.0.0.0/16",
"subnetPrefix": "10.0.0.0/28",
Expand All @@ -68,7 +66,7 @@
},
"resources": [
{
"apiVersion": "[variables('apiVersionSubDeployment')]",
"apiVersion": "2015-01-01",
"name": "webServer1",
"type": "Microsoft.Resources/deployments",
"dependsOn": [
Expand Down Expand Up @@ -106,7 +104,7 @@
}
},
{
"apiVersion": "[variables('apiVersionSubDeployment')]",
"apiVersion": "2015-01-01",
"name": "webServer2",
"type": "Microsoft.Resources/deployments",
"dependsOn": [
Expand Down Expand Up @@ -144,7 +142,7 @@
}
},
{
"apiVersion": "[variables('apiVersion')]",
"apiVersion": "2015-06-15",
"type": "Microsoft.Network/publicIPAddresses",
"name": "[variables('publicIPAddressName')]",
"location": "[resourceGroup().location]",
Expand All @@ -153,7 +151,7 @@
}
},
{
"apiVersion": "[variables('apiVersion')]",
"apiVersion": "2015-06-15",
"type": "Microsoft.Network/virtualNetworks",
"name": "[variables('virtualNetworkName')]",
"location": "[resourceGroup().location]",
Expand All @@ -174,7 +172,7 @@
}
},
{
"apiVersion": "[variables('apiVersion')]",
"apiVersion": "2015-06-15",
"name": "[variables('applicationGatewayName')]",
"type": "Microsoft.Network/applicationGateways",
"location": "[resourceGroup().location]",
Expand Down

0 comments on commit e35cc87

Please sign in to comment.