This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param fwName string = 'steffes-fw' | |
param subnetId string | |
param publicIpCount int = 5 | |
param location string = resourceGroup().location | |
resource publicIPs 'Microsoft.Network/publicIPAddresses@2020-08-01' = [for i in range(1, publicIpCount): { | |
name: '${fwName}-publicip-${i}' | |
location: location | |
sku: { | |
name: 'Standard' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ipConfigurations: [ | |
{ | |
name: 'ipconfig1' | |
properties: { | |
publicIPAddress: { | |
id: '/subscriptions/<subscriptionId>/resourceGroups/<resourcegroup>/providers/Microsoft.Network/publicIPAddresses/steffes-fw-publicip-1' | |
} | |
subnet: { | |
id: '/subscriptions/<subscriptionId>/resourceGroups/<resourcegroup>/providers/Microsoft.Network/virtualNetworks/steffes-vnet/subnets/AzureFirewallSubnet' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var massiveBiceps = [ | |
'Arnold' | |
'Sylvester' | |
'Dolph' | |
] | |
var biggestBicepsTopList = [for (name, i) in massiveBiceps: { | |
position: i+1 | |
contender: name | |
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var vnets = [ | |
{ | |
name: 'landingzone-1-vnet' | |
addressPrefix: '10.1.0.0/24' | |
} | |
{ | |
name: 'landingzone-2-vnet' | |
addressPrefix: '10.2.0.0/24' | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@batchSize(3) | |
resource vnet 'Microsoft.Network/virtualNetworks@2020-06-01' = [for i in range(1,9): { | |
name: 'landingzone-${i}-vnet' | |
location: resourceGroup().location | |
properties: { | |
addressSpace: { | |
addressPrefixes: [ | |
'10.${i}.0.0/24' | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var vnets = [ | |
{ | |
name: 'landingzone-1-vnet' | |
addressPrefix: '10.1.0.0/24' | |
subnets: [ | |
{ | |
name: 'frontend' | |
subnetPrefix: '10.1.0.0/26' | |
} | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var subnets = [ | |
{ | |
name: 'frontend' | |
subnetPrefix: '10.1.0.0/26' | |
} | |
{ | |
name: 'backend' | |
subnetPrefix: '10.1.0.64/26' | |
} | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var vnets = [ | |
{ | |
namePrefix: 'sandbox' | |
addressPrefix: '10.1.0.0/24' | |
} | |
{ | |
namePrefix: 'sandbox' | |
addressPrefix: '10.2.0.0/24' | |
} | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource virtualNetworks 'Microsoft.Network/virtualNetworks@2020-06-01' = [for i in range(1,4): { | |
name: 'landingzone-${i}-vnet' | |
location: resourceGroup().location | |
properties: { | |
addressSpace: { | |
addressPrefixes: [ | |
'10.${i}.0.0/24' | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var vnets = [ | |
{ | |
name: 'landingzone-1-vnet' | |
addressPrefix: '10.1.0.0/24' | |
enabled: true | |
} | |
{ | |
name: 'landingzone-2-vnet' | |
addressPrefix: '10.2.0.0/24' | |
enabled: false |
NewerOlder