Skip to content
This repository has been archived by the owner on Jan 30, 2021. It is now read-only.

Commit

Permalink
Allow creation of inboud security rules for Windows hosts too
Browse files Browse the repository at this point in the history
  • Loading branch information
ddanciu committed Feb 17, 2017
1 parent 54ee418 commit 8d35c3c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions templates/arm/deployment.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -181,23 +181,23 @@
"direction": "Inbound"
}
}
<% if has_tcp_endpoints %>
,
{
"name": "custom_tcp_rule",
"properties": {
"description": "Custom opened ports.",
"protocol": "Tcp",
"sourcePortRange": "*",
"destinationPortRange": "[parameters('tcp_endpoints')]",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 133,
"direction": "Inbound"
}
<% end %>
<% if has_tcp_endpoints %>
,
{
"name": "custom_tcp_rule",
"properties": {
"description": "Custom opened ports.",
"protocol": "Tcp",
"sourcePortRange": "*",
"destinationPortRange": "[parameters('tcp_endpoints')]",
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"access": "Allow",
"priority": 133,
"direction": "Inbound"
}
<% end %>
}
<% end %>
]
}
Expand Down

0 comments on commit 8d35c3c

Please sign in to comment.