Skip to content

Instantly share code, notes, and snippets.

@marrobi
Last active February 10, 2017 17:42
Show Gist options
  • Save marrobi/19237f3099d3d461a934fbbcc78e88e8 to your computer and use it in GitHub Desktop.
Save marrobi/19237f3099d3d461a934fbbcc78e88e8 to your computer and use it in GitHub Desktop.
ARM NSG
{
"apiVersion": "2016-03-30",
"type": "Microsoft.Network/networkSecurityGroups",
"name": "VMSecurityGroup",
"location": "[resourceGroup().location]",
"tags": {
"displayName": "VMSecurityGroup"
},
"properties": {
"securityRules": [
{
"name": "allow-8000",
"properties": {
"protocol": "Tcp",
"sourcePortRange": "*",
"destinationPortRange": "8000",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 100,
"direction": "Inbound"
}
}
]
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment