SOLVED

ARM Template To create Multiple NSG's associate with existing Subnet

%3CLINGO-SUB%20id%3D%22lingo-sub-1877156%22%20slang%3D%22en-US%22%3EARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1877156%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20create%20Multiple%20NSG%20with%20multiple%20rules%20associate%20with%20subnets.%20Can%20anyone%20give%20me%20the%20Template%20file%20which%20is%20used%20as%20single%20Template%20file%20for%20Multiple%20NSG.%3C%2FP%3E%3CP%3EAttached%20is%20the%20current%20files%20used%20by%20me%20for%20creating%20NSG.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1897760%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1897760%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F865597%22%20target%3D%22_blank%22%3E%40vigneshkrcegmailcom%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20put%20together%20a%20template%20for%20you%20that%20solves%20your%20problem%20using%20copy%20loops%20for%20both%20the%20NSGs%20and%20the%20subnet%20association.%20You%20can%20find%20it%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgist.github.com%2FStefanIvemo%2F31cda6faa214824b2049a1e98f0e279b%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgist.github.com%2FStefanIvemo%2F31cda6faa214824b2049a1e98f0e279b%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20created%20a%20parameter%20called%20NSGs%20of%20the%20type%20array%20in%20the%20template.%20Take%20a%20look%20at%20the%20example%20parameter%20file%20and%20adjust%20it%20to%20your%20needs.%20All%20you%20have%20to%20do%20is%20add%2Fremove%20objects%20to%20the%20array%20and%20fill%20in%20NSGName%2C%20SubnetName%20and%20your%20SecurityRules.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20template%20will%20first%20deploy%20all%20the%20NSGs%20and%20then%20do%20a%20nested%20deployment%20to%20do%20the%20subnet%20association.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGood%20luck%20with%20your%20deployment!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1906317%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1906317%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300973%22%20target%3D%22_blank%22%3E%40StefanIvemo%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EFantastic%2C%20NSG%20is%20working%20Expected.%20In%20the%20same%20way%20i%20need%20to%20create%20Route%20Tables%20and%20Number%20of%20Routes%20in%20each%20route%20tables.%20Can%20you%20please%20help%20me%20on%20that%20%3F%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1906369%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20Route%20tables%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1906369%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3E%40StefanIvem%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECan%20you%20please%20help%20me%20to%20create%20ARM%20for%20Route%20Tables%20associate%20with%20existing%20Subnets.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EInside%20Each%20Routes%20i%20need%20numbers%20of%20Routes%20should%20be%20attached%20with%20properties.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EVignesh%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1906655%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1906655%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F865597%22%20target%3D%22_blank%22%3E%40vigneshkrcegmailcom%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20continue%20with%20the%20template%20I%20provided.%20Just%20add%20a%20property%20for%20routes%20to%20the%20parameter%20file%20for%20each%20of%20the%20objects%20in%20the%20array%2C%20the%20same%20way%20as%20for%20securityRules.%20E.g.%20%3CSPAN%3E%22routes%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3CSPAN%3E%5D%2C%20a%3C%2FSPAN%3End%20add%20your%20custom%20routes%20to%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20create%20a%20copy%20loop%20to%20create%20Microsoft.Network%2FrouteTables%20just%20like%20the%20one%20for%20NSGs%20but%20modify%20the%20properties%20to%20work%20with%20the%20Route%20Table%20resource.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20nested%20deploy%20where%20the%20NSG%20is%20associated%20with%20the%20subnet%20you%20add%20the%20routeTable%20property.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGood%20luck!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1907088%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1907088%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300973%22%20target%3D%22_blank%22%3E%40StefanIvemo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20quick%20update.....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20modified%20as%20per%20your%20request%20but%20deployment%20is%20failing.%20Below%20is%20the%20Modified%20Template%20and%20Para%20files.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%24schema%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%3CA%20href%3D%22https%3A%2F%2Fschema.management.azure.com%2Fschemas%2F2019-04-01%2FdeploymentTemplate.json%23%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fschema.management.azure.com%2Fschemas%2F2019-04-01%2FdeploymentTemplate.json%23%3C%2FA%3E%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22contentVersion%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%221.0.0.0%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22parameters%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22location%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp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p%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22name%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%5Bconcat(parameters('RTs')%5BcopyIndex()%5D.properties.RTName)%5D%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22location%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%5Bparameters('Location')%5D%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22properties%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Routes%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%5Bparameters('RTs')%5BcopyIndex()%5D.properties.Routes%5D%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22copy%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22name%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22RTs%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22count%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%5Blength(parameters('RTs'))%5D%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CD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%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22name%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%5Bconcat('apply'%2Cparameters('RTs')%5BcopyIndex()%5D.properties.RTName)%5D%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22dependsOn%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22RTs%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22properties%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22mode%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Incremental%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22template%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%24schema%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%3CA%20href%3D%22https%3A%2F%2Fschema.management.azure.com%2Fschemas%2F2019-04-01%2FdeploymentTemplate.json%23%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fschema.management.azure.com%2Fschemas%2F2019-04-01%2FdeploymentTemplate.json%23%3C%2FA%3E%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22contentVersion%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%221.0.0.0%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22resources%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22apiVersion%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%222020-05-01%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22type%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Microsoft.Network%2FvirtualNetworks%2Fsubnets%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22name%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%5Bconcat(parameters('VNetName')%2C%26nbsp%3B'%2F'%2C%26nbsp%3Bparameters('RTs')%5BcopyIndex()%5D.properties.SubnetName)%5D%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22location%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%5BresourceGroup().location%5D%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22properties%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22addressPrefix%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%5Breference(resourceId(resourceGroup().name%2C%26nbsp%3B'Microsoft.Network%2FvirtualNetworks%2Fsubnets'%2C%26nbsp%3Bparameters('VNetName')%2C%26nbsp%3Bparameters('RTs')%5BcopyIndex()%5D.properties.SubnetName)%2C%26nbsp%3B'2018-03-01').addressPrefix%5D%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22networkSecurityGroup%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22id%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%5BresourceId('Microsoft.Network%2FrouteTables'%2C%26nbsp%3Bparameters('RTs')%5BcopyIndex()%5D.properties.RTName)%5D%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26n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3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22copy%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22name%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22association%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22count%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%5Blength(parameters('RTs'))%5D%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22mode%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Serial%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%24schema%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%3CA%20href%3D%22https%3A%2F%2Fschema.management.azure.com%2Fschemas%2F2019-04-01%2FdeploymentParameters.json%23%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fschema.management.azure.com%2Fschemas%2F2019-04-01%2FdeploymentParameters.json%23%3C%2FA%3E%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22contentVersion%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%221.0.0.0%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22parameters%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22location%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22value%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22East%26nbsp%3BUS%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26n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sp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22securityRules%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22addressPrefix%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%2210.3.0.0%2F16%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E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3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1907192%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1907192%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F865597%22%20target%3D%22_blank%22%3E%40vigneshkrcegmailcom%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20updated%20the%20NSG%20template%20provided%20earlier%20with%20route%20tables%20as%20well.%20You%20can%20find%20it%20here%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgist.github.com%2FStefanIvemo%2F1862a1401fa982cc8f124a6148eda5f5%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgist.github.com%2FStefanIvemo%2F1862a1401fa982cc8f124a6148eda5f5%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20now%20deploy%20NSGs%20and%20Route%20Tables%20at%20the%20same%20time%20and%20update%20the%20subnets.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20it%20works%20for%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1944360%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1944360%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300973%22%20target%3D%22_blank%22%3E%40StefanIvemo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Stefan%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20working%20as%20expected%2C%20Is%20it%20possible%20to%20create%20Multiple%20Routes%20inside%20One%20Route%20Table%20using%20this%20Same%20template%20and%20para%20files.%3C%2FP%3E%3CP%3ECan%20you%20please%20help%20me%20to%20create%20Multiple%20Routes%20inside%20route%20Table.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgist.github.com%2FStefanIvemo%2F1862a1401fa982cc8f124a6148eda5f5%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgist.github.com%2FStefanIvemo%2F1862a1401fa982cc8f124a6148eda5f5%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20add%20two%20Routes%20inside%20one%20route%20table%20as%20below%20but%20i%20am%20not%20able%20to%20get%20it%2C%20Can%20you%20please%20help%20on%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%22disableBgpRoutePropagation%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Etrue%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22routes%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26n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nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22addressPrefix%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%220.0.0.0%2F0%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22nextHopType%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22VirtualAppliance%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22nextHopIpAddress%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%2210.0.0.5%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5D%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EVignesh%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1944464%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1944464%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F865597%22%20target%3D%22_blank%22%3E%40vigneshkrcegmailcom%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20add%20additional%20routes%20by%20adding%20another%20route%20object%20in%20the%20routes%20array%20in%20the%20parameter%20file%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22routes%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22name%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22route1%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22properties%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22addressPrefix%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%2210.0.0.0%2F24%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%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AN%3EYour%20example%20is%20almost%20correct%2C%20you%20have%20some%20square%20brackets%20%5B%5D%20in%20the%20wrong%20place.%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1955621%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1955621%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300973%22%20target%3D%22_blank%22%3E%40StefanIvemo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Stefan%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20is%20working%20good%2C%20But%20it%20is%20mandate%20to%20create%20RouteTable%20and%20Routes%20every%20time%20while%20using%20this%20script%26gt%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20give%20options%20that%20Routes%20and%20Route%20Tables%20needs%20to%20create%20only%20when%20needed.%3C%2FP%3E%3CP%3EIf%20i%20give%20null%20value%20or%20does%20not%20give%20Route%20and%20Route%20Tables%20along%20with%20NSG%20it%20is%20not%20creating.%3C%2FP%3E%3CP%3ECan%20you%20please%20help%20me%20on%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EVignesh%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1983184%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1983184%22%20slang%3D%22en-US%22%3EWhy%20do%20you%20want%20to%20avoid%20creating%20route%20tables%20and%20routes%20every%20time%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1992418%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1992418%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F900227%22%20target%3D%22_blank%22%3E%40michaelelleby123%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20do%20not%20need%20Route%20Table%20and%20Routes%20created%20at%20every%20time%2C%20I%20only%20needed%20to%20create%20when%20i%20needs.%3C%2FP%3E%3CP%3EBut%20here%20it%20is%20mandate%20to%20create%20everytime%20which%20i%20do%20not%20need.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3CBR%20%2F%3EVignesh%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1996633%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1996633%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F900227%22%20target%3D%22_blank%22%3E%40michaelelleby123%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3EBasically%20I%20will%20be%20using%20this%20template%20to%20run%20via%20Azure%20DevOps%20pipeline.%20Meaning%20it%20will%20run%20most%20of%20the%20time%20as%20pipeline%20task.%3CBR%20%2F%3E%3CBR%20%2F%3EWith%20this%20NSG%20template%20I%20need%20to%20associate%20the%20routes%20rather%20than%20create%2C%20consider%20this%20scenario%20if%20there%20are%20two%20nsgs%20i%20need%20to%20create%20one%20needs%20routes%20and%20other%20doesnt%20needs%20association%20in%20that%20case%20i%20cannot%20skip%20the%20route%20parameter%20for%201%20nsg%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20was%20ok%20if%20all%20the%20NSG%20would%20have%20routes%20as%20mandate%20which%20is%20ok%20to%20create%20everytime%20as%20you%20said%20but%20not%20all%20NSG%20will%20have%20routes.%3CBR%20%2F%3E%3CBR%20%2F%3EOther%20options%20is%20to%20have%20a%20separate%20route(multiple)%20template%20and%20parameter%20file%20-%20can%20you%20pls.%20help%20me%20that%3F%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1996634%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1996634%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300973%22%20target%3D%22_blank%22%3E%40StefanIvemo%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3EBasically%20I%20will%20be%20using%20this%20template%20to%20run%20via%20Azure%20DevOps%20pipeline.%20Meaning%20it%20will%20run%20most%20of%20the%20time%20as%20pipeline%20task.%3CBR%20%2F%3E%3CBR%20%2F%3EWith%20this%20NSG%20template%20I%20need%20to%20associate%20the%20routes%20rather%20than%20create%2C%20consider%20this%20scenario%20if%20there%20are%20two%20nsgs%20i%20need%20to%20create%20one%20needs%20routes%20and%20other%20doesnt%20needs%20association%20in%20that%20case%20i%20cannot%20skip%20the%20route%20parameter%20for%201%20nsg%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20was%20ok%20if%20all%20the%20NSG%20would%20have%20routes%20as%20mandate%20which%20is%20ok%20to%20create%20everytime%20as%20you%20said%20but%20not%20all%20NSG%20will%20have%20routes.%3CBR%20%2F%3E%3CBR%20%2F%3EOther%20options%20is%20to%20have%20a%20separate%20route(multiple)%20template%20and%20parameter%20file%20-%20can%20you%20pls.%20help%20me%20that%3F%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1997707%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1997707%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F865597%22%20target%3D%22_blank%22%3E%40vigneshkrcegmailcom%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20my%20opinion%20a%20subnet%20should%20always%20be%20created%20with%20a%20route%20table%20and%20NSG.%20If%20you%20don't%20need%20any%20custom%20routes%20just%20edit%20the%20parameter%20file%20and%20set%20the%20following%20properties%20for%20the%20subnets%20where%20you%20don't%20need%20any%20custom%20routing.%20With%20no%20routes%20and%3CEM%3E%26nbsp%3BdisableBgpRoutePropagation%3C%2FEM%3E%20set%20to%20false%20the%20subnet%20will%20use%20the%20default%20routing%20in%20Azure%20even%20with%20a%20route%20table%20associated%20to%20the%20subnet.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%22disableBgpRoutePropagation%22%3A%20false%2C%0A%22routes%22%3A%20%5B%5D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%2Fwhen%20the%20time%20comes%20to%20add%20a%20custom%20route%20to%20the%20subnet%2C%20the%20route%20table%20is%20there%20and%20you%20can%20just%20inject%20the%20routes%20to%20it.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2006139%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2006139%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300973%22%20target%3D%22_blank%22%3E%40StefanIvemo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Stefan%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20From%20the%20Below%20point%20i%20can%20understand%20that%20Route%20table%20will%20create%20and%20creating%20Routes%20is%20our%20wish.%20But%20i%20do%20not%20need%20to%20create%20%22Route%20Table%22%20every%20time%20when%20i%20am%20running%20the%20script.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExample%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20run%20the%20script%20below.%20In%20that%20i%20have%20removed%20%22RouteName%22%20and%20for%20routes%20i%20have%20given%20%5B%5D%2C%20But%20without%20%22RouteName%22%20the%20script%20is%20not%20running.%20So%20i%20need%20to%20run%20the%20script%20without%20Route%20Table%20creation.%20Only%20i%20need%20to%20give%20Route%20Name%20when%20i%20need%20Route%20Table.%20Is%20that%20possible.%20Pls%20help%20me%20!!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBelow%20I%20have%20removed%20RouteName%20but%20it%20is%20throwing%20error.%20I%20need%20to%20run%20without%20Creating%20RouteTable%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%7B%3CBR%20%2F%3E%22properties%22%3A%20%7B%3CBR%20%2F%3E%22NSGName%22%3A%20%22NSG03%22%2C%3CBR%20%2F%3E%22SubnetName%22%3A%20%22sub03%22%2C%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3E%22RouteName%22%3A%20%22I%20Do%20not%20need%20this%20property%22%3C%2FSTRONG%3E%3C%2FFONT%3E%3CBR%20%2F%3E%22securityRules%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22name%22%3A%20%22Inbound_Allow_Http%22%2C%3CBR%20%2F%3E%22properties%22%3A%20%7B%3CBR%20%2F%3E%22description%22%3A%20%22Allow%20inbound%20http%20traffic%22%2C%3CBR%20%2F%3E%22protocol%22%3A%20%22TCP%22%2C%3CBR%20%2F%3E%22sourcePortRange%22%3A%20%22*%22%2C%3CBR%20%2F%3E%22sourceAddressPrefix%22%3A%20%22*%22%2C%3CBR%20%2F%3E%22destinationPortRange%22%3A%20%2280%22%2C%3CBR%20%2F%3E%22destinationAddressPrefix%22%3A%20%22*%22%2C%3CBR%20%2F%3E%22access%22%3A%20%22Allow%22%2C%3CBR%20%2F%3E%22priority%22%3A%204096%2C%3CBR%20%2F%3E%22direction%22%3A%20%22Inbound%22%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%2C%3CBR%20%2F%3E%22disableBgpRoutePropagation%22%3A%20false%2C%3CBR%20%2F%3E%22routes%22%3A%20%5B%5D%3CBR%20%2F%3E%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2011875%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2011875%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300973%22%20target%3D%22_blank%22%3E%40StefanIvemo%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHi%20Stefan%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20update%20on%20this%20please%2C%20The%20point%20is%20we%20don't%26nbsp%3Bneed%20to%20create%20Route%20tables%20while%20running%20the%20script.%20If%20we%20need%20Route%20table%20we%20will%20add%20Route%20Property%20in%20parameter%20files.%20But%20while%20doing%20with%20this%20script%20it%20is%20throwing%20error.%20I%20am%20not%20sure%20how%20to%20modify%20Template%20file%20accordingly%20!!!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EVignesh%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2028553%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20Template%20To%20create%20Multiple%20NSG's%20associate%20with%20existing%20Subnet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2028553%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300973%22%20target%3D%22_blank%22%3E%40StefanIvemo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHi%20Stefan%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20update%20on%20this%20please%2C%20The%20point%20is%20we%20don't%26nbsp%3Bneed%20to%20create%20Route%20tables%20while%20running%20the%20script.%20If%20we%20need%20Route%20table%20we%20will%20add%20Route%20Property%20in%20parameter%20files.%20But%20while%20doing%20with%20this%20script%20it%20is%20throwing%20error.%20I%20am%20not%20sure%20how%20to%20modify%20Template%20file%20accordingly%20!!!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EVignesh%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi All,

 

