Skip to content

Instantly share code, notes, and snippets.

@ajomathew
Created September 30, 2021 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajomathew/b8abe83ba24528ae40b94a38252d20ba to your computer and use it in GitHub Desktop.
Save ajomathew/b8abe83ba24528ae40b94a38252d20ba to your computer and use it in GitHub Desktop.
Azure ARM template with multiple copy properties - Parameters
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"location": {
"value": "australiaeast"
},
"applicationGatewayName": {
"value": "testappgatway"
},
"tier": {
"value": "Standard_v2"
},
"skuSize": {
"value": "Standard_v2"
},
"capacity": {
"value": 1
},
"subnetName": {
"value": "default"
},
"zones": {
"value": []
},
"virtualNetworkName": {
"value": "myvars"
},
"virtualNetworkPrefix": {
"value": [
"10.0.0.0/16"
]
},
"publicIpAddressName": {
"value": "myvars"
},
"sku": {
"value": "Standard"
},
"allocationMethod": {
"value": "Static"
},
"publicIpZones": {
"value": []
},
"privateIpAddress": {
"value": "10.0.0.5"
},
"backend": {
"value": [
{
"fqdn": "test1.backednpool",
"ip": ""
},
{
"fqdn": "test2.backendpool",
"ip": ""
}
]
},
"frontendPortsAvailable": {
"value": {
"frontendPorts": [
{
"name": "port_80",
"Port": 80
},
{
"name": "port_8080",
"Port": 8080
}
]
}
},
"backendHttpSettingsCollection": {
"value": {
"backendHttpSettings": [
{
"name": "http_80Settings",
"port": 80,
"Protocol": "Http",
"cookieBasedAffinity": "Disabled",
"requestTimeout": 20
},
{
"name": "http_8080Settings",
"port": 8080,
"Protocol": "Http",
"cookieBasedAffinity": "Disabled",
"requestTimeout": 20
},
{
"name": "http_8081Settings",
"port": 8081,
"Protocol": "Http",
"cookieBasedAffinity": "Disabled",
"requestTimeout": 20
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment