Click or drag to resize
NodeConfiguration Constructor (IPAddress, 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(
	IPAddress address,
	int port,
	NodeCondition condition,
	NodeType type,
	Nullable<int> weight
)

Parameters

address
Type: System.NetIPAddress
The IP address 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 address is .

-or-

If condition is .

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