I am trying to create Multiple NSG with multiple rules associate with subnets. Can anyone give me the Template file which is used as single Template file for Multiple NSG.

Attached is the current files used by me for creating NSG.

 

The problem in the below script is, It is not creating more than 2 NSG's. So that i am expecting to have a single Template and parameter file to create multiple NSG's. More likely to use copy loops.

 

Template File:

 

{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.1",
"parameters": {
"virtualNetworkName": {
"type": "String"
},
"networkSecurityGroupName1": {
"type": "String"
},
"subnetName1": {
"type": "String"
},
"networkSecurityGroupRules1": {
"type": "Array"
},
"networkSecurityGroupName2": {
"type": "String"
},
"subnetName2": {
"type": "String"
},
"networkSecurityGroupRules2": {
"type": "Array"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2018-03-01",
"name": "[parameters('networkSecurityGroupName1')]",
"location": "[resourceGroup().location]",
"properties": {
"securityRules": "[parameters('networkSecurityGroupRules1')]"
}
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-08-01",
"name": "apply-nsg-to-subnet1",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName1'))]"
],
"properties": {
"mode": "Incremental",
"template": {
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"apiVersion": "2018-03-01",
"type": "Microsoft.Network/virtualNetworks/subnets",
"name": "[concat(parameters('virtualNetworkName'), '/', parameters('subnetName1'))]",
"location": "[resourceGroup().location]",
"properties": {
"addressPrefix": "[reference(resourceId(resourceGroup().name, 'Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworkName'), parameters('subnetName1')), '2018-03-01').addressPrefix]",
"networkSecurityGroup": {
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName1'))]"
}
}
}
]
}
},
"resourceGroup": "[resourceGroup().name]"
},
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2018-03-01",
"name": "[parameters('networkSecurityGroupName2')]",
"location": "[resourceGroup().location]",
"properties": {
"securityRules": "[parameters('networkSecurityGroupRules2')]"
}
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2017-08-01",
"name": "apply-nsg-to-subnet2",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName2'))]"
],
"properties": {
"mode": "Incremental",
"template": {
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"apiVersion": "2018-03-01",
"type": "Microsoft.Network/virtualNetworks/subnets",
"name": "[concat(parameters('virtualNetworkName'), '/', parameters('subnetName2'))]",
"location": "[resourceGroup().location]",
"properties": {
"addressPrefix": "[reference(resourceId(resourceGroup().name, 'Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworkName'), parameters('subnetName2')), '2018-03-01').addressPrefix]",
"networkSecurityGroup": {
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName2'))]"
}
}
}
]
}
},
"resourceGroup": "[resourceGroup().name]"
}
],
"outputs": {}
}

19 Replies
best response confirmed by vigneshkrcegmailcom (Contributor)
Solution

@vigneshkrcegmailcom 

Hi!

 

I've put together a template for you that solves your problem using copy loops for both the NSGs and the subnet association. You can find it here: https://gist.github.com/StefanIvemo/31cda6faa214824b2049a1e98f0e279b

 

I've created a parameter called NSGs of the type array in the template. Take a look at the example parameter file and adjust it to your needs. All you have to do is add/remove objects to the array and fill in NSGName, SubnetName and your SecurityRules. 

 

The template will first deploy all the NSGs and then do a nested deployment to do the subnet association.

 

Good luck with your deployment!

 

@StefanIvemo

 

Fantastic, NSG is working Expected. In the same way i need to create Route Tables and Number of Routes in each route tables. Can you please help me on that ??

@StefanIvem,

 

Can you please help me to create ARM for Route Tables associate with existing Subnets. 

Inside Each Routes i need numbers of Routes should be attached with properties.

 

Thanks,

Vignesh

@vigneshkrcegmailcom 

You can continue with the template I provided. Just add a property for routes to the parameter file for each of the objects in the array, the same way as for securityRules. E.g. "routes": [], and add your custom routes to it.

 

Then create a copy loop to create Microsoft.Network/routeTables just like the one for NSGs but modify the properties to work with the Route Table resource.

 

