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 Get the 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 border gateway protocol (BGP) community values to filter on.
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=<name>`.

Optional Parameters

--location -l
Location. You can configure the default location using `az configure --defaults location=<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=<name>`.

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=<name>`.

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

Get the 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=<name>`.

az network route-filter rule update

Update a rule in a route filter.

az network route-filter rule update --filter-name
--name
--resource-group
[--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=<name>`.

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=.