Route tables - az network route-table

Manage route tables.

Commands

az network route-table create Create a route table.
az network route-table delete Delete a route table.
az network route-table list List route tables.
az network route-table route Manage routes in a route table.
az network route-table route create Create a route in a route table.
az network route-table route delete Delete a route from a route table.
az network route-table route list List routes in a route table.
az network route-table route show Show details of a route in a route table.
az network route-table route update Update a route in a route table.
az network route-table show Show details of a route table.
az network route-table update Update a route table.

az network route-table create

Create a route table.

az network route-table create --name
--resource-group
[--location]
[--tags]

Required Parameters

--name -n

The name of the route table.

--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-table delete

Delete a route table.

az network route-table delete --name
--resource-group

Required Parameters

--name -n

The name of the route table.

--resource-group -g

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

az network route-table list

List route tables.

az network route-table list [--resource-group]

Optional Parameters

--resource-group -g

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

az network route-table show

Show details of a route table.

az network route-table show --name
--resource-group
[--expand]

Required Parameters

--name -n

The name of the route table.

--resource-group -g

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

Optional Parameters

--expand

Expands referenced resources.

az network route-table update

Update a route table.

az network route-table update --name
--resource-group
[--add]
[--remove]
[--set]
[--tags]

Required Parameters

--name -n

The name of the route table.

--resource-group -g

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

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

--tags

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