In the nested deploy where the NSG is associated with the subnet you add the routeTable property.

 

Good luck!

 

     

@StefanIvemo 

 

Hi,

 

Thanks for the quick update.....

 

I have modified as per your request but deployment is failing. Below is the Modified Template and Para files.

 

{
    "contentVersion""1.0.0.0",
    "parameters": {
        "location": {
            "type""String"
        },
        "VNetName": {
            "type""String",
            "metadata": {
                "description""description"
            }
        },
        "RTs": {
            "type""Array"
        }
    },
    "resources": [
        {
            "type""Microsoft.Network/routeTables",
            "apiVersion""2020-05-01",
            "name""[concat(parameters('RTs')[copyIndex()].properties.RTName)]",
            "location""[parameters('Location')]",
            "properties": {
                "Routes""[parameters('RTs')[copyIndex()].properties.Routes]"
            },
            "copy": {
                "name""RTs",
                "count""[length(parameters('RTs'))]"
            }
        },
        {
            "type""Microsoft.Resources/deployments",
            "apiVersion""2020-06-01",
            "name""[concat('apply',parameters('RTs')[copyIndex()].properties.RTName)]",
            "dependsOn": [
                "RTs"
            ],
            "properties": {
                "mode""Incremental",
                "template": {
                    "$schema""https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
                    "contentVersion""1.0.0.0",
                    "resources": [
                        {
                            "apiVersion""2020-05-01",
                            "type""Microsoft.Network/virtualNetworks/subnets",
                            "name""[concat(parameters('VNetName'), '/', parameters('RTs')[copyIndex()].properties.SubnetName)]",
                            "location""[resourceGroup().location]",
                            "properties": {
                                "addressPrefix""[reference(resourceId(resourceGroup().name, 'Microsoft.Network/virtualNetworks/subnets', parameters('VNetName'), parameters('RTs')[copyIndex()].properties.SubnetName), '2018-03-01').addressPrefix]",
                                "networkSecurityGroup": {
                                    "id""[resourceId('Microsoft.Network/routeTables', parameters('RTs')[copyIndex()].properties.RTName)]"
                                }
                            }
                        }
                    ]
                }
            },
            "copy": {
                "name""association",
                "count""[length(parameters('RTs'))]",
                "mode""Serial"
            }
        }
    ]
}
 
======================================
 
{
    "contentVersion""1.0.0.0",
    "parameters": {
        "location": {
            "value""East US"
        },
        "VNetName": {
            "value""VN02"
        },
        "RTs": {
            "value": [
                {
                    "properties": {
                        "RTName""RT01",
                        "SubnetName""sub01",
                        "securityRules": [
                            {
                            
                "addressPrefix""10.1.0.0/16",
                "nextHopType""VnetLocal"
            }
                        ]
                    }
                },
                {
                    "properties": {
                        "RTName""RT02",
                        "SubnetName""sub02",
                        "securityRules": [
                        {
                "addressPrefix""10.2.0.0/16",
                "nextHopType""VnetLocal"
            }
                        ]
                    }
                },
                {
                    "properties": {
                        "RTName""RT03",
                        "SubnetName""sub03",
                        "securityRules": [
                            {
                                "addressPrefix""10.3.0.0/16",
                                "nextHopType""VnetLocal"
                            }

                        ]
                    }
                }
            ]
        }
    }
}
 
 

@vigneshkrcegmailcom 

 

I've updated the NSG template provided earlier with route tables as well. You can find it here:

https://gist.github.com/StefanIvemo/1862a1401fa982cc8f124a6148eda5f5

 

You can now deploy NSGs and Route Tables at the same time and update the subnets.

 

