Microsoft.Network firewallPolicies/ruleGroups 2019-12-01

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-12-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


In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the FirewallPolicyRuleGroup.
type enum Yes For JSON -ruleGroups

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2019-12-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