Microsoft.Network routeFilters 2020-04-01

Template format

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

{
  "name": "string",
  "type": "Microsoft.Network/routeFilters",
  "apiVersion": "2020-04-01",
  "location": "string",
  "tags": {},
  "properties": {
    "rules": [
      {
        "id": "string",
        "properties": {
          "access": "string",
          "routeFilterRuleType": "Community",
          "communities": [
            "string"
          ]
        },
        "name": "string",
        "location": "string"
      }
    ]
  },
  "resources": []
}

Property values

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

Microsoft.Network/routeFilters object

Name Type Required Value
name string Yes The name of the route filter.
type enum Yes Microsoft.Network/routeFilters
apiVersion enum Yes 2020-04-01
location string Yes Resource location.
tags object No Resource tags.
properties object Yes Properties of the route filter. - RouteFilterPropertiesFormat object
resources array No routeFilterRules

RouteFilterPropertiesFormat object

Name Type Required Value
rules array No Collection of RouteFilterRules contained within a route filter. - RouteFilterRule object

RouteFilterRule object

Name Type Required Value
id string No Resource ID.
properties object No Properties of the route filter rule. - RouteFilterRulePropertiesFormat object
name string No The name of the resource that is unique within a resource group. This name can be used to access the resource.
location string No Resource location.

RouteFilterRulePropertiesFormat object

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