Share via


VirtualNetworkPeeringInner.UseRemoteGateways Property

Definition

Gets or sets 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.

[Newtonsoft.Json.JsonProperty(PropertyName="properties.useRemoteGateways")]
public bool? UseRemoteGateways { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.useRemoteGateways")>]
member this.UseRemoteGateways : Nullable<bool> with get, set
Public Property UseRemoteGateways As Nullable(Of Boolean)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to