Created
August 10, 2017 10:11
-
-
Save marrobi/d0c34efaf1dde369c8a0be0960f338e6 to your computer and use it in GitHub Desktop.
ARM Network Security Group
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
{ | |
"apiVersion": "2015-06-15", | |
"type": "Microsoft.Network/networkSecurityGroups", | |
"name": "VMSecurityGroup", | |
"location": "[resourceGroup().location]", | |
"tags": { | |
"displayName": "VMSecurityGroup" | |
}, | |
"properties": { | |
"securityRules": [ | |
{ | |
"name": "ssh-rule", | |
"properties": { | |
"description": "Allow SSH", | |
"protocol": "Tcp", | |
"sourcePortRange": "*", | |
"destinationPortRange": "22", | |
"sourceAddressPrefix": "[parameters('SSHLocation')]", | |
"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