Share via


ArmNetworkModelFactory.ConnectivityInformation Method

Definition

Initializes a new instance of ConnectivityInformation.

public static Azure.ResourceManager.Network.Models.ConnectivityInformation ConnectivityInformation (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ConnectivityHopInfo> hops = default, Azure.ResourceManager.Network.Models.NetworkConnectionStatus? networkConnectionStatus = default, int? avgLatencyInMs = default, int? minLatencyInMs = default, int? maxLatencyInMs = default, int? probesSent = default, int? probesFailed = default);
static member ConnectivityInformation : seq<Azure.ResourceManager.Network.Models.ConnectivityHopInfo> * Nullable<Azure.ResourceManager.Network.Models.NetworkConnectionStatus> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.Network.Models.ConnectivityInformation
Public Shared Function ConnectivityInformation (Optional hops As IEnumerable(Of ConnectivityHopInfo) = Nothing, Optional networkConnectionStatus As Nullable(Of NetworkConnectionStatus) = 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) As ConnectivityInformation

Parameters

hops
IEnumerable<ConnectivityHopInfo>

List of hops between the source and the destination.

networkConnectionStatus
Nullable<NetworkConnectionStatus>

The connection status.

avgLatencyInMs
Nullable<Int32>

Average latency in milliseconds.

minLatencyInMs
Nullable<Int32>

Minimum latency in milliseconds.

maxLatencyInMs
Nullable<Int32>

Maximum latency in milliseconds.

probesSent
Nullable<Int32>

Total number of probes sent.

probesFailed
Nullable<Int32>

Number of failed probes.

Returns

A new ConnectivityInformation instance for mocking.

Applies to