Skip to content

Instantly share code, notes, and snippets.

@Merlus Merlus/AsgNsg.json Secret
Last active Nov 15, 2017

Embed
What would you like to do?
ASG - NSG Json
SecurityRules : [
{
"Name": "AllowHttps",
"Etag": "W/\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"",
"Id": "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/asgTest/providers/Microsoft.Network/networkSecurityGroups/asgTest/securityRules/AllowHttps",
"Protocol": "Tcp",
"SourcePortRange": [
"*"
],
"DestinationPortRange": [
"443"
],
"SourceAddressPrefix": [],
"DestinationAddressPrefix": [
"VirtualNetwork"
],
"Access": "Allow",
"Priority": 1500,
"Direction": "Outbound",
"ProvisioningState": "Succeeded",
"SourceApplicationSecurityGroups": [
{
"Id": "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/asgTest/providers/Microsoft.Network/applicationSecurityGroups/webAsg"
}
],
"DestinationApplicationSecurityGroups": []
},
{
"Name": "AllowSql",
"Etag": "W/\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"",
"Id": "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/asgTest/providers/Microsoft.Network/networkSecurityGroups/asgTest/securityRules/AllowSql",
"Protocol": "Tcp",
"SourcePortRange": [
"*"
],
"DestinationPortRange": [
"1433"
],
"SourceAddressPrefix": [],
"DestinationAddressPrefix": [
"VirtualNetwork"
],
"Access": "Allow",
"Priority": 1000,
"Direction": "Outbound",
"ProvisioningState": "Succeeded",
"SourceApplicationSecurityGroups": [
{
"Id": "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/asgTest/providers/Microsoft.Network/applicationSecurityGroups/sqlAsg"
}
],
"DestinationApplicationSecurityGroups": []
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.