CmdID / az / az network / az network vhub / az network vhub connection
az network vhub connection create
Create a virtual hub VNet connection. Azure CLI extensions reference
12 options Its page in the Azure CLI extensions reference
Options
--associated-inbound-routemapResource URI of inbound routemap for this connection's routing configuration.--associated-outbound-routemapResource URI of outbound routemap for this connection's routing configuration.--associated-route-table, --associatedResource ID of route table associated with this routing configuration.--internet-securityEnable internet security and default is enabled.--labelsSpace-separated list of labels for propagated route tables.--name, -nName of the connection.--remote-vnet-transitDeprecated: Enable hub to remote VNet transit.--remote-vnetName of ID of the remote VNet to connect to.--route-tablesThe list of resource ids of all the RouteTables.--static-routesList of all Static Routes.--use-hub-vnet-gatewaysDeprecated: Allow remote VNet to use hub's VNet gateways.--vhub-nameName of the virtual hub.