Microsoft.Network routeFilters/routeFilterRules template reference

Template format

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

  "name": "string",
  "type": "Microsoft.Network/routeFilters/routeFilterRules",
  "apiVersion": "2018-11-01",
  "properties": {
    "access": "string",
    "routeFilterRuleType": "Community",
    "communities": [
  "location": "string"

Property values

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

Microsoft.Network/routeFilters/routeFilterRules object

Name Type Required Value
name string Yes The name of the route filter rule.
type enum Yes routeFilterRules

See Set name and type for child resources.
apiVersion enum Yes 2018-11-01
properties object Yes RouteFilterRulePropertiesFormat object
location string No Resource location.

RouteFilterRulePropertiesFormat object

Name Type Required Value
access enum Yes The access type of the rule. Valid values are: 'Allow', 'Deny'. - Allow or Deny
routeFilterRuleType enum Yes The rule type of the rule. Valid value is: 'Community' - Community
communities array Yes The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'] - string