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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET