Compartilhar via


ArmNetworkModelFactory.TunnelConnectionHealth Método

Definição

Inicializa uma nova instância de 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

Parâmetros

tunnel
String

Nome do túnel.

connectionStatus
Nullable<VirtualNetworkGatewayConnectionStatus>

Rede Virtual status de conexão do Gateway.

ingressBytesTransferred
Nullable<Int64>

Os Bytes de Entrada Transferidos nessa conexão.

egressBytesTransferred
Nullable<Int64>

Os Bytes de Saída Transferidos nessa conexão.

lastConnectionEstablishedOn
String

A hora em que a conexão foi estabelecida no formato Utc.

Retornos

Uma nova TunnelConnectionHealth instância para zombar.

Aplica-se a