ArmNetworkModelFactory.ConnectionMonitorSuccessThreshold Method

Definition

public static Azure.ResourceManager.Network.Models.ConnectionMonitorSuccessThreshold ConnectionMonitorSuccessThreshold(int? checksFailedPercent = default, float? roundTripTimeMs = default);
static member ConnectionMonitorSuccessThreshold : Nullable<int> * Nullable<single> -> Azure.ResourceManager.Network.Models.ConnectionMonitorSuccessThreshold
Public Shared Function ConnectionMonitorSuccessThreshold (Optional checksFailedPercent As Nullable(Of Integer) = Nothing, Optional roundTripTimeMs As Nullable(Of Single) = Nothing) As ConnectionMonitorSuccessThreshold

Parameters

checksFailedPercent
Nullable<Int32>

The maximum percentage of failed checks permitted for a test to evaluate as successful.

roundTripTimeMs
Nullable<Single>

The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.

Returns

A new ConnectionMonitorSuccessThreshold instance for mocking.

Applies to