Compartilhar via


ArmNetworkModelFactory.ConnectionStateSnapshot Método

Definição

Inicializa uma nova instância de 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

Parâmetros

networkConnectionState
Nullable<NetworkConnectionState>

O estado da conexão.

startOn
Nullable<DateTimeOffset>

A hora de início da conexão instantâneo.

endOn
Nullable<DateTimeOffset>

A hora de término da conexão instantâneo.

evaluationState
Nullable<EvaluationState>

Estado de avaliação da análise de conectividade.

avgLatencyInMs
Nullable<Int64>

Latência média em ms.

minLatencyInMs
Nullable<Int64>

Latência mínima em ms.

maxLatencyInMs
Nullable<Int64>

Latência máxima em ms.

probesSent
Nullable<Int64>

O número de investigações enviadas.

probesFailed
Nullable<Int64>

O número de investigações com falha.

hops
IEnumerable<ConnectivityHopInfo>

Lista de saltos entre a origem e o destino.

Retornos

Uma nova ConnectionStateSnapshot instância para zombar.

Aplica-se a