Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Created April 19, 2022 14:47
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 johnlokerse/aebb050b36b52241156206482ea69703 to your computer and use it in GitHub Desktop.
Save johnlokerse/aebb050b36b52241156206482ea69703 to your computer and use it in GitHub Desktop.
Blog content
param parVnetName string
param parAddressSpace string
param parSubnet string
resource resVirtualNetwork 'Microsoft.Network/virtualnetworks@2015-05-01-preview' = {
name: parVnetName
location: 'westeurope'
properties: {
addressSpace: {
addressPrefixes: [
parAddressSpace
]
}
subnets: [
{
name: 'my-subnet'
properties: {
addressPrefix: parSubnet
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment