Skip to content

Commit

Permalink
Correcting api version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nepomuceno committed Aug 22, 2017
1 parent 6a7bf9f commit 137cb18
Show file tree
Hide file tree
Showing 368 changed files with 26,007 additions and 25,503 deletions.
52 changes: 26 additions & 26 deletions 101-acsengine-swarmmode/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@
},
"resources": [
{
"apiVersion": "[variables('apiVersionStorage')]",
"apiVersion": "2015-06-15",
"copy": {
"count": "[variables('agentStorageAccountsCount')]",
"name": "vmLoopNode"
Expand All @@ -766,7 +766,7 @@
"type": "Microsoft.Storage/storageAccounts"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"location": "[variables('location')]",
"name": "[variables('agentIPAddressName')]",
"properties": {
Expand All @@ -778,7 +778,7 @@
"type": "Microsoft.Network/publicIPAddresses"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"dependsOn": [
"[concat('Microsoft.Network/publicIPAddresses/', variables('agentIPAddressName'))]"
],
Expand Down Expand Up @@ -819,7 +819,7 @@
"probe": {
"id": "[concat(variables('agentLbID'),'/probes/tcp80Probe')]"
},
"protocol": "tcp"
"protocol": "Tcp"
}
},
{
Expand All @@ -839,7 +839,7 @@
"probe": {
"id": "[concat(variables('agentLbID'),'/probes/tcp443Probe')]"
},
"protocol": "tcp"
"protocol": "Tcp"
}
},
{
Expand All @@ -859,44 +859,44 @@
"probe": {
"id": "[concat(variables('agentLbID'),'/probes/tcp8080Probe')]"
},
"protocol": "tcp"
"protocol": "Tcp"
}
}
],
"probes": [
{
"name": "tcp80Probe",
"properties": {
"intervalInSeconds": "5",
"numberOfProbes": "2",
"intervalInSeconds": 5,
"numberOfProbes": 2,
"port": 80,
"protocol": "tcp"
"protocol": "Tcp"
}
},
{
"name": "tcp443Probe",
"properties": {
"intervalInSeconds": "5",
"numberOfProbes": "2",
"intervalInSeconds": 5,
"numberOfProbes": 2,
"port": 443,
"protocol": "tcp"
"protocol": "Tcp"
}
},
{
"name": "tcp8080Probe",
"properties": {
"intervalInSeconds": "5",
"numberOfProbes": "2",
"intervalInSeconds": 5,
"numberOfProbes": 2,
"port": 8080,
"protocol": "tcp"
"protocol": "Tcp"
}
}
]
},
"type": "Microsoft.Network/loadBalancers"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"dependsOn": [
"[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]",
"[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(0,variables('agentStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentAccountName'))]",
Expand Down Expand Up @@ -988,7 +988,7 @@
"type": "Microsoft.Compute/virtualMachineScaleSets"
},
{
"apiVersion": "[variables('apiVersionStorage')]",
"apiVersion": "2015-06-15",
"dependsOn": [
"[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]"
],
Expand All @@ -1000,7 +1000,7 @@
"type": "Microsoft.Storage/storageAccounts"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"location": "[variables('location')]",
"name": "[variables('virtualNetworkName')]",
"properties": {
Expand Down Expand Up @@ -1028,14 +1028,14 @@
"type": "Microsoft.Network/virtualNetworks"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"location": "[variables('location')]",
"name": "[variables('masterAvailabilitySet')]",
"properties": {},
"type": "Microsoft.Compute/availabilitySets"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"location": "[variables('location')]",
"name": "[variables('masterPublicIPAddressName')]",
"properties": {
Expand All @@ -1047,7 +1047,7 @@
"type": "Microsoft.Network/publicIPAddresses"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"dependsOn": [
"[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]"
],
Expand All @@ -1073,7 +1073,7 @@
"type": "Microsoft.Network/loadBalancers"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"copy": {
"count": "[variables('masterCount')]",
"name": "masterLbLoopNode"
Expand All @@ -1095,7 +1095,7 @@
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"dependsOn": [
"[variables('masterLbID')]"
],
Expand All @@ -1113,7 +1113,7 @@
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"copy": {
"count": "[variables('masterCount')]",
"name": "nicLoopNode"
Expand Down Expand Up @@ -1149,7 +1149,7 @@
"type": "Microsoft.Network/networkInterfaces"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"copy": {
"count": "[variables('masterCount')]",
"name": "vmLoopNode"
Expand Down Expand Up @@ -1214,7 +1214,7 @@
"type": "Microsoft.Compute/virtualMachines"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"apiVersion": "2016-03-30",
"copy": {
"count": "[variables('masterCount')]",
"name": "vmLoopNode"
Expand Down
6 changes: 3 additions & 3 deletions 101-application-gateway-create/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
},
"resources": [
{
"apiVersion": "[variables('apiVersion')]",
"apiVersion": "2015-06-15",
"type": "Microsoft.Network/virtualNetworks",
"name": "[parameters('virtualNetworkName')]",
"location": "[resourceGroup().location]",
Expand All @@ -135,7 +135,7 @@
}
},
{
"apiVersion": "[variables('apiVersion')]",
"apiVersion": "2015-06-15",
"name": "[parameters('applicationGatewayName')]",
"type": "Microsoft.Network/applicationGateways",
"location": "[resourceGroup().location]",
Expand Down Expand Up @@ -229,4 +229,4 @@
}
}
]
}
}
148 changes: 74 additions & 74 deletions 101-application-gateway-public-ip-ssl-offload/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -1,79 +1,79 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"addressPrefix": {
"type": "string",
"defaultValue": "10.0.0.0/16",
"metadata": {
"description": "Address prefix for the Virtual Network"
}
},
"subnetPrefix": {
"type": "string",
"defaultValue": "10.0.0.0/28",
"metadata": {
"description": "Subnet prefix"
}
},
"skuName": {
"type": "string",
"allowedValues": [
"Standard_Small",
"Standard_Medium",
"Standard_Large"
],
"defaultValue": "Standard_Medium",
"metadata": {
"description": "Sku Name"
}
},
"capacity": {
"type": "int",
"defaultValue": 2,
"metadata": {
"description": "Number of instances"
}
},
"backendIpAddress1": {
"type": "string",
"metadata": {
"description": "IP Address for Backend Server 1"
}
},
"backendIpAddress2": {
"type": "string",
"metadata": {
"description": "IP Address for Backend Server 2"
}
},
"certData": {
"type": "string",
"metadata": {
"description": "Base-64 encoded form of the .pfx file"
}
},
"certPassword": {
"type": "securestring",
"metadata": {
"description": "Password for .pfx certificate"
}
}
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"addressPrefix": {
"type": "string",
"defaultValue": "10.0.0.0/16",
"metadata": {
"description": "Address prefix for the Virtual Network"
}
},
"subnetPrefix": {
"type": "string",
"defaultValue": "10.0.0.0/28",
"metadata": {
"description": "Subnet prefix"
}
},
"skuName": {
"type": "string",
"allowedValues": [
"Standard_Small",
"Standard_Medium",
"Standard_Large"
],
"defaultValue": "Standard_Medium",
"metadata": {
"description": "Sku Name"
}
},
"variables": {
"applicationGatewayName": "applicationGateway1",
"publicIPAddressName": "publicIp1",
"virtualNetworkName": "virtualNetwork1",
"subnetName": "appGatewaySubnet",
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]",
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]",
"publicIPRef": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]",
"applicationGatewayID": "[resourceId('Microsoft.Network/applicationGateways',variables('applicationGatewayName'))]",
"apiVersion": "2015-05-01-preview"
"capacity": {
"type": "int",
"defaultValue": 2,
"metadata": {
"description": "Number of instances"
}
},
"backendIpAddress1": {
"type": "string",
"metadata": {
"description": "IP Address for Backend Server 1"
}
},
"backendIpAddress2": {
"type": "string",
"metadata": {
"description": "IP Address for Backend Server 2"
}
},
"certData": {
"type": "string",
"metadata": {
"description": "Base-64 encoded form of the .pfx file"
}
},
"certPassword": {
"type": "securestring",
"metadata": {
"description": "Password for .pfx certificate"
}
}
},
"variables": {
"applicationGatewayName": "applicationGateway1",
"publicIPAddressName": "publicIp1",
"virtualNetworkName": "virtualNetwork1",
"subnetName": "appGatewaySubnet",
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]",
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]",
"publicIPRef": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]",
"applicationGatewayID": "[resourceId('Microsoft.Network/applicationGateways',variables('applicationGatewayName'))]",
"apiVersion": "2015-05-01-preview"
},
"resources": [
{
"apiVersion": "[variables('apiVersion')]",
"apiVersion": "2015-05-01-preview",
"type": "Microsoft.Network/publicIPAddresses",
"name": "[variables('publicIPAddressName')]",
"location": "[resourceGroup().location]",
Expand All @@ -82,7 +82,7 @@
}
},
{
"apiVersion": "[variables('apiVersion')]",
"apiVersion": "2015-05-01-preview",
"type": "Microsoft.Network/virtualNetworks",
"name": "[variables('virtualNetworkName')]",
"location": "[resourceGroup().location]",
Expand All @@ -103,7 +103,7 @@
}
},
{
"apiVersion": "[variables('apiVersion')]",
"apiVersion": "2017-06-01",
"name": "[variables('applicationGatewayName')]",
"type": "Microsoft.Network/applicationGateways",
"location": "[resourceGroup().location]",
Expand Down Expand Up @@ -216,4 +216,4 @@
}
}
]
}
}
Loading

0 comments on commit 137cb18

Please sign in to comment.