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

TunnelConnectionHealth 构造函数

定义

重载

TunnelConnectionHealth()

初始化 TunnelConnectionHealth 类的新实例。

TunnelConnectionHealth(String, VirtualNetworkGatewayConnectionStatus, Nullable<Int64>, Nullable<Int64>, String)

初始化 TunnelConnectionHealth 类的新实例。

TunnelConnectionHealth()

初始化 TunnelConnectionHealth 类的新实例。

public TunnelConnectionHealth();
Public Sub New ()

适用于

TunnelConnectionHealth(String, VirtualNetworkGatewayConnectionStatus, Nullable<Int64>, Nullable<Int64>, String)

初始化 TunnelConnectionHealth 类的新实例。

public TunnelConnectionHealth(string tunnel = default, Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionStatus connectionStatus = default, long? ingressBytesTransferred = default, long? egressBytesTransferred = default, string lastConnectionEstablishedUtcTime = default);
new Microsoft.Azure.Management.Network.Fluent.Models.TunnelConnectionHealth : string * Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionStatus * Nullable<int64> * Nullable<int64> * string -> Microsoft.Azure.Management.Network.Fluent.Models.TunnelConnectionHealth
Public Sub New (Optional tunnel As String = Nothing, Optional connectionStatus As VirtualNetworkGatewayConnectionStatus = Nothing, Optional ingressBytesTransferred As Nullable(Of Long) = Nothing, Optional egressBytesTransferred As Nullable(Of Long) = Nothing, Optional lastConnectionEstablishedUtcTime As String = Nothing)

参数

tunnel
String

隧道名称。

connectionStatus
VirtualNetworkGatewayConnectionStatus

虚拟网络网关连接状态。 可能的值包括:“Unknown”、“Connected”、“Connected”、“NotConnected”

ingressBytesTransferred
Nullable<Int64>

在此连接中传输的入口字节数。

egressBytesTransferred
Nullable<Int64>

在此连接中传输的出口字节数。

lastConnectionEstablishedUtcTime
String

以 Utc 格式建立连接的时间。

适用于