ArmNetworkModelFactory.ConnectionStateSnapshot Method

Definition

Initializes a new instance of ConnectionStateSnapshot.

public static Azure.ResourceManager.Network.Models.ConnectionStateSnapshot ConnectionStateSnapshot (Azure.ResourceManager.Network.Models.NetworkConnectionState? networkConnectionState = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, Azure.ResourceManager.Network.Models.EvaluationState? evaluationState = default, long? avgLatencyInMs = default, long? minLatencyInMs = default, long? maxLatencyInMs = default, long? probesSent = default, long? probesFailed = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ConnectivityHopInfo> hops = default);
static member ConnectionStateSnapshot : Nullable<Azure.ResourceManager.Network.Models.NetworkConnectionState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Network.Models.EvaluationState> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * seq<Azure.ResourceManager.Network.Models.ConnectivityHopInfo> -> Azure.ResourceManager.Network.Models.ConnectionStateSnapshot
Public Shared Function ConnectionStateSnapshot (Optional networkConnectionState As Nullable(Of NetworkConnectionState) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional evaluationState As Nullable(Of EvaluationState) = Nothing, Optional avgLatencyInMs As Nullable(Of Long) = Nothing, Optional minLatencyInMs As Nullable(Of Long) = Nothing, Optional maxLatencyInMs As Nullable(Of Long) = Nothing, Optional probesSent As Nullable(Of Long) = Nothing, Optional probesFailed As Nullable(Of Long) = Nothing, Optional hops As IEnumerable(Of ConnectivityHopInfo) = Nothing) As ConnectionStateSnapshot

Parameters

networkConnectionState
Nullable<NetworkConnectionState>

The connection state.

startOn
Nullable<DateTimeOffset>

The start time of the connection snapshot.

endOn
Nullable<DateTimeOffset>

The end time of the connection snapshot.

evaluationState
Nullable<EvaluationState>

Connectivity analysis evaluation state.

avgLatencyInMs
Nullable<Int64>

Average latency in ms.

minLatencyInMs
Nullable<Int64>

Minimum latency in ms.

maxLatencyInMs
Nullable<Int64>

Maximum latency in ms.

probesSent
Nullable<Int64>

The number of sent probes.

probesFailed
Nullable<Int64>

The number of failed probes.

hops
IEnumerable<ConnectivityHopInfo>

List of hops between the source and the destination.

Returns

A new ConnectionStateSnapshot instance for mocking.

Applies to