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

VirtualNetworkGatewayConnectionData 构造函数

定义

初始化 VirtualNetworkGatewayConnectionData 的新实例。

public VirtualNetworkGatewayConnectionData (Azure.ResourceManager.Network.VirtualNetworkGatewayData virtualNetworkGateway1, Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionType connectionType);
new Azure.ResourceManager.Network.VirtualNetworkGatewayConnectionData : Azure.ResourceManager.Network.VirtualNetworkGatewayData * Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionType -> Azure.ResourceManager.Network.VirtualNetworkGatewayConnectionData
Public Sub New (virtualNetworkGateway1 As VirtualNetworkGatewayData, connectionType As VirtualNetworkGatewayConnectionType)

参数

virtualNetworkGateway1
VirtualNetworkGatewayData

对虚拟网络网关资源的引用。

connectionType
VirtualNetworkGatewayConnectionType

网关连接类型。

例外

virtualNetworkGateway1 为 null。

适用于