CmdID / az / az network / az network vhub
az network vhub get-effective-routes
Get the effective routes configured for the Virtual Hub resource or the specified resource. Azure CLI extensions reference
3 options Its page in the Azure CLI extensions reference
Options
--name, -nName of the virtual hub.--resource-idThe resource whose effective routes are being requested--resource-typeThe type of the specified resource like RouteTable, ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection.