ConnectionMonitorTestConfiguration Constructors
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.
Overloads
ConnectionMonitorTestConfiguration() |
Initializes a new instance of the ConnectionMonitorTestConfiguration class. |
ConnectionMonitorTestConfiguration(String, String, Nullable<Int32>, String, ConnectionMonitorHttpConfiguration, ConnectionMonitorTcpConfiguration, ConnectionMonitorIcmpConfiguration, ConnectionMonitorSuccessThreshold) |
Initializes a new instance of the ConnectionMonitorTestConfiguration class. |
ConnectionMonitorTestConfiguration()
Initializes a new instance of the ConnectionMonitorTestConfiguration class.
public ConnectionMonitorTestConfiguration ();
Public Sub New ()
Applies to
ConnectionMonitorTestConfiguration(String, String, Nullable<Int32>, String, ConnectionMonitorHttpConfiguration, ConnectionMonitorTcpConfiguration, ConnectionMonitorIcmpConfiguration, ConnectionMonitorSuccessThreshold)
Initializes a new instance of the ConnectionMonitorTestConfiguration class.
public ConnectionMonitorTestConfiguration (string name, string protocol, int? testFrequencySec = default, string preferredIPVersion = default, Microsoft.Azure.Management.Network.Models.ConnectionMonitorHttpConfiguration httpConfiguration = default, Microsoft.Azure.Management.Network.Models.ConnectionMonitorTcpConfiguration tcpConfiguration = default, Microsoft.Azure.Management.Network.Models.ConnectionMonitorIcmpConfiguration icmpConfiguration = default, Microsoft.Azure.Management.Network.Models.ConnectionMonitorSuccessThreshold successThreshold = default);
new Microsoft.Azure.Management.Network.Models.ConnectionMonitorTestConfiguration : string * string * Nullable<int> * string * Microsoft.Azure.Management.Network.Models.ConnectionMonitorHttpConfiguration * Microsoft.Azure.Management.Network.Models.ConnectionMonitorTcpConfiguration * Microsoft.Azure.Management.Network.Models.ConnectionMonitorIcmpConfiguration * Microsoft.Azure.Management.Network.Models.ConnectionMonitorSuccessThreshold -> Microsoft.Azure.Management.Network.Models.ConnectionMonitorTestConfiguration
Public Sub New (name As String, protocol As String, Optional testFrequencySec As Nullable(Of Integer) = Nothing, Optional preferredIPVersion As String = Nothing, Optional httpConfiguration As ConnectionMonitorHttpConfiguration = Nothing, Optional tcpConfiguration As ConnectionMonitorTcpConfiguration = Nothing, Optional icmpConfiguration As ConnectionMonitorIcmpConfiguration = Nothing, Optional successThreshold As ConnectionMonitorSuccessThreshold = Nothing)
Parameters
- name
- String
The name of the connection monitor test configuration.
- protocol
- String
The protocol to use in test evaluation. Possible values include: 'Tcp', 'Http', 'Icmp'
- preferredIPVersion
- String
The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters. Possible values include: 'IPv4', 'IPv6'
- httpConfiguration
- ConnectionMonitorHttpConfiguration
The parameters used to perform test evaluation over HTTP.
- tcpConfiguration
- ConnectionMonitorTcpConfiguration
The parameters used to perform test evaluation over TCP.
- icmpConfiguration
- ConnectionMonitorIcmpConfiguration
The parameters used to perform test evaluation over ICMP.
- successThreshold
- ConnectionMonitorSuccessThreshold
The threshold for declaring a test successful.
Applies to
Azure SDK for .NET