az network route-filter rule

(PREVIEW) Manage rules in a route filter.

Commands

az network route-filter rule create Create a rule in a route filter.
az network route-filter rule delete Delete a rule from a route filter.
az network route-filter rule list List rules in a route filter.
az network route-filter rule list-service-communities Gets all the available bgp service communities.
az network route-filter rule show Show details of a rule in a route filter.
az network route-filter rule update Update a rule in a route filter.

az network route-filter rule create

Create a rule in a route filter.

az network route-filter rule create --access {Allow, Deny}
--communities
--filter-name
--name
--resource-group
[--location]
[--tags]

Required Parameters

--access

The access type of the rule.

accepted values: Allow, Deny
--communities

Space separated list of BGP community values to filter on. (e.g.: 12076:5010).

value from: az network route-filter rule list-service-communities
--filter-name

Name of the route filter.

--name -n

Name of the route filter rule.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--location -l

Location. You can configure the default location using az configure --defaults location=.

--tags

Space separated tags in 'key[=value]' format. Use "" to clear existing tags.

az network route-filter rule delete

Delete a rule from a route filter.

az network route-filter rule delete --filter-name
--name
--resource-group

Required Parameters

--filter-name

Name of the route filter.

--name -n

Name of the route filter rule.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

az network route-filter rule list

List rules in a route filter.

az network route-filter rule list --filter-name
--resource-group

Required Parameters

--filter-name

Name of the route filter.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

az network route-filter rule list-service-communities

Gets all the available bgp service communities.

az network route-filter rule list-service-communities

az network route-filter rule show

Show details of a rule in a route filter.

az network route-filter rule show --filter-name
--name
--resource-group

Required Parameters

--filter-name

Name of the route filter.

--name -n

Name of the route filter rule.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

az network route-filter rule update

Update a rule in a route filter.

az network route-filter rule update --filter-name
--name
--resource-group
--route-filter-rule-parameters
[--add]
[--remove]
[--set]

Required Parameters

--filter-name

Name of the route filter.

--name -n

Name of the route filter rule.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--route-filter-rule-parameters

Parameters supplied to the create or update route filter rule operation.

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty .

--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.