Hope it works for you!

@StefanIvemo 

 

Hi Stefan,

 

This is working as expected, Is it possible to create Multiple Routes inside One Route Table using this Same template and para files.

Can you please help me to create Multiple Routes inside route Table.

 

https://gist.github.com/StefanIvemo/1862a1401fa982cc8f124a6148eda5f5

 

I am trying to add two Routes inside one route table as below but i am not able to get it, Can you please help on this.

 

"disableBgpRoutePropagation"true,
            "routes": [
              {
                "name""Route1",
                "properties": {
                  "addressPrefix""0.0.0.0/0",
                  "nextHopType""VirtualAppliance",
                  "nextHopIpAddress""10.0.0.4"
                }
              },
              [
                {
                  "name""Route2",
                  "properties": {
                    "addressPrefix""0.0.0.0/0",
                    "nextHopType""VirtualAppliance",
                    "nextHopIpAddress""10.0.0.5"
                  }
                }
              ]
            ]

 

Regards,

Vignesh

@vigneshkrcegmailcom 

 

You can add additional routes by adding another route object in the routes array in the parameter file:

 

  "routes": [
    {
      "name""route1",
      "properties": {
        "addressPrefix""10.0.0.0/24",
        "nextHopType""VirtualAppliance",
        "nextHopIpAddress""10.0.0.4"
      }
    },
    {
      "name""route2",
      "properties": {
        "addressPrefix""10.10.0.0/24",
        "nextHopType""VirtualAppliance",
        "nextHopIpAddress""10.10.0.68"
      }
    }
  ]
 
