Click or drag to resize
TcpCheckDetails Constructor
This API is preliminary and subject to change.
Initializes a new instance of the TcpCheckDetails class with the values.

Namespace: net.openstack.Providers.Rackspace.Objects.Monitoring
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public TcpCheckDetails(
	int port,
	Nullable<bool> enableSsl = null,
	string bannerMatch = null,
	string bodyMatch = null,
	string sendBody = null
)

Parameters

port
Type: SystemInt32
The port to use for connecting to the remote service.
enableSsl (Optional)
Type: SystemNullableBoolean
to enable SSL for connecting to the service; otherwise, . If this value is , a provider-specific default value is used.
bannerMatch (Optional)
Type: SystemString
A regular expression to match against the TCP banner returned by the service.
bodyMatch (Optional)
Type: SystemString
A regular expression to match against the TCP body returned by the service.
sendBody (Optional)
Type: SystemString
The body to send to the service after the banner is verified.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf port is less than or equal to 0, or if port is greater than 65535.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also