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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET