Sdílet prostřednictvím


ArmNetworkModelFactory.TunnelConnectionHealth Method

Definition

Initializes a new instance of TunnelConnectionHealth.

public static Azure.ResourceManager.Network.Models.TunnelConnectionHealth TunnelConnectionHealth (string tunnel = default, Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionStatus? connectionStatus = default, long? ingressBytesTransferred = default, long? egressBytesTransferred = default, string lastConnectionEstablishedOn = default);
static member TunnelConnectionHealth : string * Nullable<Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionStatus> * Nullable<int64> * Nullable<int64> * string -> Azure.ResourceManager.Network.Models.TunnelConnectionHealth
Public Shared Function TunnelConnectionHealth (Optional tunnel As String = Nothing, Optional connectionStatus As Nullable(Of VirtualNetworkGatewayConnectionStatus) = Nothing, Optional ingressBytesTransferred As Nullable(Of Long) = Nothing, Optional egressBytesTransferred As Nullable(Of Long) = Nothing, Optional lastConnectionEstablishedOn As String = Nothing) As TunnelConnectionHealth

Parameters

tunnel
String

Tunnel name.

connectionStatus
Nullable<VirtualNetworkGatewayConnectionStatus>

Virtual Network Gateway connection status.

ingressBytesTransferred
Nullable<Int64>

The Ingress Bytes Transferred in this connection.

egressBytesTransferred
Nullable<Int64>

The Egress Bytes Transferred in this connection.

lastConnectionEstablishedOn
String

The time at which connection was established in Utc format.

Returns

A new TunnelConnectionHealth instance for mocking.

Applies to