你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualNetworkPeering.UseRemoteGateways 属性

定义

获取或设置远程网关是否可以在此虚拟网络上使用。 如果该标志设置为 true,并且远程对等互连上的 allowGatewayTransit 也为 true,则虚拟网络将使用远程虚拟网络的网关进行传输。 只有一个对等互连可以将此标志设置为 true。 如果虚拟网络已有网关,则无法设置此标志。

[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)

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于