Your example is almost correct, you have some square brackets [] in the wrong place. 
 

@StefanIvemo 

 

Hi Stefan,

 

It is working good, But it is mandate to create RouteTable and Routes every time while using this script>

Is it possible to give options that Routes and Route Tables needs to create only when needed.

If i give null value or does not give Route and Route Tables along with NSG it is not creating.

Can you please help me on this.

 

Regards,

Vignesh

Why do you want to avoid creating route tables and routes every time?

@michaelelleby123 

 

Hi,

 

I do not need Route Table and Routes created at every time, I only needed to create when i needs.

But here it is mandate to create everytime which i do not need.

 

Regards,
Vignesh

@michaelelleby123

 

Basically I will be using this template to run via Azure DevOps pipeline. Meaning it will run most of the time as pipeline task.

With this NSG template I need to associate the routes rather than create, consider this scenario if there are two nsgs i need to create one needs routes and other doesnt needs association in that case i cannot skip the route parameter for 1 nsg

It was ok if all the NSG would have routes as mandate which is ok to create everytime as you said but not all NSG will have routes.

Other options is to have a separate route(multiple) template and parameter file - can you pls. help me that?

@StefanIvemo

 

Basically I will be using this template to run via Azure DevOps pipeline. Meaning it will run most of the time as pipeline task.

With this NSG template I need to associate the routes rather than create, consider this scenario if there are two nsgs i need to create one needs routes and other doesnt needs association in that case i cannot skip the route parameter for 1 nsg

It was ok if all the NSG would have routes as mandate which is ok to create everytime as you said but not all NSG will have routes.

Other options is to have a separate route(multiple) template and parameter file - can you pls. help me that?

@vigneshkrcegmailcom 

In my opinion a subnet should always be created with a route table and NSG. If you don't need any custom routes just edit the parameter file and set the following properties for the subnets where you don't need any custom routing. With no routes and disableBgpRoutePropagation set to false the subnet will use the default routing in Azure even with a route table associated to the subnet.

"disableBgpRoutePropagation": false,
"routes": []

 

If/when the time comes to add a custom route to the subnet, the route table is there and you can just inject the routes to it. 

 

@StefanIvemo 

 

Hi Stefan,

 

Yes, From the Below point i can understand that Route table will create and creating Routes is our wish. But i do not need to create "Route Table" every time when i am running the script.

 

Example:

 

I tried to run the script below. In that i have removed "RouteName" and for routes i have given [], But without "RouteName" the script is not running. So i need to run the script without Route Table creation. Only i need to give Route Name when i need Route Table. Is that possible. Pls help me !!!

 

Below I have removed RouteName but it is throwing error. I need to run without Creating RouteTable

 

