CmdID / az / az network / az network vnet / az network vnet peering
az network vnet peering update
Update a peering in the specified virtual network. Azure CLI reference
12 options Its page in the Azure CLI reference
Options
--allow-forwarded-trafficAllows forwarded traffic from the local VNet to the remote VNet.--allow-gateway-transitAllows gateway link to be used in the remote VNet.--allow-vnet-accessAllows access from the local VNet to the remote VNet.--enable-only-ipv6Whether only Ipv6 address space is peered for subnet peering.--local-subnet-namesList of local subnet names that are subnet peered with remote virtual network.--name, -nThe name of the VNet peering.--peer-complete-vnetsWhether complete virtual network address space is peered.--remote-subnet-namesList of remote subnet names from remote virtual network that are subnet peered.--remote-vnetName or ID of the remote VNet.--sync-remoteParameter indicates the intention to sync the peering with the current address space on the remote vNet after it's updated.--use-remote-gatewaysAllows VNet to use the remote VNet's gateway.--vnet-nameThe virtual network (VNet) name.