ArmNetworkModelFactory.ConnectionMonitorTestConfiguration Method

Definition

public static Azure.ResourceManager.Network.Models.ConnectionMonitorTestConfiguration ConnectionMonitorTestConfiguration(string name = default, int? testFrequencySec = default, Azure.ResourceManager.Network.Models.ConnectionMonitorTestConfigurationProtocol protocol = default, Azure.ResourceManager.Network.Models.TestEvalPreferredIPVersion? preferredIPVersion = default, Azure.ResourceManager.Network.Models.ConnectionMonitorHttpConfiguration httpConfiguration = default, Azure.ResourceManager.Network.Models.ConnectionMonitorTcpConfiguration tcpConfiguration = default, bool? disableTraceRoute = default, Azure.ResourceManager.Network.Models.ConnectionMonitorSuccessThreshold successThreshold = default);
static member ConnectionMonitorTestConfiguration : string * Nullable<int> * Azure.ResourceManager.Network.Models.ConnectionMonitorTestConfigurationProtocol * Nullable<Azure.ResourceManager.Network.Models.TestEvalPreferredIPVersion> * Azure.ResourceManager.Network.Models.ConnectionMonitorHttpConfiguration * Azure.ResourceManager.Network.Models.ConnectionMonitorTcpConfiguration * Nullable<bool> * Azure.ResourceManager.Network.Models.ConnectionMonitorSuccessThreshold -> Azure.ResourceManager.Network.Models.ConnectionMonitorTestConfiguration
Public Shared Function ConnectionMonitorTestConfiguration (Optional name As String = Nothing, Optional testFrequencySec As Nullable(Of Integer) = Nothing, Optional protocol As ConnectionMonitorTestConfigurationProtocol = Nothing, Optional preferredIPVersion As Nullable(Of TestEvalPreferredIPVersion) = Nothing, Optional httpConfiguration As ConnectionMonitorHttpConfiguration = Nothing, Optional tcpConfiguration As ConnectionMonitorTcpConfiguration = Nothing, Optional disableTraceRoute As Nullable(Of Boolean) = Nothing, Optional successThreshold As ConnectionMonitorSuccessThreshold = Nothing) As ConnectionMonitorTestConfiguration

Parameters

name
String

The name of the connection monitor test configuration.

testFrequencySec
Nullable<Int32>

The frequency of test evaluation, in seconds.

protocol
ConnectionMonitorTestConfigurationProtocol

The protocol to use in test evaluation.

preferredIPVersion
Nullable<TestEvalPreferredIPVersion>

The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.

httpConfiguration
ConnectionMonitorHttpConfiguration

The parameters used to perform test evaluation over HTTP.

tcpConfiguration
ConnectionMonitorTcpConfiguration

The parameters used to perform test evaluation over TCP.

disableTraceRoute
Nullable<Boolean>

Value indicating whether path evaluation with trace route should be disabled.

successThreshold
ConnectionMonitorSuccessThreshold

The threshold for declaring a test successful.

Returns

A new ConnectionMonitorTestConfiguration instance for mocking.

Applies to