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에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET