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": "2019-09-01",
"properties": {
"access": "string",
"routeFilterRuleType": "Community",
"communities": [
"string"
]
},
"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 -or- Microsoft.Network/routeFilters/routeFilterRules See Set name and type for child resources. |
apiVersion | enum | Yes | 2019-09-01 |
properties | object | Yes | Properties of the route filter rule. - RouteFilterRulePropertiesFormat object |
location | string | Yes | 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 |