ArmNetworkModelFactory.TunnelConnectionHealth Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- lastConnectionEstablishedOn
- String
The time at which connection was established in Utc format.
Returns
A new TunnelConnectionHealth instance for mocking.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET