az network vhub route
Note
This reference is part of the virtual-wan extension for the Azure CLI (version 2.55.0 or higher). The extension will automatically install the first time you run an az network vhub route command. Learn more about extensions.
This command group has been deprecated and will be removed in a future release. Use 'network vhub route-table' instead.
Manage entries in the virtual hub route table.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network vhub route add |
Add a route to the virtual hub route table. |
Extension | Deprecated |
az network vhub route list |
List routes in the virtual hub route table. |
Extension | Deprecated |
az network vhub route remove |
Remove a route from the virtual hub route table. |
Extension | Deprecated |
az network vhub route reset |
Reset virtual hub route when the route state is failed. |
Extension | Deprecated |
az network vhub route add
This command is implicitly deprecated because command group 'network vhub route' is deprecated and will be removed in a future release. Use 'network vhub route-table' instead.
Add a route to the virtual hub route table.
az network vhub route add --address-prefixes
--next-hop
--resource-group
--vhub-name
[--no-wait]
Required Parameters
Space-separated list of CIDR prefixes.
IP address of the next hop.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual hub.
Optional Parameters
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network vhub route list
This command is implicitly deprecated because command group 'network vhub route' is deprecated and will be removed in a future release. Use 'network vhub route-table' instead.
List routes in the virtual hub route table.
az network vhub route list --resource-group
--vhub-name
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual hub.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network vhub route remove
This command is implicitly deprecated because command group 'network vhub route' is deprecated and will be removed in a future release. Use 'network vhub route-table' instead.
Remove a route from the virtual hub route table.
az network vhub route remove --index
--resource-group
--vhub-name
[--no-wait]
Required Parameters
List index of the item (starting with 1).
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual hub.
Optional Parameters
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network vhub route reset
This command is implicitly deprecated because command group 'network vhub route' is deprecated and will be removed in a future release. Use 'network vhub route-table' instead.
Reset virtual hub route when the route state is failed.
az network vhub route reset --resource-group
--vhub-name
[--no-wait]
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual hub.
Optional Parameters
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.