Click or drag to resize
NodeConfiguration Constructor (String, Int32, NodeCondition, NodeType, NullableInt32)
This API is preliminary and subject to change.
Initializes a new instance of the NodeConfiguration class.

Namespace: net.openstack.Providers.Rackspace.Objects.LoadBalancers
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public NodeConfiguration(
	string hostDomain,
	int port,
	NodeCondition condition,
	NodeType type,
	Nullable<int> weight
)

Parameters

hostDomain
Type: SystemString
The domain name of the node.
port
Type: SystemInt32
The port number for the load balanced service.
condition
Type: net.openstack.Providers.Rackspace.Objects.LoadBalancersNodeCondition
The condition for the node, which determines its role within the load balancer.
type
Type: net.openstack.Providers.Rackspace.Objects.LoadBalancersNodeType
The node type. If this value is , a provider-specific default value will be used.
weight
Type: SystemNullableInt32
The weight of the node.
Exceptions
ExceptionCondition
ArgumentNullException If hostDomain is .

-or-

If condition is .

ArgumentExceptionIf hostDomain is empty.
ArgumentOutOfRangeException If port is less than 0 or greater than 65535.

-or-

If weight is less than or equal to 0.

Version Information

.NET Framework

Supported in: 4.5

openstack.net

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