ArmNetworkModelFactory.ConnectionStateSnapshot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
List of hops between the source and the destination.
Returns
A new ConnectionStateSnapshot instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET