-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for availability zones for azure firewall
- Loading branch information
1 parent
d772ea5
commit 40beed0
Showing
8 changed files
with
534 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
136 changes: 136 additions & 0 deletions
136
...ource-manager/Microsoft.Network/stable/2019-04-01/examples/AzureFirewallGetWithZones.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
{ | ||
"parameters":{ | ||
"api-version": "2019-04-01", | ||
"subscriptionId":"subid", | ||
"resourceGroupName":"rg1", | ||
"azureFirewallName":"azurefirewall" | ||
}, | ||
"responses":{ | ||
"200":{ | ||
"body":{ | ||
"name":"azurefirewall", | ||
"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", | ||
"type":"Microsoft.Network/azureFirewalls", | ||
"etag":"w/\\00000000-0000-0000-0000-000000000000\\", | ||
"location":"West US 2", | ||
"zones":["1","2","3"], | ||
"tags":{ | ||
"key1":"value1" | ||
}, | ||
"properties":{ | ||
"provisioningState":"Succeeded", | ||
"threatIntelMode": "Alert", | ||
"ipConfigurations":[ | ||
{ | ||
"name":"azureFirewallIpConfiguration", | ||
"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration", | ||
"etag":"w/\\00000000-0000-0000-0000-000000000000\\", | ||
"properties":{ | ||
"provisioningState":"Succeeded", | ||
"privateIPAddress":"10.0.0.0", | ||
"subnet":{ | ||
"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" | ||
}, | ||
"publicIPAddress":{ | ||
"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" | ||
} | ||
} | ||
} | ||
], | ||
"applicationRuleCollections":[ | ||
{ | ||
"name":"apprulecoll", | ||
"properties":{ | ||
"priority":110, | ||
"action":{ | ||
"type": "Deny" | ||
}, | ||
"rules":[ | ||
{ | ||
"name":"rule1", | ||
"description":"Deny inbound rule", | ||
"protocols":[ | ||
{ | ||
"protocolType":"Https", | ||
"port":443 | ||
} | ||
], | ||
"targetFqdns":[ | ||
"www.test.com" | ||
], | ||
"sourceAddresses":[ | ||
"216.58.216.164", | ||
"10.0.0.0/24" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"natRuleCollections":[ | ||
{ | ||
"name":"natrulecoll", | ||
"properties":{ | ||
"priority":112, | ||
"action":{ | ||
"type":"Dnat" | ||
}, | ||
"rules":[ | ||
{ | ||
"name":"DNAT-HTTPS-traffic", | ||
"description":"D-NAT all outbound web traffic for inspection", | ||
"sourceAddresses":[ | ||
"*" | ||
], | ||
"destinationAddresses":[ | ||
"1.2.3.4" | ||
], | ||
"destinationPorts":[ | ||
"443" | ||
], | ||
"protocols":[ | ||
"TCP" | ||
], | ||
"translatedAddress": "1.2.3.5", | ||
"translatedPort": "8443" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"networkRuleCollections":[ | ||
{ | ||
"name":"netrulecoll", | ||
"properties":{ | ||
"priority":112, | ||
"action":{ | ||
"type": "Deny" | ||
}, | ||
"rules":[ | ||
{ | ||
"name":"L4-traffic", | ||
"description":"Block traffic based on source IPs and ports", | ||
"sourceAddresses":[ | ||
"192.168.1.1-192.168.1.12", | ||
"10.1.4.12-10.1.4.255" | ||
], | ||
"destinationPorts":[ | ||
"443-444", | ||
"8443" | ||
], | ||
"destinationAddresses":[ | ||
"*" | ||
], | ||
"protocols":[ | ||
"TCP" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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
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
Oops, something went wrong.