WebServerHealthMonitor Constructor (Boolean, Int32, TimeSpan, TimeSpan, String, String, String, String) |
This API is preliminary and subject to change.
Namespace: net.openstack.Providers.Rackspace.Objects.LoadBalancersAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public WebServerHealthMonitor(
bool https,
int attemptsBeforeDeactivation,
TimeSpan timeout,
TimeSpan delay,
string bodyRegex,
string path,
string statusRegex,
string hostHeader
)
Public Sub New (
https As Boolean,
attemptsBeforeDeactivation As Integer,
timeout As TimeSpan,
delay As TimeSpan,
bodyRegex As String,
path As String,
statusRegex As String,
hostHeader As String
)
public:
WebServerHealthMonitor(
bool https,
int attemptsBeforeDeactivation,
TimeSpan timeout,
TimeSpan delay,
String^ bodyRegex,
String^ path,
String^ statusRegex,
String^ hostHeader
)
new :
https : bool *
attemptsBeforeDeactivation : int *
timeout : TimeSpan *
delay : TimeSpan *
bodyRegex : string *
path : string *
statusRegex : string *
hostHeader : string -> WebServerHealthMonitor
Parameters
- https
- Type: SystemBoolean
to monitor HTTPS connections; otherwise, to monitor HTTP connections. - attemptsBeforeDeactivation
- Type: SystemInt32
The number of permissible monitor failures before removing a node from rotation. - timeout
- Type: SystemTimeSpan
The maximum number of seconds to wait for a connection to be established before timing out. - delay
- Type: SystemTimeSpan
The minimum time to wait before executing the health monitor. - bodyRegex
- Type: SystemString
A regular expression that will be used to evaluate the contents of the body of the response. - path
- Type: SystemString
The HTTP path that will be used in the sample request. - statusRegex
- Type: SystemString
A regular expression that will be used to evaluate the HTTP status code returned in the response. - hostHeader
- Type: SystemString
The name of a host for which the health monitors will check, or when?.
Exceptions Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also