Udostępnij za pośrednictwem


ArmApiManagementModelFactory.ConnectivityCheckResult Method

Definition

Initializes a new instance of ConnectivityCheckResult.

public static Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckResult ConnectivityCheckResult (System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiManagement.Models.ConnectivityHop> hops = default, Azure.ResourceManager.ApiManagement.Models.ConnectionStatus? connectionStatus = default, long? avgLatencyInMs = default, long? minLatencyInMs = default, long? maxLatencyInMs = default, long? probesSent = default, long? probesFailed = default);
static member ConnectivityCheckResult : seq<Azure.ResourceManager.ApiManagement.Models.ConnectivityHop> * Nullable<Azure.ResourceManager.ApiManagement.Models.ConnectionStatus> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> -> Azure.ResourceManager.ApiManagement.Models.ConnectivityCheckResult
Public Shared Function ConnectivityCheckResult (Optional hops As IEnumerable(Of ConnectivityHop) = Nothing, Optional connectionStatus As Nullable(Of ConnectionStatus) = 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) As ConnectivityCheckResult

Parameters

hops
IEnumerable<ConnectivityHop>

List of hops between the source and the destination.

connectionStatus
Nullable<ConnectionStatus>

The connection status.

avgLatencyInMs
Nullable<Int64>

Average latency in milliseconds.

minLatencyInMs
Nullable<Int64>

Minimum latency in milliseconds.

maxLatencyInMs
Nullable<Int64>

Maximum latency in milliseconds.

probesSent
Nullable<Int64>

Total number of probes sent.

probesFailed
Nullable<Int64>

Number of failed probes.

Returns

A new ConnectivityCheckResult instance for mocking.

Applies to