Share via


VirtualNetworkPeering.UseRemoteGateways Property

Definition

If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.

public Azure.Provisioning.BicepValue<bool> UseRemoteGateways { get; set; }
member this.UseRemoteGateways : Azure.Provisioning.BicepValue<bool> with get, set
Public Property UseRemoteGateways As BicepValue(Of Boolean)

Property Value

Applies to