ConnectionMonitorHttpConfiguration 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
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
- 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.
HTTP status codes to consider successful. For instance, "2xx,301-304,418".
Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.