Microsoft.Network firewallPolicies/ruleGroups template reference

Template format

To create a Microsoft.Network/firewallPolicies/ruleGroups resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Network/firewallPolicies/ruleGroups",
  "apiVersion": "2019-07-01",
  "properties": {
    "priority": "integer",
    "rules": [
      {
        "name": "string",
        "priority": "integer",
        "ruleType": "string"
      }
    ]
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Network/firewallPolicies/ruleGroups object

Name Type Required Value
name string Yes The name of the FirewallPolicyRuleGroup.
type enum Yes ruleGroups
-or-
Microsoft.Network/firewallPolicies/ruleGroups

See Set name and type for child resources.
apiVersion enum Yes 2019-07-01
properties object Yes The properties of the firewall policy rule group. - FirewallPolicyRuleGroupProperties object

FirewallPolicyRuleGroupProperties object

Name Type Required Value
priority integer No Priority of the Firewall Policy Rule Group resource.
rules array No Group of Firewall Policy rules. - FirewallPolicyRule object

FirewallPolicyRule object

Name Type Required Value
name string No The name of the rule.
priority integer No Priority of the Firewall Policy Rule resource.
ruleType string Yes

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a sandbox setup with Firewall Policy

Deploy to Azure
This template creates a virtual network with 3 subnets (server subnet, jumpbox subet and AzureFirewall subnet), a jumpbox VM with public IP, A server VM, UDR route to point to Azure Firewall for the Server Subnet and an Azure Firewall with 1 or more Public IP addresses. Also creates a Firewall policy with 1 sample application rule, 1 sample network rule and default private ranges
Secured virtual hubs

Deploy to Azure
This template creates a secured virtual hub using Azure Firewall to secure your cloud network traffic destined to the Internet.