共用方式為


ConnectionStateSnapshot Constructors

Definition

Overloads

ConnectionStateSnapshot()

Initializes a new instance of the ConnectionStateSnapshot class.

ConnectionStateSnapshot(ConnectionState, Nullable<DateTime>, Nullable<DateTime>, EvaluationState, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, IList<ConnectivityHop>)

Initializes a new instance of the ConnectionStateSnapshot class.

ConnectionStateSnapshot()

Initializes a new instance of the ConnectionStateSnapshot class.

public ConnectionStateSnapshot ();
Public Sub New ()

Applies to

ConnectionStateSnapshot(ConnectionState, Nullable<DateTime>, Nullable<DateTime>, EvaluationState, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, IList<ConnectivityHop>)

Initializes a new instance of the ConnectionStateSnapshot class.

public ConnectionStateSnapshot (Microsoft.Azure.Management.Network.Fluent.Models.ConnectionState connectionState = default, DateTime? startTime = default, DateTime? endTime = default, Microsoft.Azure.Management.Network.Fluent.Models.EvaluationState evaluationState = default, int? avgLatencyInMs = default, int? minLatencyInMs = default, int? maxLatencyInMs = default, int? probesSent = default, int? probesFailed = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ConnectivityHop> hops = default);
new Microsoft.Azure.Management.Network.Fluent.Models.ConnectionStateSnapshot : Microsoft.Azure.Management.Network.Fluent.Models.ConnectionState * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.Network.Fluent.Models.EvaluationState * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ConnectivityHop> -> Microsoft.Azure.Management.Network.Fluent.Models.ConnectionStateSnapshot
Public Sub New (Optional connectionState As ConnectionState = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional evaluationState As EvaluationState = Nothing, Optional avgLatencyInMs As Nullable(Of Integer) = Nothing, Optional minLatencyInMs As Nullable(Of Integer) = Nothing, Optional maxLatencyInMs As Nullable(Of Integer) = Nothing, Optional probesSent As Nullable(Of Integer) = Nothing, Optional probesFailed As Nullable(Of Integer) = Nothing, Optional hops As IList(Of ConnectivityHop) = Nothing)

Parameters

connectionState
ConnectionState

The connection state. Possible values include: 'Reachable', 'Unreachable', 'Unknown'

startTime
Nullable<DateTime>

The start time of the connection snapshot.

endTime
Nullable<DateTime>

The end time of the connection snapshot.

evaluationState
EvaluationState

Connectivity analysis evaluation state. Possible values include: 'NotStarted', 'InProgress', 'Completed'

avgLatencyInMs
Nullable<Int32>

Average latency in ms.

minLatencyInMs
Nullable<Int32>

Minimum latency in ms.

maxLatencyInMs
Nullable<Int32>

Maximum latency in ms.

probesSent
Nullable<Int32>

The number of sent probes.

probesFailed
Nullable<Int32>

The number of failed probes.

hops
IList<ConnectivityHop>

List of hops between the source and the destination.

Applies to