Share via


ConnectionMonitorHttpConfiguration Constructors

Definition

Overloads

ConnectionMonitorHttpConfiguration()

Initializes a new instance of the ConnectionMonitorHttpConfiguration class.

ConnectionMonitorHttpConfiguration(Nullable<Int32>, String, String, IList<HTTPHeader>, IList<String>, Nullable<Boolean>)

Initializes a new instance of the ConnectionMonitorHttpConfiguration class.

ConnectionMonitorHttpConfiguration()

Initializes a new instance of the ConnectionMonitorHttpConfiguration class.

public ConnectionMonitorHttpConfiguration ();
Public Sub New ()

Applies to

ConnectionMonitorHttpConfiguration(Nullable<Int32>, String, String, IList<HTTPHeader>, IList<String>, Nullable<Boolean>)

Initializes a new instance of the ConnectionMonitorHttpConfiguration class.

public ConnectionMonitorHttpConfiguration (int? port = default, string method = default, string path = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.HTTPHeader> requestHeaders = default, System.Collections.Generic.IList<string> validStatusCodeRanges = default, bool? preferHTTPS = default);
new Microsoft.Azure.Management.Network.Models.ConnectionMonitorHttpConfiguration : Nullable<int> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.HTTPHeader> * System.Collections.Generic.IList<string> * Nullable<bool> -> Microsoft.Azure.Management.Network.Models.ConnectionMonitorHttpConfiguration
Public Sub New (Optional port As Nullable(Of Integer) = Nothing, Optional method As String = Nothing, Optional path As String = Nothing, Optional requestHeaders As IList(Of HTTPHeader) = Nothing, Optional validStatusCodeRanges As IList(Of String) = Nothing, Optional preferHTTPS As Nullable(Of Boolean) = Nothing)

Parameters

port
Nullable<Int32>

The port to connect to.

method
String

The HTTP method to use. Possible values include: 'Get', 'Post'

path
String

The path component of the URI. For instance, "/dir1/dir2".

requestHeaders
IList<HTTPHeader>

The HTTP headers to transmit with the request.

validStatusCodeRanges
IList<String>

HTTP status codes to consider successful. For instance, "2xx,301-304,418".

preferHTTPS
Nullable<Boolean>

Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.

Applies to