{
"properties": {
"NSGName": "NSG03",
"SubnetName": "sub03",

"RouteName": "I Do not need this property"
"securityRules": [
{
"name": "Inbound_Allow_Http",
"properties": {
"description": "Allow inbound http traffic",
"protocol": "TCP",
"sourcePortRange": "*",
"sourceAddressPrefix": "*",
"destinationPortRange": "80",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 4096,
"direction": "Inbound"
}
}
],
"disableBgpRoutePropagation": false,
"routes": []

}
]
}
}
]
}
}
}

@StefanIvemo 

 

Hi Stefan,

 

Any update on this please, The point is we don't need to create Route tables while running the script. If we need Route table we will add Route Property in parameter files. But while doing with this script it is throwing error. I am not sure how to modify Template file accordingly !!!

 

Vignesh

@StefanIvemo 

 

Hi Stefan,

 

Any update on this please, The point is we don't need to create Route tables while running the script. If we need Route table we will add Route Property in parameter files. But while doing with this script it is throwing error. I am not sure how to modify Template file accordingly !!!

 

Vignesh

@StefanIvemo 

Hi Stefan,

 

 The main aim is we don't need to create Route tables while running the script. If we need Route table we will add Route Property in parameter files. But while doing with this script it is throwing error. I am not sure how to modify Template file accordingly !!!

 

For example if i am running this script now I need to give names of NSG and Route tables as Mandate. If i will not give the route name it is throwing error. So i need to change this, while creating NSG's if needed i need to create Route table or else i will not give the names of Route Table Name as input.

 

Below is the para i have modified. In first property i am creating 1 NSG and 1 Route and in second property i need only NSG, so i am not giving Route Table Name. But this is not working as it is throwing template error.

 

"SubnetInfo": {
"value": [
{
"properties": {
"NSGName": "NSG01",
"SubnetName": "sub01",
"RouteName": "RT01",
"securityRules": [
{
"name": "Inbound_Deny_All",
"properties": {
"description": "Deny all inbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"sourceAddressPrefix": "*",
"destinationPortRange": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 4096,
"direction": "Inbound"
}
}
],
"disableBgpRoutePropagation": true,
"routes": [
{
"name": "route1",
"properties": {
"addressPrefix": "10.0.0.0/24",
"nextHopType": "VirtualAppliance",
"nextHopIpAddress": "10.0.0.4"
}
}
}
]
}
},
{
"properties": {
"NSGName": "NSG02",
"SubnetName": "sub02",
"securityRules": [
{
"name": "Outbound_Deny_All",
"properties": {
"description": "Deny all inbound traffic",
"protocol": "*",
"sourcePortRange": "*",
"sourceAddressPrefix": "*",
"destinationPortRange": "*",
"destinationAddressPrefix": "*",
"access": "Deny",
"priority": 4096,
"direction": "Outbound"
}
}
],

}
]
}
}

 

Vignesh

Hi @vigneshkrcegmailcom !

 

I've updated the template I've shared before with some additional functionality to be able to achieve the task. 


Now if you leave the RouteName property empty in a subnet object in the parameters file no route table will be created for that subnet.

 

The following changes have been made:

 

  •  I've added a condition to the route table resource to define that a route table should only be created if RouteName is provided.
"condition": "[not(empty(parameters('SubnetInfo')[copyIndex()].properties.RouteName))]"
  • I've added a variable iteration called routetableid, to use in the nested deployment where the subnet is created, this is used to build an array with resourceIDs.
"variables": {
        "copy": [
            {
                "name": "routetableid",
                "count": "[length(parameters('SubnetInfo'))]",
                "input": {
                    "id": "[if(empty(parameters('SubnetInfo')[copyIndex('routetableid')].properties.RouteName),'fakeid',resourceId('Microsoft.Network/routeTables', parameters('SubnetInfo')[copyIndex('routetableid')].properties.RouteName))]"
                }
            }
        ]
    }
  • And finally in the nested deployment where the route table is associated with the subnet I've added this if statement to the routeTable property. If a routeName is present the resourceID will be provided from the variable iteration routetableid if not json('null') will be inserted.
"routeTable": "[if(empty(parameters('SubnetInfo')[copyIndex()].properties.RouteName), json('null') ,variables('routetableid')[copyIndex()])]"

 

https://gist.github.com/StefanIvemo/d9fecb77d9089bd282638aa52a2fffb2

 

 

Good luck with your deployment!